Skip to content

Instantly share code, notes, and snippets.

View orlin's full-sized avatar

Orlin M Bozhinov orlin

  • Astrolet
  • Varna, Bulgaria
  • X @orlin
View GitHub Profile
@orlin
orlin / PS1.bash
Created January 16, 2012 13:19
bash git prompt
WHITE="\[\033[1;37m\]"
BLUE="\[\033[0;34m\]"
GREEN="\[\033[0;32m\]"
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
PURPLE="\[\033[0;35m\]"
function parse_git_branch {
ref=$(git-symbolic-ref HEAD 2> /dev/null) || return
echo "["${ref#refs/heads/}"]"
@orlin
orlin / astrolet-0.0.3-2.txt
Created December 1, 2012 18:29
$ jitsu deploy #fail #1
⚚ @b015a54 active » ~/Git/a/astrolet ➔ jitsu deploy
info: Welcome to Nodejitsu astrolet
info: jitsu v0.11.2, node v0.8.15
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
debug: { method: 'GET',
debug: uri: 'http://api.nodejitsu.com/apps/astrolet/astrolet',
debug: headers:
debug: { Authorization: 'Basic YXN0cm9sZXQ6T3BhcjAxa2E=',
@orlin
orlin / astrolet-0.0.3-3.txt
Created December 1, 2012 18:31
$ jitsu deploy #fail #2
⚚ @b015a54 active* ⚠ ~/Git/a/astrolet ➔ jitsu deploy
info: Welcome to Nodejitsu astrolet
info: jitsu v0.11.2, node v0.8.15
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing application dependencies in node server.js
debug: { method: 'GET',
debug: uri: 'http://api.nodejitsu.com/apps/astrolet/astrolet',
debug: headers:
debug: { Authorization: 'Basic YXN0cm9sZXQ6T3BhcjAxa2E=',
@orlin
orlin / syncthing-android-log.txt
Last active March 1, 2016 11:23
adb logcat -d | grep -i 'syncthing'
03-01 11:29:23.694 18039 18883 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.nutomic.syncthingandroid/.activities.MainActivity bnds=[804,954][1068,1293] (has extras)} from uid 10020 on display 0
03-01 11:29:23.841 20994 20994 D SyncthingService: All SSIDs allowed for syncing
03-01 11:29:23.841 20994 20994 I SyncthingService: Starting syncthing according to current state and preferences
03-01 11:29:23.855 29048 29048 W chmod : type=1400 audit(0.0:7468): avc: denied { setattr } for name="libsyncthing.so" dev="mmcblk0p19" ino=549319 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0
03-01 11:29:23.896 29056 29056 D su : Checking whether app [uid:10078, pkgName: com.nutomic.syncthingandroid] is allowed to be root
03-01 11:29:23.923 29056 29056 D su : Finishing su operation for app [uid:10078, pkgName: com.nutomic.syncthingandroid]
03-01 11:29:23.960 29069 29069 D su : Che
Verifying my Blockstack ID is secured with the address 1CW1GnVsDn8dyyCQ18Q5KBJX14jCFE4XcD https://explorer.blockstack.org/address/1CW1GnVsDn8dyyCQ18Q5KBJX14jCFE4XcD