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
gi () { | |
local cmd=$1 | |
shift 1 | |
cmd=$(echo $cmd | sed -e 's/^t//') | |
git $cmd $@ | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
SELECT | |
* | |
FROM ( | |
SELECT | |
ROW_NUMBER() OVER (ORDER BY last_name asc) AS RowNum, | |
phppos_people.*, | |
phppos_employees.username, | |
phppos_employees.deleted | |
FROM phppos_people | |
JOIN phppos_employees ON |
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
/*jslint plusplus: true, continue: true */ | |
/*global define: false, alert: false */ | |
function trimString(str) { | |
'use strict'; | |
str = str.replace(/^\s\s*/, ''); | |
var ws = /\s/, | |
i = str.length; | |
while (ws.test(str.charAt(--i))); | |
return str.slice(0, i + 1); | |
} |
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/themes/comporium/js/sales.js b/themes/comporium/js/sales.js | |
index 95e84f6..3c47286 100644 | |
--- a/themes/comporium/js/sales.js | |
+++ b/themes/comporium/js/sales.js | |
@@ -201,10 +201,15 @@ var init = function ($, Complete, Cart, queue) { | |
this.registerEvents(); | |
$('script[type="text/underscore-template"]').forEach(function (t) { | |
- var pn = $(t).parent(), | |
+ var parNo = t.parentNode, |
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
module TestSDL where | |
import qualified Graphics.UI.SDL.General as SDLG | |
import Graphics.UI.SDL.Joystick (countAvailable, tryName) | |
main = do | |
SDLG.init [SDLG.InitJoystick] | |
name <- tryName 0 | |
case name of |
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
JobQueue.prototype.nextJob = function () { | |
var that = this; | |
match(this.queue.shift(), { | |
'string': function (url) { | |
$.ajax(url, function () { | |
that.nextJob(); | |
}); | |
}, | |
'function': function (callback) { | |
callback(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
/*jslint browser: true, regexp: true */ | |
/*global define: false */ | |
define(['require'], function (require) { | |
'use strict'; | |
return { | |
init: 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
################################################################# | |
################################################################# | |
# | |
# This is a sample Capistrano deployment recpie for use with | |
# deploying PHP applications. For more information please visit: | |
# | |
# http://www.lengelzigich.com | |
# http://www.capify.org |
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
NameVirtualHost *:80 | |
Include conf.d/vihosts.d/*.conf | |
<VirtualHost *:80> | |
ServerName cashier-dev.comporium.com | |
ServerAlias * | |
DocumentRoot /var/ww/cashier/current | |
DirectoryIndex index.php index.html | |
<Directory "/var/www/cashier/current"> |