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
<h1>OUTSIDE RAW</h1> | |
hello testy | |
My email is {{ user.email }} | |
My name is {{ user.name }} | |
{% raw %} | |
{% raw %} | |
<h1>RAW</h1> | |
{% endraw %} | |
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
kubectl version | |
VBoxManage -version | |
rm ~/Library/VirtualBox/HostInterfaceNetworking-vboxnet*-Dhcpd.leases | |
minikube start --memory 8192 --disk-size 200g --cpus 4 --vm-driver=virtualbox | |
minikube ssh "docker run --rm --net=host -v /var/lib/minikube:/var/lib/minikube:ro sectionio/section-init" | |
minikube service -n section-shared developer-pop & | |
eval $(minikube docker-env) | |
docker image ls | |
minikube dashboard & |
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
# login to http://10.211.55.100:7180 | |
# swappiness needs to be fixed, its set to 60, should be less than 10 | |
# vagrant plugin install vagrant-hostmaster | |
# also cachier, this can bork | |
$master_script = <<SCRIPT | |
#!/bin/bash | |
apt-get install curl -y | |
REPOCM=${REPOCM:-cm5} |
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
# deis install | |
clear | |
sudo apt-get remove --purge openssh-server avahi-daemon | |
sudo mv /var/run/avahi-daemon /var/run/avahi-daemon_bak | |
sudo apt-get remove --purge openssh-server avahi-daemon | |
clear | |
sudo apt-get install fail2ban python-software-properties curl apt-transport-https -y | |
sudo reboot now | |
cd /home/niccolox/Projects/deis/deisvagrant | |
cd deis |
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
## openenterprise.make | |
## | |
; To generate with Drush make, copy this file to e.g. stub.make | |
; and enter in your shell / command line: | |
; drush make --prepare-install stub.make folder_of_your_site | |
core = 7.x | |
api = 2 |
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
# nutch hdfs clean | |
echo "clean nutch solr hdfs temp" | |
#!/bin/bash | |
sudo -u hdfs hadoop fs -rm -R -skipTrash /user/pseudo/nutch/crawls | |
sudo -u hdfs hadoop fs -rm -R -skipTrash /user/hdfs/generate* | |
sudo -u hdfs hadoop fs -rm -R -skipTrash /user/hdfs/inject* | |
sudo -u hdfs hadoop fs -rm -R -skipTrash /user/hdfs/link* | |
sudo -u hdfs hadoop fs -rm -R -skipTrash /user/hdfs/tmp* | |
sudo -u hdfs hadoop fs -rm -R -skipTrash /user/hdfs/.staging/job* | |
curl http://searcher.server.ltd:8088/solr/somesolr/update?stream.body=%3Cdelete%3E%3Cquery%3E*:*%3C/query%3E%3C/delete%3E |
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
148 user@mean:~/mean⟫ history | cut -c 8- | |
cd ~/scripts | |
sudo chmod +x precise-desktop-tweaks.sh | |
sudo ./precise-desktop-tweaks.sh | |
mkdir ~/scripts | |
cd scripts | |
ls -alh | |
sudo nano /etc/hosts | |
sudo nano /etc/hostname | |
hostname -a |
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
# Drupal Commerce Kickstart | |
echo "Drupal Commerce Kickstart: commerce-7.x-2.9-7.23.3" | |
sudo mkdir /home/drupalpro/websites/commerce.dev | |
sudo cp -far /home/drupalpro/Desktop/shared/boa213platforms/commerce/commerce-7.x-2.9-7.23.3 /home/drupalpro/websites/ | |
sudo mv /home/drupalpro/websites/commerce-7.x-2.9-7.23.3 /home/drupalpro/websites/commerce.dev | |
sudo cp /home/drupalpro/websites/commerce.dev/sites/default/default.settings.php /home/drupalpro/websites/commerce.dev/sites/default/settings.php | |
sudo mkdir /home/drupalpro/websites/commerce.dev/sites/default/files | |
sudo chown -R drupalpro:www-data /home/drupalpro/websites/commerce.dev | |
sudo chmod -R 755 /home/drupalpro/websites/commerce.dev | |
drush qc install --domain=commerce.dev dns apache database --codepath=/home/drupalpro/websites/commerce.dev --profile=commerce_kickstart |
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
#!/bin/bash | |
# to dos | |
# 1. remove existing sites from existing platforms | |
# i.e. works best on a clean install | |
# 2. generalize for regex of platforms? | |
# 3 all platforms? | |
echo "Aegir BOA 213 to Drupalpro Shared Folder" | |
echo "This is where it starts" |
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
## WARNING - this one needs some major love | |
sudo apt-get --purge remove byobu | |
sudo apt-get install openssh-server openssh-client | |
sudo apt-get install python-software-properties | |
sudo apt-get install apt-show-versions | |
sudo apt-get -f install | |
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python | |
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.660_all.deb | |
sudo dpkg --install webmin_1.660_all.deb | |
cd ~/Downloads |
NewerOlder