Skip to content

Instantly share code, notes, and snippets.

Elijah Manor elijahmanor

Block or report user

Report or block elijahmanor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@elijahmanor
elijahmanor / agnoster.zsh-theme
Created Jan 2, 2020
agnoster.zsh-theme with random emoji
View agnoster.zsh-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 / settings.json
Last active Nov 27, 2019
settings.json vs code
View settings.json
{
"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 Nov 27, 2019
Custom Tweaks to the Agnoster Theme
View agnoster.zsh-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 Nov 9, 2019
Create a macOS VirtualBox Instance on macOS
View README.md

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
View gist:b339317133fdc90687f661211b0f1e9d
* 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
View .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 Nov 29, 2018
Slack Stalker
View index.js
#! /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 Oct 11, 2018
Medium Article: Fragment Short Syntax - App.css Code Snippet
View List.js
import React from "react";
const TwoThree = () => (
<>
<li>Two</li>
<li>Three</li>
</>
);
export default List() {
return (
@elijahmanor
elijahmanor / App.css
Created Oct 11, 2018
Medium Article: SVG Component - App.css Code Snippet
View App.css
.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 Oct 11, 2018
Medium Article: CSS Modules - Link.module.css Code Snippet
View Link.module.css
You can’t perform that action at this time.