[root@localhost ~]# mkdir /centos_chroot
[root@localhost ~]# mkdir -p /centos_chroot/var/lib/rpm
| #!/usr/bin/env bash | |
| # Script to recursively remove podman images and their dependent containers | |
| # Usage: ./podman_recursive_rm.sh <image_id_or_name> [max_iterations] | |
| set -e | |
| # Colors for output | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' |
I hereby claim:
To claim this, I am signing this object:
| export GTK_IM_MODULE=fcitx | |
| export QT_IM_MODULE=fcitx | |
| export XMODIFIERS=@im=fcitx | |
| exec cinnamon-session | |
| # exec emacs --daemon |
| (require 'package) | |
| (push '("melpa" . "http://melpa.org/packages/") package-archives) | |
| (package-initialize) | |
| (package-refresh-contents) | |
| (require 'package-lint) | |
| (package-lint-batch-and-exit) |
| (require 'lemonbar) | |
| (setq lemonbar-options `("-b" ; Dock the bar at the bottom of the screen | |
| "-g" "1920x20+0+0" | |
| "-p" | |
| "-f" "Hack-9")) | |
| (setq lemonbar-output-template '(akirak/lemonbar-exwm-buffer-list | |
| lemonbar-align-right | |
| akirak/lemonbar-i3status)) |
| FROM fedora | |
| MAINTAINER Akira Komamura, [email protected] | |
| # Add RPM Fusion | |
| RUN dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ | |
| https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
| # Install packages | |
| RUN dnf -y install nim | |
| # git is required by nimble to download a package | |
| RUN dnf -y install git |
| import posix | |
| from system import `$` | |
| proc mkdtemp*(tmpl: cstring): cstring {.importc, header: "<stdlib.h>".} | |
| proc createTempDirectory*(tmpl: string): string = | |
| var s = newString(tmpl.len) | |
| s = tmpl | |
| if mkdtemp(s.cstring()) == nil: | |
| raise newException(IOError, "mkdtemp returns null") |
| #!/bin/sh | |
| # This script will setup Evm (Emacs Version Manager) and Cask on | |
| # Travis to use for Emacs Lisp testing. | |
| # | |
| # In .travis.yml, add this: | |
| # | |
| # - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh | |
| # | |
| # Emacs 24.3 is installed in the above script because Cask requires |
| system-type | |
| windows-nt | |
| (getenv "HOME") | |
| "C:\\Users\\IEUser\\AppData\\Roaming" | |
| user-login-name | |
| "IEUser" | |
| (expand-file-name "~IEUser") |