#!/bin/sh # # This is NOT generic purpose script. # This script enlarge partition in Linux disks # Use this script right after copying small sized disk image to large HDD/SSD. # Get latest: curl -O https://www.yatex.org/gitbucket/gist/yuuji/f2de9953a21a90d96e3681ef3a6d32fe/raw/master/enlargeJDpart.sh # if ! type lsblk >/dev/null; then echo Call this script on Linux machines. >&2 exit 1
#!/usr/bin/env ruby # 使い方: # ./spline.rb ポイントを保存した.csv つなぐ点を保存した.csv > 保存する.geojson require 'json' require 'csv' # Latitude,Longitude,name,adress,description,type,id power = CSV.read(ARGV[0], headers:true) # start,end
;;; ;; Intelligent Newline for Plain text buffer ;;; ;; Usage: ;; (define-key global-map "\M-\C-m" 'intelligent-newline) (defun intelligent-newline (arg) ;; Intelligent newline as that of YaTeX ;; Feed the next item number of the line. ;; Supported pattern of items are as follows: ;; "(1) " "1: " "<1>" "* " "- " "・"
sudo tee /etc/apt/sources.list.d/virtualbox.list <<EOF deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib EOF wget -O- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo gpg --yes --output /usr/share/keyrings/oracle-virtualbox-2016.gpg --dearmor sudo apt update && sudo apt install virtualbox-7.0
;; ;; Reload init files (defaults to .emacs, .emacs.el, .emacs.d/init.el) ;; (defvar reloader-default-init-files '("~/.emacs" "~/.emacs.el" "~/.emacs.d/init.el") "Default target files for reloading. C-u M-x reloader-reload causes prompt for loading file.") (defun reloader-reload (arg)
#!/bin/sh mode=1024x768 while getopts m:l i; do case $i in m) mode=$OPTARG ;; l) lvdsmode=1 ;; esac done shift $((OPTIND - 1))