-
Sign Up for an SSD cloud server or log in if you already have an account.
-
Click 'Create Droplet' to get your instance running
-
Select the specifications you wish to mine (16GB/8CPU) on as well as the latest Ubuntu x64 image (Ubuntu 13.10 x64).
-
Your username and password will be emailed to you within 55 seconds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// API access key from Google API's Console | |
define( 'API_ACCESS_KEY', 'YOUR-API-ACCESS-KEY-GOES-HERE' ); | |
$registrationIds = array( $_GET['id'] ); | |
// prep the bundle | |
$msg = array |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# How to start: | |
# 1. Sign up for DigitalOcean with this link https://www.digitalocean.com/?refcode=7bf219507e61 | |
# -- it will be filled with $10 to start out (if you use the above link) | |
# 2. Go to https://cloud.digitalocean.com/settings/applications and find you API key | |
# 3. In your shell, run 'export DIGITALOCEAN_TOKEN="INSERT TOKEN HERE"', without the outer quotes. | |
# 4. `brew install jq` | |
# 5. `./digitalocean-proxy` | |
# 6. When you are done, press CTRL+C ONCE, and everything will be cleaned up. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Copyright 2011 Martin Hawksey | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Call this with a cron script on a timed interval to scrape it | |
$user_agent = $_SERVER['HTTP_USER_AGENT']; // its possible you may wish to use an alternative user agent here | |
// First call gets hidden form field authenticity_token | |
// and session cookie | |
$ch = curl_init(); | |
$sTarget = "https://twitter.com/"; | |
curl_setopt($ch, CURLOPT_URL, $sTarget); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Form.html CSS, just copy and paste any where in your style.css file, or customize to fit with your domain */ | |
form.contact p { | |
font-size: 15px; | |
padding: 0 0 15px 0; | |
margin: 0; | |
} | |
form.contact input, form.contact textarea { | |
font-family: Arial; | |
font-size: 15px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Instagram PHP API | |
* Example for using the getUserMedia() method | |
* | |
* @link https://github.com/cosenary/Instagram-PHP-API | |
* @author Christian Metz | |
* @since 31.01.2012 | |
*/ |