Skip to content

Instantly share code, notes, and snippets.

View b1nary's full-sized avatar

Roman Pramberger b1nary

View GitHub Profile
@b1nary
b1nary / enterpreneur-quotes.json
Created July 14, 2015 22:20
325 Enterpreneur Quotes as 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
b1nary / Altcoin Watcher.md
Last active May 6, 2023 23:16
Altcoin watcher is a Cryptocoin watcher written in Ruby utilizing the Cryptsy API

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
@b1nary
b1nary / Japanese style
Last active February 11, 2023 00:09 — forked from endolith/Has weird right-to-left characters.txt
Unicode smileys emoticons
⨀_⨀
⨂_⨂
(/◔ ◡ ◔)/
°ﺑ°
(¬_¬)
(´・ω・`)
(ʘ_ʘ)
(ʘ‿ʘ)
(๏̯͡๏ )
(◕_◕)
@b1nary
b1nary / post_tor_ruby.rb
Created February 8, 2012 17:35
[Ruby] Post form data trough socks
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 = "127.0.0.1"
TCPSocket::socks_port = 9070
# Create a cookie
@b1nary
b1nary / _.md
Created July 7, 2012 17:55
Game of Life / Copyworld / Langton's Ant Simulation in HTML5 Canvas Element
@b1nary
b1nary / AES_over_IRC.rb
Created January 24, 2012 00:30
AES and some more encryptions over IRC
#!/usr/bin/env ruby
require 'socket'
require 'openssl'
require "base64"
server = "some-irc.tld"
port = "6667"
nick = "Nickname#{rand(5000)}"
channel = "#channel"
@b1nary
b1nary / ERROR.md
Last active January 29, 2020 22:21

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
b1nary / _README.md
Last active January 12, 2020 16:10
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)
@b1nary
b1nary / torrc
Created February 8, 2012 17:39
TORrc - auto get now IP
# place to /etc/tor/torrc
# or simply
# $ tor -f /path/tor/torrc -D /path/to/datadir
SocksPort 9050
SocksListenAddress 127.0.0.1
NewCircuitPeriod 1
MaxCircuitDirtiness 1
EnforceDistinctSubnets 1
@b1nary
b1nary / _.md
Last active May 22, 2018 18:03
Tumblr Repost & Reddit post bots

Tumblr Repost & Reddit post bots

I've created these inspired by https://www.reddit.com/r/tumblrmoney/ 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.