Simple Made Easy - Rich Hickey
Boundaries - Gary Bernhardt
The Future of Programming - Bret Victor
Inventing on Principle - Bret Victor
### Keybase proof | |
I hereby claim: | |
* I am jaysoo on github. | |
* I am jaysoo (https://keybase.io/jaysoo) on keybase. | |
* I have a public key whose fingerprint is BFC9 808A 5899 4F0E 0A99 2E53 49CC D477 8776 E138 | |
To claim this, I am signing this object: |
Simple Made Easy - Rich Hickey
Boundaries - Gary Bernhardt
The Future of Programming - Bret Victor
Inventing on Principle - Bret Victor
Composibility in functional programming is much better than object-oriented composition.
HTTP became a great vehicle because it does very little (just text and status codes).
Very easy to build on top of common data structures.
Referential transparency makes testing much easier.
Separation of state and behaviour is desirable.
Please answer the following question using Ruby, JavaScript or Java without using any third party gems, plugins, or jar files with the exception of MiniTest/RSpec, Jasmine, or JUnit for tests.
Treat this problem as a library. No UI or file/console input is expected or required.
Please submit via publicly accessible repo so that we can review your commits.
This is a proposal to simplify our frontend workflow.
client/
folder.gulp watch
, which will:client/**/*
to public/client/app/,
so source + compiled templates can be served through Rails.client/app
as the baseUrl
for RequireJS.public/client/bower_components/
(see bower.json
).# Count total memory by user | |
ps --no-headers -u username -o rss | (tr '\n' +; echo 0) | bc |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> | |
<Configure id="Server" class="org.mortbay.jetty.Server"> | |
<Get id="oldhandler" name="handler"/> | |
<Set name="handler"> | |
<New id="Rewrite" class="org.mortbay.jetty.handler.rewrite.RewriteHandler"> | |
<Set name="rewriteRequestURI">true</Set> | |
<Set name="rewritePathInfo">false</Set> | |
<Set name="originalPathAttribute">requestedPath</Set> |
#!/usr/bin/env ruby | |
# js1k packer | |
if ARGV[0] == "-n" | |
ARGV.shift | |
wrap = false | |
else | |
wrap = true | |
end |
// Using types with reduc-actions | |
// See: https://github.com/borisyankov/DefinitelyTyped/pull/5827 | |
import { handleActions, Action } from 'redux-actions'; | |
const reducer = handleActions<number>({ | |
'INCREMENT': (state: number, action: Action) => state + 1, | |
'DECREMENT': (state: number, action: Action) => state - 1 | |
}); |