Skip to content

Instantly share code, notes, and snippets.

@yevgenko
yevgenko / .classpath
Created April 26, 2012 00:47
eclipse classpath for android project
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="src" output="bin/classes" path="gen">
<attributes>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/classes" path="src/main/java"/>
@yevgenko
yevgenko / id_rsa.pub
Created February 20, 2012 19:45
My public rsa key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC1+iLi2yDLtCohtI4BC098FObGCX2213d7wSzwShWzwltX+hNdOQNTILNYdmB7kpWdZvvAm82AtnkAa0h9rF4g5UyNavWxgUoZzsgpnMXqZjYB/CUGuRwK5/eeukO0QM8OkhCPZ8WBysP4ABR+zbxs639lzPr91UlkqEF/V/Aism5Tu2ohGZ09UmLa9mrQMn+Xbb/9+tJwtXfwdNJmG4XP0cmdcYWYNX1fB3aQRNldLV52oAlj5sfdzBG1XwwvQ4uM/JVOmrjHw9tsPyCouADVIg/4AqFUe9EIfMWHWTt5iqpgOA7Dk8V7th9ROXFB1V3DbRmBTYgyQrYNvcMbCQ2x craftsman@yevgenko.me
@yevgenko
yevgenko / conky.diff
Created February 11, 2012 22:46
conky-1.8.1 patch for FreeBSD port
diff -Naur work/conky-1.8.1-orig/src/conky.c work/conky-1.8.1/src/conky.c
--- work/conky-1.8.1-orig/src/conky.c 2012-02-12 00:29:46.000000000 +0200
+++ work/conky-1.8.1/src/conky.c 2012-02-12 00:25:02.000000000 +0200
@@ -119,9 +119,9 @@
#include "openbsd.h"
#endif
-#if defined(__FreeBSD_kernel__)
-#include <bsd/bsd.h>
-#endif
@yevgenko
yevgenko / pastebin.sh
Created February 11, 2012 19:02
PASTEBIN.COM BASH SCRIPT – PASTE DIRECTLY FROM YOUR TERMINAL
#!/bin/bash
# Paste at Pastebin.com using command line (browsers are slow, right?)
# coder : Anil Dewani
# date : Novemeber 7, 2010
#help function
howto()
{
echo "\
Pastebin.com Bash Script \
@yevgenko
yevgenko / seriallogger.js
Created January 3, 2012 17:05 — forked from voodootikigod/seriallogger.js
Log all output from a serial port connection to a log file.
/*
Simple example that takes a command line provided serial port destination and routes the output to a file of the same name with .log appended to the port name.
usage: node logger.js /dev/tty.usbserial <baudrate>
*/
var SerialPort = require("serialport");
var fs = require("fs");
var port = process.argv[2];
@yevgenko
yevgenko / index.mustache
Created December 21, 2011 05:25
Basic mustache views for expressjs
<h1>{{title}}</h1>
<p>Welcome to {{title}}</p>
@yevgenko
yevgenko / dcouch.sh
Created December 7, 2011 13:50
touch desktopcouch and open futon
#!/bin/sh
dbus-send --session --print-reply --type=method_call --dest=org.desktopcouch.CouchDB / org.desktopcouch.CouchDB.getPort
xdg-open ~/.local/share/desktop-couch/couchdb.html
@yevgenko
yevgenko / Questions
Created September 7, 2011 21:21
RubyShift
Day job: Software Craftsman
Favorite Ruby project: github-gem, octopress, sinatra, hirefire... well, I love'em all :)
Open Source contributions: few Chef(opscode) cookbooks, the modules and patches for seagull and symfony frameworks, little magento additions http://tinycarts.github.com/ and others patches, fixes, gists, I'm sure you know the rest ;)
How do you use GitHub: blogging, collaborating, contributing and sharing the code
@yevgenko
yevgenko / .tmux.conf
Created August 24, 2011 03:02
tmux settings
## keybindings
unbind C-b
unbind C-a
unbind %
unbind ,
unbind .
unbind n
unbind p
unbind [
unbind '"'
@yevgenko
yevgenko / .Xdefaults
Created August 24, 2011 02:58
URxvt settings with solarized theme
!-------------------------------------------------------------------------------
! Xft settings
!-------------------------------------------------------------------------------
Xft.dpi: 96
Xft.antialias: false
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight