Skip to content

Instantly share code, notes, and snippets.

@Kristories
Kristories / README.md
Created July 18, 2021 19:41
[Homebrew] SSL peer handshake failed

Try

brew install glib
Output
Updating Homebrew...

==> Downloading https://download.gnome.org/sources/glib/2.68/glib-2.68.3.tar.xz
@Kristories
Kristories / ISO-639-1.csv
Created August 31, 2021 18:45
ISO 639-1 based on its own language name
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
"aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","ba","be","bg","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"
"Afar","Abkhazian","Avestan","Afrikaans","Akan","አማርኛ","Aragonese","العربية","অসমীয়া","Avaric","Aymara","Azərbayc
@Kristories
Kristories / README.md
Created October 2, 2021 05:42
Fix Expired Let's Encrypt's DST Root CA X3

MacOS

  • Open Keychain Access

  • Enable "Show Expired Certificates" in the "View" menu

  • Find and select "DST Root CA X3" keychain from keychains lists, then double-click Screen Shot 2021-10-02 at 12 34 41 PM

  • Next to Trust, click the arrow to display the trust policies for the certificate

  • Choose "Always Trust" Screen Shot 2021-10-02 at 12 35 05 PM

Valet

Brew can install multiple PHP version by command brew install php@version. You can switch Valet to use PHP version by :

valet use php     # switch to default PHP version (based on brew default PHP version)
valet use [email protected] # switch to PHP 7.4
valet use php@8   # switch to PHP 8

$argon2id$v=19$m=512,t=256,p=1$PBGP5K1yJL04+QwvAczmkg$3jgsM1ZeTnVFDiVsEwpaYcMVbn/ExkMe9P6PersGc6s