Skip to content

Instantly share code, notes, and snippets.

View vigzmv's full-sized avatar

Vignesh M vigzmv

View GitHub Profile
@vigzmv
vigzmv / Into The React.md
Last active December 8, 2017 20:05
Into The React

Into the React

Introduction: 10mins

  • What & Why React
  • Intro:
    • Declarative
    • Component Based
    • Learn Once, Write Anywhere
  • Babel Repl & ES6
  • Intro on How React works
  • It's competitiors
@vigzmv
vigzmv / Blockstack
Created October 21, 2017 14:16
Blockstack
Verifying that "vigzmv.id" is my Blockstack ID. https://onename.com/vigzmv
@vigzmv
vigzmv / hmac_sha256.py
Last active July 9, 2017 08:26 — forked from theY4Kman/hmac_sha256.py
Python SHA-256 HMAC
from Crypto.Hash import HMAC, SHA256
def hmac_sha256(key, msg):
hash_obj = HMAC.new(key=key, msg=msg, digestmod=SHA256)
return hash_obj.hexdigest()
<!DOCTYPE html>
<html>
<head>
<title>TODO LIST</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
</head>
<body>
<h1>TO-DO LIST</h1>
[Unit]
Description=Jupyter
[Service]
Type=simple
PIDFile=/run/jupyter.pid
ExecStart=/usr/local/bin/jupyter-notebook --ip 0.0.0.0
User=ubuntu
Group=ubuntu
WorkingDirectory=/home/
@vigzmv
vigzmv / style.less
Last active February 27, 2017 10:26
atom style
atom-text-editor {
font-family: 'Fira Code';
font-style: normal;
text-rendering: optimizeLegibility;
font-weight: 500;
}
atom-text-editor {
/*
Turn off legibility in comments, regexp and quotes
@vigzmv
vigzmv / node-server-html.js
Last active November 19, 2016 09:47
Simple HTML(only) Serving Node Server
var http = require('http');
var fs = require('fs');
var path = require('path');
var hostname = 'localhost';
var port = 3000;
var server = http.createServer(function(req, res) {
console.log('Request for ' + req.url + ' by method ' + req.method);
if (req.method == 'GET') {
@vigzmv
vigzmv / Atom-sync-settings
Last active June 15, 2017 12:31
Atom-sync-settings
Atom-sync-settings