vim /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css
add to .editor-container
section
-webkit-font-smoothing: antialiased;
#!/usr/bin/env bash | |
# Install Xcode Command Line Tools. | |
xcode-select --install | |
# Install Homebrew. | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install brew basics (auto-updating). | |
brew install terminal-notifier |
vim /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.css
add to .editor-container
section
-webkit-font-smoothing: antialiased;
<!-- Operator Tweaks -->
<dict>
<key>name</key>
Italic HTML attribute names
# Published on Docker Hub with above user alexellisio. | |
# If you want to rebuild your own copy, follow below instructions | |
# Build this on each type of machine so you have the correct CPU extensions. | |
FROM alexellisio/boostbase | |
RUN git clone -b Linux https://github.com/nicehash/nheqminer.git | |
RUN cd nheqminer/cpu_xenoncat/Linux/asm/ && sh assemble.sh && cd ../../../Linux_cmake/nheqminer_cpu && cmake . && make | |
ENTRYPOINT ["./nheqminer/Linux_cmake/nheqminer_cpu/nheqminer_cpu"] |
mongodump -h xxx11.mlab.com:11 -u user -p password --authenticationDatabase release-db -d release-db -o /home/dumps
**Options** `-h`: mlab host:port, `-u`: db user, `-p`: db user password, `--authenticationDatabase` `-d`: mlab dbname, `-o`: path to store backupfiles
restore command, to restore locally
mongorestore --db dname /home/dumps
Otherwise to restore in mlab, create a new db and replace the options
pip install readme-renderer && python setup.py check -rs |
Exporting password + one-time code data from iCloud Keychain is now officially supported in macOS Monterey and Safari 15 (for Monterey, Big Sur, and Catalina). You can access it in the Password Manager’s “gear” icon (System Preferences > Passwords on Monterey, and Safari > Passwords everywhere else), or via the File > Export > Passwords... menu item). You shouldn't need to hack up your own exporter anymore.
After my dad died, I wanted to be able to have access any of his online accounts going forward. My dad was a Safari user and used iCloud Keychain to sync his credentials across his devices. I don’t want to have to keep an OS X user account around just to access his accounts, so I wanted to export his credentials to a portable file.
import os | |
from datetime import datetime | |
from multiprocessing.util import register_after_fork | |
from sqlalchemy import create_engine, MetaData, Table | |
from sqlalchemy.orm import sessionmaker | |
from sqlalchemy.ext.declarative import declarative_base | |
from psycopg2.extras import RealDictConnection, register_hstore |
from clint.textui import puts, indent, colored | |
def red(msg): | |
return puts(colored.red(msg)) | |
def shell(cmd, fail_silently=False, *args, **kwargs): | |
# tell the user what's about to go out | |
puts(colored.blue("-> {}".format(cmd))) |