Skip to content

Instantly share code, notes, and snippets.

Amol Umrale amol9

Block or report user

Report or block amol9

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@amol9
amol9 / Security checks
Last active Feb 21, 2019
Check your online security.
View Security checks
<1>
Usage: breach_check.sh <account> [detail]
e.g.
> ./breach_check.sh tom@facebook.com
found 6 breaches
BinWeevils
Edmodo
Evony
OnlinerSpambot
@SPARTAN563
SPARTAN563 / README.md
Created Feb 10, 2017
PEG Grammar for Command Line Parsing
View README.md

Command Line Parsing Grammar

This grammar allows you to parse command lines for program execution into their various components - specifically: environment variables, the executable itself and any arguments passed to the executable.

It will take an input like the following:

ENV_X=true ENV_Y="yes please" ./test/my_exec arg1 -f1 "arg with spaces" 'another arg' --flag2 yet\ another\ arg --flag=10
@MichaelPote
MichaelPote / himawari.ps1
Created Feb 3, 2016
Windows Powershell Script to download the latest image from the Himawari-8 satelite, combine the tiles into a single image, convert to jpg and then set as the desktop background.
View himawari.ps1
#
# Himawari-8 Downloader
#
#
#
# This script will scrape the latest image from the Himawari-8 satellite, recombining the tiled image,
# converting it to a JPG which is saved in My Pictures\Himawari\ and then set as the desktop background.
#
# http://himawari8.nict.go.jp/himawari8-image.htm
#
@paragonie-scott
paragonie-scott / crypto-wrong-answers.md
Last active Jun 18, 2019
An Open Letter to Developers Everywhere (About Cryptography)
View crypto-wrong-answers.md
@yantonov
yantonov / install-ghc-ubuntu.md
Last active Aug 7, 2018
How to install latest GHC from source + latest stack + cabal + cabal-install on ubuntu
View install-ghc-ubuntu.md

How to install latest GHC from source + latest stack + cabal + cabal-install on ubuntu

for your convinience these instuction is available as:
gist
git repo

preferred way install stack than install ghc

stack (package manager and build tool, preferrered way to manage dependencies)

# settings
@xsc
xsc / main.clj
Created Nov 18, 2012
Counting Characters in Clojure
View main.clj
(ns character-counter.main)
;; ------------------------------------------------------------------------
;;
;; SEE HERE: http://dev.xscheme.de/2012/11/counting-characters-in-clojure/
;;
;; ------------------------------------------------------------------------
;; Different Count Strategies
(def count-a-with-regex
@paulmillr
paulmillr / active.md
Last active Jun 16, 2019
Most active GitHub users (by contributions). http://twitter.com/paulmillr
View active.md

Most active GitHub users (git.io/top)

The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Tue, 06 Dec 2016 17:06:46 GMT till Wed, 06 Dec 2017 17:06:46 GMT.

Only first 1000 GitHub users according to the count of followers are taken. This is because of limitations of GitHub search. Sorting algo in pseudocode:

githubUsers
  .filter(user => user.followers > 1000)
@jtriley
jtriley / terminalsize.py
Created Jul 26, 2011
Get current terminal size on Linux, Mac, and Windows
View terminalsize.py
#!/usr/bin/env python
import os
import shlex
import struct
import platform
import subprocess
def get_terminal_size():
""" getTerminalSize()
@MicahElliott
MicahElliott / colortrans.py
Created Nov 29, 2010
Convert values between RGB hex codes and xterm-256 color codes.
View colortrans.py
#! /usr/bin/env python
""" Convert values between RGB hex codes and xterm-256 color codes.
Nice long listing of all 256 colors and their codes. Useful for
developing console color themes, or even script output schemes.
Resources:
* http://en.wikipedia.org/wiki/8-bit_color
* http://en.wikipedia.org/wiki/ANSI_escape_code
You can’t perform that action at this time.