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
# start.sh | |
osascript -e 'tell application "System Events" to key code 144 using command down' | |
echo "--- Target Display Mode Started......." | |
blueutil off | |
echo "--- iMac Bluetooth off..." | |
exit |
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
# imac target display mode function | |
alias imac='function _imac(){ | |
if [ $1 = "start" ]; then | |
echo "--- MacBook Bluetooth on..."; | |
blueutil on; | |
sleep 1; | |
echo "--- Connecting to iMac via ssh..."; | |
ssh -2 -p 22 aaronrutley@aaronimac.local sh ~/tdm/start.sh; | |
fi |
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
<div class="image-gallery-container gallery-7-up"> | |
<div class="image image-1-of-7"><!-- image here --></div> | |
<div class="image image-2-of-7"><!-- image here --></div> | |
<div class="image image-3-of-7"><!-- image here --></div> | |
<div class="image image-4-of-7"><!-- image here --></div> | |
<div class="image image-5-of-7"><!-- image here --></div> | |
<div class="image image-6-of-7"><!-- image here --></div> | |
<div class="image image-7-of-7"><!-- image here --></div> | |
</div> |
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
.gallery-7-up { | |
.image-1-of-7 { | |
@include gallery_grid($whole,$third,$third); | |
} | |
.image-2-of-7, .image-3-of-7 { | |
@include gallery_grid($half,$third,$third); | |
} | |
.image-4-of-7, .image-5-of-7, .image-6-of-7, .image-7-of-7 { | |
@include gallery_grid($half,$quater,$quater); | |
} |
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
osascript -e ' | |
set vagrantDir to "project-name-here" | |
set themeName to "theme-name-here" | |
tell app "iTerm" | |
activate | |
tell the first terminal |
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
#start = run start.sh script | |
alias start='sh start.sh' |
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
<a href="<?php echo social_share_link("facebook"); ?>" class="facebook">Facebook</a> | |
<a href="<?php echo social_share_link("linkedin"); ?>" class="linkedin">LinkedIn</a> | |
<a href="<?php echo social_share_link("twitter"); ?>" class="twitter">Twitter</a> |
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
// Placehoder selector for social share icon style | |
%social_share_icon_style { | |
width:20px; | |
line-height: 35px; | |
text-align:center; | |
font-size:em(20); | |
transition: color .5s; | |
margin-left:5px; | |
} |
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
# git status | |
alias gs='function _gs(){ | |
tput bold tput setaf 6 | |
echo "-- git status" | |
git status -s; | |
};_gs' | |
#git push | |
alias gp ='git push' |