I hereby claim:
- I am sampohaavisto on github.
- I am sampohaavisto (https://keybase.io/sampohaavisto) on keybase.
- I have a public key ASAxQEWFweob4LuwNB2LNf853kbGeIbSGkZr_cb2QU--AQo
To claim this, I am signing this object:
// 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); |
<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! |
# 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" |
find . -type f -iname "*.ext1" -exec bash -c 'mv "$0" "${0%}.ext2"' {} \; |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Process: GuitarPro7 [16932] | |
Path: /Applications/Guitar Pro 7.app/Contents/MacOS/GuitarPro7 | |
Identifier: com.arobas-music.guitarpro7 | |
Version: 7.0.5.699 (7.0.5.699) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: GuitarPro7 [16932] | |
User ID: 501 | |
Date/Time: 2017-08-14 10:06:16.919 +0300 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# (should not be run as shell script, the steps take so long) | |
# Restore/change AWS S3 files from Glacier storage class to STANDARD or STANDARD_IA and copy them in-place to get non-expiring ones | |
# There wasn't any instructions on how to do this easily so I decided to write them. | |
# In case you screw things up with lifecycle options etc. | |
# Procedure might take a while if you have many many files. | |
# There are three steps: |
I hereby claim:
To claim this, I am signing this object:
repeat() { | |
echo Repeating \"$1\" for every $2 sec | |
while true | |
do | |
eval $1 | |
if [ -n $2 ]; then | |
sleep $2 | |
else | |
sleep 5 |