I hereby claim:
- I am akorobov on github.
- I am akorobov (https://keybase.io/akorobov) on keybase.
- I have a public key whose fingerprint is C507 2F37 C7A6 D970 C9E6 C0A3 AAD0 3E1A 6C26 B71F
To claim this, I am signing this object:
sudo cp /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd.orig | |
# make sure replace with equal number of spaces(we're patching executable binary) | |
sudo perl -pi -e 's#tell application id "com.apple.iTunes" to launch# #g' /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd | |
# sign new binary | |
sudo codesign -f -s - /System/Library/CoreServices/rcd.app/Contents/MacOS/rcd | |
# restart | |
killall -9 rcd |
public class PkiUtils { | |
public static final int MinPassPhraseLength = 4; | |
public static List<?> readPemObjects(InputStream is, final String pphrase) | |
throws IOException { | |
List<Object> list = new LinkedList<Object>(); | |
PEMParser pr2 = new PEMParser(new InputStreamReader(is)); | |
JcaPEMKeyConverter converter = new JcaPEMKeyConverter().setProvider("BC"); | |
JcaX509CertificateConverter certconv = new JcaX509CertificateConverter().setProvider("BC"); |
import socket | |
from BaseHTTPServer import HTTPServer | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
class MyHandler(SimpleHTTPRequestHandler): | |
def do_GET(self): | |
if self.path == '/ip': | |
self.send_response(200) | |
self.send_header('Content-type', 'text/html') | |
self.end_headers() |
sudo kextunload /System/Library/Extensions/AppleHDA.kext | |
sudo kextload /System/Library/Extensions/AppleHDA.kext | |
sudo killall -9 coreaudiod | |
I hereby claim:
To claim this, I am signing this object:
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi | |
index f7a47f8..e9cfe7a 100644 | |
--- a/doc/misc/efaq.texi | |
+++ b/doc/misc/efaq.texi | |
@@ -1491,6 +1491,39 @@ exhibits all the colors Emacs knows about on the current display. | |
Syntax highlighting is on by default since version 22.1. | |
+Emacs 26.1 and later support direct color mode in terminals. If Emacs | |
+finds Terminfo capabilities @samp{setb24} and @samp{setf24}, 24-bit |
To install rustup in different directory (i.e. /opt):
curl https://sh.rustup.rs -sSf | sudo RUSTUP_HOME=/opt/rustup sh -s -- -y