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
find . -type f -iname "*.ext1" -exec bash -c 'mv "$0" "${0%}.ext2"' {} \; |
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
# Back up SQL | |
# =========== | |
# dump_db.sh (chmod 0700) | |
# Format in any preferable way, see: | |
# http://www.cyberciti.biz/faq/linux-unix-formatting-dates-for-display/ | |
# %a is weekday Mon-Sun, %H is hour 00-24 | |
timestamp() { | |
date +"%a_%H" |
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
<form id="mc-form" action="#" class=""> | |
<div id="mc-input-container"> | |
<input name="EMAIL" class="" type="email" placeholder="Your email" required> | |
<input id="mc-form-submit" class="mc-input-submit" type="submit" value="Submit"> | |
</div> | |
<div style="display: none;" id="mc-form-success" class=""> | |
Success! To finish your subscription go to your inbox and confirmation the confirmation message sent to you. | |
</div> | |
<div style="display: none;" id="mc-form-error" class=""> | |
Error! |
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
// Invert mouse y-axis and reduce taskbar height | |
Vector2 mousePos = Event.current.mousePosition; | |
mousePos.y = Screen.height - 35 - mousePos.y; | |
// Raycast | |
Ray ray = Camera.current.ScreenPointToRay(mousePos); |
NewerOlder