Skip to content

Instantly share code, notes, and snippets.

View anupvarghese's full-sized avatar
:octocat:

Anoop Varghese anupvarghese

:octocat:
View GitHub Profile

Keybase proof

I hereby claim:

  • I am anupvarghese on github.
  • I am anupvarghese (https://keybase.io/anupvarghese) on keybase.
  • I have a public key ASAQpfwZ3FvmoItBc8kdw1QujGLPWlKeFlE7S6zr5bBv8Ao

To claim this, I am signing this object:

@anupvarghese
anupvarghese / vs-code-snippets.js
Created July 2, 2020 02:57
Snippets for vscode
{
"Chilli": {
"prefix": "zc",
"body": ["🌶"],
"description": "Log to console"
},
"Normal Log": {
"prefix": "zl",
"body": ["console.log('$1');"],
"description": "Log to console"
type Message = {
text: string;
type: 'Error' | 'Warning' | 'Info';
};
type Item = {
product: string;
quantity: number;
price: number;
total: number;
totalGST: number;
@anupvarghese
anupvarghese / settings.md
Last active November 5, 2019 09:25
VS Code settings
  • Step 1: Press cmd + ,
  • Step 2: Find Workbench>Settings: Editor
  • Step 3: Choose json
  • Step 4: Copy and paste the below,
{
    "workbench.colorTheme": "Default Light+",
    "terminal.integrated.shell.osx": "/bin/zsh",
    "git.enableSmartCommit": true,
import React from 'react';
import { connect } from 'react-redux';
import { fromJS } from 'immutable';
const props = { someId: '123' };
const Simple = (props) => (
<div>testing</div>
);
export default connect(
@anupvarghese
anupvarghese / git-gpg.md
Created December 22, 2016 21:50 — forked from danielmoi/git-gpg.md
my version of gpg on the mac
  1. brew install gnupg2 pinentry-mac (this includes gpg-agent and pinentry)

  2. Generate a key: $ gpg2 --gen-key

  3. Take the defaults. Whatevs

  4. Tell gpg-agent to use pinentry-mac:

    $ vim ~/.gnupg/gpg-agent.conf 
    
@anupvarghese
anupvarghese / Dockerfile
Last active January 29, 2016 06:47
Drywall on Docker
FROM node:0.10.38
RUN apt-get update -qq && apt-get install -y \
git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV TZ=Asia/Singapore
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone