start new:
tmux
attach:
tmux a (#) (or at, or attach)
#!/bin/sh | |
# Use git to push to deploy (aka git push to prod) | |
# Use 'git push remote master' to push to deploy | |
# This script only deploys on pushes to master. | |
# | |
# HOWTO: | |
# On your server to deploy, create a bare git directory | |
# (somewhere like /var/git/<gitProject>) | |
# Your depoly directory (like /var/www) should be somewhere other than your git repo. |
After installing, make sure the permissions are proper | |
sudo chmod -R g+w storage/ | |
sudo chown -R :www-data storage/ | |
Then modify the .htaccess file under yourProjectName/public/.htaccess | |
RewriteBase /yourProjectName/ | |
Then add an alias to the Apache conf | |
Alias /yourProjectName /var/www/whatever/yourProjectName/public |
Verifying that +zachcollier is my blockchain ID. https://onename.com/zachcollier |
Verifying that +zamicol is my blockchain ID. https://onename.com/zamicol |
gox -output="bin/{{.Dir}}_{{.OS}}_{{.Arch}}" -os="linux windows" |
sudo tcpdump -i lo0 -s 0 -A | |
//lo0 is interface (ifconfig to see what your "localhost" interface is) | |
//-A to print packets in ASCII |
var originalXhr; //Before jquery does it's processing. | |
$.ajax({ | |
type: "POST", | |
url: link, | |
xhr: function () { | |
originalXhr = jQuery.ajaxSettings.xhr(); | |
return originalXhr; | |
}, | |
data: value, |
function initSelect2() { | |
$('.select2picker').select2({ | |
ajax: { | |
url: "", //put the RUL here. | |
dataType: 'json', | |
delay: 50, | |
data: function(params) { // Build the search URL | |
return { | |
filter: params.term // Search term, in this case "filter". |