Skip to content

Instantly share code, notes, and snippets.

View BerndGoldschmidt's full-sized avatar

Bernd Goldschmidt BerndGoldschmidt

View GitHub Profile
@BerndGoldschmidt
BerndGoldschmidt / gist:5791654
Last active December 18, 2015 13:39
Improved version, including: - HD - sorted list for easier track choosing like 6*.(pdf|mov) => only media track (Safari, Webkit, iBooks, …)
(function() {
var ps = document.getElementsByTagName("p");
var sd = [];
var hd = [];
var pdf = [];
for (var i = 0; i < ps.length; i++) {
var p = ps[i];
if (p.getAttribute("class") == "download") {
var as = p.getElementsByTagName("a");
for (var j = 0; j < as.length; j++) {
@BerndGoldschmidt
BerndGoldschmidt / gist:0234edc76a764d0c805e
Created May 2, 2015 18:33
My current ~/.bash_profile file
# vim must go
export EDITOR="nano"
# some color please
export CLICOLOR=1
# rbenv initializing
export RBENV_ROOT=/usr/local/var/rbenv
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
@BerndGoldschmidt
BerndGoldschmidt / PhpStorm noinspection.md
Last active March 17, 2023 12:16 — forked from discordier/gist:ed4b9cba14652e7212f5
options for phpStorm @noinspection annotation

PhpStorm @noispection

javascript

  • ES6ValidationInspection
  • JSAccessibilityCheckInspection
  • JSBitwiseOperatorUsageInspection
  • JSCheckFunctionSignaturesInspection
  • JSClosureCompilerSyntaxInspection
  • JSCommentMatchesSignatureInspection

On Wealth

Mike Karnjanaprakorn @mikekarnj

Twitter Thread

Over time, I've changed my views on wealth. When I was in my early 20s, I wrote it off as something I would figure out later. When I started a company at 27, I figured that my stock as founder would be good enough. I was wrong in both. Here's what I've learned…

What to look for in a software engineer?

A twitter thread by Sean Kelly @StabbyCutyou


Recently a younger member of our team asked me: "What do you look for in a software engineer?". He told me my answers surprised him, and weren't like other answers he got, but I've ended up having this same conversation with many people at different levels the past few days...

I'll also say, what I'm about to lay out are not things that I think I always do correctly, or even that after 15 years of doing this that I still don't need to work on them.