-
Install X11.app (it's on the OS X install disk or something.)
-
Install
dwm
. You have to customizeconfig.h
a bit:- Replace
{ MODKEY|ShiftMask, XK_q, quit, {0} },
with{ MODKEY|ControlMask, XK_q, quit, {0} },
to avoid colliding with the Log Out shortcut in the Apple menu.
If you install
dwm
from Homebrew,brew install dwm
, this is done automatically. - Replace
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
@echo off | |
set /p domain="Enter Domain: " | |
set OPENSSL_CONF=../conf/openssl.cnf | |
if not exist .\%domain% mkdir .\%domain% | |
set dir="%cd%" | |
cd ..\php | |
..\php\extras\openssl\openssl.exe req -config %dir%\cert.conf -new -sha256 -newkey rsa:2048 -nodes -keyout %dir%\%domain%\server.key -x509 -days 365 -out %dir%\%domain%\server.crt |
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 | |
/** | |
* @title Soft File to License Scheme | |
* @path application/default/plugins/misc/softsalefile-to-license.php | |
*/ | |
class Am_Plugin_SoftsalefileToLicense extends Am_Plugin | |
{ | |
const PLUGIN_STATUS = self::STATUS_PRODUCTION; |
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 | |
// database table to be exported | |
$db_table = 'XXXXXXXXX'; | |
// optional where query | |
$where = 'WHERE 1 ORDER BY 1'; | |
// filename for export | |
$csv_filename = 'db_export_'.$db_table.'_'.date('Y-m-d').'.csv'; | |
// database variables | |
$hostname = "localhost"; |
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 el = ( function () { | |
var doc = document; | |
var directProperties = { | |
'class': 'className', | |
className: 'className', | |
defaultValue: 'defaultValue', | |
'for': 'htmlFor', | |
html: 'innerHTML', |
-
Install X11.app (it's on the OS X install disk or something.)
-
Install
dwm
. You have to customizeconfig.h
a bit:- Replace
{ MODKEY|ShiftMask, XK_q, quit, {0} },
with{ MODKEY|ControlMask, XK_q, quit, {0} },
to avoid colliding with the Log Out shortcut in the Apple menu.
If you install
dwm
from Homebrew,brew install dwm
, this is done automatically. - Replace