For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| @ECHO off | |
| REM =========================================================================== | |
| REM Sublime Text - Path and Right Click context menu | |
| REM Felipe Guedes - https://github.com/TheZoc | |
| REM https://gist.github.com/TheZoc/e3295df094801fa937596964499ac048 | |
| REM --------------------------------------------------------------------------- | |
| REM I've swapped my environment so many times recently, that I decided to write | |
| REM this overengineered solution to add Sublime Text 3 to the right click menu | |
| REM on Windows, and to add it to the current user PATH environment variable | |
| REM allowing `subl.exe` to be easily usable from command line. |
| #!/bin/sh | |
| # default samba .conf file | |
| SMB_CONF=/etc/samba/smb.conf | |
| # samba directory to store samba configuration files individually | |
| SMB_CONF_DIR=/etc/samba/smb.conf.d/ | |
| # first need to create individual .conf files with desired sambs configuration into path defined above | |
| # file which contains all includes to samba configuration files individually | |
| SMB_INCLUDES=/etc/samba/includes.conf | |
| # adds includes.conf file existance to smb.conf file |
| Disable vim automatic visual mode on mouse select | |
| issue: :set mouse-=a | |
| add to ~/.vimrc: set mouse-=a | |
| my ~/.vimrc for preserving global defaults and only changing one option: | |
| source $VIMRUNTIME/defaults.vim | |
| set mouse-=a |
| <?php | |
| /** | |
| * Studio 24 Application | |
| * | |
| * @category Studio 24 | |
| * @package S24_Application | |
| * @copyright Copyright (c) 2009-2010 Studio 24 Ltd (www.studio24.net) | |
| * @license http://framework.zend.com/license/new-bsd New BSD License | |
| * @author Simon R Jones <[email protected]> | |
| * @version 1.1 |
| /* | |
| In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
| server, but for some reason omit a client connecting to it. I added an | |
| example at the bottom. | |
| Save the following server in example.js: | |
| */ | |
| var net = require('net'); |
| <VirtualHost *:80> | |
| ServerAdmin [email protected] | |
| ServerName wordpress.local | |
| # Indexes + Directory Root. | |
| DirectoryIndex index.php index.html | |
| DocumentRoot /var/www/workspace/wordpress/ | |
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> |
| // Load the TCP Library | |
| net = require('net'); | |
| // Keep track of the chat clients | |
| var clients = []; | |
| // Start a TCP Server | |
| net.createServer(function (socket) { | |
| // Identify this client |