https://github.com/Doplgangr/secrecy https://github.com/deano2390/OpenFlappyBird https://github.com/romannurik/muzei https://github.com/JakeWharton/u2020 https://github.com/MizzleDK/Mizuu https://github.com/arnabc/simplelauncher https://github.com/google/iosched https://github.com/watabou/pixel-dungeon https://code.google.com/p/dashclock https://github.com/eddieringle/PasswordMaker_X
This file contains 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
# Making eth0 work in asus u36s debian | |
modprobe atl1c | |
echo "1969 1083" > /sys/bus/pci/drivers/atl1c/new_id |
This file contains 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
# Force cientific notation in pyplot | |
formatter = ScalarFormatter() | |
formatter.set_scientific(True) | |
formatter.set_powerlimits((-3,3)) | |
plt.axes().yaxis.set_major_formatter(formatter) |
This file contains 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/perl -w | |
# hexadec.pl | |
$foo = <STDIN>; | |
$hexval = sprintf("%x", $foo); | |
$decval = hex($hexval); | |
print "$decval\n"; |
This file contains 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
# Kill all sessions in tmux except the attached one: | |
tmux ls | grep -v attached | cut -d : -f 1 | xargs -I {} tmux kill-session -t {} | |
# Create a shared (group cnm_dev) git repo with acl | |
mkdir project | |
cd project | |
git init --bare --shared | |
setfacl -R -m g:cnm_dev:rwX $PWD |
First put a the following init.d gradle script in ${HOME}/.gradle/init.d/ (currently in build.gradle but not working in init):
allprojects {
tasks.withType(Compile) { // Use JavaCompile for gradle > 2.0
options.compilerArgs << "-Xlint:deprecation"
}
task printDependencies << {task -> println "Subproject -> $task.project.name" }
}
subprojects {
This file contains 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
import json | |
import sys | |
from flask import Flask | |
from flask import request | |
from flask import Response | |
app = Flask(__name__) | |
clicked_push=False |
This file contains 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
require 'twilio-ruby' | |
account_sid = 'ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' | |
auth_token = 'your_auth_token' | |
@client = Twilio::REST::Client.new account_sid, auth_token | |
# Get an object from its sid. If you do not have a sid, | |
# check out the list resource examples on this page | |
@account = @client.accounts.get("ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") | |
@account.update(:status => "suspended") |
I hereby claim:
- I am joninvski on github.
- I am joaotrindade (https://keybase.io/joaotrindade) on keybase.
- I have a public key ASD9UyzVe2ZdTlhoUYbavD8GYubD-rwai-7N99rjSU87Xwo
To claim this, I am signing this object: