This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require('http'); | |
const fs = require('fs'); | |
const path = require('path'); | |
const mime = require('mime'); | |
const PORT = 8000; | |
function notFound(_req, res) { | |
res.writeHead(404, {'Content-Type': 'text/html'}); | |
res.end('<p>404 Not Found</p>'); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker | |
include snazzy.conf | |
# hacker theme | |
# foreground #00FF00 | |
# background #000000 | |
#: Fonts {{{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>tetris</title> | |
</head> | |
<body> | |
<style> | |
body, html { | |
display: flex; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*FOR REASONML-REVERY SHOWCASE*/ | |
open Revery; | |
open Revery.UI; | |
open Revery.UI.Components; | |
type color = | |
| Red | |
| Green | |
| Blue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fish Config | |
# Mon Apr 8 14:44:12 2019 | |
source $HOME/.config/fish/dev_vars.fish | |
set -gx NVM_DIR (brew --prefix nvm) | |
#function nvm | |
# bass source ~/.nvm/nvm.sh --no-use ';' nvm $argv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tsserver.enableJavascript": false, | |
"coc.preferences.jumpCommand": "drop", | |
"languageserver": { | |
"javascript": { | |
"command": "flow", | |
"args": ["lsp"], | |
"filetypes": ["javascript", "javascriptreact", " javascript.jsx"], | |
"initializationOptions": {}, | |
"requireRootPattern": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ========= | |
" Gema Anggada's VIM SETUP | |
" ========= | |
" Tue Apr 9 18:07:55 2019 | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" ========= | |
" PLUGINS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export type Products = Array<Product>; | |
export type Product = { | |
id: string; | |
name: string; | |
price: number; | |
photo: string; | |
}; | |
export type ProductEditInput = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>IceTimux (http://icetimux.com)</string> | |
<key>name</key> | |
<string>One Dark</string> | |
<key>semanticClass</key> | |
<string>theme.dark.one_dark</string> | |
<key>colorSpaceName</key> | |
<string>sRGB</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let component = ReasonReact.statelessComponent("Home"); | |
let make = _children => { | |
...component, | |
render: _self => | |
<div className=Style.container> | |
<Store> | |
...( | |
({state, send}) => | |
<div> |