Skip to content

Instantly share code, notes, and snippets.

View julie-is-late's full-sized avatar

Julie Shapiro julie-is-late

View GitHub Profile
#!/usr/bin/env bash
docker start couchbase mysql rabbit
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Path to your oh-my-zsh installation.
ZSH=/usr/share/oh-my-zsh/
# Set name of the theme to load.
#ZSH_THEME="lambda-mod"
ZSH_THEME="gnzh-custom"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
#plugins=(git archlinux golang gradle colored-man-pages ssh-agent docker docker-compose thefuck)
#plugins=(git archlinux ssh-agent thefuck)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title>Elliptipool with Barriers</title>
<script id="vertex-shader" type="x-shader/x-vertex">
attribute vec4 vPosition;
uniform mat4 projectionMatrix;
varying vec4 color;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
package main
import (
"fmt"
"runtime"
)
func main() {
fmt.Printf("current: %d\n", runtime.GOMAXPROCS(0))
fmt.Printf("max: %d\n", runtime.NumCPU())
@julie-is-late
julie-is-late / rsa_loading.go
Created February 21, 2017 23:37
How to load rsa keys in go
package config
import (
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"encoding/pem"
"io/ioutil"
"github.com/CodeCollaborate/Server/utils"
@julie-is-late
julie-is-late / .vimrc
Last active February 15, 2019 16:28
24-bit color for vim inside tmux through wsl's ssh out to mintty 😄
" jshap's vimrc
" there are many like it, but this one is mine
" Load vim-plug
if !has('win32')
let autoload_dir=$HOME."/.vim/autoload"
else
let autoload_dir=$HOME."/vimfiles/autoload"
endif
@julie-is-late
julie-is-late / .tmux.conf
Last active March 22, 2021 18:30
current .tmux.conf, with glorious truecolor! 🌈
# jshap's tmux config
### keybindings
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# f!@# emacs
set-window-option -g xterm-keys on