Skip to content

Instantly share code, notes, and snippets.

View aviaryan's full-sized avatar
:electron:
Working

Avi Aryan aviaryan

:electron:
Working
View GitHub Profile
@aviaryan
aviaryan / fixInvalidClips.ahk
Created March 8, 2014 04:16
Clipjump defective clips file detector
SetWorkingDir, % A_ScriptDir
if !FileExist("cache")
Msgbox, Where is cache Folder ?
loop, cache\*, 2
{
if Instr(A_LoopFileName, "clips") != 1
continue
loop, cache\%A_LoopFileName%\*.avc
@aviaryan
aviaryan / deleteFileFolder.ahk
Last active August 29, 2015 13:57
Clipjump Plugin - DeleteFileFolder first version
;@Plugin-Name Delete [File/Folder]
;@Plugin-Description Deletes clips that are [File/Folder] type from a channel.
;@Plugin-Author Avi
;@Plugin-Version 0.1
;@Plugin-Tags clip management file folder
;@Plugin-param1 The channels whose [file/folder]s are to be deleted separated by space. If this param is empty, all channels that exist are taken into account.
plugin_deleteFileFolder(zchannels=""){
Critical ; As all clip files are disturbed, it is necessary to be non-interruptible
;commetn
[section] ; comment
; comment
key = value ; comment
[sectio2]
key = value
jkeu = akdjfd
@aviaryan
aviaryan / ignore.css
Created July 11, 2014 05:52
test highlighting css
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
background: #b3d4fc;
}
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
background: #b3d4fc;
}
@aviaryan
aviaryan / prism-ahk-clipjump-test.html
Last active August 29, 2015 14:03
Full test of prism and autohotkey
<html>
<head>
<meta charset="UTF-8">
<title>Full test - Prism and Autohotkey</title>
<!-- HIGHLIGHTER SCRIPTS -->
<link rel="stylesheet" href="http://aviaryan.github.io/assets/prism/prism.css"/>
@aviaryan
aviaryan / test.html
Created July 13, 2014 03:23
test highlight html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>I can haz embedded CSS and JS</title>
<style>
@media print {
p { color: red !important; }
}
</style>
@aviaryan
aviaryan / cj-pst-pubapi.ahk
Created July 15, 2014 15:27
clipjump paste from channel public api example
#include publicAPI.ahk
; create clipjump class
cj := new Clipjump()
; the channel number
myChannel := 2
; get channel population
msgbox % num_o_cl := cj.getChStrength(myChannel)
global cj := new Clipjump()
; msgbox % cj.version ; test
curCh := cj["CN.NG"]
; msgbox % curCh
cj.paste(curCh, 3)
Send {Tab}
cj.paste(curCh, 2)
@aviaryan
aviaryan / idea-jekyll-web.txt
Created March 13, 2015 13:38
Web FrontEnd to push to a Jekyll Blog on GitHub #ideabin
and yes this should include a handy preview option and markdown cheatsheet.
@aviaryan
aviaryan / 0_reuse_code.js
Last active August 29, 2015 14:19
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