Skip to content

Instantly share code, notes, and snippets.

🍼
Parenting

Bodo Tasche bitboxer

🍼
Parenting
Block or report user

Report or block bitboxer

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
View css-layout-hack.js
// create a bookmark and use this code as the URL, you can now toggle the css on/off
// thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3
javascript: (function() {
var domStyle = document.createElement("style");
domStyle.append(
'* { color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }\
* * { background-color: rgba(0,255,0,.2) !important; }\
* * * { background-color: rgba(0,0,255,.2) !important; }\
* * * * { background-color: rgba(255,0,255,.2) !important; }\
* * * * * { background-color: rgba(0,255,255,.2) !important; }\
@polarblau
polarblau / work_days_2016.md
Created Jan 14, 2016
Work days / Berlin, Germany (2016)
View work_days_2016.md
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Days: 20 21 21 21 20 22 21 23 22 20 22 21
Hours: 150 157,5 157,5 157,5 150 165 157,5 172,5 165 150 165 157,5

(Hours calculations are based on 7.5 hour days.)

@SteveBenner
SteveBenner / macfix1-install-nokogiri.rb
Last active Aug 13, 2019
Mac fix - Install Nokogiri gem on OS X 10.9 Mavericks
View macfix1-install-nokogiri.rb
#!/usr/bin/env ruby
#
# Mac fix 1 - Install the Nokogiri gem on Mac OS 10.9 Mavericks
#
# Usage: to configure and install using Bundler, pass in 'bundle' as an argument to the script.
#
# Nokogiri works at a very low level, so it has many issues on various platforms.
# As a result, the command `install gem nokogiri` often will fail. This fix is for
# errors involving 'libiconv', such as the following one I encountered:
#
@fhemberger
fhemberger / README.md
Last active Dec 27, 2015
Get rid of content farms and W3Schools in search results.
View README.md
@jbgo
jbgo / debug_system_stack_error.md
Created Jan 9, 2013
debug SystemStackError in ruby 1.9
View debug_system_stack_error.md

This is how I debug SystemStackError when there is no stack trace.

My first attempt was:

begin
  a_method_that_causes_infinite_recursion_in_a_not_obvious_way
rescue SystemStackError
  puts caller
end
@nanoant
nanoant / fl
Last active Oct 8, 2015
Open folder in ForkLift.app from console
View fl
#!/bin/bash
#
# Open folder in ForkLift.app from console
# Author: Adam Strzelecki nanoant.com
#
# Usage:
# fl [<folder>]
#
# Opens specified directory or current working directory in ForkLift.app
#
View a.md

This allows you to use the following video streaming services outside of the US from your Mac without having to use a proxy or VPN, so no big bandwidth issues:

  • Hulu / HuluPlus
  • CBS
  • ABC
  • MTV
  • theWB
  • CW TV
  • Crackle
  • NBC
@toluju
toluju / delicious2google.rb
Created Dec 17, 2010
Delicious is shutting down, so here's a script to load the exported delicious bookmarks into Google Bookmarks.
View delicious2google.rb
require 'net/http'
require 'uri'
require 'cgi'
text = "<html><head><title>Delicious2Google</title></head><body>" +
"<h1>Upload</h1>" +
"<form action='https://www.google.com/bookmarks/mark?op=upload&zx=#{rand(65535)}' method='POST'>" +
"<input type='submit'/><input type='hidden' id='data'></form>" +
"<textarea id='xml' style='display:none'>\n<bookmarks>"
You can’t perform that action at this time.