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
bcdedit /set hypervisorlaunchtype off | |
bcdedit /set hypervisorlaunchtype auto | |
bcdedit | |
#hypervisorlaunchtype Auto |
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
MSYS2: | |
pacman -S base-devel mingw64/mingw-w64-x86_64-cmake mingw-w64-x86_64-gtk3 mingw-w64-x86_64-gtkmm3 mingw-w64-x86_64-pkg-config | |
#Optional: pacman -S mingw-w64-x86_64-glade | |
#In .bashrc | |
export PATH=/mingw64/bin:$PATH | |
export PKG_CONFIG_PATH=/mingw64/lib/pkgconfig | |
Compiler: | |
Option 1: Use MSYS2 GCC | |
pacman -S mingw-w64-x86_64-gcc |
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
###################### | |
## shadowsocks-libev | |
###################### | |
# install dependencies | |
yum install epel-release -y | |
yum install gcc gettext autoconf libtool automake make pcre-devel asciidoc xmlto udns-devel libev-devel -y | |
# install shadowsocks-libev | |
cd /etc/yum.repos.d/ |
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
use warnings; | |
use strict; | |
$_ = 'abcdefghi'; | |
# s/./ substr $_, -$+[0], 1 /eg; # duh, substr and array | |
# s#.# /(.).{$-[0]}$/; $1 #eg; # duh, array | |
my $x = 0; s#.# /(.).{$x}$/; $x++; $1 #eg; |
NewerOlder