Skip to content

Instantly share code, notes, and snippets.


Gokulakrishnan Kalaikovan gokulkrishh

View GitHub Profile
gokulkrishh / Sublime Settings - User
Last active July 19, 2018 11:52
Sublime Settings
View Sublime Settings - User
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme",
"disable_formatted_linebreak": true,
View gist:084d79fa12b4ae4005e7
"cssconf": {
"location": {
"date": "September 12, 2014",
"country": "Germany",
"city": "Berlin",
"venue": "Radialsystem V",
"lat": 52.51039,
"long": 13.42864
View how to screencapture and make animated gifs or

Screencapture and animated gifs

I say "animated gif" but in reality I think it's irresponsible to be serving "real" GIF files to people now. You should be serving gfy's, gifv's, webm, mp4s, whatever. They're a fraction of the filesize making it easier for you to deliver high fidelity, full color animation very quickly, especially on bad mobile connections. (But I suppose if you're just doing this for small audiences (like bug reporting), then LICEcap is a good solution).

Capturing (Easy)

  1. Launch quicktime player
  2. do Screen recording

screen shot 2014-10-22 at 11 16 23 am


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

gokulkrishh / index.html
Created April 9, 2015 11:58
Simple Inheritance in JS // source
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Simple Inheritance in JS</title>
<script id="jsbin-javascript">
//Class A
View multiple git account config
User git
IdentityFile ~/.ssh/id_rsa
User git
View history_navigation.js
* Lets you use your browser's back/forward buttons for in-page navigation by
* adding custom 'next' and 'previous' events to the window object.
* Copyright (c) 2011 Tobias Schneider <>
* This script is freely distributable under the terms of the MIT license.
* Example:
* window.addEventListener('next', function(){
View zsh alias and shortcuts
alias s='git status'
# Easy Navigation
alias ..="cd .."
alias ...="cd ../.."
alias p="cd ~/practices"
alias w="cd ~/workspace"
# Tools
gokulkrishh /
Last active February 20, 2019 19:28 — forked from bobbygrace/
Trello CSS Guide

Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?

This is where any fun you might have been having ends. Now it’s time to get serious and talk about rules.

Writing CSS is hard. Even if you know all the intricacies of position and float and overflow and z-index, it’s easy to end up with spaghetti code where you need inline styles, !important rules, unused cruft, and general confusion. This guide provides some architecture for writing CSS so it stays clean and ma

gokulkrishh / media-query.css
Last active February 1, 2023 16:51
CSS Media Queries for Desktop, Tablet, Mobile.
View media-query.css
##Device = Desktops
##Screen = 1281px to higher resolution desktops
@media (min-width: 1281px) {
/* CSS */