Skip to content

Instantly share code, notes, and snippets.


Abhishek Kumar Singh ⚡️ abheist

Block or report user

Report or block abheist

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
abheist / .hyper.js
Last active Sep 27, 2019
View .hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
abheist /
Created Feb 8, 2018 — forked from addyosmani/
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version

abheist /
Created Jul 4, 2017 — forked from naveensingh/
Remove settings and cli-links 0xDBE10, AppCode, CLion, IntelliJ, PhpStorm, PyCharm, Rider, RubyMine, WebStorm (OS X & macOS)

Quick uninstall JetBrains settings:

curl -sL | bash -s

Quick backup JetBrains settings:

curl -sL | bash -s
abheist / smashingmagazine.js
Created Jan 12, 2017 — forked from luruke/smashingmagazine.js
Source code of the demo "Improving User Flow Through Page Transitions" on Smashing Magazine.
View smashingmagazine.js
You can copy paste this code in your console on
in order to have cross-fade transition when change page.
var cache = {};
function loadPage(url) {
if (cache[url]) {
View gist:a15378bea76616dc03d8a0e7645b9926
ps -ax | grep mysql
stop and kill any MySQL processes
brew remove mysql
brew cleanup
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/var/mysql
sudo rm -rf /usr/local/mysql*
sudo rm ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
abheist /
Created Aug 2, 2016
Freshdesk Single Sign On (SSO) in python
from datetime import datetime
import hmac
def ticket_login():
digest_maker ='---------SECRET SHARED KEY---------')
url = "{0}&email={1}&timestamp={2}&hash={3}"
td = datetime.utcnow()-datetime(1970,1,1)
ts = str(int(td.total_seconds()))
You can’t perform that action at this time.