Skip to content

Instantly share code, notes, and snippets.

View MoLow's full-sized avatar

Moshe Atlow MoLow

  • tuvis.com
  • Israel
  • 14:24 (UTC +03:00)
View GitHub Profile
if (beresp.status>=500||beresp.status==403||beresp.status==420||beresp.status==401||(beresp.status==301 || beresp.status==302)) { // אל תתקיף את השרת אם הוא זורק שגיאות
set beresp.ttl=30s;
set beresp.grace=30h;
}
@MoLow
MoLow / gist:87f4f46df37d9a137824
Last active August 29, 2015 14:23
Git auto input username & password for ssh
C:\> git config --global core.askpass C:\<path>\git-gui--askpass
C:\<path>\git-gui--askpas:
#!/bin/sh
# Tcl ignores the next line -*- tcl -*- \
exec wish "$0" -- "$@"
set answer ""
set prompt [join $argv " "]