Skip to content

Instantly share code, notes, and snippets.

Avatar

Orlin M Bozhinov orlin

  • Astrolet
  • Varna, Bulgaria
  • Twitter @orlin
View GitHub Profile
View blockstack-verify.txt
Verifying my Blockstack ID is secured with the address 1CW1GnVsDn8dyyCQ18Q5KBJX14jCFE4XcD https://explorer.blockstack.org/address/1CW1GnVsDn8dyyCQ18Q5KBJX14jCFE4XcD
@orlin
orlin / syncthing-android-log.txt
Last active Mar 1, 2016
adb logcat -d | grep -i 'syncthing'
View syncthing-android-log.txt
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
@orlin
orlin / keybase.md
Created Oct 18, 2014
keybase.io proof
View keybase.md

Keybase proof

I hereby claim:

  • I am orlin on github.
  • I am oto (https://keybase.io/oto) on keybase.
  • I have a public key whose fingerprint is FF9D 930D 4C0E 8D13 3530 BE27 B98F 2818 012A AB0B

To claim this, I am signing this object:

@orlin
orlin / astrolet-0.0.3-3.txt
Created Dec 1, 2012
$ jitsu deploy #fail #2
View astrolet-0.0.3-3.txt
⚚ @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-2.txt
Created Dec 1, 2012
$ jitsu deploy #fail #1
View astrolet-0.0.3-2.txt
⚚ @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 / PS1.bash
Created Jan 16, 2012
bash git prompt
View PS1.bash
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 / _view.coffee
Created Aug 17, 2011
Backbone.history.start() # see index.coffee - error
View _view.coffee
class exports.RootView extends Backbone.View
el: $ '#container'
template: '_.jade'
initialize: ->
_.bindAll @render
render: ->
$(@el).empty()
$(@el).append jadeify @template
@orlin
orlin / _5.sass
Created Feb 16, 2011
less framework 3 + compass-less-plugin (a few of the partials) + my mixins & usage
View _5.sass
/* 5-column layout
* For 480 px mobiles, narrow browsers, and landscape iPhones. */
@media only screen and (max-width: 767px) and (min-width: 480px)
body
@include grid(5)
@include mobile-safari
+whole
.torso
@orlin
orlin / isHappyReady.coffee
Created Feb 4, 2011
trying get going with happy.js validation
View isHappyReady.coffee
$(document).ready ->
$('#enlist').iphoneStyle
checkedLabel: 'For Sure'
uncheckedLabel: 'No Thanks'
resizeContainer: false
resizeHandle: false
$('input[type="text"]:first').focus()
@orlin
orlin / undermix.coffee
Created Dec 15, 2010
underscore.js with strings and other mixins (a node.js module)
View undermix.coffee
define (require, exports, module) ->
_ = require("underscore")
_.mixin require("underscore.string")
_.mixin
# Converts the arguments list to an Array
aToArr: (list) ->
if _.isArguments(list)
_.toArray(list).slice(0)
else