My public ip : 51.15.204.137 Log in to your new server by ssh, use key/pair or password depending on the service you have chosen
Now let's create a new user that we call deploy or whatever you want and add it to the sudo group
My public ip : 51.15.204.137 Log in to your new server by ssh, use key/pair or password depending on the service you have chosen
Now let's create a new user that we call deploy or whatever you want and add it to the sudo group
| import mechanize | |
| from lxml import etree | |
| import json | |
| __author__ = "https://github.com/SirFroweey/" | |
| class SoundCloud: | |
| """ |
| ############### | |
| ## Factorial ## | |
| ############### | |
| # 1: | |
| def fac1 n | |
| v = 1 | |
| (1..n).each {|t| v *= t} | |
| v | |
| end |
| GODOT | |
| #1. loading resources | |
| var res = load("res://robi.png") # resource is loaded when line is executed | |
| get_node("sprite").set_texture(res) | |
| func _ready(): | |
| var res = preload("res://robi.png") # resource is loaded at compile time | |
| get_node("sprite").set_texture(res) |
| class Bzz::Service::ApiClient | |
| APPS_URL = 'http://m.bzz.com/apps' | |
| SEARCH_URL = 'http://m.bzz.com/search' | |
| RETRY_MAX = 4 | |
| RETRY_INTERVAL = 5 | |
| RETRY_BACKOFF_FACTOR = 2 | |
| # get :app, docid: 123 | |
| def get resource, options={} |
| # Usage example: | |
| # | |
| # s = PinterestSpammer.new | |
| # s.sign_in 'your_account_email', 'your_account_password' | |
| # s.get_boards # get boards list, that contains board_id (for example - 455708124733779520) | |
| # s.create_pin(455708124733779520, 'https://xyz.xyz/', 'http://rubyonrails.org/images/rails.png', 'Spammer!') | |
| # | |
| # | |
| require 'mechanize' | |
| class PinterestSpammer |