PG::InternalError: ERROR: incompatible library "/usr/local/lib/postgresql/postgis-2.4.so": version mismatch
DETAIL: Server is version 9.6, library is version 10.0.
: CREATE EXTENSION IF NOT EXISTS "postgis"
/Users/bruce/Projects/HB-Backend/db/migrate/20151013213623_enable_postgis.rb:3:in `change'
-e:1:in `<main>'
Caused by:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew tap homebrew/versions | |
brew install v8-315 | |
gem install libv8 -v '3.16.14.13' -- --with-system-v8 | |
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315 | |
bundle install |
Would you like to contribute? Please add a comment. This list is in no way exhaustive!
No guarantee that they'll be used, but all input is appreciated!
A common "template" is As a X, I want Y, so that Z
, but use whatever feels most appropriate.
- Static data as of April 13, 2015, some updates as of October 1, 2015
# | Metric | Haml | Slim | Winner |
---|---|---|---|---|
1 | Issues | Slim | ||
2 | Stars | Slim | ||
3 | Quality | -- | Haml | |
4 | Test Coverage |  | |
robot_overlord.train_hilton("The way I see it, you should live everyday like its your birthday.") | |
robot_overlord.train_hilton("No matter what a woman looks like, if she's confident, she's sexy.") | |
robot_overlord.train_hilton("I'd imagine my wedding as a fairy tale... huge, beautiful and white.") | |
robot_overlord.train_hilton("There's nobody in the world like me. I think every decade has an iconic blonde, like Marilyn Monroe or Princess Diana and, right now, I'm that icon.") | |
robot_overlord.train_hilton("Some girls are just born with glitter in their veins.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// for background see http://stackoverflow.com/a/25644266/526258 | |
@import "bootstrap"; | |
// XLarge screen | |
$screen-xl: 1600px; | |
$screen-xl-min: $screen-xl; | |
$screen-xl-hugedesktop: $screen-xl-min; | |
// So media queries don't overlap when required, provide a maximum |
Each one is original first, then OJ.
rake benchmarks:single_object_with_render:
#original
Calculating -------------------------------------
jbuilder 30 i/100ms
active_model_serializers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run this from your browser console on your meetup event page (http://www.meetup.com/AngularJS-Utah/events/183104032/) | |
(function () { | |
// Query document for attendees and select a random one | |
const list = document.querySelector('ul.attendees-list').children, | |
item = list[Math.floor(Math.random() * list.length)], | |
name = item ? item.querySelector('h4.text--bold').innerText : 'N/A'; | |
// Remove item so they can only be selected once | |
item && item.parentNode.removeChild(item); | |
(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.
NewerOlder