Using zip command with command line
zip -e -r --password=pwd dest.zip original_file
Note for newcomers: | |
In the shortcuts below, "C" stands for CTRL and "A" stands for "ALT". This is a convention | |
used in the Midnight Commander documentation and was kept here. | |
Main View | |
--------------------------------------------------------------- | |
- File/directory operations | |
F3 View file | |
Shift + F3 View raw file (disregard extension) | |
F5 Copy selected files |
# frozen_string_literal: true | |
require 'fileutils' | |
Dir.glob('*') do |f| | |
basename = File.basename(f) | |
# next unless basename =~ /^[0-9]{2}$/ | |
puts "archive #{basename}" |
((c-mode . ((flycheck-clang-language-standard . "c99") | |
(clang-format-modes . '()) | |
(indent-tabs-mode . t) | |
(c-basic-offset . 4) | |
(tab-width . 4)) | |
)) |
https://gist.github.com/hatsusato/1d5f0267bc9d02bb24c60bd7acc5a59a
この記事は [KMC Advent Calendar 2017][advent] の 10 日目の記事です。 昨日の記事は tron 君 ([id:tron_kmc][tron-id]) の[今年の活動を振り返る - tron-Factory 業務日誌][tron]でした。 はたち:tada:めでたい:congratulations:
#!/bin/bash | |
set -e | |
# --- configuration --- | |
EMACS_VER=26.1 | |
SRC_ROOT=http://ftp.jaist.ac.jp/pub/GNU/emacs/ | |
BUILD_DIR=/usr/local/src |
gsettings set org.gnome.meld detect-encodings "['utf8', 'euc-jp', 'shift_jis']" |
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V |