Skip to content

Instantly share code, notes, and snippets.

Roman Pramberger b1nary

Block or report user

Report or block b1nary

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
@b1nary
b1nary / bot.rb
Created Feb 21, 2014
#Anycoin Bot
View bot.rb
#!/usr/bin/env ruby
require 'socket'
require 'timeout'
require 'json'
require 'open-uri'
def try
begin
Timeout::timeout(10) {
View vote.rb
require 'rubygems'
require 'net/http'
require 'net/https'
require 'socksify'
require 'open-uri'
TCPSocket::socks_server = "127.0.0.1"
TCPSocket::socks_port = 9050
url = "coinano.com"
@b1nary
b1nary / AllTheTLDs.md
Created Jul 8, 2014
[All the TLDs] A complete list of TLDs in the root domain zone. (updated 2014-07-09)
View AllTheTLDs.md

All the TLDs

This list contains all the TLDs based on the official list from the ICAN and a backup from ORSN.

It simply compiles the available lists.

View onion-gen.js
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";
/*
* thirty-two
* https://github.com/chrisumbel/thirty-two
*
View dicelib.rb
module DiceLib
class Dice
attr_accessor :hold, :current, :last
def initialize sides = 6
@dice = (0 .. (sides-1)).to_a
@hold = false
@current = @last = rand(@dice.length)
end
@b1nary
b1nary / generate_meme.json
Last active Aug 29, 2015
API results maymay.in
View generate_meme.json
{
"id": "3m",
"meme": "Doge",
"top_text": "much api",
"bottom_text": "",
"url": "http://maymay.in:3000/doge/much_api.jpg",
"short_url": "http://maymay.in:3000/s/3m.jpg",
"view_url": "http://maymay.in:3000/view/3m",
"creator": "anyanon",
"status": "new"
@b1nary
b1nary / lulz.js
Created Jun 24, 2015
Add some hidden games and jokes to your website
View lulz.js
$(function(){
function rotate(degrees){
$('html').css({
'-webkit-transform':'rotate(-' + degrees + 'deg)',
'-moz-transform':'rotate(-' + degrees + 'deg)',
'-ms-transform':'rotate(-' + degrees + 'deg)',
'-o-transform':'rotate(-' + degrees + 'deg)',
'transform':'rotate(-' + degrees + 'deg)',
'-webkit-transition':'2s',
@b1nary
b1nary / SetasCommandBook.markdown
Created Jan 23, 2012
the linux command reference of awesomeness
View SetasCommandBook.markdown

Seta's Command Book

Why this exists...

  • as reference for me
  • because Linux is to amazing to hold all commands
  • because the world needs to know! xD

Note that this is actually growing... Its not really much yet ;)

@b1nary
b1nary / _.markdown
Created Jan 24, 2012
A projekt based time plan maker
View _.markdown

Generate Fancy ASCII/HTML tables for a simple projekt time plan

Made by me. Feel free to use and or modify ;)

@b1nary
b1nary / _.markdown
Created Jan 24, 2012
Colored Table from Array in Ruby
View _.markdown

Colored Table from Array in Ruby

needs: colorize

or hack the colors out :3

also needs some optimations. the code is redundant. Just posted it here if i may not work on it in next time

You can’t perform that action at this time.