Skip to content

Instantly share code, notes, and snippets.

View sponomarev's full-sized avatar
🔴
Offline

Sergey Ponomarev sponomarev

🔴
Offline
View GitHub Profile
@sponomarev
sponomarev / mp3_to_ogg.sh
Last active August 29, 2015 14:00
mp3_to_ogg.sh
ffmpeg -i test.mp3 -vn -acodec libvorbis test.ogg
@sponomarev
sponomarev / Gemfile
Created January 29, 2014 11:45 — forked from gvarela/Gemfile
# A sample Gemfile
source "http://rubygems.org"
gem "redis"
gem 'eventmachine', :git => 'git://github.com/eventmachine/eventmachine.git'
gem "em-hiredis"
# gem "em-synchrony"
gem "em-websocket"
require 'rubygems'
require 'eventmachine'
module ChatClient
def self.list
@list ||= []
end
def post_init
@name = "anonymous_#{rand(99999)}"
@sponomarev
sponomarev / command.sh
Created November 9, 2013 10:43
Remove iTerm2 icon from Dock
# remove
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist
# restore
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm.app/Contents/Info.plist
@sponomarev
sponomarev / active_admin.css.scss
Last active December 24, 2015 23:39
active_admin bootstrap-like theme
$primary-color: #1B1B1B;
$text-color: #333;
$link-color: #08C;
$current-menu-item-background: $primary-color;
$hover-menu-item-background: $primary-color;
$secondary-gradient-start: #F7F7F9;
$secondary-gradient-stop: #F7F7F9;