Skip to content

Instantly share code, notes, and snippets.

View aviaryan's full-sized avatar

Avi Aryan aviaryan

View GitHub Profile
@aviaryan
aviaryan / Everything.ahk
Last active June 8, 2023 23:48
Everything Integration with AutoHotkey - Faster Search in Windows
EverythingPath = ;specify the path here
#IfWinActive ahk_class CabinetWClass
{
F6::
folder := GetFolder()
run, %EverythingPath% -path "%folder%"
return
}
@aviaryan
aviaryan / sublimetextshortcuts.txt
Created April 22, 2013 12:09
My Useful Sublime Text Shortcuts
Sublime Text 2 Shortcuts
=======================
The List is not complete.
It's just the shortcuts I know and I find useful
=================================================
WINDOWS
=================================================
Ctrl + Click - Add Multiple Cursors
@aviaryan
aviaryan / Autohotkeyupdater.ahk
Last active May 28, 2019 16:37
AutoHotkey Updater - Know when there exists update for Autohotkey_L
/*
AutoHotkey Updater by Avi Aryan
Updated 24/4/13
===============================
For AHK_L
As ahk_basic is not updated anymore . Version stuck to 1.0.48.05
===============================
---------
Know-Hows
@aviaryan
aviaryan / HotstringTimed.ahk
Created June 10, 2013 05:19
Hotstrings with expiry time support
gosub, iniths
;######### YOUR HOTSTRING AREA ###################################
::btw::
SendLimit("btw", "by the way", 1500) ;type btw within 1.5 secs
return
::wth::
SendLimit("wth", "what the hell", 1000)
return
@tmplinshi
tmplinshi / Class_CustomFont.ahk
Last active August 8, 2023 14:55
Load font from file or resource, without needed install to system. https://autohotkey.com/boards/viewtopic.php?f=6&t=813
/*
CustomFont v2.01 (2018-8-25)
---------------------------------------------------------
Description: Load font from file or resource, without needed install to system.
---------------------------------------------------------
Useage Examples:
* Load From File
font1 := New CustomFont("ewatch.ttf")
Gui, Font, s100, ewatch
@domenic
domenic / 0-github-actions.md
Last active May 26, 2024 07:43
Auto-deploying built products to gh-pages with Travis

Auto-deploying built products to gh-pages with GitHub Actions

This is a set up for projects which want to check in only their source files, but have their gh-pages branch automatically updated with some compiled output every time they push.

A file below this one contains the steps for doing this with Travis CI. However, these days I recommend GitHub Actions, for the following reasons:

  • It is much easier and requires less steps, because you are already authenticated with GitHub, so you don't need to share secret keys across services like you do when coordinate Travis CI and GitHub.
  • It is free, with no quotas.
  • Anecdotally, builds are much faster with GitHub Actions than with Travis CI, especially in terms of time spent waiting for a builder.
@oanhnn
oanhnn / using-multiple-github-accounts-with-ssh-keys.md
Last active May 11, 2025 18:06
Using multiple github accounts with ssh keys

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.
@robertoestivill
robertoestivill / launcher.sh
Last active November 7, 2019 18:45
Bash alternative to Franz
#!/bin/bash
open -a "Google Chrome" --new --args --new-window \
'https://tweetdeck.twitter.com' \
'https://web.whatsapp.com' \
'https://blastersystems.slack.com/' \
'https://www.messenger.com/' \
'https://web.telegram.org/' \
'https://web.skype.com' \
'https://hangouts.google.com/' \
Project Title Student Display Name Organization Name Mentors
Key mapping GUI Tomasito665 Mixxx DJ Software RJ Ryan, Ferran Pujol Camins
YAPDNS system64 The Honeynet Project Pietro Delsante, Fedele Mantuano, Andrea De Pasquale
FFv1 P frame support sdolganov FFmpeg Reynaldo Verdejo, michaelni
coala: Integrating coala with the Eclipse IDE Sheikh Araf Python Software Foundation Harsh Dattani, Lasse Schuirmann (sils1297), AbdealiJKothari
User interfaces for Tracker Dilushi Sustainable Computing Research Group ( SCoRe ) Dinith Minura, Namal Jayasuriya, Rumesh
File Support izgzhen Mozilla Manishearth
KolibriOS. Development of TLS/SSL library DenisKarpenko KolibriOS Jeffrey A., Pathoswithin
IPFS friendly & distributed version of Amber skbly7 Berkman Center for Internet and Society Genève
Cache layer for jpf-nhandler Jayton Java Pathfinder Team franck, Nastaran, Cyrille Artho
import csv
import cStringIO
import codecs
import glob
import json
import requests
def fetch_jsons():
url = ('https://summerofcode.withgoogle.com/api/program/current/project/'