Skip to content

Instantly share code, notes, and snippets.


Hélio insign

View GitHub Profile
insign / 2018_02_13_142413_add_renews_at_column_to_subscriptions.php Sync Stripe Renewal Date for all subscriptions - Laravel Console Command
View 2018_02_13_142413_add_renews_at_column_to_subscriptions.php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddRenewsAtColumnToSubscriptions extends Migration
* Run the migrations.
insign / watchlist.php
Created Nov 7, 2015
Sync IMDb watchlist to watchlist. Usage: php -f watchlist.php trakt_apikey trakt_username trakt_passwordhash imdb_login imdb_password imdb_uid (IMDb login is email adress or nickname, it's NOT the ur12345678 bit, that's the imdb_uid)
View watchlist.php
define('TRAKT_APIKEY', $argv[1]);
define('TRAKT_USERNAME', $argv[2]);
define('TRAKT_PASSWORD', $argv[3]);
define('IMDB_EMAIL', $argv[4]);
define('IMDB_PASSWORD', $argv[5]);
define('IMDB_UID', $argv[6]);
function curl_post($urlpre, $data, $urlpost = '')
You can’t perform that action at this time.