Skip to content

Instantly share code, notes, and snippets.

View ZacharyJacobCollins's full-sized avatar
☁️
head in the clouds

Zachary Collins ZacharyJacobCollins

☁️
head in the clouds
View GitHub Profile
# 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
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',
@ZacharyJacobCollins
ZacharyJacobCollins / ngrok yml
Last active April 19, 2021 12:39
Ngrok yml
lives in ~/.ngrok2/ngrok.yml
authtoken: (authtokenhere)
tunnels:
trove-assistant-zcollins:
addr: api-assistant.lift.dev:80
proto: http
host_header: rewrite
bind_tls: true
subdomain: trove-assistant-zcollins
@ZacharyJacobCollins
ZacharyJacobCollins / profile
Last active April 8, 2019 14:07
bash - osx
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"
<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 -->
<?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);
@ZacharyJacobCollins
ZacharyJacobCollins / foo.log
Created June 24, 2018 03:39 — forked from ibeex/foo.log
Flask logging example
A warning occurred (42 apples)
An error occurred
* 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)
phrases = ['clean message', 'what is new'];
function test_phrase(phrase) {
var input = document.getElementById('edw-test-utteranceTextField');
input.value = phrase;
}
test_phrase(phrases[1]);
fswatch [opts] -0 <file/dir here> ... | xargs -0 -n1 -I{} echo hi