This file contains 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
F:\Downloads\ $ VirtualBox-5.0.10-104061-Win.exe -msiparams NETWORKTYPE=NDIS5 |
This file contains 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
sudo systemctl status smbd.service | |
sudo systemctl restart smbd.service |
This file contains 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
# http://superuser.com/questions/334800/lang-c-is-in-a-number-of-the-etc-init-d-scripts-what-does-lang-c-do-and-why | |
export LANG=C |
This file contains 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
* Go to parent of web dir | |
* ``laravel new mathaffirm`` | |
* ``cd mathaffirm/`` | |
* `` composer install`` | |
* git clone https://github.com/RobCranfill/ma.git |
This file contains 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
In /etc/apache2/apache2.conf | |
# change allowoverride none to all | |
<Directory /var/www/> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> |
This file contains 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
# 'source' this file to incorporate the aliai in your shell env | |
alias hadown='sudo systemctl stop home-assistant@homeassistant' | |
alias halogin='sudo su -s /bin/bash homeassistant' | |
alias harestart='sudo systemctl restart home-assistant@homeassistant' | |
alias hastatus='sudo systemctl status home-assistant@homeassistant'n | |
alias haup='sudo systemctl start home-assistant@homeassistant' | |
alias hawatch='tail -f /var/log/syslog | grep homeassistant' |
This file contains 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
To activate the environment, | |
sudo su -s /bin/bash homeassistant | |
source /srv/homeassistant/bin/activate | |
This file contains 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 | |
# [email protected] for Todd S | |
# uses 'xmlstarlet' to extract XML data to CSV | |
# fix input file - example | |
# sed 's/\x0d\xEF\xBB\xBF/\x0a/g' <ut-landmarks.gpx >ut-landmarks-good.gpx | |
# - will still have one ^M at start of file? | |
# rock art - this one is different |
This file contains 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 | |
# extract all zip files in parallel | |
find . -name "*zip" | parallel --jobs 8 --progress unzip {} -d {/.}.out |
This file contains 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
title: Chez Cran | |
views: | |
- path: default_view | |
title: Home | |
badges: | |
- person.rob | |
- sun.sun | |
cards: | |
- type: entities | |
title: Lights |
OlderNewer