Skip to content

Instantly share code, notes, and snippets.

View joesepi's full-sized avatar
🤖
wrkn

Joe Sepi joesepi

🤖
wrkn
View GitHub Profile
Meric -
Joe, Erin and I were speaking and we wanted to make sure we were being clear about some of our thoughts in regards to a proposed LB API vs APIC.
If you already understand what I'm saying, please forgive us, we just feel it's important to ensure folks understand where we're coming from.
You've asked about the capabilities of the APIC CLI vs slc. While I've found that a LB developer *could* make use of the APIC CLI (especially with the modifications I suggested),
we want to be clear that our argument for a proper LB CLI is *not* about features. It is about using the *appropriate* tool for the job.
APIC is not appropriate for LB developers for two main reasons:
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
, filename = path.join(process.cwd(), uri);
@joesepi
joesepi / vim-tips.md
Last active August 29, 2015 14:06
Vim tips

so instead of going i to go to insert mode then moving left or right or up and down
a to insert after your cursor
I to insert at beginning of line
A to insert at end of line
o to insert a new line after your current line
O to insert a new line above your current line

:help

:retab

Getting started using VIM

Plugins added on top of Maximum Awesome

  • monokai theme
  • airline
  • fugitive

Todo also

  • get dotfiles situation in order
@joesepi
joesepi / node_env.py
Last active May 26, 2022 07:22 — forked from joaoneto/node_env.py
Updated python script to manage nvm and ST3 pathing for OSX
# Sublime package NVM node path configuration
# Save this file in:
# ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/node_env.py
import os
os.environ["PATH"] = "/Users/YOUR_USERNAME/.nvm/v0.10.26/bin:/Users/cranemes/.nvm/v0.10.26/lib:/Users/YOUR_USERNAME/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
print("PATH=" + os.environ["PATH"])
@joesepi
joesepi / fix-lion-sorting
Last active December 22, 2015 05:39
Lion's default sorting drives me crazy
Lions default sorting for Finder drives me crazy.
I predominantly use the column view and Lion seems to arrange files and folders by "kind."
The thing that put me over the edge was when I updated the default application for a README file,
it moved the file to the top of the file list. For what!?
Here is a simple fix:
1. in a finder window, right click and choose Show View Options
2. in the resulting window, in the second group, choose:
a. Arrange by: None
b. Sory by: Name
@joesepi
joesepi / gist:6299513
Last active December 21, 2015 11:29
How to get SublimeLinter working in Sublime Text 3 (ST3)

How to get SublimeLinter working in SublimeText3 (ST3)

This shouldn't be that hard.

I have done a number of things over the last few hours to get this to work and I wasn't taking notes, so this is what I think needs to happen to install SublimeLinter in ST3

The first thing you need to do is uninstall SublimeLinter if you have it installed:

  • Assuming you have Package Controll installed, hit Cmd + Shift + P to bring up the panel and type "remove" and choose "Package Control: Remove Package" and then choose SublimeLinter from the resulting menu

Let's really make sure that all of that SublimeLinter stuff is gone:

  • Navigate to ~/Library/Application\ Support/Sublime\ Text\ 3/