In iTerm2, in the menu bar go to Scripts > Manage > New Python Script
Select Basic. Select Long-Running Daemon
Give the script a decent name (I chose auto_dark_mode.py
)
Save and open the script in your editor of choice.
from matplotlib import animation | |
import matplotlib.pyplot as plt | |
import gym | |
""" | |
Ensure you have imagemagick installed with | |
sudo apt-get install imagemagick | |
Open file in CLI with: | |
xgd-open <filelname> |
openssl req -x509 -newkey rsa:4096 -sha256 -keyout example.key -out example.crt -subj "/CN=example.com" -days 3650 -passout pass:foobar
openssl x509 -x509toreq -in example.crt -out example.csr -signkey example.key -passin pass:foobar
<?php | |
/* | |
* Resize images dynamically using wp built in functions | |
* Victor Teixeira | |
* | |
* php 5.2+ | |
* | |
* Exemplo de uso: | |
* | |
* <?php |
ObjC.import("Cocoa"); | |
var MarsPath = "/Applications/Mars4_5.jar" | |
var arg = $.NSArray.arrayWithObjects(MarsPath) | |
var task = $.NSTask.alloc.init | |
task.setLaunchPath("/usr/bin/open") | |
task.setArguments(arg) | |
task.launch |
To remove a submodule you need to: