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
local resetColor="%{$reset_color%}" | |
local logo="%{$fg_bold[white]%}Δ$resetColor$resetColor" | |
local hostname=`hostname` | |
local dir="%{$fg_bold[white]%}%c$resetColor$resetColor" | |
GIT_PROMPT_PREFIX="[%{$fg_bold[white]%}" | |
GIT_PROMPT_SUFFIX="$resetColor]" | |
GIT_PROMPT_DIRTY="%{$fg_bold[red]%}" | |
GIT_PROMPT_CLEAN="%{$fg_bold[green]%}" |
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
set -g mouse on | |
# panes | |
set -g pane-border-style fg=colour235 | |
set -g pane-active-border-style fg=colour15 | |
# statusbar | |
set -g status-position bottom | |
set -g status-justify left | |
set -g status-style bg=colour235,fg=colour0,dim |
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
package main | |
import ( | |
"context" | |
"os" | |
"github.com/firecracker-microvm/firecracker-go-sdk" | |
models "github.com/firecracker-microvm/firecracker-go-sdk/client/models" | |
log "github.com/sirupsen/logrus" | |
) | |
func main() { | |
logger := log.New() |
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
# use "docker-compose up" to start the local s3 bucket (ctrl c to stop all services) | |
version: "2" | |
services: | |
s3: | |
image: deppy/fake-s3 | |
ports: | |
- "80:4569" | |
expose: | |
- "80" |
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
const fs = require('fs'); | |
const webpack = require('webpack'); | |
const { send } = require('micro'); | |
const config = require('./webpack.config'); | |
const webpackMiddleware = require('webpack-dev-middleware'); | |
const webpackHotMiddleware = require('webpack-hot-middleware'); | |
const compiler = webpack(config); | |
const middleware = (next) => { | |
const mw = webpackMiddleware(compiler, { |
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
#!/usr/bin/env zsh | |
#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
setopt promptsubst | |
autoload -U add-zsh-hook | |
ROOT_ICON_COLOR=$fg[red] | |
MACHINE_NAME_COLOR=$fg[white] | |
CURRENT_DIRECTORY_COLOR=$fg[blue] | |
GIT_PROMPT_INFO=$fg[white] |
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
import React, { PropTypes } from 'react'; | |
import { Hoverable } from '@bufferapp/redux-hover'; | |
const MyComponent = ({ | |
hovered, // managed by redux-hover | |
onMouseEnter, | |
onMouseLeave, | |
}) => | |
<div | |
onMouseEnter={onMouseEnter} |
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
nix-channel --add http://nixos.org/channels/nixpkgs-unstable | |
nix-channel --update | |
nix-channel -i hyper |
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
module.exports = { | |
config: { | |
// default font size for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks | |
fontFamily: 'Hack, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
// terminal cursor background color (hex) | |
cursorColor: 'rgba(248,28,229,0.75)', |