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
.PHONY: - help | |
-: help | |
##help:print help | |
##test | |
## test | |
## test | |
## test | |
## test | |
##test:test |
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
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
mkdir ~/local | |
mkdir ~/node-latest-install | |
cd ~/node-latest-install | |
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
./configure --prefix=~/local | |
make install # ok, fine, this step probably takes more than 30 seconds... | |
curl https://www.npmjs.org/install.sh | sh |
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
#!/bin/bash | |
set -o errexit | |
# Author: David Underhill | |
# Script to permanently delete files/folders from your git repository. To use | |
# it, cd to your repository's root and then run the script with a list of paths | |
# you want to delete, e.g., git-delete-history path1 path2 | |
if [ $# -eq 0 ]; then | |
exit 0 |
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/env bash | |
# Usage: | |
# Add this function to your .functions file so that it is available in what ever git repo you are working on. | |
# and | |
# source .functions | |
# or | |
# git clone https://gist.github.com/9651a6d8dfa88aaa070f8640834d8fea.git ~/9651a6d8dfa88aaa070f8640834d8fea | |
# source ~/9651a6d8dfa88aaa070f8640834d8fea | |
# git-checkout-b | |
# git-checkout-b test |
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
-----BEGIN PGP MESSAGE----- | |
hQIMAxdB1PuMfZwhAQ/+M2jleXgmWfg11mk23hPR/mwK4VhG/GxmZXEGst8RTZPm | |
TOtlZjBi+Hl+kME+SqoBYSHHxXgoJPWrm8Z3XSOy4RXJoeLRIuRotU2HuBqh2E+1 | |
aQgLqjS7zNUff7LQ+bHbQgvAHJznxoguPDMboUBakeMtuIXZSA1JWllgq95xAteN | |
7jlGxPvghST0C04PwhzxxowoLu1AZtqxYAIM5Fiks43d4HdXkBTKI0zASkTyxirD | |
BOSy2rviXbKup/SBLF16fFioxoZbpkHPRnCdQ0BZGFshbR6S+ZimM10GkslsxnLw | |
aZW+NcZhuv0vWgkzFRjw8ojdKtzcxyBqpWt6urZYnWG12914nS+W4ev18CNKcC9L | |
mporuzbygh59ptaEj08FVVZzHqWvumn7Tb2xhcbc/svntKR3F5MfZpXUAzSn1gNv | |
le0XtI7ws8XoV4SszR+EinOD6oeejE6YQIkHBq1ogZuVabpQz0oWcOxHJICA4bns |
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
pyinbash.sh | |
pyscript.py | |
scripts | |
scripts/* |
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
#include <QApplication> | |
#include "mypushbutton.h" | |
int main(int argc, char *argv[]) | |
{ | |
QApplication a(argc, argv); | |
MyPushButton pb; | |
pb.show(); | |
return a.exec(); | |
} |
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
** Add repository and install bitcoind ** | |
sudo apt-get install build-essential | |
sudo apt-get install libtool autotools-dev autoconf | |
sudo apt-get install libssl-dev | |
sudo apt-get install libboost-all-dev | |
sudo add-apt-repository ppa:bitcoin/bitcoin | |
sudo apt-get update | |
sudo apt-get install bitcoind | |
mkdir ~/.bitcoin/ && cd ~/.bitcoin/ |
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
#!/bin/sh | |
CTARGET="$1" | |
if [ -z "$CTARGET" ]; then | |
program=$(basename $0) | |
echo "usage: $program TARGET_ARCH" | |
return 1 | |
fi | |
# get abuild configurables |
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
*.py |