Skip to content

Instantly share code, notes, and snippets.

View Anahkiasen's full-sized avatar

Emma Fabre Anahkiasen

View GitHub Profile
export ZPLUG_HOME=/usr/local/opt/zplug
source $ZPLUG_HOME/init.zsh
zplug 'zplug/zplug', hook-build:'zplug --self-manage'
# Plugins
zplug "lib/completion", from:oh-my-zsh
zplug "lib/directories", from:oh-my-zsh
zplug "lib/functions", from:oh-my-zsh
zplug "plugins/brew-cask", from:oh-my-zsh
module Models = {
type actor = {
id: int,
name: string,
character: option(string),
link: string,
thumbnail: option(string),
hash: string,
seen: list(watchable),
watchables: list(watchable),
@Anahkiasen
Anahkiasen / .zshrc
Last active October 27, 2017 08:16
export ZPLUG_HOME=/usr/local/opt/zplug
source $ZPLUG_HOME/init.zsh
# Plugins
zplug "lib/completion", from:oh-my-zsh
zplug "lib/directories", from:oh-my-zsh
zplug "lib/functions", from:oh-my-zsh
zplug "plugins/brew-cask", from:oh-my-zsh
zplug "plugins/brew", from:oh-my-zsh
zplug "plugins/composer", from:oh-my-zsh
NobwRAbgpgTgzgSwPYDsAiBDALhsAucAWwwCskZ8BGAGjEIRXKtrgFcAjfAVgE5bCkAE3xgMAGwAOAC1wBfWgGNWMAMIII+cAvUA5DISgidSOFhgZBUQmFoxWY2HoMiAsuIwBrDAhtgAXkiE7AiGBGBIAO4oUMJ4AAzyYADm5tCa4VExVJS8lDyJUNGEAJ4AymLeKOmR0bGUAOwALFwAHADMiQLmDukCdbRQAGaDCNqFCsX4cQB0AGyJMFBwSMoKUCpiox5w+C08LbTYOAoeKisoWLC7bbRmFldhxJcwCOIAkrFgEUhCvosAjqwlpdYvU4uC4rcEAYKHgbmAFOdnlQWgtvLFwOYEIIGEl8INxHAoLQIKMsORJngCWIiQMJEgJFNaBIxKwUJYYAAZH5YTSJCqmES+HAwJJQLBuAAeIgqoqgeiwyCqiSUMAA6qgOekUPpQmBjDAsFJTORrCwcGLmGAJDAkCkljs8PVpjxGm0uHE2jxvT69lxbKw4FIsngzEDaIMfrEUPYxIlvuzYI7QGAdc48GAXEgjbBiNi/ksVjA1h8RJHfrIALq0SwIRVLfAptN6hWB3A1wKVEQKbA7fgYSVoKAaPCUOKUeTgZuuJAyHW+QSdhgidhHHr9wfD/BtNoJatgGSEBxYACCCik1UysTDUESpLEFTFZ4vYRqIZviTgxAfABUas/L1qfAP1oWUxT/KIANfK9gLsW8WG/MQ1CwYooPAN9rzg/kMDlZDUPPQD3yw/hxVtelNjgNCMiA0NiLAL9xDEBUlSojDYKBRIdUVVBWJg2iONAnCxWYniCOgmiQLAKwJAQRZeIkujywxaiQwAJnBVTGkoHJpl4CFwRyWhol5UcWnUj1pk0ngvR9b16njKNCNiVSWhaShGmdTS2jBeoWlaIzxW3CFP3JaInN2cdNNUrg5hyDzZj2eFjO3NpZgSFgPAYR10L41T3S9DTpkoWY8u8vhU0C0dXS4RJgxgdhspUuo4nqWZmkMiqTPU9LwkWcK8GaLhGkaFrK
$container->extend(Twig_Environment::class, function($twig) {
$twig->addExtension(new SomeExtension);
});
@Anahkiasen
Anahkiasen / Brewfile
Created November 9, 2015 18:21
Brewfile
# Taps
# ------------------------------------------------------------------------------
tap "homebrew/dupes"
tap "homebrew/versions"
tap "homebrew/nginx"
tap "homebrew/php"
tap "caskroom/cask"
tap "caskroom/versions"
import React, {Component, PropTypes, View, TextInput, ActivityIndicatorIOS} from 'react-native';
import {searchStyles} from '../styles';
export default class SearchBar extends Component {
static propTypes = {
isLoading: PropTypes.bool.isRequired,
search: PropTypes.func.isRequired,
};
static defaultProps = {
import React, {PropTypes} from 'react';
import debounce from 'lodash/function/debounce';
import AbstractSubstep from './AbstractSubstep';
export default class Story extends AbstractSubstep {
static propTypes = {
contents: PropTypes.string,
label: PropTypes.string,
placeholder: PropTypes.string,
setStory: PropTypes.func.isRequired,
<?php
namespace Forge\Commands\Commands\Users;
use Forge\Commands\Command;
use Forge\Commands\Commands\AbstractCommand;
use Forge\Entities\Models\User;
use Illuminate\Contracts\Bus\SelfHandling;
class RegisterCommand extends AbstractCommand implements SelfHandling
<?php
class LegacyMigrator
{
protected $songsConverter;
/**
* LegacyMigrator constructor.
*
* @param $songsConverter