Skip to content

Instantly share code, notes, and snippets.

View jikkujose's full-sized avatar

Jikku Jose jikkujose

View GitHub Profile
@jikkujose
jikkujose / global.js
Created July 7, 2017 09:26
Style Components global style injection
import { injectGlobal } from 'styled-components';
injectGlobal`
body {
font-family: Lato;
}
`
// import the file in the root index file as:
// import './styles/global.js'
@jikkujose
jikkujose / Logger.rb
Created June 7, 2017 08:48
Weird switch
require 'colorize'
COLORS = {
log: :blue,
error: :red,
ok: :green
}
module Validator
def valid_type?(type)
@jikkujose
jikkujose / palette_extractor.js
Last active March 7, 2017 10:47
Bookmarklet to easy extraction of palettes from Coolors.co
/*
For
* https://coolors.co
Using
* https://babeljs.io/repl/
* https://chriszarate.github.io/bookmarkleter/
*/
(function() {
@jikkujose
jikkujose / index.html
Last active January 11, 2017 05:59 — forked from asielen/index.html
Reusable Responsive Multiline Chart
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" type="text/css" href="multiline.css">
<script src="http://d3js.org/d3.v3.js" charset="utf-8"></script>
<!--<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>-->
</head>
<body>
@jikkujose
jikkujose / .block
Last active January 10, 2017 22:09 — forked from mbostock/.block
Diamonds II
license: gpl-3.0
height: 960
@jikkujose
jikkujose / colour_tweak.js
Last active February 18, 2017 19:06
Fix jarring colours for Generals in night mode
/*
Convert to bookmarklet using http://chriszarate.github.io/bookmarkleter/
*/
(function() {
var node = document.createElement('style');
document.body.appendChild(node);
window.addStyleString = function(css) {
node.innerHTML += css;

Keybase proof

I hereby claim:

  • I am JikkuJose on github.
  • I am jikkujose (https://keybase.io/jikkujose) on keybase.
  • I have a public key whose fingerprint is 75AB 326B CE0C DDA6 EF78 FFAA EE45 1E17 256D A461

To claim this, I am signing this object:

@jikkujose
jikkujose / visa_requirements.markdown
Last active January 17, 2016 06:10
Business Visa Requirements

Applicants Documents

  • 3 years ITR Company
  • DS 160 form copy
  • Suggestive Itinerary
  • 6 months bank statement with bank seal and signature: Personal
  • 6 months bank statement with bank seal and signature: Company
  • 3 years ITR Personal
  • Leave letter from company
  • Passport (Old + New)
@jikkujose
jikkujose / docker_netstat.markdown
Created November 13, 2015 07:14
Unable to access docker from the host
root@ec077b3b57b7:/app# netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:9393            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:2323          0.0.0.0:*               LISTEN
tcp6       0      0 ::1:2323                :::*                    LISTEN
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   Path