MIGRATED TO https://github.com/FiloSottile/homebrew-musl-cross
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/Doc/Makefile.in b/Doc/Makefile.in | |
index dacbd51..69b7b04 100644 | |
--- a/Doc/Makefile.in | |
+++ b/Doc/Makefile.in | |
@@ -66,8 +66,8 @@ Zsh/mod_sched.yo Zsh/mod_socket.yo \ | |
Zsh/mod_stat.yo Zsh/mod_system.yo Zsh/mod_tcp.yo \ | |
Zsh/mod_termcap.yo Zsh/mod_terminfo.yo \ | |
Zsh/mod_zftp.yo Zsh/mod_zle.yo Zsh/mod_zleparameter.yo \ | |
-Zsh/mod_zprof.yo Zsh/mod_zpty.yo Zsh/mod_zselect.yo \ | |
-Zsh/mod_zutil.yo |
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
typeset -F SECONDS=0 | |
export START_TIME=$SECONDS | |
if [ -e ~/.profiling ]; then | |
echo "zshrc started" | |
source() { | |
local before=$SECONDS | |
. $* | |
local duration=$((($SECONDS - $before) * 1000)) |
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
--- kiklib/configure.orig 2013-03-23 21:40:00.000000000 +0900 | |
+++ kiklib/configure 2013-04-15 19:58:13.000000000 +0900 | |
@@ -19839,7 +19839,7 @@ | |
DL_LIBS="${DL_LIBS} ${lt_cv_dlopen_libs}" | |
# NSLinkModule (darwin) | |
ac_fn_c_check_func "$LINENO" "NSLinkModule" "ac_cv_func_NSLinkModule" | |
-if test "x$ac_cv_func_NSLinkModule" = x""yes; then : | |
+if test "$DL_LOADER" = none && test "x$ac_cv_func_NSLinkModule" = x""yes; then : | |
DL_LOADER=dyld |
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
#include <iostream> | |
void setBackground(unsigned r, unsigned g, unsigned b) | |
{ | |
std::cout << "\x1b[48;2;" << r << ';' << g << ';' << b << 'm'; | |
} | |
int main() | |
{ | |
int point[4][3] = { {255,0,0}, |
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
package main | |
import ( | |
git "github.com/libgit2/git2go" | |
"log" | |
) | |
func credentialsCallback(url string, username string, allowedTypes git.CredType) (git.ErrorCode, *git.Cred) { | |
ret, cred := git.NewCredSshKey("git", "/home/vagrant/.ssh/id_rsa.pub", "/home/vagrant/.ssh/id_rsa", "") | |
return git.ErrorCode(ret), &cred |
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 vid2Gif { | |
if [[ $# != 3 ]]; then | |
print "too many or too less arguments" | |
return | |
fi | |
ffmpeg -y -i $1.mov -vf fps=10,scale=${2}:${3}:flags=lanczos,palettegen palette_$1.png | |
ffmpeg -i $1.mov -i palette_$1.png -filter_complex "fps=10,scale=${2}:${3}:flags=lanczos[x];[x][1:v]paletteuse" -f gif - | gifsicle --optimize=3 > $1.gif | |
} |
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/edit.c b/src/edit.c | |
index abe26fb..b1536fc 100644 | |
--- a/src/edit.c | |
+++ b/src/edit.c | |
@@ -2826,7 +2826,6 @@ ins_compl_upd_pum(void) | |
if (compl_match_array != NULL) | |
{ | |
h = curwin->w_cline_height; | |
- update_screen(0); | |
if (h != curwin->w_cline_height) |
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 -r 8c8cdda36022 src/popupmnu.c | |
--- a/src/popupmnu.c Wed Aug 14 14:18:41 2013 +0200 | |
+++ b/src/popupmnu.c Thu Aug 15 22:06:10 2013 +0900 | |
@@ -639,7 +639,7 @@ | |
{ | |
/* Return cursor to where we were */ | |
validate_cursor(); | |
- redraw_later(SOME_VALID); | |
+ redraw_win_later(curwin, REDRAW_TOP); | |
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
{ | |
/* | |
* UI関係 | |
*/ | |
// カラー&スキーマ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", // カラー | |
"theme": "Soda Dark.sublime-theme", // スキーマ | |
// カーソルのスタイル ("smooth", "phase", "blink", "wide", "solid") | |
"caret_style": "smooth", |