Skip to content

Instantly share code, notes, and snippets.

View blutarche's full-sized avatar
🌞
sunshine and mortality

Aik blutarche

🌞
sunshine and mortality
  • Software Engineer @Cleverse
  • Bangkok, Thailand
  • 12:03 (UTC +07:00)
View GitHub Profile
@blutarche
blutarche / dll.config.js
Created November 28, 2016 13:38
Webpack config for improving performance of development mode. (https://github.com/erikras/react-redux-universal-hot-example/issues/616)
require('babel-polyfill');
var fs = require('fs');
var path = require('path');
var webpack = require('webpack');
var assetsPath = path.resolve(__dirname, '../static/dist');
var host = (process.env.HOST || 'localhost');
var port = (+process.env.PORT + 1) || 3001;
var WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin');
@blutarche
blutarche / spamster.py
Created March 8, 2016 16:42
Spam/Ham detect with example dataset.
#!/usr/bin/python
#-*-coding: utf-8 -*-\
import sys
import codecs
import json
from collections import Counter
print ("@relation Spamster")
print ()
zshrc () {
exec zsh -l
}
s () {
subl "$1"
}
cyberd () {