Skip to content

Instantly share code, notes, and snippets.

@oumu
oumu / oumu_quix.txt
Created February 8, 2011 12:15
#bookmarklet : Oumu's Custom Quix Commands
> Oumu's Custom Quix Commands
> TITLE: oumu_quix.txt
> MORE: http://quixapp.com
> UPDATED: 2011-02-06_21-12-03
@Oumu's Custom Quix Commands
@Some commands copied from Merlin Mann (http://gist.github.com/290059) and the rest are from my chrome custom search engines and bookmarklets.
cal http://www.google.com/calendar/event?ctext=+%s+&action=TEMPLATE&pprop=HowCreated%3AQUICKADD Add events to Google Calendar
clip http://cl1p.net/%s Make a new cl1p.net page from keyword
down http://downforeveryoneorjustme.com/%d Is this site downforeveryoneorjustme?
mob javascript:function%20iptxt(){var%20d=document;try{if(!d.body)throw(0);window.location='http://www.instapaper.com/text?u='+encodeURIComponent(d.location.href);}catch(e){alert('Please%20wait%20until%20the%20page%20has%20loaded.');}}iptxt();void(0) Make page into purty Instapaper mobile style
@oumu
oumu / footnotify.css
Created September 18, 2011 01:31 — forked from hpeikemo/footnotify.css
Footnotify
/*
* Customize Footnotify on your site by adding custom css.
*
* This file is NOT loaded by the script and must be
* implemented on the site in order to apply.
*
* More info: https://gist.github.com/1046538
*
*/
@oumu
oumu / utmstrip.user.js
Created March 27, 2012 10:38 — forked from paulirish/utmstrip.user.js
#userscript : Drop the UTM params from a URL when the page loads
// ==UserScript==
// @name UTM param stripper
// @author Paul Irish
// @namespace http://github.com/paulirish
// @version 1.1
// @description Drop the UTM params from a URL when the page loads.
// @extra Cuz you know they're all ugly n shit.
// @include http://*
// ==/UserScript==
@oumu
oumu / soundcloud-mp3.js
Created March 31, 2012 00:49 — forked from rsvp/soundcloud-mp3.js
SoundCloud bookmarklet that generates link to download MP3
/**
2012-03-26 Forked from duncanbeevers' sc-dl.js : https://gist.github.com/2157987
**/
(function(document) {
var link = document.createElement("a"),
span = document.createElement("span"),
slug = document.querySelector("#main-content-inner img[class=waveform]").src.match(/\.com\/(.+)\_/)[1],
mp3 = document.querySelector("em").innerText + ".mp3";
@oumu
oumu / Pretty Pinboard.css
Last active October 11, 2015 08:48
#css #userscript : Pretty Pinboard
/* E:\Chrome Default\Default\Extensions\aadgcoajeddclnoghalopcnndjloagil\0.2_0\css\themes\prettypinboard.css */
#timer {
display: none;
}
#pinboard {
width: 100%;
padding: 0 !important;
margin: 0 !important;
}
a, a:visited {
@oumu
oumu / Evernote ENML Editor Revamp.css
Created October 4, 2012 13:21
#css #userscript : Evernote ENML Editor Revamp
div.head, div.foot {
display:none;
}
.page {
width:99%;
}
.body {
background:url(data:image/png;
base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAG0lEQVQIW2OMq7zlw4ADMIIkF7WrbcEmP+gkAarWGgXyq5CNAAAAAElFTkSuQmCC) repeat;
border-top:0;
@oumu
oumu / Fonts included in Windows 7 + Office 2010.md
Created October 5, 2012 04:01
#markdown : Fonts included in Windows 7 & Microsoft Office 2010
@oumu
oumu / crx downloader.txt
Created October 29, 2012 14:39 — forked from yang/gist:2419515
#Bookmarklet : download Chrome extension files (CRX files) from Chrome webstore
If you want to access the source code of a Chrome extension, you need to get the .crx file. This bookmarklet downloads the .crx file for the Chrome extension you're viewing. You'll be prompted to install it; before dismissing the dialog, check in your Downloads directory. Then just unzip the .crx (it's a zip file).
javascript:window.open('https://clients2.google.com/service/update2/crx?response=redirect&x=id%3D' + /webstore\/detail\/[^\/]+\/([^\/]+)/.exec(window.location.href)[1] + '%26uc')
javascript:window.open('https://clients2.google.com/service/update2/crx?response=redirect&x=id%253D' + /webstore%5C/detail%5C/(?:%5Cw%7C-)+%5C/(%5B%5E%5C/%5D+)/.exec(window.location.href)%5B1%5D + '%2526uc')
@oumu
oumu / Chrome custom scrollbar.css
Created October 30, 2012 13:29
CSS : Chrome custom scrollbar
/*http://support.google.com/chrome/?hl=en*/
::-webkit-scrollbar {
height: 16px !important;
overflow: visible !important;
width: 16px !important;
}
::-webkit-scrollbar-thumb {
background: -webkit-linear-gradient(left, rgba(198,198,198,1) 0%,rgba(220,220,220,1) 100%) !important;
background-clip: padding-box !important;
@oumu
oumu / output
Created November 29, 2012 11:20
tracert+
ydip () { w3m -dump "http://www.youdao.com/smartresult-xml/search.s?type=ip&q=$1"; }
alias iconvu='iconv -f GBK -t UTF-8'
tracert () { TRACERT "$@" | iconvu | tee >(grep -oP '\d*(?= ms)' | spark) >(grep -oP '\d+\.\d+\.\d+\.\d+' | while read -r line; do ydip "$line"; done); }