Skip to content

Instantly share code, notes, and snippets.

View elijahmanor's full-sized avatar
😀

Elijah Manor elijahmanor

😀
View GitHub Profile
@elijahmanor
elijahmanor / settings.json
Last active November 27, 2019 16:13
settings.json vs code
{
"editor.minimap.enabled": false,
"vim.easymotion": true,
"vim.highlightedyank.enable": true,
"vim.easymotionMarkerFontFamily": "Menlo, Monaco, 'Courier New', monospace",
"vim.easymotionMarkerYOffset": 6,
"vim.easymotionMarkerFontSize": "12",
"window.zoomLevel": 2,
"editor.cursorSmoothCaretAnimation": true,
"editor.smoothScrolling": true,
@elijahmanor
elijahmanor / agnoster.zsh-theme
Created November 27, 2019 14:49
Custom Tweaks to the Agnoster Theme
# vim:ft=zsh ts=2 sw=2 sts=2
#
# agnoster's Theme - https://gist.github.com/3712874
# A Powerline-inspired theme for ZSH
#
# # README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
# Make sure you have a recent version: the code points that Powerline
@elijahmanor
elijahmanor / README.md
Last active November 9, 2019 06:10
Create a macOS VirtualBox Instance on macOS

Download a version of macOS using softwareupdate that will be downloaded to the /Applications folder.

softwareupdate --fetch-full-installer --full-installer-version 10.14.6

# Create a Catalina Virtual Disk Image

hdiutil create -o /tmp/Catalina -size 8500m -volname Catalina -layout SPUD -fs HFS+J

# Mount this Image to macOS
* Download [`kdiff3`](https://sourceforge.net/projects/kdiff3/)
```
git config --global --add merge.tool kdiff3
git config --global --add mergetool.kdiff3.path "/Applications/kdiff3.app/Contents/MacOS/kdiff3"
git config --global --add mergetool.kdiff3.trustExitCode false
git config --global --add diff.guitool kdiff3
git config --global --add difftool.kdiff3.path "/Applications/kdiff3.app/Contents/MacOS/kdiff3"
git config --global --add difftool.kdiff3.trustExitCode false
@elijahmanor
elijahmanor / .vimrc
Last active July 7, 2020 06:05
.vimrc
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-sensible'
Plugin 'scrooloose/nerdtree'
Plugin 'pangloss/vim-javascript'
@elijahmanor
elijahmanor / index.js
Last active November 29, 2018 15:28
Slack Stalker
#! /usr/bin/env node
const { RTMClient, WebClient } = require("@slack/client");
const chalk = require("chalk");
const stripAnsi = require("strip-ansi");
const say = require("say");
const lodash = require("lodash");
const jokeClient = require("icanhazdadjoke-client");
const joke = require("chat-joke");
@elijahmanor
elijahmanor / List.js
Created October 11, 2018 05:03
Medium Article: Fragment Short Syntax - App.css Code Snippet
import React from "react";
const TwoThree = () => (
<>
<li>Two</li>
<li>Three</li>
</>
);
export default List() {
return (
@elijahmanor
elijahmanor / App.css
Created October 11, 2018 04:49
Medium Article: SVG Component - App.css Code Snippet
.App-logo {
animation: App-logo-spin infinite 20s linear;
height: 40vmin;
}
.App-logo g {
fill: salmon;
}
.App-logo path {
@elijahmanor
elijahmanor / Link.module.css
Created October 11, 2018 04:25
Medium Article: CSS Modules - Link.module.css Code Snippet
@elijahmanor
elijahmanor / Link.js
Last active October 11, 2018 04:25
Medium Article: CSS Modules - Link.js Code Snippet