This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
based on Blink, Arduino's "Hello World!" | |
Turns on an LED on for one second, then off for one second, repeatedly. | |
The Tinkerkit Led Modules (T010110-7) is hooked up on O0 | |
http://www.tinkerkit.com/led-red-10mm/ | |
created in Dec 2011 | |
by Federico Vanzati | |
This example code is in the public domain. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id githubavisited@jnv.github.io | |
// @name Color visited links on GitHub | |
// @version 0.1 | |
// @namespace http://jnv.github.io | |
// @include https://github.com/* | |
// @domain github.com | |
// @grant GM_addStyle | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id feedlyexpand@jnv.gihtub.io | |
// @name Feedly - Expand Content | |
// @version 2015.06.15 | |
// @namespace http://jnv.github.io | |
// @author jnv | |
// @description Remove width limitations on Feedly; useful for pictures and comics. | |
// @include https://feedly.com/* | |
// @include http://feedly.com/* | |
// @domain feedly.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules/ | |
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Remove all groups at https://www.facebook.com/browsegroups/ | |
[].forEach.call(document.querySelectorAll('.declineButton'),function(e){e.click()}) | |
// Reject all recommendations at https://www.facebook.com/suggestions/rate/ | |
[].forEach.call(document.querySelectorAll('a[ajaxify*="event=No"]'),function(e){e.click()}) | |
// Remove all FB pages suggestions at https://www.facebook.com/pages/ | |
[].forEach.call(document.querySelectorAll('._5l77'),function(e){e.click();}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id fbrecomhide@jnv.gihtub.io | |
// @name Hide Recommendations on Facebook | |
// @description Removes "People you may know", "Recommended Pages" and similar on Facebook. | |
// @version 2015.07.12 | |
// @namespace http://jnv.github.io | |
// @domain www.facebook.com | |
// @include http://www.facebook.com/* | |
// @include https://www.facebook.com/* | |
// @grant GM_addStyle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Unblinking Blue Caret in Google Docs | |
// @description Disables blinking caret (cursor) in Google Docs, makes it a bit thicker and gives it a pleasant blue color, ala iA Writer. | |
// @id gdocsunblinkcaret@jnv.gihtub.io | |
// @namespace https://jnv.github.io | |
// @domain docs.google.com | |
// @include http://docs.google.com/* | |
// @include https://docs.google.com/* | |
// @author Jan Vlnas http://jan.vlnas.cz | |
// @developer Dan Burd http://danburd.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id twitter.com-0c8ee385-6991-418e-940e-106644506a90@scriptish | |
// @name Twitter Carefree | |
// @version 2016.01.03 | |
// @namespace https://jnv.github.io | |
// @description Remove stuff from Twitter, like following/followers, retweets and likes count. | |
// @include https://twitter.com/* | |
// @include https://mobile.twitter.com/* | |
// @grant GM_addStyle | |
// @license CC0 1.0; https://creativecommons.org/publicdomain/zero/1.0/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'multi_xml' | |
require 'pp' | |
xml = <<-EOF | |
<atom:feed xmlns="http://kosapi.feld.cvut.cz/schema/3" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:osearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xml:base="https://kosapi.fit.cvut.cz/api/3" xml:lang="cs"> | |
<atom:link atom:rel="next" href="courses?offset=10&limit=10"/> | |
<osearch:startIndex>0</osearch:startIndex> | |
</atom:feed> | |
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @id hidefbnewsfeed@jnv.gihtub.io | |
// @name Hide Facebook News Feed | |
// @description Replaces useless Facebook feed with useful kittens | |
// @version 2015.09.05 | |
// @namespace http://jnv.github.io | |
// @domain www.facebook.com | |
// @include http://www.facebook.com/* | |
// @include https://www.facebook.com/* | |
// @screenshot https://gist.githubusercontent.com/jnv/e401c3faac0e893c489a/raw/screenshot.png |