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
| import facebook | |
| import config | |
| import time | |
| import platform | |
| def best_wishes(): | |
| ''' | |
| This function loads an access token stored in a | |
| text file (these expire so they need to be stored on disk somehow). | |
| It then securly accesses the facebook graph api. Once connected, |
| import urllib, urllib2, json | |
| ''' | |
| The ``FacebookTestUserManager`` module | |
| ====================================== | |
| Author: Weizhong Yang <zonble at gmail dot com> | |
| A tool which helps to create and delete test account for Facebook. |
| -- Export to csv via SQLite Database Browser: | |
| create table promo_post_data as select * from pagepostdata where post_name='Promo-post' | |
| -- Export to csv via SQLite CLI: | |
| sqlite> .header on | |
| sqlite> .output c:/work/dataout.csv | |
| sqlite> .mode csv | |
| sqlite> SELECT * FROM pagepostdata WHERE post_name='Promo-post' | |
| sqlite> .output stdout |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include "list.h" | |
| typedef struct episode { | |
| int epid; | |
| struct list_head list; | |
| } episode_t; |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include "list.h" | |
| typedef struct episode { | |
| int epid; | |
| struct list_head list; | |
| } episode_t; |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| struct jintArray | |
| { | |
| int size; | |
| int *elements; | |
| }; | |
| struct env_type |
| # -*- coding: utf-8 -*- | |
| """ | |
| example use of pandas with oracle mysql postgresql sqlite | |
| lightly tested. | |
| to do: | |
| save/restore index (how to check table existence? just do select count(*)?), | |
| finish odbc, | |
| add booleans?, | |
| sql_server? |
| #!/usr/bin/python | |
| from Tkinter import * | |
| import numpy | |
| import math | |
| # Transmisor de una senal | |
| class Transmitter: | |
| def __init__(self, ID, canvas, coordinates, strength=50, color="gray"): | |
| self.id = ID # ID del transmisor |