This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample Gemfile | |
source "https://rubygems.org" | |
gem "jrb-libsvm", git: 'git://github.com/sch1zo/jrb-libsvm.git', | |
require: 'libsvm', platforms: :jruby | |
gem "rb-libsvm", git: 'git://github.com/sch1zo/rb-libsvm.git', branch: 'custom_stuff', | |
require: 'libsvm', platforms: :ruby | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A sample Gemfile | |
source "https://rubygems.org" | |
gem "jrb-libsvm", git: 'git://github.com/sch1zo/jrb-libsvm.git', | |
require: 'libsvm', platforms: :jruby | |
gem "rb-libsvm", git: 'git://github.com/sch1zo/rb-libsvm.git', branch: 'custom_stuff', | |
require: 'libsvm', platforms: :ruby |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-03-26 19:42:00.8096:INFO:Rdio.Wildcard.UI.MainPresenter:Application started: | |
2013-03-26 19:42:00.9096:INFO:Rdio.Wildcard.UI.MainPresenter:Initialized version 1.12.0.0: | |
2013-03-26 19:42:01.1456:INFO:Rdio.Wildcard.UI.Wpf.WebView:Init: 25.0.1364.152, r1123: | |
2013-03-26 19:42:01.5977:WARN:Rdio.Wildcard.UI.Wpf.WebView:EvaluateScript:System.InvalidOperationException: Browser is not initialized | |
at CefSharp.BrowserCore.CheckBrowserInitialization() | |
at CefSharp.Wpf.WebView.EvaluateScript(String script, TimeSpan timeout) | |
at Rdio.Wildcard.UI.Wpf.WebView.Evaluate[T](String script, T fallback) | |
2013-03-26 19:42:01.6077:WARN:Rdio.Wildcard.UI.Wpf.WebView:EvaluateScript:System.InvalidOperationException: Browser is not initialized | |
at CefSharp.BrowserCore.CheckBrowserInitialization() | |
at CefSharp.Wpf.WebView.EvaluateScript(String script, TimeSpan timeout) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TMP_DIR=/opt/tmp | |
cd $TMP_DIR | |
tar -xvzf $1.tar.gz | |
cd $1 | |
makepkg --asroot -si | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# /etc/acpi/actions/backlight | |
#acpi_fakekey $KEY_BRIGHTNESSDOWN | |
# added per http://forum.notebookreview.com/showpost.php?p=5665108&postcount=1235 | |
#brightness=`echo $3 | sed 's/0000002//'` | |
#setpci -s 00:02.0 F4.B=${brightness}f | |
# added per mailing-list post |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env ruby | |
require 'open-uri' | |
require 'rss' | |
require 'pry' | |
class Feedly | |
attr_accessor :url, :store | |
def initialize url | |
@url = url |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// uses underscore.js stuff | |
E.Helpers.Html = { | |
equalHeights: function($el, minHeight, maxHeight) { | |
var heights,targetHeight; | |
heights = jQuery($el).map(function(){return jQuery(this).height();}); | |
heights.push(minHeight); | |
targetHeight = maxHeight ? _.min([maxHeight, _.max(heights)]) : _.max(heights); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Automatically precompile assets | |
load "deploy/assets" | |
# Execute "bundle install" after deploy, but only when really needed | |
require "bundler/capistrano" | |
# Application name | |
set :application, "page" | |
# Application environment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sips/* | |
rss.xml | |
.bundle | |
auth.rb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chapters |