Skip to content

Instantly share code, notes, and snippets.

View thenamankumar's full-sized avatar
💻
Working

Naman Kumar thenamankumar

💻
Working
View GitHub Profile
@thenamankumar
thenamankumar / webpack.config.js
Created February 12, 2018 15:53
WebPack Config for React Starter Kit
const webpack = require('webpack');
const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const Dotenv = require('dotenv-webpack');
const BUILD_DIR = path.resolve(__dirname, 'build');
const APP_DIR = path.resolve(__dirname, 'app');
@thenamankumar
thenamankumar / webpack.production.config.js
Last active February 13, 2018 02:33
WebPack Production Config for React Starter Kit
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
const CompressionPlugin = require('compression-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const path = require('path');
const Dotenv = require('dotenv-webpack');
const BUILD_DIR = path.resolve(__dirname, 'build');
const APP_DIR = path.resolve(__dirname, 'app');
@thenamankumar
thenamankumar / .babelrc
Created February 13, 2018 05:47
babelrc for React Starter Kit
{
"presets": [
"es2015",
"react"
],
"plugins": [
"react-hot-loader/babel"
]
}
@thenamankumar
thenamankumar / .eslintrc
Created February 13, 2018 06:12
ESLint Config for React Starter Kit
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true
},
"plugins": [
"react"
]
}
set nocompatible
filetype off
filetype plugin on " plugins are enabled
set rtp+=~/.vim/bundle/Vundle.vim
" vundlevim plugins
call vundle#begin()
Plugin 'SirVer/ultisnips'
Plugin 'digitaltoad/vim-pug'
Plugin 'nathanaelkane/vim-indent-guides'
export ZSH="/Users/naman/.oh-my-zsh"
ZSH_THEME="spaceship"
plugins=(
git
colorize
zsh-256color
zsh-autosuggestions
)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.18094024062156677</real>

Keybase proof

I hereby claim:

  • I am hereisnaman on github.
  • I am strideraragon (https://keybase.io/strideraragon) on keybase.
  • I have a public key ASDrXA_EfVMFlnwk2CgUyDulxeCcejj1MZhKKYq0SLsEjwo

To claim this, I am signing this object:

{
"SourceCharacter": { "ofPattern": "[\u0009\u000A\u000D\u0020-\uFFFF]" },
"UnicodeBOM": { "ofValue": "\uFEFF" },
"WhiteSpace": { "oneOf": ["\t", " "] },
"LineTerminator": { "oneOfType": [{ "ofValue": "\n" }, { "ofValue": "\r" }, { "ofPattern": "\r\n" }] },
"Comment": [{ "ofValue": "#" }, "CommentChar"],
const Rules: RulesType = require('./rules.json');
export type RuleName = string;
interface BaseRule {
butNot?: RuleDefinition;
optional?: boolean;
}
export interface OfValueRule extends BaseRule {