npm install forever -g
forever --help
forever start app.js
| --- openvpn-2.2.2.orig/options.c 2011-12-14 00:58:56.000000000 +0800 | |
| +++ openvpn-2.2.2/options.c 2012-12-21 10:44:57.683130505 +0800 | |
| @@ -54,6 +54,10 @@ | |
| #include "memdbg.h" | |
| +extern char* _socket_obfs_salt; | |
| +extern int _socket_obfs_salt_len; | |
| +extern int _socket_obfs_padlen; | |
| + |
| <?php | |
| //where you want your thumbnails to go | |
| $thumbs_dir = 'uploads/thumbs/'; | |
| //this should be an array of video paths | |
| $videos = array(); | |
| if( $_POST["name"] ){ | |
| // Grab the MIME type and the data with a regex for convenience | |
| if (!preg_match('/data:([^;]*);base64,(.*)/', $_POST['data'], $matches)) { |
| angular.module('myApp').directive('addthisToolbox', ['$timeout', function($timeout) { | |
| return { | |
| restrict : 'A', | |
| transclude : true, | |
| replace : true, | |
| template : '<div ng-transclude></div>', | |
| link : function($scope, element, attrs) { | |
| $timeout(function () { | |
| addthis.init(); | |
| addthis.toolbox($(element).get(), {}, { |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| CREATE OR REPLACE FUNCTION public.json_append(data json, insert_data json) | |
| RETURNS json | |
| IMMUTABLE | |
| LANGUAGE sql | |
| AS $$ | |
| SELECT ('{'||string_agg(to_json(key)||':'||value, ',')||'}')::json | |
| FROM ( | |
| SELECT * FROM json_each(data) | |
| UNION ALL | |
| SELECT * FROM json_each(insert_data) |
| (function() { | |
| "use strict"; | |
| angular.module("editableModule", ['ng']).directive("editable", function($timeout) { | |
| return { | |
| restrict: "AE", | |
| scope: true, | |
| require:"ngModel", | |
| link: function(scope, element, attrs, ngModel) { | |
| element.editable({ |
Note: probably 99% of this tutorial (excluding installation and folder structure) is DOSBox- and not Mac-specific. As long as your computer can run DOSBox you should be able to convert the steps to work on Windows.
DOS apps don't run natively on OS X, so we use DOSBox to emulate DOS for us.
Navigate to the official DOSBox download page