Skip to content

Instantly share code, notes, and snippets.

View yrashk's full-sized avatar
🎯
Being productive

Yurii Rashkovskii yrashk

🎯
Being productive
View GitHub Profile
var msg = require('messaging');
var mbox = new msg.Mailbox();
if (msg.Node.ping("b2@aero")) {
mbox.send({global: "jsname"}, "Hello, named dude!");
}
@yrashk
yrashk / gist:772450
Created January 10, 2011 06:14 — forked from Marak/gist:772298
#!/usr/bin/env ruby
# Configures the git author to a list of developers when pair programming
#
# Usage: pair cr pf (Sets the author to 'Charlie Robbins, and Paolo Fragomeni')
# pair (Unsets the author so the git global config takes effect)
#
# Author: Bryan Helmkamp (http://brynary.com)
#######################################################################

Random Paws resources: (some of these are wildly out of date, with regard to syntax, semantics, or both… so skim with a grain of salt)

@yrashk
yrashk / PACKAGES.txt
Created February 14, 2011 11:26 — forked from nox/PACKAGES.txt
NGerlguten https://github.com/CarlWright/NGerlguten
RefactorErl http://plc.inf.elte.hu/erlang/
anal http://forum.trapexit.org/viewtopic.php?t=9279
assoc http://forum.trapexit.org/viewtopic.php?t=150
bloomerl http://code.google.com/p/bloomerl/
crone http://catseye.tc/projects/crone/
dbus http://code.google.com/p/erlang-dbus/
depcheck http://forum.trapexit.org/viewtopic.php?t=9283
diff http://forum.trapexit.org/viewtopic.php?t=9285
edep jungerl
diff --git a/c_src/erlv8.cc b/c_src/erlv8.cc
index e984844..84b0144 100644
--- a/c_src/erlv8.cc
+++ b/c_src/erlv8.cc
@@ -23,6 +23,7 @@ static ErlV8TickHandler tick_handlers[] =
{"set", SetTickHandler},
{"set_proto", SetProtoTickHandler},
{"set_hidden", SetHiddenTickHandler},
+ {"set_accessor", SetAccessorTickHandler},
{"proplist", ProplistTickHandler},
diff --git a/c_src/erlv8.cc b/c_src/erlv8.cc
index e984844..84b0144 100644
--- a/c_src/erlv8.cc
+++ b/c_src/erlv8.cc
@@ -23,6 +23,7 @@ static ErlV8TickHandler tick_handlers[] =
{"set", SetTickHandler},
{"set_proto", SetProtoTickHandler},
{"set_hidden", SetHiddenTickHandler},
+ {"set_accessor", SetAccessorTickHandler},
{"proplist", ProplistTickHandler},
@yrashk
yrashk / about.md
Created August 9, 2011 21:20 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
iex> Monad.identity do
...> IO.puts 1
...> {:ok, a} = {:ok, 2}
...> IO.puts a
...> end
1
2
:ok
iex> Monad.error do
...> IO.puts "reading file..."
require 'tendita'
require 'uuid'
require "socket"
 
class Session
  attr_reader :key
  attr_accessor :expires
   
  def initialize(expires=nil)
    @uuid = UUID.new
@yrashk
yrashk / tmux-p0wn.sh
Created October 1, 2012 18:28 — forked from djui/tmux-p0wn.sh
p0wn your tmux session
alias tmux-p0wn='tmux list-clients | sed "s|^\(/dev/ttys[0-9]\+\).*\[\([0-9]\+x[0-9]\+\).*$|\2 \1|" | sort -r -n | tail -n +2 | cut -d " " -f 2 | xargs -n 1 tmux detach-client -t'