Skip to content

Instantly share code, notes, and snippets.

View feltnerm's full-sized avatar

Mark Feltner feltnerm

View GitHub Profile
@tomhicks
tomhicks / plink-plonk.js
Last active March 18, 2024 02:23
Listen to your web pages
@stettix
stettix / things-i-believe.md
Last active March 20, 2024 17:45
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@feltnerm
feltnerm / keyboard-shortcuts.md
Last active January 3, 2017 19:51
Development environment (fish, vim, tmux) keyboard shortcuts I use.

vim

unite

  • p grep
  • pf file_rec/async
  • pr file_mru
  • pb buffer
  • pg grep/git
  • pG file_rec/git
@TKIPisalegacycipher
TKIPisalegacycipher / DeleteGmusicDupes-Python35.py
Last active June 12, 2020 16:22 — forked from sckzw/README.md
Python script to find and delete duplicate tracks from Google Play Music library.
#!/usr/bin/env python
# created by shuichinet https://gist.github.com/shuichinet
# forked from https://gist.github.com/shuichinet/8159878 21 Nov 2015
# using minor edits by fcrimins https://www.reddit.com/user/fcrimins from https://www.reddit.com/r/google/comments/2xzgyv/remove_duplicate_songs_from_google_play_music/csh6mrh
# also using clever edits by Morgan Gothard https://medium.com/@mgothard
# updated for Python 3.5 by John M. Kuchta https://medium.com/@sebvance 22 Nov 2016 (hey I was busy)
# compiled by John M. Kuchta https://medium.com/@sebvance
# thanks to shuichinet, fcrimins and Mr. Gothard for their work

Slack Now Playing Thing

So here's how to hack together a now playing button for Slack (until we can get some more integrations and do it a better way.

Do this

  • Use Slack in a browser
    This stuff depends on the use of browser plugins so it'd take more work for this to work in the app
  • Install a Greasemonkey plugin
  • Safari - GreaseKit
@rnicholus
rnicholus / gist:9c02b2da9351923e4782
Last active August 29, 2015 14:01
JavaScript 101

Why?

More and more of our application code will live in the browser over time as JavaScript, and perhaps our server code will utilize the same language as well. Luckily, it's pretty easy to learn JavaScript. JavaScript is becoming more central to web applications.

With this in mind, it will be beneficial for non-developers to gain a better understanding of this language, and how it is used in the browser and on the server. We can start out simple, and work up to the level of proficiency required to aid in debugging web app issues, writing automated end-to-end tests. Perhaps you will find yourself developing a web application of your own.

Course Outline

I hope to hold 1 - 1.5 hour sessions every 2-3 weeks, depending on my schedule. Perhaps other developers can assist as well, schedule permitting.

@tsiege
tsiege / The Technical Interview Cheat Sheet.md
Last active May 7, 2024 17:37
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

ANNOUNCEMENT

I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!






\

@feltnerm
feltnerm / audinf
Created April 19, 2011 05:51
display simple tracklist info about a directory of mp3s
#!/usr/bin/env python
"""
audinf.py
Displays simple track info about a list of mp3s
"""
import sys
import os
from mutagen.easyid3 import EasyID3 as eid3
@feltnerm
feltnerm / the_fing_weather
Created April 19, 2011 05:51
Tell me the f*ckin weather!
#!/usr/local/bin/python
# -*- coding: utf-8 -*-
'''
Created on Jul 16, 2010
@author: mark
'''
import sys, string, pprint
from datetime import datetime
from thefuckingweather import LocationError, get_weather, DEGREE_SYMBOL