Skip to content

Instantly share code, notes, and snippets.

Christian Vervoorts sangyye

Block or report user

Report or block sangyye

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sangyye
sangyye / PKGBUILD
Created Dec 2, 2014
caffeine PKGBUILD
View PKGBUILD
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Your Name <youremail@domain.com>
pkgname=caffeine
pkgver=0.0.1
pkgrel=1
pkgdesc="Simple open-source clone of the Caffeine Mac app for Ubuntu."
View keybase.md

Keybase proof

I hereby claim:

  • I am sangyye on github.
  • I am sangyye (https://keybase.io/sangyye) on keybase.
  • I have a public key ASAZ_5B9bVnVy-jNQw8AMUfsOfORutQRBMEjNQdd8QkPIwo

To claim this, I am signing this object:

View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/>
<script src="http://cmx.io/v/0.1/cmx.js"></script>
<body>
<scene id="scene1">
<label t="translate(0,346)">
<tspan x="0" y="0em">Whatsapp Geschichte</tspan>
</label>
<actor t="translate(131,49)" pose="-11,9|-5,117|-11,99|-11,89|-11,79|-11,59|-16,34|-21,9|-6,34|-2,8|-18,79|-32,78|-6,79|16,92">
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="stylesheet" href="http://cmx.io/v/0.1/cmx.css"/>
<script src="http://cmx.io/v/0.1/cmx.js"></script>
<body>
<scene id="scene1">
<label t="translate(0,346)">
<tspan x="0" y="0em">First Comix</tspan>
</label>
<actor t="translate(131,49)" pose="-11,9|-5,117|-11,99|-11,89|-11,79|-11,59|-16,34|-21,9|-6,34|-2,8|-18,79|-32,78|-6,79|16,92">
@sangyye
sangyye / getfeed.rb
Created Jun 12, 2012
Atom to rss converter with ruby and sinatra
View getfeed.rb
require 'sinatra'
require 'simple-rss'
require 'builder'
require 'open-uri'
get '/*' do
rss = SimpleRSS.parse open('http://' + params[:splat][0].to_s)
builder do |xml|
xml.instruct! :xml, :version => '1.0'
xml.rss :version => "2.0" do
@sangyye
sangyye / ppm.rb
Created Feb 28, 2012 — forked from Keksbuster/ppm.rb
Ruby with joystick
View ppm.rb
require "rubygems"
require "rjoystick"
require "serialport"
#=begin
# example 1
#
#
# ARGV[0] => /dev/input/jsX
@sangyye
sangyye / vpn.sh
Created Oct 21, 2011
A fast and simple multi VPN-Client for the cli
View vpn.sh
#!/bin/bash
confdir='/home/abakus/.openvpn'
function start_vpn()
{
if [ ! -e /var/run/openvpn.pid ] ; then
openvpn --daemon --writepid /var/run/openvpn.pid --cd $2/$1 --script-security 2 --config $2/$1/*.conf
else
return 1
@sangyye
sangyye / pidgin_accounts.rb
Created Feb 27, 2011
read out all pidgin accounts with passwords
View pidgin_accounts.rb
#!/usr/bin/ruby
require 'rubygems'
require 'xmlsimple'
f = File.open(ENV['HOME'] + "/.purple/accounts.xml", "r")
data = XmlSimple.xml_in(f.read())
f.close()
data['account'].each do |item|
puts item['protocol'][0].split('-')[-1]
You can’t perform that action at this time.