Open ssl.conf in a text editor.
Edit the domain(s) listed under the [alt_names] section so that they match the local domain name you want to use for your project, e.g.
DNS.1 = my-project.dev
Additional FQDNs can be added if required:
| #!/bin/bash | |
| #============================================================================== | |
| #TITLE: mysql_backup.sh | |
| #DESCRIPTION: script for automating the daily mysql backups on development computer | |
| #AUTHOR: tleish | |
| #DATE: 2013-12-20 | |
| #VERSION: 0.4 | |
| #USAGE: ./mysql_backup.sh | |
| #CRON: | |
| # example cron for daily db backup @ 9:15 am |
I will maybe someday get around to dusting off my C and making these changes myself unless someone else does it first.
Imagine a long-running development branch periodically merges from master. The
git log --graph --all --topo-order is not as simple as it could be, as of git version 1.7.10.4.
It doesn't seem like a big deal in this example, but when you're trying to follow the history trails in ASCII and you've got several different branches displayed at once, it gets difficult quickly.
| (setq url-gateway-method 'socks) | |
| (setq socks-server '("Default server" "127.0.0.1" 1080 5)) |
| (defun coder/go-guru-set-current-package-as-main () | |
| "GoGuru requires the scope to be set to a go package which | |
| contains a main, this function will make the current package the | |
| active go guru scope, assuming it contains a main" | |
| (interactive) | |
| (let* ((filename (buffer-file-name)) | |
| (gopath-src-path (concat (file-name-as-directory (go-guess-gopath)) "src")) | |
| (relative-package-path (directory-file-name (file-name-directory (file-relative-name filename gopath-src-path))))) | |
| (setq go-guru-scope relative-package-path))) |
| ${GOPATH//://bin:}/bin |
| log_generic () { | |
| priority="$1" | |
| shift | |
| msg="`date +'%y%m%d %H:%M:%S'` mysqld_safe $*" | |
| echo "$msg" | |
| case $logging in | |
| init) ;; # Just echo the message, don't save it anywhere | |
| file) | |
| if [ -w / -o "$USER" = "root" ]; then |
Hibernate documentation - https://docs.jboss.org/hibernate/core/4.2/devguide/en-US/html/ch16.html#d5e4669
Multi-Tenant Data Architecture - http://msdn.microsoft.com/en-us/library/aa479086.aspx
Hibernate: Discriminator based multi tenancy using filter? - http://stackoverflow.com/questions/12894357/hibernate-discriminator-based-multi-tenancy-using-filter
Manage Connection Pooling in multi-tenant web app with Spring, Hibernate and C3P0 - http://stackoverflow.com/questions/21223894/manage-connection-pooling-in-multi-tenant-web-app-with-spring-hibernate-and-c3p
Using Hibernate to Implement Multi-tenant Cloud Architecture - http://www.devx.com/Java/Article/47817
Tired of waiting for emacs to start on OS X? This step by step guide will
teach you how to install the latest version of emacs and configure it to start
in the background (daemon mode) and use emacsclient as your main editor.
First you'll need to install the [Homebrew package manager][brew] if yo haven't already. It is amazing.
| function e() { | |
| if [ -z `pgrep Emacs` ]; then | |
| env LANG=C open -a Emacs "$@" | |
| return | |
| fi | |
| local client="/Applications/MacPorts/Emacs.app/Contents/MacOS/bin/emacsclient" | |
| local uid=`id -u` | |
| local socket="$TMPDIR"/emacs"$uid"/server |