-
brew install gnupg, pinentry-mac
(this includes gpg-agent and pinentry) -
Generate a key:
$ gpg --gen-key
-
Take the defaults. Whatevs
-
Tell gpg-agent to use pinentry-mac:
$ vim ~/.gnupg/gpg-agent.conf
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
- Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
- Create or import a key -- see below for https://keybase.io
- Run
gpg --list-secret-keys
and look forsec
, use the key ID for the next step - Configure
git
to use GPG -- replace the key with the one fromgpg --list-secret-keys
This gist had a far larger impact than I imagined it would, and apparently people are still finding it, so a quick update:
- TC39 is currently moving forward with a slightly different version of TLA, referred to as 'variant B', in which a module with TLA doesn't block sibling execution. This vastly reduces the danger of parallelizable work happening in serial and thereby delaying startup, which was the concern that motivated me to write this gist
- In the wild, we're seeing
(async main(){...}())
as a substitute for TLA. This completely eliminates the blocking problem (yay!) but it's less powerful, and harder to statically analyse (boo). In other words the lack of TLA is causing real problems - Therefore, a version of TLA that solves the original issue is a valuable addition to the language, and I'm in full support of the current proposal, which you can read here.
I'll leave the rest of this document unedited, for archaeological
When using yarn, it will create a yarn.lock
lockfile which holds data on your used dependencies. This file also includes hard-typed versions, so should you update your dependencies, the yarn.lock
file is basically outdated and needs to be regenerated. While yarn does this automatically, Greenkeeper pull requests that update dependencies as of right now do not do this regeneration, which means you would have to do it manually.
This gist shows you a way how to automatise this step using a Travis CI script.
- You use Travis CI and have it build Pull Requests (default behaviour)
- You have a
yarn.lock
file in your repository for Travis CI to automatically install yarn (yarn will be added to their default images soon)
-
Kinesis Freestyle (Terrible key switches. Mushy and un-lovable)
-
Kinesis Freestyle Edge (Traditional layout with too many keys, mech switches, proably too big to be tented easily/properly)
-
Matias Ergo Pro (Looks pretty great. Have not tried.)
-
ErgoDox Kit (Currently, my everyday keyboard. Can buy pre-assembled on eBay.)
-
ErgoDox EZ (Prolly the best option for most people.)
<div | |
tabIndex="0" | |
ref={onRef} | |
onBlur={onWrapperBlur} | |
> | |
// ... | |
withHandlers(() => { | |
let element = null; |
# Replace [YOUR_DOMAIN_NAME] by your real domain | |
server.modules += ( "mod_setenv" ) # For HSTS | |
$SERVER["socket"] == "0.0.0.0:443" { | |
ssl.engine = "enable" | |
ssl.pemfile = "/etc/letsencrypt/live/[YOUR_DOMAIN_NAME]/combined.pem" | |
ssl.ca-file = "/etc/letsencrypt/live/[YOUR_DOMAIN_NAME]/fullchain.pem" | |
ssl.dh-file = "/etc/ssl/certs/dhparam.pem" |
diff -ur minidlna-1.2.1/albumart.c minidlna-1.2.1-cover-resize/albumart.c | |
--- minidlna-1.2.1/albumart.c 2017-08-24 19:28:25.000000000 +0200 | |
+++ minidlna-1.2.1-cover-resize/albumart.c 2017-09-10 00:34:02.000000000 +0200 | |
@@ -67,15 +67,18 @@ | |
strncpyt(cache_dir, cache_file, sizeof(cache_dir)); | |
make_dir(dirname(cache_dir), S_IRWXU|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH); | |
+ if( runtime_vars.cover_size <= 0 ) | |
+ return image_save_to_jpeg_file(imsrc, cache_file); | |
+ |
#!/bin/bash | |
launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist | |
launchctl unload -w /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist | |
launchctl unload -w /Library/LaunchAgents/com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a23d420d.plist | |
launchctl unload -w /Library/LaunchDaemons/com.adobe.agsservice.plist | |
launchctl unload -w /Library/LaunchDaemons/com.adobe.ARMDC.Communicator.plist | |
launchctl unload -w /Library/LaunchDaemons/com.adobe.ARMDC.SMJobBlessHelper.plist | |
launchctl unload -w /Library/LaunchDaemons/com.adobe.adobeupdatedaemon.plist | |
sudo launchctl unload -w /Library/LaunchDaemons/com.adobe.ARMDC.Communicator.plist |
Hi, I am a fork from https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03.
A high level overview for what I need to do to get most of an Android environment setup and maintained on OSX higher Catalina and Big Sur with and without Android Studio been installed.
Considering the SDK is installed under /Users/<your_user>/Library/Android/sdk folder which is the Android Studio preferred SDK location, but it works fine under /usr/local/share/android-sdk as well, which is a location pretty much used on CI mostly.
https://github.com/shyiko/jabba instead ?