This file contains hidden or 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
umount /data | |
mkdir /cy | |
cp /data/* /cy | |
#e2fsck -fy /dev/mapper/centos-data | |
lvreduce -L -10G /dev/mapper/centos-data | |
#resize2fs /dev/mapper/centos-data | |
#mke2fs /dev/mapper/centos-data | |
#xfs_repair /dev/mapper/centos-data | |
#xfs_growfs /dev/mapper/centos-data | |
mkfs.xfs -f /dev/mapper/centos-data |
This file contains hidden or 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
homebrew使用socks-proxy | |
By suchasplus on October 8, 2014 10:25 PM | 2 Comments | No TrackBacks | |
国庆给MacMini加装了块SSD, 直接重装了系统,用Mac Homebrew安装各种GNU工具ing | |
托GFVV的福, 不但login.live.com和yahoo.com的SSL被MITM了, 连homebrew去sf.net和github.com下载源码都会被干扰SSL握手 | |
迫不得已用proxy... | |
homebrew使用curl, 所以直接给curl加proxy就行了 |
This file contains hidden or 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
/var/opt/gitlab/nginx/conf/gitlab-http.conf |
This file contains hidden or 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
Ctrl+Shift+F9 |
This file contains hidden or 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
https://github.com/dagwieers/unoconv/issues/263 | |
https://downloadarchive.documentfoundation.org/libreoffice/old/4.2.5.2/mac/x86_64/LibreOffice_4.2.5.2_MacOS_x86-64.dmg |
This file contains hidden or 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
rm -rf md | |
mkdir ../md | |
cp -R * ../md | |
mv ../md . | |
cd md | |
find . -name *.docx|xargs rm -rf | |
find . -name *.xlsx|xargs rm -rf | |
cd .. | |
find . -name *.docx|awk '{print substr($1,3,length-7)}' |\ | |
find . -name *.xlsx|awk '{print substr($1,3,length-7)}' |\ |
This file contains hidden or 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
windows Alt + insert | |
mac commond + N | |
right at prop | |
open getter/setter | |
click right button of setter ... | |
#set($paramName = $helper.getParamName($field, $project)) | |
#if($field.modifierStatic) | |
static ## |