Skip to content

Instantly share code, notes, and snippets.

/*** Google Bar ***/
/* shrink Google header with the search button and G+ */
#gbx1, #gbqlw { /* logo, bar background */
height: 38px !important;
}
#gbq2, #gbu { /* search bar, G+ */
padding-top: 5px !important;
}
/* INTRUSIVE: hide G+ entirely if you prefer to read in peace */
@ingmar
ingmar / autocomplete.user.js
Created July 29, 2012 22:01
Userscript to re-enable autocomplete on www.ocado.com and other places
// ==UserScript==
// @name Autocomplete_anyways
// @description Removes counterproductive "autocomplete=off" attributes
// @version 1.0
// @include http*://*.ocado.com/*
// @include http*://www.goodreads.com/*
// @include http*://www.t-mobile.co.uk/*
// ==/UserScript==
for (i=0; i < document.forms.length; i++) {
@ingmar
ingmar / Hacker_News_improved.user.js
Last active December 17, 2015 06:19
Give HN some visual indication of points and comments
// ==UserScript==
// @name Hacker News improved
// @description Various improvements to Hacker News
// @version 4
// @namespace org.sdfjkl.greasemonkey.hn-improved
// @include http*://news.ycombinator.com/
// @include http*://news.ycombinator.com/news
// @include http*://news.ycombinator.com/newest
// @include http*://news.ycombinator.com/best
// @include http*://news.ycombinator.com/ask
@ingmar
ingmar / fish_prompt
Created March 25, 2014 09:57
Ingmar's fish_prompt
function fish_prompt --description 'Ingmar\'s fish_prompt'
set -l last_status $status
# If previous command had a non-zero exit status, display it.
set -l last_status_string ""
if [ $last_status -ne 0 ]
printf "🔴 %s%d%s\n" (set_color red --bold) $last_status (set_color normal)
end
@ingmar
ingmar / 80cols.txt
Created May 7, 2014 19:28
80 columns
—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~
_o/ - Taxi ! ,
| ___/¯¯\/_
/ \ (_o____o_/ ____ @@
¯ ¯ ¯¯¯¯
—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~—~
- Hey !
@ingmar
ingmar / gist:2e38333d692bf094ca64
Last active August 29, 2015 14:11
Kjango's squirrels
<Kjango> The hardest thing to train a flying squirrel to do is to not bite the living crap out of you
<Kjango> I used to build a small fire in the yard...........................
<Kjango> then I would take the squirrel in a gloved hand & put him in a sock............................
<Kjango> I'd throw green boughs on the fire & the rapidly twirl the squirrel in the sock in the smoke..........................
<Kjango> then I would take the squirrel out of the sock & hold him in my ungloved hand & feed him life savers........................
<Kjango> he be too fucked up to bite me......................
<Kjango> & turns out they like life savers...................
<Kjango> couple sock sessions & you have a tame flying squirrel
<Kjango> I've often wondered over the years if this would work with women
<Kjango> another interesting flying squirrel factoid :
@ingmar
ingmar / .stignore
Created October 30, 2018 23:18
Make syncthing sync only the songs in my Library that are in an iTunes playlist
// Include files in this file - each line must start with an exclamation mark "!"
#include syncthis.txt
// Exclude everything by default
*
@ingmar
ingmar / PingHist.ini
Created April 23, 2020 20:40
Rainmeter Ping histogram skin. Shows network latency over time and last response time as text. Matches Illustro style. To use, copy PingHist.Ini into %USERPROFILE%\Documents\Rainmeter\Skins\illustro\Ping\
[Rainmeter]
Update=1000
Background=#@#Background.png
; #@# is equal to Rainmeter\Skins\illustro\@Resources
BackgroundMode=3
BackgroundMargins=0,34,0,14
[Metadata]
Name=PingHist
Author=Ingmar
@ingmar
ingmar / getacforsale.md
Last active May 2, 2020 12:09
Getac V100-X for sale

Getac V100-X Waterproof Laptop/Tablet convertible

Specs:

  • Intel Core i7 U640 1.2GHz (x64)
  • 4 GB RAM
  • 120 GB Intel SSD
  • Windows 10 Pro

Features:

  • Sunlight readable screen