Skip to content

Instantly share code, notes, and snippets.

Pratik Chaudhary abs-zero

Block or report user

Report or block abs-zero

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
View keybase.md

Keybase proof

I hereby claim:

  • I am abs-zero on github.
  • I am abszero (https://keybase.io/abszero) on keybase.
  • I have a public key whose fingerprint is 8736 BA12 56D7 822B 3BA2 E34F 7D4F 2530 8E26 8D17

To claim this, I am signing this object:

View .vimrc
call plug#begin('~/.vim/plugged')
Plug 'sbdchd/neoformat'
Plug 'godlygeek/tabular'
Plug 'neovimhaskell/haskell-vim'
" Plug 'parsonsmatt/intero-neovim'
Plug 'terryma/vim-multiple-cursors'
Plug 'jiangmiao/auto-pairs'
Plug 'alvan/vim-closetag'
Plug 'sbdchd/neoformat'
Plug 'neomake/neomake'
@abs-zero
abs-zero / snazzy-termite
Created Aug 30, 2017
snazzy colorscheme for termite
View snazzy-termite
[colors]
foreground = #eff0eb
foreground_bold = #eff0eb
cursor = #c0b18b
#background = #282a36
background = rgba(40 ,42, 54, 0.85) # For transparency
# black
color0 = #282a36
View openshot.py
import sys
from PyQt5.QtWidgets import QApplication, QMainWindow
from PyQt5.QtCore import Qt, QRect, QPoint, QEvent, QBuffer, QByteArray, QIODevice
from PyQt5.QtGui import QPalette, QPainter, QPixmap, QPen, QBrush, QColor, QClipboard
import signal
class ScreenshotWindow(QMainWindow):
def __init__(self):
View vscode-settings.json
// Place your settings in this file to overwrite the default settings
{
"javascript.format.enable": false,
"window.menuBarVisibility": "toggle",
"search.exclude": {
"**/node_modules": true,
"**/.git": true,
"**/bin": true
},
"workbench.statusBar.visible": true,
View Main.hs
module Main where
import Control.Monad (forever)
import Data.Char (toLower)
import Data.Maybe (isJust)
import Data.List (intersperse, (\\))
import System.Exit (exitSuccess)
import System.Random (randomRIO)
type WordList = [String]
@abs-zero
abs-zero / genwrapper.js
Created Sep 12, 2016
generator wrapper
View genwrapper.js
function runGenerator(g) {
var it = g(), ret;
(function iterate(val){
ret = it.next( val );
if (!ret.done) {
if ("then" in ret.value) {
ret.value.then( iterate );
}
else {
View steam-cookie-setter.py
You can’t perform that action at this time.