Requires at least WishList Member 3.3.6948
Demo Videos:
- Incoming WebHooks - https://www.screencast.com/t/dIEjHL5kjhW
- Outgoing WebHooks - https://www.screencast.com/t/xV9csVvbdQsJ
Requires at least WishList Member 3.3.6948
Demo Videos:
| Vagrant.configure("2") do |config| | |
| # we use the generic ubuntu 20.04 box | |
| config.vm.box = "generic/ubuntu2004" | |
| # set the local hostname to myapp.local | |
| # you may change this to whatever you like but it's best to keep the .local part | |
| config.vm.hostname = 'myapp.local' | |
| # sync folders | |
| config.vm.allowed_synced_folder_types = [:nfs, :smb, :sshfs, :rsync] |
| /* | |
| * Author: Mike Lopez <[email protected]> | |
| * Description: Find a 1-hour slot in Google Calendar to schedule our event in | |
| */ | |
| // sort events by start date (because nope, they're not sorted) | |
| GoogleCalendar.listEventsForDateRange.sort(function(a, b) { | |
| if (moment(a.Start).isSame(b.Start)) { | |
| return 0; | |
| } |
| <?php | |
| /** | |
| * Sample code for wishlistmember_add_user_levels and wishlistmember_remove_user_levels hooks | |
| * @author Mike Lopez, WishList Products | |
| */ | |
| // when membership level are added to a user | |
| add_action( 'wishlistmember_add_user_levels', 'foo', 10, 3 ); |
| #!/bin/bash | |
| # Help | |
| if [ "help" == "$1" ] | |
| then | |
| less <<EOF | |
| Resize and position a window. | |
| Usage: | |
| rpw window_substring [dimension [position]] |
| import geopy | |
| from geopy.distance import distance | |
| # point of reference | |
| lat = 8.000688 #8 00' 02.478" | |
| lon = 125.023 #125 01' 22.960" | |
| # coordinates from point of reference | |
| coords = [ | |
| { |
| #!/bin/bash | |
| # executables | |
| SVNLOOK="/usr/bin/svnlook" | |
| PHPCS="/path/to/composer/vendor/bin/phpcs" | |
| # parameters | |
| REPOS="$1" | |
| TXN="$2" |
| # Quick WordPress setup with Docker Compose. Includes wp-c | |
| # By: Mike Lopez <[email protected]> | |
| # | |
| # Use .env file to change configuration variables. | |
| # Configuration variables and their default values are: | |
| # MYSQL_ROOT_PASSWORD=mysql_root_password_123 | |
| # UID=1000 | |
| # GID=1000 | |
| # PORT=80 | |
| # DBNAME=wordpress |
| Hindi Ipinagkait | |
| --- | |
| Intro: | |
| C /// Bm7 / Em / | |
| C /// Bm7 / Em / | |
| Am /// Dsus4 / A | |
| --- |
| #include <TinyGPS++.h> | |
| #include <SoftwareSerial.h> | |
| /** | |
| * counterACT GPS Tracking System | |
| * | |
| * This program uses the TinyGPS++ library to track the location of a device | |
| * and send an SMS message to a recipient when the location changes significantly. | |
| * | |
| * Team Members: |