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
[richard:~/tmp] $ tsc -p . |
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
from phusion/passenger-ruby19 | |
ENV HOME=/root TZ="America/Boise" | |
entrypoint ["/sbin/my_init", "--"] | |
RUN apt-get update && apt-get install -y openjdk-7-jre \ | |
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone \ | |
&& rm -f /etc/service/nginx/down \ | |
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*a \ |
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
default menu.c32 | |
prompt 0 | |
timeout 300 | |
ONTIMEOUT local | |
MENU TITLE PXE Menu | |
LABEL local | |
MENU LABEL Boot local hard drive | |
LOCALBOOT 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
/* | |
* base64.cpp | |
* | |
*/ | |
#include "APITypes.h" | |
#include <string.h> | |
#include "precompiled_headers.h" | |
#include "base64.h" |
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
import hashlib | |
import os | |
from Crypto.PublicKey import RSA | |
KEYSIZE = 1024 | |
# Generate an RSA key | |
rsakey = RSA.generate(KEYSIZE, os.urandom) |
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
define(['base/BaseView', 'underscore', | |
'_tpl!./tpl/CustomReport.jst'], function(BaseView, _, tpl) { | |
var CustomReportView = BaseView.extend({ | |
events: { | |
}, | |
render: function() { | |
var self = this; |
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 <boost/make_shared.hpp> | |
#include <boost/process.hpp> | |
#include <boost/assign/list_of.hpp> | |
#include <boost/shared_array.hpp> | |
#include "logging.h" | |
#include "BrowserPlugin.h" | |
#include <json/json.h> | |
#include "ImageFileLoader.h" | |
#include <boost/date_time/posix_time/posix_time.hpp> | |
#include <boost/filesystem.hpp> |
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
{ | |
// Settings | |
"passfail" : false, // Stop on first error. | |
"maxerr" : 100, // Maximum errors before stopping. | |
// Predefined globals whom JSHint will ignore. | |
"browser" : true, // Standard browser globals e.g. `window`, `document`. | |
"node" : false, // This would let through things that break IE |
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
#!/bin/bash | |
pushd /home/richard/sites/firebreath/firebreath-dev | |
git pull | |
echo "Running doxygen" | |
./doxygen/gen.sh > /dev/null | |
pushd docs | |
pushd html | |
for fl in *.html; do | |
grep $fl * > /dev/null | |
if (( $? )); then |
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
/*global requirejs*/ | |
requirejs.config({ | |
shim: { | |
"bootstrap/js/bootstrap-affix": ["jquery"], | |
"bootstrap/js/bootstrap-transition": ["bootstrap/js/bootstrap-affix"], | |
"bootstrap/js/bootstrap-alert": ["bootstrap/js/bootstrap-transition"], | |
"bootstrap/js/bootstrap-button": ["bootstrap/js/bootstrap-alert"], | |
"bootstrap/js/bootstrap-collapse": ["bootstrap/js/bootstrap-button"], | |
"bootstrap/js/bootstrap-dropdown": ["bootstrap/js/bootstrap-collapse"], | |
"bootstrap/js/bootstrap-modal": ["bootstrap/js/bootstrap-dropdown"], |