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
#!/bin/sh | |
find . -name ".DS_Store" -print ; find . -name "._*" -print ; | |
echo "削除しますか? [Y/n]" | |
read ANSWER | |
ANSWER=`echo $ANSWER | tr y Y | tr -d '[\[\]]'` | |
#echo $ANSWER | |
case $ANSWER in | |
""|Y* ) find . -name ".DS_Store" -print -exec rm -r {} ";" ; find . -name "._*" -print -exec rm -r {} ";";; | |
* ) echo "exit";; |
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
#!/usr/bin/bash | |
unzip -Ocp932 $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
# vi: set ft=dockerfile : | |
FROM centos:7 AS build-env | |
WORKDIR /root | |
RUN yum install -y epel-release | |
RUN yum install -y golang openldap-devel make gettext git rpm-build | |
RUN git clone -b rpm https://github.com/kazuhisya/lb | |
RUN cd lb && make rpm | |
FROM centos:7 |
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
#!/usr/bin/env xdg-open | |
[Desktop Entry] | |
Categories=Utility; | |
Comment=A desktop agnostic launcher | |
Exec=env QT_SCALE_FACTOR=0.5 albert | |
GenericName=Albert | |
Icon=albert | |
Name=Albert | |
StartupNotify=false | |
Type=Application |
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
################################################################################# | |
# start and stop the vpn from the command line from now on with these two commands | |
# or rename the aliases as you see fit. | |
################################################################################# | |
alias startvpn="sudo launchctl load -w /Library/LaunchDaemons/net.juniper.AccessService.plist; open -a '/Applications/Junos Pulse.app/Contents/Plugins/JamUI/PulseTray.app/Contents/MacOS/PulseTray'" | |
alias quitvpn="osascript -e 'tell application \"PulseTray.app\" to quit';sudo launchctl unload -w /Library/LaunchDaemons/net.juniper.AccessService.plist" |
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
# vi: set ft=dockerfile : | |
FROM centos:7 | |
ENV TZ="JST-9" \ | |
SHEEP_VERSION="1.0.2_rc0" | |
# setting | |
RUN yum install -y epel-release && \ | |
yum groupinstall -y --setopt=tsflags=nodocs "Base" "Development Tools" && \ | |
yum install -y --setopt=tsflags=nodocs corosync corosynclib corosynclib-devel && \ |
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
# vi: set ft=dockerfile : | |
FROM centos:6 | |
RUN yum install -y epel-release && \ | |
yum groupinstall -y "Base" "Development Tools" && \ | |
yum install -y --nogpgcheck http://ymu.dl.osdn.jp/linux-ha/66141/pacemaker-repo-1.1.14-1.1.el6.x86_64.rpm && \ | |
yum install -y corosync corosynclib corosynclib-devel && \ | |
yum install -y userspace-rcu userspace-rcu-devel yasm yasm-devel && \ | |
yum install -y fuse fuse-devel && \ |
I hereby claim:
- I am kazuhisya on github.
- I am kazuhisya (https://keybase.io/kazuhisya) on keybase.
- I have a public key ASCVLUMPDNHPvIkuEAZ_10yCg750WOWiACn9Fyv9VTEr4Qo
To claim this, I am signing this object:
NewerOlder