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
let entries = []; | |
let selectorIds = [ | |
{ | |
'title': 'HomeValueIndex', | |
'dataTypeElId': 'median-home-value-zillow-home-value-index-zhvi-dropdown-1', | |
'geographyElId': 'median-home-value-zillow-home-value-index-zhvi-dropdown-2', | |
}, | |
{ | |
'title': 'RentalIndex', |
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
# If you come from bash you might have to change your $PATH. | |
# export PATH=$HOME/bin:/usr/local/bin:$PATH | |
# Path to your oh-my-zsh installation. | |
export ZSH="$HOME/.oh-my-zsh" | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes |
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
<template> | |
<ul class="list list-inline list-unstyled float-left ml-3"> | |
<!-- Button --> | |
<button class="btn btn-ghost" data-toggle="dropdown"> | |
<i class="md-icon md-theme-default md-icon-font">add</i> | |
Add Filter | |
</button> | |
<!-- Dropdown --> |
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
alias mod="vim ~/.bash_profile && source ~/.bash_profile" | |
alias personal="cd ~/personal" | |
#git | |
alias bl="cd ~/personal/beatingloneliness.com" | |
alias dev="git checkout v1-dev" | |
alias ga="git add -A" | |
alias gc="git commit -m " | |
alias gh="git push origin HEAD" | |
alias gb="git branch" |
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
<?php | |
CONST TEXT = 'Given an arbitrary text document written in English, write a program that will generate a concordance, i.e. an alphabetical list of all word occurrences, labeled with word frequencies. Bonus: label each word with the sentence numbers in which each occurrence appeared.'; | |
//Build concordance table | |
function build_table($text) | |
{ | |
$table = []; | |
$text = format_text($text); | |
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
A warning occurred (42 apples) | |
An error occurred |
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
* Sets up specific DI container configuration | |
* | |
* @param AuthSession $auth_session | |
*/ | |
protected function setup_container(AuthSession $auth_session) | |
{ | |
$this->container->set('provider', Inflector::camelize($auth_session->get_provider()->get_name())); | |
$this->container->set('provider.attributes', Inflector::camelize($auth_session->get_implementation()->get_name())); | |
foreach ($this->config->get_container() as $class => $definition) |
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
phrases = ['clean message', 'what is new']; | |
function test_phrase(phrase) { | |
var input = document.getElementById('edw-test-utteranceTextField'); | |
input.value = phrase; | |
} | |
test_phrase(phrases[1]); |
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
fswatch [opts] -0 <file/dir here> ... | xargs -0 -n1 -I{} echo hi |
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
# install dependencies | |
sudo apt-get update | |
sudo apt-get install -y build-essential | |
sudo apt-get install -y cmake | |
sudo apt-get install -y libgtk2.0-dev | |
sudo apt-get install -y pkg-config | |
sudo apt-get install -y python-numpy python-dev | |
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev | |
sudo apt-get install -y libjpeg-dev libpng12-dev libtiff5-dev libjasper-dev | |
NewerOlder