Gradient shadow in pure CSS
HTML
<button>Let's Go !</button>
/* Paste this shit after the open head tag <head> */ | |
<script type="text/javascript"> | |
if (window.location.protocol != "https:") | |
window.location.protocol = "https"; | |
</script> |
gifify() { | |
if [[ -n "$1" ]]; then | |
if [[ $2 == '--good' ]]; then | |
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png | |
time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif | |
rm out-static*.png | |
else | |
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif | |
fi | |
else |
Tips from Quang Anh Do
I hereby claim:
To claim this, I am signing this object:
function __my_registration_redirect(){ | |
return home_url( '/my-page' ); | |
} | |
add_filter( 'registration_redirect', '__my_registration_redirect' ); |
global $wp_query; | |
var_dump($wp_query->query_vars); |
The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
// These options are just collected and didn't test yet. | |
// Option 01: | |
#import <QuartzCore/QuartzCore.h> | |
myMapView.layer.cornerRadius = 10.0; | |
// Option 02: | |
float scaleBy = 0.80; | |
MKMapView *mapView = [[[MKMapView alloc] initWithFrame:CGRectMake(-5, 0, 100/ scaleBy, 50/scaleBy)] autorelease]; | |
mapView.delegate=self; |