This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// The command to execute for the terminal, leave blank for the OS default | |
// On OS X the terminal can be set to iTerm.sh to execute iTerm | |
"terminal": "C:\\Program Files\\Git\\git-bash.exe", | |
// A list of default parameters to pass to the terminal, this can be | |
// overridden by passing the "parameters" key with a list value to the args | |
// dict when calling the "open_terminal" or "open_terminal_project_folder" | |
// commands | |
"parameters": ["-c", "cd \"%CWD%\" && \"C:\\Program Files\\Git\\bin\\sh.exe\" -i -l"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With argument | |
"C:\Program Files\Git\git-bash.exe" "--cd=%1" | |
Direct | |
"C:\Program Files\Git\git-bash.exe" "--cd="C:\YOUR\FOLDER\" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.10.1 | |
LABEL maintainer "Adrian B. Danieli - https://github.com/sickp" | |
EXPOSE 80 443 | |
CMD ["nginx", "-g", "daemon off;"] | |
ENV NGINX_VERSION 1.19.1 | |
RUN set -ex \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
# config.vm.box = "centos/7" | |
# 共有フォルダが使えるイメージ | |
config.vm.box = "geerlingguy/centos7" | |
config.vm.synced_folder "/Users/<name>/repos", "/repos" | |
config.vm.provision "shell", inline: <<-SHELL | |
sudo yum install -y vim net-tools iputils | |
SHELL | |
config.vm.define :node1 do |node| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document regexp("https://my.uopeople.edu/mod/.*") { | |
article > div > article | |
{ | |
box-shadow: -20px 0 0 #76AFB5 | |
} | |
article > div > article > div > article | |
{ | |
box-shadow: -20px 0 0 #AAA | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
# rename files in dirs | |
current_dir | |
|- dir1 | |
|- 001.jpg | |
|- 002.jpg | |
|- dir2 | |
|- 001.jpg | |
|- 002.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cleanup | |
mv /etc/pki/ca-trust/source/blacklist/* /tmp | |
mv /etc/pki/ca-trust/source/anchors/* /tmp | |
# fix the issue | |
cd /etc/pki/ca-trust/source/blacklist | |
wget -O dst.pem https://crt.sh/?d=0687260331A72403D909F105E69BCF0D32E1BD2493FFC6D9206D11BCD6770739 | |
cd /etc/pki/ca-trust/source/anchors | |
wget --no-check-certificate https://letsencrypt.org/certs/isrgrootx1.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USER=kujiy | |
curl -s https://api.github.com/users/$USER/keys | jq -r ".[0].key" > ~/.ssh/authorized_keys | |
chmod 600 authorized_keys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% git config --global init.templatedir "C:/Users/%username%/.git_template/" | |
# be careful the things below | |
-must use " not ' | |
-must use / not \ | |
-needed last / don't omit last / | |
-don't use baskslash | |
#----------------------- | |
✓ okay 1 ✓ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome_ev: | |
gcc -o chrome_ev chrome_ev.cc |
NewerOlder