Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
Here's an example video I made
brew install ffmpeg --with-libvidstab
import Foundation | |
let tab = CharacterSet(charactersIn: "\t") | |
let newline = CharacterSet(charactersIn: "\n") | |
let fmt = DateFormatter() ; fmt.dateFormat = "YYYY-mm-DD" | |
let dateRanges = [ | |
(fmt.date(from: "2015-01-01"), fmt.date(from: "2016-01-01")), | |
(fmt.date(from: "2016-01-01"), fmt.date(from: "2017-01-01")), | |
(fmt.date(from: "2017-01-01"), fmt.date(from: "2018-01-01")), |
<?php | |
//* Please do NOT include the opening php tag, except of course if you're starting with a blank file | |
function custom_posts_where_sql_for_only_expired() { | |
return ' AND ' . EEM_Datetime::instance()->table() . '.DTT_EVT_end < "' . current_time( 'mysql', TRUE ) . '" | |
AND post_status = "publish"'; | |
} | |
add_action( 'loop_start', 'my_custom_event_view_only_expired' ); |
#include <ESP8266WiFi.h> | |
#include <ESP8266HTTPClient.h> | |
#define WIFI_SSID "yourssid" | |
#define WIFI_KEY "yourkey" | |
#define NOTIFY_URL "http://maker.ifttt.com/trigger/<eventname>/with/key/<yourkey>" | |
#define SECOND 1000 | |
#define QUARTER_SECOND 250 |
Examples here use the default settings, see the VidStab readme on GitHub for more advanced instructions.
Here's an example video I made
brew install ffmpeg --with-libvidstab
<?php | |
/** | |
* Function that will automatically update ACF field groups via JSON file update. | |
* | |
* @link http://www.advancedcustomfields.com/resources/synchronized-json/ | |
*/ | |
function jp_sync_acf_fields() { | |
// vars |
""" | |
This creates the following GIF, where the text appears to be "embedded" | |
in the video and "disappears" behind rapunzel. | |
http://i.imgur.com/gxEHfLX.gif | |
""" | |
from moviepy.editor import * | |
import numpy as np | |
import skimage.morphology as skm |
// by @itskathuria | |
NSURL *url = [NSURL URLWithString:@"http://hooks.events/hooks/post.php"]; | |
NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url]; | |
[request setHTTPMethod:@"POST"]; | |
[request setValue:@"application/x-www-form-urlencoded" forHTTPHeaderField:@"Content-Type"]; | |
NSString *apiKey = @"yourAPIKeyShouldGoHere"; | |
NSString *title = @"yourTitleShouldGoHere"; | |
NSString *message = @"yourMessageShouldGoHere"; | |
NSString *query = [NSString stringWithFormat:@"hooksTitle=%@&hooksMessage=%@&hooksApi=%@", title, message, apiKey]; |
<?php | |
class FacebookDebugger | |
{ | |
/* | |
* https://developers.facebook.com/docs/opengraph/using-objects | |
* | |
* Updating Objects | |
* | |
* When an action is published, or a Like button pointing to the object clicked, | |
* Facebook will 'scrape' the HTML page of the object and read the meta tags. |
// paulcode.com | |
// tidy-html5 config file (mine's named "tidy.conf") | |
// tidy documentation is here: http://tidy.sourceforge.net/#docs | |
// tidy-html5 documentation here: http://w3c.github.io/tidy-html5/quickref.html#drop-empty-elements | |
join-classes: no | |
logical-emphasis: no | |
drop-empty-elements: no | |
anchor-as-name: no | |
doctype: auto |
NOTE: Easier way is the X86 way, described on https://www.genymotion.com/help/desktop/faq/#google-play-services | |
Download the following ZIPs: | |
ARM Translation Installer v1.1 (http://www.mirrorcreator.com/files/0ZIO8PME/Genymotion-ARM-Translation_v1.1.zip_links) | |
Download the correct GApps for your Android version: | |
Google Apps for Android 6.0 (https://www.androidfilehost.com/?fid=24052804347835438 - benzo-gapps-M-20151011-signed-chroma-r3.zip) | |
Google Apps for Android 5.1 (https://www.androidfilehost.com/?fid=96042739161891406 - gapps-L-4-21-15.zip) | |
Google Apps for Android 5.0 (https://www.androidfilehost.com/?fid=95784891001614559 - gapps-lp-20141109-signed.zip) |