conda install line_profiler
cat<<EOF > ~/.ipython/profile_default/startup/001-load-line-profiler.ipy
%load_ext line_profiler
# Verify the virtualization support on your Linux OS | |
# (a non-empty output indicates supported virtualization): | |
grep -E --color 'vmx|svm' /proc/cpuinfo | |
# Verify the virtualization support on your macOS | |
# (VMX in the output indicates enabled virtualization) | |
sysctl -a | grep -E --color 'machdep.cpu.features|VMX' |
#!/usr/bin/env ruby | |
last_key, max_val = nil, -1000000 | |
STDIN.each_line do |line| | |
key, val = line.split("\t") | |
if last_key && last_key != key | |
puts "#{last_key}\t#{max_val}" | |
last_key, max_val = key, val.to_i | |
else | |
last_key, max_val = key, [max_val, val.to_i].max |
{ | |
"latex-workshop.latex.autoBuild.run": "onFileChange", | |
"latex-workshop.message.error.show": true, | |
"latex-workshop.message.warning.show": true, | |
"latex-workshop.latex.tools": [{ | |
"name": "xelatex", | |
"command": "xelatex", | |
"args": [ | |
"-synctex=1", | |
"-shell-escape", |
{ | |
"go.formatTool": "goimports", | |
"go.docsTool": "guru", | |
"editor.largeFileOptimizations": false, | |
"latex-workshop.latex.autoBuild.run": "never", | |
"latex-workshop.message.error.show": false, | |
"latex-workshop.message.warning.show": false, | |
"latex-workshop.latex.tools": [{ | |
"name": "xelatex", | |
"command": "xelatex", |
sudo systemctl stop NetworkManager | |
sudo mv /var/lib/NetworkManager/NetworkManager.state /var/lib/NetworkManager/NetworkManager.state.bak | |
sudo systemctl stop NetworkManager |
GUEST="slave-1" | |
vboxmanage list hdds \ | |
| sed -e '/./{H;$!d;}' -e 'x;/'"$GUEST"'/!d;' \ | |
| grep UUID | egrep -v Parent | awk '{print $2}' \ | |
| xargs -I{} vboxmanage closemedium disk {} --delete | |
# vboxmanage list hdds \ | |
# | sed -e '/./{H;$!d;}' -e 'x;/'"$GUEST"'/!d;' \ | |
# | grep UUID | egrep -v Parent | awk '{print $2}' \ | |
# | xargs -I{} echo vboxmanage closemedium disk {} --delete |
> Task :flyway:flywayMigrate FAILED | |
:flyway:flywayMigrate (Thread[Execution worker for ':',5,main]) completed. Took 9.075 secs. | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':flyway:flywayMigrate'. | |
> Error occurred while executing flywayMigrate | |
Flyway Enterprise Edition or MySQL upgrade required: MySQL 5.6 is no longer supported by Flyway Community Edition, but still supported by Flyway Enterprise Edition. |
# sudo docker-compose down | |
# Stopping flyway_db_1 ... error | |
# | |
# ERROR: for flyway_db_1 cannot stop container: b507d5ca35c67a38164df406656c32484390353b51f43357d565b25aa7cfbfd1: Cannot kill container b507d5ca35c67a38164df406656c32484390353b51f43357d565b25aa7cfbfd1: unknown error after kill: runc did not terminate sucessfully: container_linux.go:388: signaling init process caused "permission denied" | |
# : unknown | |
# Removing network flyway_default | |
# ERROR: error while removing network: network flyway_default id 8bdd09b60e327fce1aad7bf887ec9a14a2aade50b03b1acee6f3befc1fc08b56 has active endpoints | |
# | |
# uname -a | |
# Linux omen4-hp 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
sudo dscl . append /Groups/_developer GroupMembership justin |