docker stop $(docker ps -a -q)
docker rmi my_image
docker rmi -f my_image
DOCTL | |
Installation | |
Option 1 – Download a Release from GitHub | |
Visit the Releases page for the doctl GitHub project. | |
https://github.com/digitalocean/doctl/releases | |
tar xf ~/doctl-1.4.0-linux-amd64.tar.gz | |
sudo mv ~/doctl /usr/local/bin | |
Configure |
def getVersionName = { -> | |
def hashStdOut = new ByteArrayOutputStream() | |
exec { | |
commandLine "git", "rev-parse", "--short", "HEAD" | |
standardOutput = hashStdOut | |
} | |
def buildNumberStdOut = new ByteArrayOutputStream() | |
exec { | |
commandLine 'echo', "$BUILD_NUMBER" |
(this is worth looking at http://www.stefan-seelmann.de/wiki/rasperrypi-homeserver, which is basically this:
apt-get purge --auto-remove scratch debian-reference-en dillo idle3 python3-tk idle python-pygame python-tk lightdm gnome-themes-standard gnome-icon-theme raspberrypi-artwork gvfs-backends gvfs-fuse desktop-base lxpolkit netsurf-gtk zenity xdg-utils mupdf gtk2-engines alsa-utils lxde lxtask menu-xdg gksu midori xserver-xorg xinit xserver-xorg-video-fbdev libraspberrypi-dev libraspberrypi-doc dbus-x11 libx11-6 libx11-data libx11-xcb1 x11-common x11-utils lxde-icon-theme gconf-service gconf2-common
)
Warning: this will probably break something. If you need sound, don't remove the "alsa" packages
sudo apt-get --yes purge xserver-common x11-xfs-utils x11-xserver-utils xinit libsmbclient blt gvfs gvfs-backends gvfs-daemons gvfs-fuse idle idle-python2.7 idle-python3.2 idle3 libaudio2 libice6 liblightdm-gobject-1-0 libobrender27 libpulse0 libqt4-svg libqt
This gist aims to facilitate the switching from bash
to zsh
as our defaut shell.
We will be using oh-my-zsh with the powerful theme: Powerlevel9k. You will find all the links below.
This process applies mainly for Arch Linux, but can be setup for any other distro (in theory :)).
I'm also using Gnome Terminal and pacaur as package manager.
These are a list of things I have been experiencing and their possible solutions
#ATTENTION: Check the Troubleshooting items below if you have problems, you can also visit my website where I wrote about it. | |
# LINK: https://fernandocejas.com/blog/engineering/2020-12-28-install-arch-linux-full-disk-encryption/#aur-helper | |
#!/bin/bash | |
#Make sure the system is up to date. | |
sudo pacman -Syu --noconfirm | |
Info:
Command:
pacaur -S terminus-font
//Code | |
package com.fernandocejas.android | |
import java.time.* | |
class Versionizer(private val localDateTime: LocalDateTime = LocalDateTime.now()) { | |
val versionCode = generateVersionCode() | |
private fun generateVersionCode(): Int { |
XDG_SESSION_TYPE=wayland dbus-run-session gnome-session |