Skip to content

Instantly share code, notes, and snippets.


Edu Wass eduwass

View GitHub Profile
eduwass /
Last active Sep 5, 2022
Rize → Conjure

Connect Rize data with Conjure

The general idea is that this will run as a task at the end of a day, which will copy the following measures from Rize to Conjure for that day:

  • workHours
  • trackedTime
  • focusTime
  • meetingTime
  • breakTime

I used Pipedream for convenience, but with general Javascript knowledge you should also be able to easily use this outside of it.

eduwass /
Created Dec 7, 2021
BUG <Medium>: React capturing traffic on separate GA Instance

Detected on



Originally, we had separate GA Instances for Blog and WP:

CleanShot 2021-12-07 at 16.30.01.png

eduwass / search.php
Created Feb 12, 2021
Xero for WooCommerce Available Filters
View search.php
54 results - 15 files
20 public function get_type() {
21: return apply_filters( 'woocommerce_xero_address_type', $this->type, $this );
22 }
34 public function get_line_1() {
View gravityforms-export-2020-11-12.json
{"0":{"title":"Vimeo Upload","description":"","labelPlacement":"top_label","descriptionPlacement":"below","button":{"type":"text","text":"Submit","imageUrl":""},"fields":[{"type":"dgv_vimeo_upload","id":2,"label":"Video","adminLabel":"","isRequired":false,"size":"medium","errorMessage":"","visibility":"visible","inputs":null,"allowedExtensions":"mp4,mov,wmv,avi,flv","formId":1,"description":"","allowsPrepopulate":false,"inputMask":false,"inputMaskValue":"","inputMaskIsCustom":false,"maxLength":"","inputType":"","labelPlacement":"","descriptionPlacement":"","subLabelPlacement":"","placeholder":"","cssClass":"","inputName":"","noDuplicates":false,"defaultValue":"","choices":"","conditionalLogic":"","maxFileSize":"","maxFiles":"","multipleFiles":false,"productField":"","calculationFormula":"","calculationRounding":"","enableCalculation":"","disableQuantity":false,"displayAllCategories":false,"useRichTextEditor":false,"fields":"","displayOnly":""},{"type":"text","id":3,"label":"Course ID","adminLabel":"","isRequi
eduwass / index.html
Created Jul 28, 2020
Bootstrap 4 HTML Test Code
View index.html
<!-- Navbar
================================================== -->
<div class="bs-docs-section clearfix">
<div class="row">
<div class="col-lg-12">
<div class="page-header">
<h1 id="navbars">Navbars</h1>
eduwass / Default (OSX).sublime-keymap
Created Oct 8, 2019
Sublime Text Automatic Brackets/Braces Spanish keyboard binds
View Default (OSX).sublime-keymap
{ "keys": ["´"], "command": "insert", "args": {"characters": "{"} },
{ "keys": ["ç"], "command": "insert", "args": {"characters": "}"} },
{ "keys": ["`"], "command": "insert", "args": {"characters": "["} },
{ "keys": ["+"], "command": "insert", "args": {"characters": "]"} }
eduwass /
Created Apr 17, 2019
Zip latest committed changes only

git archive will accept paths as arguments. All you should need to do is:

git archive -o ../ some-commit $(git diff --name-only earlier-commit some-commit)

or if you have files with spaces (or other special characters) in them, use xargs:

git diff --name-only earlier-commit some-commit | xargs -d'\n' git archive -o ../ some-commit

If you don't have xargs properly installed, you could cook up an alternative:

eduwass / script.js
Created Feb 28, 2019 — forked from marcosnakamine/script.js
jQuery - WP Smush auto click
View script.js
botao = jQuery('#smush-box-meta-boxes-bulk > div.sui-box-body > div.wp-smush-bulk-wrapper > button');
if( botao.attr('disabled') != 'disabled' ) {
}, 1000);
View iStat Menus Settings.ismp
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
eduwass / fitmetrixapi.php
Last active Sep 14, 2018
Fitmetrix quick'n'dirty API Wrapper
View fitmetrixapi.php
class FitmetrixAPI{
private $base_url;
private $encoded_auth;
private $facility_location_id;
public function __construct($token, $token_key, $facility_location_id){
$this->base_url = '';