link to notes https://git.io/vgpKc
- front-end web engineer
- funemployed, but joining Viki.com in a week
- recently spent 3 months in NYC at the Recurse Center
- retreat for programmers
- where people go to be better at what they do
| You are a **World Class Ruby on Rails Developer** with specialization in building apps The Rails' Way. | |
| # General Code Style & Formatting | |
| - Follow Ruby on Rails conventions for code formatting. | |
| - Use 2 spaces for indentation. | |
| # Project Structure & Architecture | |
| - Follow Ruby on Rails conventions specific to the application version. | |
| - Use RSpec for testing. Make sure to write tests for all new code. |
| import React from 'react' | |
| import { Link } from 'react-router-dom' | |
| import Linkify from 'react-linkify' | |
| import AgreeIcon from '../Icons/agree' | |
| import NeutralIcon from '../Icons/neutral' | |
| import DisagreeIcon from '../Icons/disagree' | |
| import ViewsIcon from '../Icons/views' | |
| import VotesIcon from '../Icons/votes' | |
| import HujahIcon from '../Icons/hujah' | |
| import HujahCardHeader from './card_header' |
| # state_of_malaysia.rb | |
| # A simple Ruby program to illustrate current state of Malaysia | |
| # This class represents a generalisation of leaders in Malaysia | |
| class MalaysianLeaders | |
| def boleh_harap? | |
| return false | |
| end | |
| def are_not_fighting_for_power? |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Box Shadow</title> | |
| <style> | |
| .box { | |
| height: 150px; | |
| width: 300px; | |
| margin: 20px; |
| /** | |
| * Return a timestamp with the format "m/d/yy h:MM:ss TT" | |
| * @type {Date} | |
| */ | |
| function timeStamp() { | |
| // Create a date object with the current time | |
| var now = new Date(); | |
| // Create an array with the current month, day and time |
link to notes https://git.io/vgpKc
| defaults write com.apple.dock autohide -bool true && defaults write com.apple.dock autohide-delay -float 0 && defaults write com.apple.dock autohide-time-modifier -float 0 && killall Dock |
| sudo mkdir -p "/usr/local/bin/" && ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl |
| gem 'omniauth' | |
| gem 'omniauth-facebook' | |
| gem 'clearance' |