See https://chromium.googlesource.com/chromium/src/+/master/docs/mac_build_instructions.md
git clone depot_tools
add to path (not using ~ but $HOME) in .bash_profile
sudo sysctl kern.maxvnodes=$((512*1024))
| $ heroku addons:add heroku-postgresql:dev | |
| $ heroku addons:docs heroku-postgresql # ブラウザでドキュメント開く | |
| $ heroku pg:wait # データベースの準備ができるまで5分くらいかかる。その進捗ステータスを表示する | |
| $ heroku config | grep HEROKU_POSTGRESQL | |
| $ heroku pg:promote HEROKU_POSTGRESQL_COPPER_URL |
See https://chromium.googlesource.com/chromium/src/+/master/docs/mac_build_instructions.md
git clone depot_tools
add to path (not using ~ but $HOME) in .bash_profile
sudo sysctl kern.maxvnodes=$((512*1024))
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| package main | |
| import ( | |
| "log" | |
| "net/http" | |
| ) | |
| func redirect(w http.ResponseWriter, r *http.Request) { | |
| http.Redirect(w, r, "http://www.google.com", 301) |
This re-styles your sublime text sidebar to be dark, it fits default Monokai theme.
Save the Default.sublime-theme file into packages/Theme - Default, make a backup of your original if you want to be able to go back easily.
Based on:
To use this bot:
ads_bot.py and requirements.txt.pip install -r requirements.txt to install the requirements.| import React from 'react'; | |
| import { shallow } from 'enzyme'; | |
| import MyComponent from '../src/my-component'; | |
| const wrapper = shallow(<MyComponent/>); | |
| describe('(Component) MyComponent', () => { | |
| it('renders without exploding', () => { | |
| expect(wrapper).to.have.length(1); | |
| }); |
| <!doctype html> | |
| <head> | |
| <title>Hi</title> | |
| <style> | |
| #spin { | |
| background: #333; | |
| color: white; | |
| float: left; | |
| width: 200px; | |
| height: 200px; |