Skip to content

Instantly share code, notes, and snippets.

View abheist's full-sized avatar
🎯
Focusing

Abhishek K. Singh abheist

🎯
Focusing
View GitHub Profile
@abheist
abheist / mysql_install.md
Created December 18, 2019 06:48 — forked from pratos/mysql_install.md
Uninstall MySQL already present in Digital Ocean(Ubuntu 16.04 LTS) and install-setup again

Installing MySQL 5.7 in Ubuntu 16.04LTS (Note: Things still break in Ubuntu, advisable to move to docker and setup volumes_)

sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-5.7 mysql-client-core-5.7
sudo rm -rf /etc/mysql /var/lib/mysql

Clean-up

sudo apt-get autoremove
@abheist
abheist / README.md
Created February 8, 2018 18:10 — forked from addyosmani/README.md
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
abheist / README.md
Created July 4, 2017 08:47 — forked from sshnavin/README.md
Remove settings and cli-links 0xDBE10, AppCode, CLion, IntelliJ, PhpStorm, PyCharm, Rider, RubyMine, WebStorm (OS X & macOS)

Quick uninstall JetBrains settings:

curl -sL https://gist.githubusercontent.com/naveensingh/a1f951b0a140f6b2a60b6d9975310cef/raw/55664d05dfb3242ba02411da076357a521cd21c4/jetbrains-backup.sh | bash -s

Quick backup JetBrains settings:

curl -sL https://gist.githubusercontent.com/naveensingh/a1f951b0a140f6b2a60b6d9975310cef/raw/55664d05dfb3242ba02411da076357a521cd21c4/jetbrains-backup.sh | bash -s
@abheist
abheist / smashingmagazine.js
Created January 12, 2017 13:04 — forked from luruke/smashingmagazine.js
Source code of the demo "Improving User Flow Through Page Transitions" on Smashing Magazine.
/*
https://www.smashingmagazine.com/2016/07/improving-user-flow-through-page-transitions/
You can copy paste this code in your console on smashingmagazine.com
in order to have cross-fade transition when change page.
*/
var cache = {};
function loadPage(url) {
if (cache[url]) {