- Elixir
- Elixir Metaprogramming
- Phoenix
- Ecto
- GraphQL
- Absinthe
- Relay
export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 | |
export PROMPT_COMMAND='__git_ps1 "\t \u@\h:\w" " \\\$ "' | |
export GIT_PS1_SHOWCOLORHINTS=1 |
require 'carmen' | |
include Carmen | |
us = Country.named('United States’) | |
states = us.subregions.select { |subregion| subregion.type == 'state' }.map(&:name).sort | |
# => ["Alabama", | |
# "Alaska", | |
# "Arizona", | |
# "Arkansas", | |
# "California", |
┃ Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
┃ | |
┃ /usr/local/Cellar/shopify-ruby/2.2.3-shopify_2/bin/ruby -r ./siteconf20160823-27222-1ml83gd.rb extconf.rb | |
┃ checking for libgda/sql-parser/gda-sql-parser.h... no | |
┃ libgda is missing. Try 'brew install libgda' | |
┃ *** extconf.rb failed *** | |
┃ Could not create Makefile due to some reason, probably lack of necessary | |
┃ libraries and/or headers. Check the mkmf.log file for more details. You may | |
┃ need configuration options. | |
┃ |
<html> | |
<head> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> | |
<script> | |
$(function() { | |
$(".video").click(function () { | |
var theModal = $(this).data("target"), | |
videoSRC = $(this).attr("data-video"), |
(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.
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
server { | |
listen 80; | |
server_name localhost; | |
root /usr/share/nginx/html; | |
location / { | |
expires 5m; | |
try_files $uri $uri/ /index.html; | |
} |
amp-ad, .advertisement { | |
display: none !important; | |
} | |
p { | |
width: 80ch !important; /* classic! */ | |
} |