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 / enterpreneur-quotes.json
Created Jul 14, 2015
325 Enterpreneur Quotes as JSON
View enterpreneur-quotes.json
"text":"The only people who never fail are those who never try.",
"from":"Ilka Chase"
"text":"Failure is just another way to learn how to do something right.",
"from":"Marian Wright Edelman"
b1nary / AES_over_IRC.rb
Created Jan 24, 2012
AES and some more encryptions over IRC
View AES_over_IRC.rb
#!/usr/bin/env ruby
require 'socket'
require 'openssl'
require "base64"
server = "some-irc.tld"
port = "6667"
nick = "Nickname#{rand(5000)}"
channel = "#channel"

As soon as i apply the rule to a coupon i get the following when i try to apply it:

  "success": null,
  "error": "This coupon code could not be applied to the cart at this time.",
  "successful": false,
  "status_code": "coupon_code_unknown_error"
b1nary /
Last active Jan 12, 2020
Bootstrap 4 2nd Level Menu "Hack"

Bootstrap 4 2nd Level Menu "Hack"

I was looking for some basic CSS to gain a second level for my Bootstrap 4 menu. To my surprise what i found was a lot of jQuery, a lot of pre-styled glitchy examples and not at all what i was actually looking for. Some markup was so bad i felt like puking when i tried to "fix" the bad examples.

So without further internet and subtle jQuery bashing, i'll present, a simple second level for Bootstrap 4 Menüs!

  • No CSS weirdness
  • Works with every template
  • No jQuery (or sane Javascript)
View Japanese style
(/◔ ◡ ◔)/
(๏̯͡๏ )
b1nary / torrc
Created Feb 8, 2012
TORrc - auto get now IP
View torrc
# place to /etc/tor/torrc
# or simply
# $ tor -f /path/tor/torrc -D /path/to/datadir
SocksPort 9050
NewCircuitPeriod 1
MaxCircuitDirtiness 1
EnforceDistinctSubnets 1
b1nary / post_tor_ruby.rb
Created Feb 8, 2012
[Ruby] Post form data trough socks
View post_tor_ruby.rb
require 'rubygems'
require 'rest-client'
# Socksify is amazing handling Proxys, also Socks like tor
# The proxy is simply aviable in the whole script
require 'socksify'
TCPSocket::socks_server = ""
TCPSocket::socks_port = 9070
# Create a cookie
b1nary /
Last active May 22, 2018
Tumblr Repost & Reddit post bots

Tumblr Repost & Reddit post bots

I've created these inspired by before i realized its not worth it for me :) Maybe some of you can user it, the code is messy and could be optimized, its also not very beautiful and done in a hurry.

But the bot worked perfectly for the last month or so, so i figured why not post it when i dont use it anyway?

Installing & Using

It needs Ruby, this is super easy if you are not using Windows.

b1nary / Altcoin
Last active Apr 13, 2018
Altcoin watcher is a Cryptocoin watcher written in Ruby utilizing the Cryptsy API
View Altcoin

Altcoin Watcher (Cryptsy)

Version 0.1.2

This script allows you to keep an process running which shows you current prices for the Altcoins you like. Also it shows % and revenue in BTC or $ if configured. Feel free to use or modify the script. If you make some nice changes i would be happy if you send them back to me too.

Made with love

I created this options friendly because i think others might need it too. Show me your support with a little tip!

  • Cryptsy Trading key: 26b13a60f5cd3aa78e4c29328fb9980bef963e9e
View i
if [ $1 = "love" ]; then
if [ "$EUID" -ne 0 ]; then
echo "i have a boyfriend"
echo "i love $2 too"
You can’t perform that action at this time.