With gem install
$ gem install eventmachine -v '1.0.7' --with-cppflags=-I/usr/local/opt/openssl/include
With bundler:
- Make sure you have bundle config file
~/.bundle/config
- Add options when building gem
/* | |
* How to change theme: | |
* Replace the file in .config/chromium/Default/Extensions/[APP_ID]/[APP_VERSION]/css/style.css with this file. | |
*/ | |
:root { | |
--base3: #fdf6e3; | |
--base1: #93a1a1; | |
--blue: #268bd2; | |
--green: #859900; |
With gem install
$ gem install eventmachine -v '1.0.7' --with-cppflags=-I/usr/local/opt/openssl/include
With bundler:
~/.bundle/config
After automatically updating Postgres to 10.0 via Homebrew, the pg_ctl start command didn't work. | |
The error was "The data directory was initialized by PostgreSQL version 9.6, which is not compatible with this version 10.0." | |
Database files have to be updated before starting the server, here are the steps that had to be followed: | |
# need to have both 9.6.x and latest 10.0 installed, and keep 10.0 as default | |
brew unlink postgresql | |
brew install [email protected] | |
brew unlink [email protected] | |
brew link postgresql |
{ | |
"0162": "032", | |
"0163": "033", | |
"0164": "034", | |
"0165": "035", | |
"0166": "036", | |
"0167": "037", | |
"0168": "038", | |
"0169": "039", | |
"0120": "070", |
// Remove all branches in https://github.com/<username>/<repo>/branches | |
document.querySelectorAll("svg.octicon.octicon-trashcan").forEach(function(e) { e.parentNode.click() }) |
require 'net/http' | |
require 'json' | |
require 'uri' | |
class Prerender | |
ENDPOINTS = "https://api.prerender.io".freeze | |
def initialize(url, prerender_token) | |
@url = url | |
@prerender_token = prerender_token |
# .git/hooks/pre-commit | |
#! /bin/sh | |
inspected_files=$(git diff --diff-filter=ACMR --name-only HEAD) | |
if [ $(echo $inspected_files | wc -w) -gt "0" ]; | |
then | |
bundle exec rubocop $inspected_files --force-exclusion --auto-correct | |
fi |
0100: /* fundamental constants: cannot be changed */ | |
0100: /* fundamental constants: cannot be changed */ | |
0101: | |
0102: | |
0103: #define USIZE 16 /* size of user block (*64) */ | |
0104: #define NULL 0 | |
0105: #define NODEV (-1) | |
0106: #define ROOTINO 1 /* i number of all roots */ | |
0107: #define DIRSIZ 14 /* max characters per directory */ | |
0108: |