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
Can I use a single license on more than one Mac? | |
VMware Fusion for personal use: | |
You may install and use VMware Fusion for personal, non-commercial use on any Apple-branded products running Mac OS X ("Mac Computer") that you own or control. | |
VMware Fusion for commercial use: | |
If you are a commercial enterprise or educational institution, you may install and use the Software on a number of Apple-branded products running Mac OS X ("Mac Computer") that you own or control equal to the number of licenses purchased. Installing and using the Software on multiple Mac Computers with a single license is prohibited even if the computers are not running the Software concurrently. | |
- See more at: https://www.vmware.com/support/fusion/faq/licensing.html#sthash.e7LmreWK.dpuf |
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
$ ./site build | |
Initialising... | |
Creating store... | |
Creating provider... | |
Running rules... | |
Checking for out-of-date items | |
Compiling | |
cached templates/page.html | |
cached templates/default.html | |
cached about.markdown |
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
if [ ! ${#} -eq 2 ]; then | |
echo "Usage: ${0} deploy_20130101.txt (APPROVED|PENDING|FAILED)" | |
exit 1 | |
fi | |
DEPLOY_FILE=${1} | |
STATUS=${2} | |
i=0 | |
lines=$(wc -l ${DEPLOY_FILE} | awk '{print $1}') |
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 | |
# In order for this parser to work, the file needs to be structured with | |
# tickets like the following: | |
# | |
# 12345678 - Some ticket title | |
# Action: UAT Needed. | |
# State: (APPROVED|PENDING|FAILED) | |
# Pivotal: https://www.pivotaltracker.com/s/projects/745189/stories/12345678 | |
# Github: https://github.com/copious/Zumiez.com/pull/123 |
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
a:5:{i:0;s:39:"Invalid entity_type specified: customer";i:1;s:5450:"#0 /var/www/www.zumiez.com/releases/32f7b47215f6ab52a8ef92cdee30115ede948256/app/code/core/Mage/Eav/Model/Config.php(328): Mage::throwException('Invalid entity_...') #1 /var/www/www.zumiez.com/releases/32f7b47215f6ab52a8ef92cdee30115ede948256/app/code/core/Mage/Eav/Model/Entity/Abstract.php(276): Mage_Eav_Model_Config->getEntityType('customer') #2 /var/www/www.zumiez.com/releases/32f7b47215f6ab52a8ef92cdee30115ede948256/app/code/core/Mage/Customer/Model/Resource/Customer.php(42): Mage_Eav_Model_Entity_Abstract->setType('customer') #3 /var/www/www.zumiez.com/releases/32f7b47215f6ab52a8ef92cdee30115ede948256/app/code/local/Mage/Core/Model/Config.php(1361): Mage_Customer_Model_Resource_Customer->__construct(Array) #4 /var/www/www.zumiez.com/releases/32f7b47215f6ab52a8ef92cdee30115ede948256/app/code/local/Mage/Core/Model/Config.php(1393): Mage_Core_Model_Config->getModelInstance('customer_resour...', Array) #5 /var/www/www.zumiez.com/releases/32f |
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
if settings.POST_URL_TITLES: | |
head = requests.head(url) | |
content_type = head.headers['content-type'].split(' ')[0].strip(';') | |
if content_type == 'text/html': | |
request = requests.get(url) | |
soup = BeautifulSoup(request.text) | |
parser = HTMLParser() | |
title = soup.title.string | |
title = parser.unescape(title) | |
self.send('Link title: %s' % title, data) |
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 | |
touch -r backup.sql backup.sql.marker | |
while :; | |
do | |
if [[ -n $(find . -name *.sql -newer backup.sql.marker) ]]; | |
then | |
echo "Backup finished at $(date)" | mailx -s 'New Backup' [email protected] | |
break | |
fi |
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
CONNECTIONS = { | |
'freenode': { | |
'host': 'irc.freenode.net', | |
'port': 6667, | |
'retries': 5, | |
'password': None, | |
'nicks': ['tenyks', 'tenyks_'], | |
'ident': 'tenyks', | |
'realname': 'tenyks IRC bot', | |
'commands': ['/msg nickserv identify foo bar'], |
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
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/gevent-0.13.8-py2.7-linux-x86_64.egg/gevent/greenlet.py", line 390, in run | |
result = self._run(*self.args, **self.kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/tenyks_contrib-0.1.26-py2.7.egg/tenykslinkscraper/main.py", line 42, in handle_link_posted | |
headers={'content-type': 'application/json'}) | |
File "/usr/local/lib/python2.7/dist-packages/requests-1.2.3-py2.7.egg/requests/api.py", line 88, in post | |
return request('post', url, data=data, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/requests-1.2.3-py2.7.egg/requests/api.py", line 44, in request | |
return session.request(method=method, url=url, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/requests-1.2.3-py2.7.egg/requests/sessions.py", line 335, in request |
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
$ lsblk -f | |
NAME FSTYPE LABEL UUID MOUNTPOINT | |
sda | |
└─sda1 | |
sdb | |
├─sdb1 ext2 d5d6e9bb-00e4-4c36-9368-fc956a127bff /boot | |
└─sdb2 crypto_LUKS 6d69874d-1636-4885-9204-c5df79b3cf05 | |
└─sdb2-crypt LVM2_member IlhbJQ-w4qY-VIuZ-U5L5-CzOD-2Ph6-jthlva | |
├─insomnia--vg-swap swap a754ed9c-cac8-4585-a74c-55c5f4a63e2d | |
└─insomnia--vg-root ext4 1f0f06b1-d5c2-49a3-8327-c4f64b7df51a / |