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
diff --git a/main/lua.go b/main/lua.go | |
index 73e0d16..85d9172 100644 | |
--- a/main/lua.go | |
+++ b/main/lua.go | |
@@ -47,6 +47,8 @@ const ERRMSG_CAN_NOT_USE_TWO_LUA_ON = "Can not use two Lua-command on the same p | |
const ERRMSG_CAN_NOT_RUN_LUA_ON_BACKGROUND = "Can not run Lua-Command on background" | |
func (this LuaFunction) Call(cmd *interpreter.Interpreter) (interpreter.ErrorLevel, error) { | |
+ newArgsHookLock.Lock() | |
+ defer newArgsHookLock.Unlock() |
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
function sleep(n) | |
local t = os.time() | |
while os.time() - t <= n do end | |
end | |
local _prompt = nyagos.prompt | |
nyagos.prompt = function(template) | |
sleep(1) | |
return _prompt('nyagos > ') | |
end | |
nyagos.alias.foo = function() |
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
def get_check_digit (number) | |
sum = 0 | |
number[0,11].reverse.split(//).each_with_index {|n, i| | |
sum += n.to_i * (i % 6 + 2) | |
} | |
return sum <= 1 ? 0 : 11 - sum % 11 | |
end | |
puts "Please input your number" | |
number = gets.chomp |
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
diff --git a/src/ConEmu/ConEmu14.vcxproj b/src/ConEmu/ConEmu14.vcxproj | |
index 84f5052..b4d54fc 100644 | |
--- a/src/ConEmu/ConEmu14.vcxproj | |
+++ b/src/ConEmu/ConEmu14.vcxproj | |
@@ -235,7 +235,7 @@ | |
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat> | |
</ClCompile> | |
<Link> | |
- <AdditionalDependencies>comctl32.lib;Shlwapi.lib;version.lib;gdiplus.lib;Winmm.lib;Netapi32.lib;%(AdditionalDependencies)</AdditionalDependencies> | |
+ <AdditionalDependencies>comctl32.lib;Shlwapi.lib;version.lib;gdiplus.lib;Winmm.lib;Netapi32.lib;imm32.lib;%(AdditionalDependencies)</AdditionalDependencies> |
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
diff --git a/src/version.c b/src/version.c | |
index f6d56d1..be2eeb9 100644 | |
--- a/src/version.c | |
+++ b/src/version.c | |
@@ -5119,6 +5119,18 @@ ex_version(exarg_T *eap) | |
} | |
} | |
+ static int | |
+featcmp(const void *s1, const void *s2) |
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/csh | |
if ("$1" == "") then | |
pushd ~ | |
else if ("$1" =~ */ | "$1" == "..") then | |
pushd $1 | |
else | |
set pattern = `basename $1` | |
set parent = `dirname $1` | |
set dirs = () |
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
diff --git a/src/main.c b/src/main.c | |
index 268c256..a7f104a 100644 | |
--- a/src/main.c | |
+++ b/src/main.c | |
@@ -3934,6 +3934,9 @@ cmdsrv_main( | |
mainerr_arg_missing((char_u *)argv[i]); | |
# ifdef WIN32 | |
/* Win32 always works? */ | |
+# ifdef FEAT_GUI_W32 | |
+ gui.starting = TRUE; |
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/csh | |
git clone https://github.com/google/protobuf | |
git clone https://github.com/mobile-shell/mosh | |
pushd protobuf | |
./autogen.sh | |
./configure --prefix=$HOME/usr --enable-static --disable-shared --with-pic | |
make -j4 && make install | |
popd |
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/csh | |
git clone --depth 1 https://github.com/libevent/libevent | |
git clone --depth 1 https://github.com/tmux/tmux | |
pushd libevent | |
./autogen.sh | |
./configure --prefix=$HOME/usr --enable-static --disable-shared --with-pic | |
make -j4 && make install | |
popd |
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
* { | |
font-family: "monaco", "UD Digi Kyokasho N-R", "02UtsukushiMincho" !important; | |
} | |
.tab0 { | |
padding: 3px 0 0 12px; | |
background: #F0F0F0; | |
} | |
.tab, |