Skip to content

Instantly share code, notes, and snippets.

@1nsp1r3rnzt
1nsp1r3rnzt / a.html
Created August 8, 2014 10:25
av.html
<br>
@1nsp1r3rnzt
1nsp1r3rnzt / 0_reuse_code.js
Created October 18, 2015 04:37
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
str=tHe QuIcK bRoWn FoX jUmPs OvEr ThE lAzY dOg
StringUpper,str,str,T
MsgBox, % Str
#main> .column>ul>li>a:first-of-type {
background-color:#663399;
border: 1px dotted #FFFF00;
text-transform: uppercase;
width:98%;
}
ul:first-of-type{
border-right:1px dotted lime;
}
// ==UserScript==
// @name Truncate and Hide Page Title
// @namespace my
// @version 0.2
// @description Display first word of the page title
// @include https://*
// @include www*
// @include http://*
// @copyright 2017, Ranjit Saini
// ==/UserScript==
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetControlDelay -1
;things to do, check periodically, gui
;check and deleted if last version file cache is present
boxicheckfile=boxifierv
UrlDownloadToFile, http://www.boxifier.com/, %boxicheckfile%.txt
CoordMode, Mouse, Screen
;This script hides the chrome address bar by displaying a fake address bar image (png) on the top of google chrome
; Useful trick to have more privacy
;overlays on chrome and minimize itself if chrome is minimized
; Has transparent area where google chrome back, next button are to make it work with other script which use those button images
; still to do is is to make it resize according to google chrome window's size.
;demo is at https://github.com/1nsp1r3rnzt/Autohotkey-scripts/blob/master/Autohotkey-scripts/chrome%20demo.gif?raw=true
Gui, Color, CABAFF
Gui +LastFound
winset,transcolor,CABAFF
@1nsp1r3rnzt
1nsp1r3rnzt / Sublime_evernote_plugin_modified_bindign
Created January 29, 2017 23:20
Sublime_evernote_modified_keys
{ "keys": ["ctrl+e", "ctrl+w"], "command": "open_evernote_note", "args": {"note_guid": "clipboard"} },
{ "keys": ["ctrl+e", "ctrl+u"], "command": "send_to_evernote" },
{ "keys": ["ctrl+e", "ctrl+o"], "command": "open_evernote_note" },
{ "keys": ["ctrl+e", "ctrl+s"], "command": "save_evernote_note" },
@1nsp1r3rnzt
1nsp1r3rnzt / Quick_paste_in_Evernote_Ahk.Ahk
Created January 31, 2017 00:57
Quick Paste in Evernote
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
`::
#IfWinExist ahk_class ENMainFrame
WinActivate ,ahk_class ENMainFrame
send {enter}
@1nsp1r3rnzt
1nsp1r3rnzt / Sublime_evernote.ahk
Last active February 5, 2017 15:53
Sublime_evernote_AHK is used to quickly open notes in sublime text from evernote windows app
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;this ahkscript open an evernote in sublime_text for quick editing in markdown
;define the hotkey here
^m::
clipboard=
;copying the shared url
sendInput {ctrl Down}{Alt Down}l{Alt Up}{ctrl up}