This file contains hidden or 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
<h1>{{model.message}}</h1> |
This file contains hidden or 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
# Personality & Interest | |
* Describe how you collaborate with designers, other developers, and managers on a project. | |
* What was the last design/development book you read, and what did you think about it? | |
* Which development frameworks have you explored, and what did you think about them? | |
* Tell me about a site where you witnessed a standout example of good/bad user experience. What would you have done differently? | |
* What are some of the design/development blogs you read on a regular basis? What do you like about them? | |
* Describe your ideal colleagues and managers. | |
# Technical Skills |
This file contains hidden or 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
anglar.module('myApp',['ui']).config(["$provide", function($provide) { | |
return $provide.decorator("$http", ["$delegate", function($delegate) { | |
var get = $delegate.get; | |
$delegate.get = function(url, config) { | |
// Check is to avoid breaking AngularUI ui-bootstrap-tpls.js: "template/accordion/accordion-group.html" | |
if (url.indexOf('template/')) { | |
// Append ?v=[cacheBustVersion] to url | |
url += (url.indexOf("?") === -1 ? "?" : "&"); | |
url += "v=" + cacheBustVersion; | |
} |
This file contains hidden or 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
var app = angular.module('plunker', []); | |
app.controller('MainCtrl', function($scope, $timeout) { | |
$scope.save = function(){ | |
$scope.loading = true; | |
$timeout(function(){ | |
$scope.loading = false; | |
}, 3000); | |
}; |
This file contains hidden or 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
<?php | |
$directory = "/home/gmilby/dev-15"; | |
class recursive_scan{ | |
private $directory; | |
private $current_location = array(); | |
/** |
This file contains hidden or 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
start on runlevel [2345] | |
stop on runlevel [06] | |
exec /path/to/start.sh |
This file contains hidden or 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
// Generate a random example spline and fancy visualization to help see what the plugin is doing | |
DEMO = { | |
showWaypoints: true, | |
showTrail: false | |
}; | |
DEMO.run = function() { | |
var minX = 200; | |
var minY = 200; |
This file contains hidden or 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
#!/sw/php/bin/php | |
<?php | |
$file = __FILE__; | |
$filename = basename($file); | |
$instances = `ps -Af | grep 'php .*$filename' | grep -v 'grep' | wc -l`; | |
$instances = intval(trim($instances)); | |
if($instances > 1) | |
{ | |
print "$filename is already running! ($instances)\n##ScriptDashStatus=-2\n"; |
This file contains hidden or 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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
<title></title> | |
<meta name="DESCRIPTION" content="Convert Unix time to a readable date"> | |
<meta name="KEYWORDS" content="unix, UT, GMT, seconds, epoch, milliseconds"> | |
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> | |
function timeToHuman() { | |
var theDate = new Date(document.u2h.timeStamp.value * 1000); |