Skip to content

Instantly share code, notes, and snippets.

@xing5
xing5 / TechStack
Last active August 29, 2015 14:22
TechStack
# Tech Stack for Profession.is
## Server-side Rendering or Client-side Rendering
### References
* [Server vs client side rendering (AngularJS vs server side MVC)](http://technologyconversations.com/2014/07/10/server-vs-client-side-rendering-angularjs-vs-server-side-mvc/)
* [Client vs serverside rendering – the big battle?](http://blog.mwaysolutions.com/2013/11/08/client-vs-serverside-rendering-the-big-battle-2/)
* [Rendering on the Server and Client in Node.js](http://artsy.github.io/blog/2013/11/30/rendering-on-the-server-and-client-in-node-dot-js/)
* [Short story about rendering HTML, client side vs server side](http://eshlox.net/2014/05/04/short-story-about-rendering-html-client-side-vs-server-side/)
### Decision

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser

## FILL ##
fill Sets fill color of the shape.
fill-opacity Sets fill opacity of the shape.
fill-rule Sets fill rule of the shape.
** example **
fill: #ccc;
fill: rgba(0,0,0,.5);
fill: red;
@xing5
xing5 / build.gradle
Created November 5, 2014 16:30
Initial build.gradle for Java Project
apply plugin: 'java'
apply plugin: 'eclipse'
sourceCompatibility = 1.7
version = '0.1.0'
jar {
baseName = 'the-package-name'
manifest {
attributes 'Implementation-Title': 'title',

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt