Skip to content

Instantly share code, notes, and snippets.

View rasky's full-sized avatar

Giovanni Bajo rasky

  • Develer S.r.l.
View GitHub Profile
@rasky
rasky / gist:9147484
Created February 22, 2014 01:55
Keybase.io proof

Keybase proof

I hereby claim:

  • I am rasky on github.
  • I am giovannibajo (https://keybase.io/giovannibajo) on keybase.
  • I have the public key with fingerprint AA14 40A1 3134 3E96 AC7F  23A4 E870 D9A3 69B8 348A

To claim this, I am signing this object:

@rasky
rasky / fakeroot.rb.diff
Created October 21, 2014 10:20
Tentative patch for brew fakeroot on Yosemite
diff --git a/Library/Formula/fakeroot.rb b/Library/Formula/fakeroot.rb
index fecde7e..ecf8b94 100644
--- a/Library/Formula/fakeroot.rb
+++ b/Library/Formula/fakeroot.rb
@@ -9,6 +9,8 @@ class Fakeroot < Formula
depends_on :automake
depends_on :libtool
+ patch :DATA
+
@rasky
rasky / gist:b33ad065c79054fb9cd7
Created May 5, 2015 17:01
Fix msgpack-js-browser for emojii and other utf-8 decoding/encoding bugs
commit ef0d4a1d8ca5a809eb79e9203d4121107fc4e2c6
Author: Giovanni Bajo <rasky@develer.com>
Date: Sat Dec 13 04:11:56 2014 +0100
Fix handling of emojii in msgpacks (handle surrogate pairs)
diff --git a/src/msgpack/msgpack.js b/src/msgpack/msgpack.js
index b30f2c4..7a91b55 100644
--- a/src/msgpack/msgpack.js
+++ b/src/msgpack/msgpack.js
@rasky
rasky / .config
Created September 2, 2015 15:00
Host *
ControlPersist yes
ControlMaster auto
ControlPath /tmp/ssh-%r@%h:%p
ServerAliveInterval 60
<!-- ================ -->
<!-- Channel Switcher -->
<!-- ================ -->
<div class="col_left">
<div class="titlebar"></div>
<div class="inner">
<channelbar active-channel="channel"></channelbar>
</div>
</div>
<!-- ======= -->
@rasky
rasky / gossaimprovements.go
Created January 30, 2016 12:43
Showcase of optimization opportunities for the Go SSA backend
package main
/*
HEAD is:
commit 88b230eaa69647405e7c278044550640fc098111
Author: David Chase <drchase@google.com>
Date: Fri Jan 29 14:44:15 2016 -0500
[dev.ssa] cmd/compile: exposed do-log boolean to reduce allocations
@rasky
rasky / fish_prompt.fish
Created February 20, 2016 01:00
Fish prompt
set -g __fish_git_prompt_show_informative_status 1
set -g __fish_git_prompt_hide_untrackedfiles 1
set -g __fish_git_prompt_color_branch magenta --bold
set -g __fish_git_prompt_showupstream "informative"
set -g __fish_git_prompt_char_upstream_ahead "↑"
set -g __fish_git_prompt_char_upstream_behind "↓"
set -g __fish_git_prompt_char_upstream_prefix ""
set -g __fish_git_prompt_char_stagedstate "●"
package main
import (
"bufio"
"fmt"
"os"
"path/filepath"
"strings"
"sync"
"sync/atomic"
@rasky
rasky / pep-xxxx.txt
Last active March 31, 2016 19:40
Implement package signing in PyPI, pip, distutils
PEP: XXXX
Title: Implement package signing in PyPI, pip, distutils
Version: $Revision$
Last-Modified: $Date$
Author: Giovanni Bajo <rasky@develer.com>
Status: Draft
Type: Process
Content-Type: text/x-rst
Created: 25-Jul-2014
Post-History: XX-XXX-XXXX
diff --git a/src/JudyCommon/JudyPrivateBranch.h b/src/JudyCommon/JudyPrivateBranch.h
index 70a2d54..10295ba 100644
--- a/src/JudyCommon/JudyPrivateBranch.h
+++ b/src/JudyCommon/JudyPrivateBranch.h
@@ -19,7 +19,7 @@
// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// _________________
-// @(#) $Revision: 4.57 $ $Source: /judy/src/JudyCommon/JudyPrivateBranch.h $
+// @(#) $Revision: 1.2 $ $Source: /home/doug/judy-1.0.5_min/test/../src/JudyCommon/RCS/JudyPrivateBranch.h,v $