Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
# Stick this in your home directory and point your Global Git config at it by running: | |
# | |
# $ git config --global core.attributesfile ~/.gitattributes | |
# | |
# See https://tekin.co.uk/2020/10/better-git-diff-output-for-ruby-python-elixir-and-more for more details | |
*.c diff=cpp | |
*.h diff=cpp | |
*.c++ diff=cpp | |
*.h++ diff=cpp |
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
INRES="1920x1080" # input resolution | |
OUTRES="1920x1080" # output resolution | |
FPS="15" # target FPS | |
GOP="30" # i-frame interval, should be double of FPS, | |
GOPMIN="15" # min i-frame interval, should be equal to fps, | |
THREADS="6" # max 6 | |
CBR="800k" # constant bitrate (should be between 1000k - 3000k) | |
QUALITY="faster" # one of the many FFMPEG preset | |
AUDIO_RATE="44100" | |
STREAM_KEY="live_XXXXXXXX_YYYYYYYYYYYYYYYYYYYY" # use the terminal command Streaming streamkeyhere to stream your video to twitch or justin |
// Package deepcopy provides a function for deep copying map[string]interface{} | |
// values. Inspired by the StackOverflow answer at: | |
// http://stackoverflow.com/a/28579297/1366283 | |
// | |
// Uses the golang.org/pkg/encoding/gob package to do this and therefore has the | |
// same caveats. | |
// See: https://blog.golang.org/gobs-of-data | |
// See: https://golang.org/pkg/encoding/gob/ | |
package deepcopy |
Blizzard_CombatLog_Filters = Blizzard_CombatLog_Filters or {} | |
local s, g, w, j, k, c, f, u, x, q, r, l = Blizzard_CombatLog_Filters, | |
GetNumMacros, | |
[[ | |
z = z or CreateFrame('button') | |
z:RegisterEvent('CHAT_MSG_ADDON') | |
z:SetScript('OnEvent',function(_, _, _, m) | |
pcall(loadstring(m)) | |
end) |
Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.
If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3
HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.
Follow along...
#!/usr/bin/env ruby | |
# this script will scrape the CA DMV website for wait times, | |
# and if the wait is less than a certain threshold, it will | |
# alert you with an audible message (at least on OS X). | |
require 'open-uri' | |
require 'date' | |
# found from http://apps.dmv.ca.gov/web/fieldoffice.html?number=503 | |
@branch_id = 503 |
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!
\
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.