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
[extdiff] | |
cmd.smarts = C:\Program Files (x86)\SmartSynchronize\bin\smartsynchronize.exe | |
[merge-tools] | |
smarts.args = $local $other $base | |
smarts.executable= C:\Program Files (x86)\SmartSynchronize\bin\smartsynchronize.exe | |
smarts.priority = 1000 | |
smarts.premerge=False | |
smarts.checkconflict=True | |
smarts.binary=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
class saver: | |
state = 0 | |
def __init__(self, start): | |
self.state = start | |
def __call__(self, additional): | |
self.state += additional | |
return self.state | |
acc = saver(10) |
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
[user] | |
# Please adapt and uncomment the following lines: | |
name = username | |
email = email | |
[alias] | |
st = status | |
co = checkout | |
ci = commit | |
br = branch |
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 getXmlHttp(){ | |
var xmlhttp; | |
try { | |
xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); | |
} catch (e) { | |
try { | |
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); | |
} catch (E) { | |
xmlhttp = false; | |
} |
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
Show hidden characters
{ | |
// Show brackets in the minimap. | |
// Depending on your highlight style, regions may not be visible in minimap. | |
// "underline" won't show up due to it being a style consisting of | |
// multiple zero width selections to create a fat underline. | |
// But the following styles should show up fine as they are normal regions styles: | |
// - thin_underline | |
// - solid | |
// - outline | |
// - squiggly |
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
^some_folder/(?!\.keep).+$ |
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
ssh-add ~/.ssh/id_rsa |
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
body { | |
font-family: "Times New Roman", Helvetica, arial, sans-serif; | |
font-size: 14pt; | |
line-height: 1.5; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; | |
padding: 30px; } | |
body > *:first-child { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>AJAX on jQuery Example</title> | |
</head> | |
<body> | |
<script type="text/javascript" src="https://code.jquery.com/jquery-1.7.2.min.js"></script> | |
<script type="text/javascript"> | |
jQuery.ajax({ | |
url: '/some_page', |
OlderNewer