- Xcode
- Homebrew
- Sequel Pro
- iTerm2
- Git
- Virtualbox
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 | |
# Script for placing sudoers.d files with syntax-checking | |
# Making a temporary file to contain the sudoers-changes to be pre-checked | |
TMP=$(mktemp -t vagrant_sudoers) | |
cat /etc/sudoers > $TMP | |
cat >> $TMP <<EOF | |
# Allow passwordless startup of Vagrant when using NFS. | |
Cmnd_Alias VAGRANT_EXPORTS_ADD = /usr/bin/su root -c echo '*' >> /etc/exports |
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
<!-- Text Box --> | |
<div class="form-item form-text"> | |
<label for="text">Label</label> | |
<input type="text" name="text" id="text"/> | |
<span class="css-tooltip css-tooltip-top">Lorem ipsum dolor sit amet</span> | |
</div> | |
<!-- Check Box --> | |
<div class="form-item form-check"> | |
<label for="check" class="label">Label</label> |
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
Python | |
====== | |
>>> status_id = int(184846323277770752) | |
>>> timestamp = (status_id >> 22) | |
>>> print timestamp | |
44070797748 | |
>>> timestamp = (status_id >> 22) + 1288834974657 | |
>>> print timestamp | |
1332905772405 |
NewerOlder