If you're using a high-end bluetooth headset on your Macbook Pro it's likely your mac is using an audio codec which favors battery efficiency over high quality. This results in a drastic degradation of sound, the SBC codec is the likely culprit, read more about it here.
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
Part 1: Understanding plugin basics
Part 2: Creating a "button frame" plugin
- Adobe XD API Reference
- Finished code from this part
-
Request an archive of your photos and metadata (json) from the "Your Flickr Data" section of your Flickr user account page.
-
Extract all provided zip files to a single folder with the JSON files unzip to a
json
subfolder. -
Install exiftool, a command-line application for reading, writing and editing meta information in a wide variety of files..
-
Sort your Flickr photos into yearly folders by EXIF timestamp and set file-system timestamps from the command line:
# compare fonts with ttx | |
ttdiff () { | |
if [ "$#" -lt 2 ] | |
then | |
echo "Usage: ttdiff FONT1.ttf FONT2.ttf [tables ...]" | |
return 1 | |
fi | |
first="$1" | |
if [ ! -f "$first" ]; then | |
echo "File $first not found" |
# Turn on Notifications | |
do shell script "defaults -currentHost write com.apple.notificationcenterui doNotDisturb -bool FALSE; defaults -currentHost delete com.apple.notificationcenterui doNotDisturbDate; osascript -e 'quit application \"NotificationCenter\" ' && killall usernoted" -- this set 'Do not disturb' to false in the pref | |
# Show Desktop | |
do shell script "defaults write com.apple.finder CreateDesktop -bool true; killall Finder" | |
# Show all windows | |
tell application "System Events" | |
set visible of (every process) to true | |
end tell |
- GraphQL is awesome. I was not a fan at first, but I have since been converted. I wouldn't hesitate to use it for anything new. Its not perfect though.
- Running on Lambda is pretty straight forward. We have our own custom code for that, but if I was starting fresh, I would use the Apollo GraphQL server. They have one that is designed to run on Lambda. I've played with it and it works well.
- If your graphQL resolvers are talking directly to a DB, make sure to share connections between requests. One connection per lambda instance. If you spin up a new connection per request you will have a bad time. I guess this is generally true for not-graphql lambda things too.
- You need dataloader. It will batch DB queries for you. It (or something like it) is pretty critical to making any graphQL setup performant. Or at least not overload your DB.
- You proabably need to follow the Relay spec. We didn't d
#!/usr/bin/env python3 | |
''' | |
Program: s3_full_delete.py | |
Author: https://github.com/vsx-gh | |
Created: 20170920 | |
Program finds S3 objects with delete markers and deletes all versions | |
of those objects. |
The best way to safely and securely use local domains pointing to 127.0.0.1 is to edit your local settings (/etc/hosts) and add your own settings. Keep in mind if you want to use subdomains, you need to enter all variations.
Example:
# Adding bottom of your current file /etc/hosts
################# MY LOCAL DOMAINS
127.0.0.1 local.com admin.local.com
127.0.0.1 domain1.com