Skip to content

Instantly share code, notes, and snippets.

Kha nlhkh

Block or report user

Report or block nlhkh

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nlhkh / app.css
Created Oct 26, 2017
Css transition demo
View app.css
.rectangle {
width: 10em;
height: 10em;
.blue {
background-color: rgb(6, 152, 219);
-webkit-transition: background-color 1s;
-moz-transition: background-color 1s;
transition: background-color 1s;
nlhkh / webpack.config.js
Last active Nov 19, 2016
webpack config for Electron project
View webpack.config.js
'use strict';
const path = require('path');
let config = {
context: path.resolve(__dirname, 'src'),
target: 'electron',
entry: './index',
output: {
path: path.resolve(__dirname, 'built'),
nlhkh /
Created Feb 7, 2015
AngularJS Socket.IO
express = require 'express'
io = require ''
http = require 'http'
app = express()
server = http.createServer(app)
io = io.listen server
server.listen 4040
app.use(express.static "#{__dirname}/public")
You can’t perform that action at this time.