THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| get Android source code: http://source.android.com/source/downloading.html | |
| $ cd /path/to/android-src | |
| $ cd system/core/libmincrypt/ | |
| $ gcc -c *.c -I../include | |
| $ ar rcs libmincrypt.a *.o | |
| $ cd ../mkbootimg | |
| $ gcc mkbootimg.c -o mkbootimg -I../include ../libmincrypt/libmincrypt.a | |
| $ cd ../cpio | |
| $ gcc mkbootfs.c -o mkbootfs -I../include |
| #!/bin/bash | |
| # | |
| # You may redistribute this program and/or modify it under the terms of | |
| # the GNU General Public License as published by the Free Software Foundation, | |
| # either version 3 of the License, or (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| # GNU General Public License for more details. |
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <fontconfig> | |
| <!-- | |
| Documented at | |
| http://linux.die.net/man/5/fonts-conf | |
| To check font mapping run the command at terminal | |
| $ fc-match 'helvetica Neue' |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| From f3ad98ac87f9f1c789b9e3f2fe1875cde089d680 Mon Sep 17 00:00:00 2001 | |
| From: poma <[email protected]> | |
| Date: Tue, 31 Mar 2015 03:13:15 +0300 | |
| Subject: [PATCH] b | |
| --- | |
| js/ui/sidebar.js | 2 +- | |
| manifest.json | 7 ++++++- | |
| 2 files changed, 7 insertions(+), 2 deletions(-) |
| diff --git a/foo2hbpl1.c b/foo2hbpl1.c | |
| index fb4f448..d0ad6cd 100644 | |
| --- a/foo2hbpl1.c | |
| +++ b/foo2hbpl1.c | |
| @@ -52,11 +52,38 @@ static char Version[] = "$Id: foo2hbpl1.c,v 1.3 2014/03/30 05:08:32 rick Exp $"; | |
| /* | |
| * Command line options | |
| */ | |
| -int MediaCode = 0; | |
| +char *ClutFilePath = NULL; |
| #!/bin/bash | |
| # | |
| # GoLang cross-compile snippet for Go 1.6+ based loosely on Dave Chaney's cross-compile script: | |
| # http://dave.cheney.net/2012/09/08/an-introduction-to-cross-compilation-with-go | |
| # | |
| # To use: | |
| # | |
| # $ cd ~/path-to/my-awesome-project | |
| # $ go-build-all | |
| # |
curl to get the JSON response for the latest releasegrep to find the line containing file URLcut and tr to extract the URLwget to download itcurl -s https://api.github.com/repos/jgm/pandoc/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value | |
| } | |
| # Usage | |
| # $ get_latest_release "creationix/nvm" | |
| # v0.31.4 |
| /play | |
| /*.png | |
| /*.bmp | |
| /solitaire |