Moved to https://api.fmhy.net
This is how you connect PS3 controller to Mac OSX, PC, etc. when previously connected to a PS3. You will need a Mini USB cable. Overcome your laziness, get up of your chair, and go get one!
A big misconception is that keep holding PS button will reset the controller's pairing. It DOES NOT! From my testings, the controller keeps paring with the last machine it was CONNECTED VIA A USB CABLE.
Here are the steps:
use BigCommerce\Accounts\Customer; | |
const GUEST_CUSTOMER_GROUP_ID = 2; | |
// Check if transient is set for the guest customer group details. If not, fetch them and store as a transient for 24 hours. | |
// https://codex.wordpress.org/Transients_API | |
if ( !get_transient( 'guest_customer_group_category_access' ) && GUEST_CUSTOMER_GROUP_ID !== 0 ) { | |
$customer = new Customer(); | |
$customer_group_category_access = $customer->get_customer_group_category_access(GUEST_CUSTOMER_GROUP_ID); | |
set_transient( 'guest_customer_group_category_access', $customer_group_category_access, DAY_IN_SECONDS ); |
This notes is written by Sheldon. You can find me with #iOSBySheldon in Github, Youtube, Facebook, etc.
Convert .mov/.MP4 to .gif
As a developer, I feel better to upload a short video when I create the pull request to show other viewers what I did in this PR. I tried .mov format directly got after finishing recording screen using Quicktime, however, gif offers preview in most web pages, and has smaller file size.
This is not limited to developer, anyone has this need can use this method to convert the files.