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
Verifying my Blockstack ID is secured with the address 1CW1GnVsDn8dyyCQ18Q5KBJX14jCFE4XcD https://explorer.blockstack.org/address/1CW1GnVsDn8dyyCQ18Q5KBJX14jCFE4XcD
@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
@orlin
orlin / keybase.md
Created October 18, 2014 10:33
keybase.io proof

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 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 / 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 / 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 / _view.coffee
Created August 17, 2011 09:21
Backbone.history.start() # see index.coffee - error
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 February 16, 2011 17:12
less framework 3 + compass-less-plugin (a few of the partials) + my mixins & usage
/* 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 February 4, 2011 20:34
trying get going with happy.js validation
$(document).ready ->
$('#enlist').iphoneStyle
checkedLabel: 'For Sure'
uncheckedLabel: 'No Thanks'
resizeContainer: false
resizeHandle: false
$('input[type="text"]:first').focus()
@orlin
orlin / undermix.coffee
Created December 15, 2010 18:59
underscore.js with strings and other mixins (a node.js module)
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