npm install caller errio eventemitter3
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 | |
# Author : Hemanth.HM, Steven ENTEN | |
# Email : hemanth[dot]hm[at]gmail[dot]com, steven[at]enten[dot]fr | |
# License : GNU GPLv3 | |
# | |
function useage() | |
{ | |
cat << EOU | |
Useage: bash $0 <path to the binary> <path to the rootfs where copy the dependencies> |
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
cat .git/config | grep remote -A 5 | grep 'url =' | awk -F ' = ' '{ print $2 }' |
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
dd if=/dev/zero bs=1G count=16 >> userdata.img | |
e2fsck -f userdata.img | |
resize2fs userdata.img | |
e2fsck -f userdata.img |
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
#!/system/bin/sh | |
set -u | |
## ======================================================================================== | |
## alfred : manages an ArchLinux rootfs for enable LXC usage on Android | |
## ======================================================================================== | |
PROGNAME="alfred" | |
PROGVERS="0.0.6" | |
PROGCONF="/data/$PROGNAME" | |
PROGHELP="Usage: $PROGNAME [cmd] |
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
for i in $(git status | grep modified | awk -F " " '{print $2}'); | |
do cat $i | tr -d '\r' > $i.tmp; mv $i.tmp $i; | |
done |
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
var wcf = require('wcf') | |
var {basename, resolve} = require('path') | |
// mocks > | |
var globSync = () => [] | |
var happyPackPlugin = (x) => x | |
// < mocks | |
var f = wcf.create() |
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
const {sep: platformSep} = require('path') | |
const {inspect} = require('util') | |
const POSIX_SEP = '/' | |
const WIN32_SEP = '\\' | |
const PATH_SEPARATORS = { | |
'aix': POSIX_SEP, | |
'darwin': POSIX_SEP, | |
'freebsd': POSIX_SEP, |
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
const nodeNotifier = require('node-notifier') | |
const { | |
format, | |
inspect | |
} = require('util') | |
const CONSOLE = Object.assign({}, console) | |
const DEFAULT = { |
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
const nodeNotifier = require('node-notifier') | |
const supportsColor = require('supports-color') | |
const { | |
inspect, | |
format | |
} = require('util') | |
const DEFAULT = { | |
colors: !!supportsColor, |
OlderNewer