Skip to content

Instantly share code, notes, and snippets.

View Coldblackice's full-sized avatar

Coldblackice

  • NYC
View GitHub Profile
/* Mozilla Ubiquity Command for diigo, currently only support add bookmark.
* Some code from https://ubiquity.mozilla.com/standard-feeds/social.js
*/
var store = Application.storage;
const diigo_CUR_LOGIN = "ubiquity_diigo_cur_login";
var Choices = {"yes": "y", "no": "n"};
var noun_type_share = {
_name: "yes/no",
suggest: function( text, html ) {
javascript:(function(){
//inspired by http://userscripts.org/scripts/show/8924
var s = document.createElement('script');
s.setAttribute('src','http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js');
if(typeof jQuery=='undefined') document.getElementsByTagName('head')[0].appendChild(s);
(function() {
if(typeof jQuery=='undefined') setTimeout(arguments.callee, 100)
else{
jQuery("*").one("click",function(event){
//http://snippets.dzone.com/posts/show/4349
@lindenb
lindenb / Delicious2Diigo.java
Created December 19, 2010 14:48
Save bookmarks from delicious to Diigo.com using the Diigo API.
/**
* Delicious2Diigo
*
* Author:
* Pierre Lindenbaum
* http://plindenbaum.blogspot.com
*
* Motivation:
* save bookmarks from delicious to diigo using the Diigo API.
*
SetTitleMatchMode 2
MsgBox % Acc_Get("Value", "4.20.2.4.2", 0, "Firefox")
MsgBox % Acc_Get("Value", "application1.property_page1.tool_bar2.combo_box1.editable_text1", 0, "Firefox")
Acc_Get(Cmd, ChildPath="", ChildID=0, WinTitle="", WinText="", ExcludeTitle="", ExcludeText="") {
static properties := {Action:"DefaultAction", DoAction:"DoDefaultAction", Keyboard:"KeyboardShortcut"}
@adamloving
adamloving / temporary-email-address-domains
Last active April 24, 2024 14:20
A list of domains for disposable and temporary email addresses. Useful for filtering your email list to increase open rates (sending email to these domains likely will not be opened).
0-mail.com
0815.ru
0clickemail.com
0wnd.net
0wnd.org
10minutemail.com
20minutemail.com
2prong.com
30minutemail.com
3d-painting.com
@pietvandongen
pietvandongen / icheckmovies2imdb
Last active March 31, 2019 23:52 — forked from ohheh/letterboxdbookmarklet.js
A couple of bookmarklets to help you quickly find a movie on iCheckMovies from another site.
javascript:{var link = document.getElementsByClassName('iconIMDB')[0].href;try{window.open(link);}catch(e){}};void(0);
@jshaw
jshaw / byobuCommands
Last active May 5, 2024 13:01
Byobu Commands
Byobu Commands
==============
byobu Screen manager
Level 0 Commands (Quick Start)
------------------------------
<F2> Create a new window
@ramons03
ramons03 / Notepad++AdvancedSearch.txt
Last active May 5, 2024 01:47
Notepad++ Advanced search and replace. Null, Enter char, Tab, Regular Expressions, Etc.
Open the find/replace dialog.
At the bottom will be some Search mode options. Select "Extended (\n \r \t \0 \x...)"
In either the Find what or the Replace with field entries, you can use the following escapes:
\n new line (LF)
\r carriage return (CR)
\t tab character
\0 null character
\xddd special character with code ddd
@anilshanbhag
anilshanbhag / hosts
Created November 21, 2013 05:47
Hosts file to prevent google / youtube ads Paste the contents into /etc/hosts file in linux / mac
127.0.0.1 3ad.doubleclick.net
127.0.0.1 ad-emea.doubleclick.net
127.0.0.1 ad-g.doubleclick.net
127.0.0.1 ad-yt-bfp.doubleclick.net
127.0.0.1 ad.3au.doubleclick.net
127.0.0.1 ad.ae.doubleclick.net
127.0.0.1 ad.au.doubleclick.net
127.0.0.1 ad.be.doubleclick.net
127.0.0.1 ad.br.doubleclick.net
127.0.0.1 ad.de.doubleclick.net
@tkmru
tkmru / userDBs.txt
Created March 25, 2014 17:34
PEiD's userDB.txt
UserDB.txt URLs (use your own flavor):
http://www.sysreveal.com/tag/userdb-txt/
http://handlers.sans.org/jclausing/userdb.txt
https://github.com/cuckoobox/cuckoo/blob/master/data/peutils/UserDB.TXT
http://research.pandasecurity.com/blogs/images/userdb.txt