git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| <?php | |
| /** | |
| * Description of VideoStream | |
| * | |
| * @author Rana | |
| * @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
| */ | |
| class VideoStream | |
| { | |
| private $path = ""; |
| $ cat docker_delete_all.bash | |
| docker ps -a | awk '{print $1}' | xargs docker rm | |
| docker images | awk '{print $1}' | xargs docker rmi |
| import "phoenix_html" | |
| import "bootstrap" | |
| import "jquery" | |
| import "toastr" | |
| // ... |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| # pyaib plugin for auth with matterircd | |
| from pyaib.plugins import * | |
| import time | |
| @plugin_class('mattermost') | |
| class Mattermost(object): | |
| """ track channels and stuff """ | |
| def __init__(self, irc_c, config): | |
| self.config = config |
| import base64 | |
| import json | |
| import random | |
| import re | |
| import time | |
| try: | |
| from Crypto import Random | |
| from Crypto.Cipher import AES, PKCS1_v1_5 | |
| from Crypto.PublicKey import RSA |
| #!/usr/bin/env python | |
| # encoding=utf8 | |
| # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 | |
| from nyaa import nyaa | |
| import click | |
| @click.command() | |
| @click.argument("search") | |
| @click.option("--user", default="") | |
| @click.option("--onlylink", default="") |
| #!/bin/env python | |
| from nyaa import nyaa | |
| import guessit | |
| import click | |
| @click.command() | |
| @click.argument("nyaa_user") | |
| @click.option("--num_page", default=10, help="Numero de paginas rss a obtener") | |
| def fetch_nyaa_user(nyaa_user, num_page): | |
| """ obtiene de nyaa (rss) todos las series y hace batchs de torrents """ |
| #!/usr/bin/python | |
| import ch | |
| import sys | |
| msg = "" | |
| import cgi | |
| class TestBot(ch.RoomManager): | |
| def onConnect(self, room): | |
| global msg |