View describe_all_tables
mysql -h 127.0.0.1 -P 3306 db_name -u foo --password=bar -e "SELECT TABLE_NAME, COLUMN_NAME, COLUMN_TYPE FROM information_schema.columns WHERE table_schema = 'db_name';" > out.tsv |
View unpromote-twitter.user.js
// ==UserScript== | |
// @name Unpromote Twitter | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author James Cuénod | |
// @match https://twitter.com/home | |
// @grant none | |
// ==/UserScript== |
View jamapi_note
https://www.jamapi.xyz/ | |
http://www.bookfinder.com/search/?author=&title=&lang=en&isbn=0800638581&submitBtn=Search&new=1&used=1&ebooks=1 | |
{ | |
"title": "title", | |
"prices": [{"elem": "table.results-table-Logo td:last-child", "price": "text"}], | |
"sellers": [{"elem": "table.results-table-Logo td:nth-child(2) a img", "seller": "alt"}], | |
"2nd hand": [{"elem": "table.results-table-Logo td:nth-child(2) .results-explanatory-text-Logo:first-child", "seller": "text"}] | |
} |
View semantic-2.1.8-silentValidation.js
/*! | |
* # Semantic UI 2.1.7 - Patched to do "is valid" silently (I could have sworn it was version 2.1.8 though) | |
* http://github.com/semantic-org/semantic-ui/ | |
* | |
* | |
* Copyright 2015 Contributors | |
* Released under the MIT license | |
* http://opensource.org/licenses/MIT | |
* | |
*/ |
View SIL Phonetic in Gnome3
# Showing "Hebrew (Biblical, SIL phonetic)" as option in Gnome | |
# (layout exists in /usr/share/X11/xkb/symbols/il) | |
# Credit: http://askubuntu.com/questions/567814/enabling-sil-phonetic-biblical-hebrew-keyboard | |
gsettings set org.gnome.desktop.input-sources show-all-sources true |
View imageCheckbox.css
ul { | |
list-style-type: none; | |
} | |
li { | |
display: inline-block; | |
} | |
input[type="checkbox"][id^="cb"] { | |
display: none; |