#Back up your FTP site with SSH (excluding databases)
Sub in your URLs, username, and folder names. You can practically copy paste these into the terminal and it will work.
- SSH into the ftp and enter your password when asked:
- List the directories:
#Back up your FTP site with SSH (excluding databases)
Sub in your URLs, username, and folder names. You can practically copy paste these into the terminal and it will work.
To change the video, look within the index.html
.
You should see a HUGE block of code with comments around it like this:
<!-- ******************************************************************************************** -->
<!-- ******************************************************************************************** -->
<!-- ******************************************************************************************** -->
<!-- ******************************************************************************************** -->
<!-- ******************************************************************************************** -->
//*****************************************************// | |
// HOW TO USE // | |
//*****************************************************// | |
//1) GOTO TOOLS > SCRIPT EDITOR | |
//2) PASTE THIS SCRIPT INTO THE EDITOR | |
//3) CHANGE MAXNUM & EMAILS TO SUIT YOUR NEEDS | |
//4) SAVE THE SCRIPT AND NAME IT | |
//5) CLICK THE CLOCK ICON TO SETUP TRIGGERS | |
//6) ADD A TRIGGER TO SUIT YOUR NEEDS | |
//7) MAKE SURE YOU AUTHORIZE THE FUNCTION |
$('.events-table tr').each(function() { | |
var date = $(this).find('.date'); | |
var location = $(this).find('.location'); | |
var href = $(this).find('.more'); | |
var link = date.find('a'); | |
var vlink = location.find('a'); | |
var hlink = href.find('a'); | |
var line = link.text() + ' ' + vlink.text() + ' ' + hlink.attr('href'); | |
document.write(line + "<br>"); | |
}); |
Ruby has classes but they are all implemented as objects. Some objects act as classes but some of them do not. For example "string" and String are both objects -- "string" being a String class object, and String being the class. Since classes are also objects, String is still an object while "string" is not a class -- ONLY an object.
To create an instance of a class, use that class's "new" method. For example, if we had a class called "Cat" we would instantiate it using the following syntax:
Cat.new
bundle exec middleman --force-polling --verbose |
$.ajax({ | |
dataType: "json", | |
url: "http://superfan-tsm-localhost.com:3000/api/v1/facebookfeeds/5", | |
headers: {"X-Api-Key":"tBEPQTWZO2tArSNQ4emyagtt"} , | |
success: function(data){ | |
var feed = data["feed"] | |
$.each(feed, function(i, item) { | |
var postMessage = feed[i].message; | |
var postUserName = feed[i].from; | |
var postUserId = feed[i].id; |
<div class="get-started-wrapper"> | |
<div> | |
<div> | |
<form method="post" action="https://dashboard.vydia.com/service?[UTM HERE AFTER ?]"> | |
<input type="hidden" name="service" value="[SERVICE HERE (MONETIZE OR DISTRIBUTE)]"> | |
<input type="hidden" name="type" value="video"> | |
<input type="hidden" name="bundle_id" value="[BUNDLE ID(s) HERE COMMA SEPARATED]"> | |
<input type="hidden" name="networks" value="[NETWORKS HERE COMMA SEPARATED]"> | |
<input type="hidden" name="landing_page" value=""> | |
<input type="hidden" name="landing_section" value=""> |
# Generate Acces Token Here | |
# https://developers.facebook.com/tools/explorer/ | |
require 'sad_panda' | |
require 'httparty' | |
require 'json' | |
access_token = "*" | |
event_id = "[PUT THE EVENT IS HERE]" | |
the_url = "https://graph.facebook.com/#{event_id}/feed" |
require 'sad_panda' | |
require 'twitter' | |
config = { | |
consumer_key: "*", | |
consumer_secret: "*", | |
} | |
client = Twitter::REST::Client.new(config) |