Skip to content

Instantly share code, notes, and snippets.

View acidtib's full-sized avatar

Dainel Vera acidtib

View GitHub Profile
repos = [
{
"repo" => "https://github.com/yairsz/BitVote.git",
"name" => "BitVote"
},
{
"repo" => "https://github.com/xbanegas/bitJuke.git",
"name" => "bitJuke"
},
{
fswebcam -r 640x480 test.jpg -S 2
fswebcam -d /dev/video0 -S 2 -s brightness=60% -s Contrast=15% -s Gamma=50% -p YUYV -r 1280x720 --jpeg 80 -s Sharpness=40% -s Saturation=15% --title "New Zealand - Wellington - Tawa" $DIR/$filename
raspivid -o - -t 99999 -hf -w 640 -h 360 -fps 25|cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8090}' :demux=h264
class Api::RegistrationsController < Api::BaseController
respond_to :json
def create
user = User.new(params[:user])
if user.save
render :json=> user.as_json(:auth_token=>user.authentication_token, :email=>user.email), :status=>201
return
else
Verifying that +drkyro is my openname (Bitcoin username). https://onename.io/drkyro

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@acidtib
acidtib / Rakefile
Created November 14, 2013 14:51 — forked from rjsamson/Rakefile
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/osx'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'MenubarApp'
app.info_plist['NSUIElement'] = 1
end
********* SCSS STYLING **********
.dropdown-list {
border: 1px solid #ddd;
max-width: 600px;
width: 100%;
margin: 15px auto;
background: #FFF;
height: 36px;
overflow: hidden;
<script type="text/javascript">
function createCookie(name,value) {
var date = new Date();
var minutes = 1440;
date.setTime(date.getTime() + (minutes * 60 * 1000));
var expires = "; expires="+date.toGMTString();
document.cookie = name+"="+value+expires+"; path=/;";
}
@acidtib
acidtib / cgminer.rb
Last active December 17, 2015 03:19
Homebrew formula for cgminer brew install GIST_RAW_URL
require 'formula'
class Cgminer < Formula
homepage 'https://github.com/ckolivas/cgminer'
url 'https://github.com/ckolivas/cgminer/archive/v3.1.0.tar.gz'
sha1 '745465a0626b5c398aa1a675f533445e79a3cef4'
depends_on 'autoconf' => :build
depends_on 'automake' => :build
depends_on 'libtool' => :build