Install the OpenSSL on Debian based systems
sudo apt-get install openssl| import sys, marshal, functools, subprocess | |
| child_script = """ | |
| import marshal, sys, types; | |
| fn, args, kwargs = marshal.load(sys.stdin) | |
| marshal.dump( | |
| types.FunctionType(fn, globals())(*args, **kwargs), | |
| sys.stdout) | |
| """ |
ref: (prometheus/node_exporter#66)
docker pull prom/node-exporter
docker run -d -p 9100:9100 -v "/proc:/host/proc" -v "/sys:/host/sys" -v "/:/rootfs" --net="host" prom/node-exporter -collector.procfs /host/proc -collector.sysfs /host/proc -collector.filesystem.ignored-mount-points "^/(sys|proc|dev|host|etc)($|/)"
cloud-init is absolute cancer. Its code is horrible. It has no documentation at all.
It took me 5 fucking hours to figure out how to properly configure networking on recent
cloud-init (Ubuntu 16.04 cloud image) with local datasource.
It's not mentioned anywhere you need to provide dsmode: local. (but only if you need network-config,
besides that everything is fine; someone below noted that -m flag does the same thing, good to know) Of course nobody needs documentation for network-config format
either. (cloudinit/net/__init__.py is a protip, enjoy the feces dive)
Oh, and by the way - no, it's not possible to provide network-config to uvt-kvm without patching shit.
| function npmReset() { | |
| folder="$(pwd | rev | cut -d '/' -f1 | rev)" | |
| cowsay "Starting to reinstall node_modules for $folder" | |
| rm -rf node_modules | |
| npm install -s | |
| cowsay "Finished reinstalling node_modules for $folder" | |
| npx node-notifier-cli -m 'npm modules reinstalled' -s Glass | |
| say "Finished reinstalling node modules for $folder" | |
| } | |
| alias npm-reset="npmReset" |
| SPC | |
| SPC: find file | |
| , switch buffer | |
| . browse files | |
| : MX | |
| ; EX | |
| < switch buffer | |
| ` eval | |
| u universal arg | |
| x pop up scratch |
| apt-get install -y libaio1 alien | |
| # Change version based on https://www.oracle.com/de/database/technologies/instant-client/linux-x86-64-downloads.html | |
| # Example alternative: http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient19.5-basiclite-19.5.0.0.0-1.x86_64.rpm | |
| wget http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient19.6-basic-19.6.0.0.0-1.x86_64.rpm | |
| sudo alien -i --scripts oracle-instantclient*.rpm | |
| rm -f oracle-instantclient*.rpm | |
| # Optionally install SQLPlus | |
| wget http://yum.oracle.com/repo/OracleLinux/OL7/oracle/instantclient/x86_64/getPackage/oracle-instantclient19.6-sqlplus-19.6.0.0.0-1.x86_64.rpm | |
| sudo alien -i --scripts oracle-instantclient*.rpm |
Set this in your /etc/default/grub file:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3 systemd.show_status=auto rd.udev.log_level=3 vt.global_cursor_default=0"
quiet: Disable most log messages.splash: Make sure plymouth shows the splash screen.loglevel: Only show messages with loglevel 3 (KERN_ERR) or lower. Lower levels are more serious.systemd.show_status=auto: Suppress succesfull messages.rd.udev.log_level=3: Only show messages with loglevel 3 (KERN_ERR) or lower. Lower levels are more serious.X11 has been, and still is, a vital piece of technology at the core of professional Unix-like workstations since decades. It has a proven track record of supporting enterprise-grade applications with long-term protocol stability and platform compatibility. It has matured over decades. XLibre is an actively developed fork of the X.Org X11 server, initiated by the most active X.Org developer and supported by the open source community.
An incompatible alternative, Wayland, is being aggressively pushed by IBM = Red Hat = Gnome = Fedora = freedesktop.org. However, it is not ready to succeed X11 as it its governance model leads to never-ending discussions and prevents even the most essential functionality from existing. Think twice before abandoning Xorg. Wayland breaks everything!
It is time that the open source community reclaims what was ours to begin with. This page lists distrib