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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'mechanize' | |
agent = Mechanize.new | |
page = agent.get('https://accounts.google.com/ServiceLoginAuth') | |
form = page.forms.first | |
form.Email = '<<<Your Google Reader username>>>' |
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
@interface NSFileManager (DoNotBackup) | |
- (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL; | |
@end |
#!/usr/bin/env python | |
""" | |
Very simple HTTP server in python (Updated for Python 3.7) | |
Usage: | |
./dummy-web-server.py -h | |
./dummy-web-server.py -l localhost -p 8000 | |
Send a GET request: |
#!/bin/sh | |
## | |
## Generate OPML from your PocketCasts podcast list | |
## | |
## You need to retrieve the 'Podcastdb.sqlite' file using iExplorer | |
## or some similar utility | |
## | |
cat <<EOF |
<snippet> | |
<content><![CDATA[base(this, '${1:method}'${2});${0}]]></content> | |
<tabTrigger>base</tabTrigger> | |
<scope>source.js</scope> | |
<description>Base method call</description> | |
</snippet> |
#!/usr/bin/env sh | |
# WARNING: | |
# WARNING: This script may destroy your code, make sure to backup before running. | |
# WARNING: | |
################################ | |
# convert .m files to .cpp | |
################################ | |
#ls -1 *.m | while read f |
The list would not be updated for now. Don't write comments.
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:
githubUsers
var _ = require('underscore'), | |
util = require('util'); | |
// intercept stdout, passes thru callback | |
// also pass console.error thru stdout so it goes to callback too | |
// (stdout.write and stderr.write are both refs to the same stream.write function) | |
// returns an unhook() function, call when done intercepting | |
module.exports = function interceptStdout(callback) { | |
var old_stdout_write = process.stdout.write, | |
old_console_error = console.error; |
#include <algorithm> | |
template <typename T> | |
class out_ { | |
public: | |
explicit out_(T& val) : pval(&val) {} | |
explicit out_() : pval(nullptr) {} | |
void operator=(const T& newval) { | |
if (pval) { |