Skip to content

Instantly share code, notes, and snippets.

View eduwass's full-sized avatar
:octocat:
working remotely

Edu Wass eduwass

:octocat:
working remotely
View GitHub Profile
@eduwass
eduwass / markdown.md
Last active December 24, 2024 18:43
markdown_test

Markdown Test File

This file demonstrates various Markdown features and syntax.

Badges and Images

ChatGPT Dependabot GitHub Copilot

@eduwass
eduwass / 0_zero.md
Created December 23, 2024 14:36
testing markdown formats

File Zero

Sample content goes here.

Custom Prompts Template Package Documentation

System Design Proposal for WordPress/gutenberg#67806

This documentation outlines a possible template package designed to test all possible scenarios for the @wordpress/create-block tool, focusing on adding custom prompts beyond the default ones.


Template Package Overview

@eduwass
eduwass / instructions.md
Created August 8, 2024 01:33
AI Commit Instructions

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@eduwass
eduwass / readme.md
Created June 8, 2024 10:24
make vscode:// url scheme remap to cursor://

If you use cursor.com this can be useful

duti can be used to directly remap the vscode:// URL scheme to the cursor:// application without the need for an intermediary script.

Steps to Remap URL Scheme Using duti

  1. Install duti (if you haven't already):

brew install duti

@eduwass
eduwass / readme.md
Last active March 24, 2025 13:10
force 5g wifi on mac

Force 5 GHz WiFi Connection on macOS

If you're experiencing issues with your Mac connecting to the slower 2G band on routers that share SSID between 5G/2G (like the Google Wifi Nest), here's a guide to help you force a 5 GHz connection.

Identifying the 5G Channel

  1. Check Current Band: Hold option and click on the wifi icon on the macOS status bar. This will display the band you are currently connected to.
  2. Scan WiFi Channels: Use the following command to list all channels your WiFi is operating on:
    /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport scan
@eduwass
eduwass / example.html
Last active August 10, 2023 04:07
pdf to text using pdfjs
<!DOCTYPE html>
<html>
<head></head>
<body>
<input type="file" id="pdf-upload" accept=".pdf" />
<h1>Text will go here</h1>
<div class="pdf-text" id="pdf-text"></div>
<script src="https://mozilla.github.io/pdf.js/build/pdf.js"></script>
@eduwass
eduwass / README.md
Last active September 5, 2022 08:02
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
eduwass / readme.md
Created December 7, 2021 16:36
BUG <Medium>: React capturing traffic on separate GA Instance

Detected on

PRODUCTION

Description

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

CleanShot 2021-12-07 at 16.30.01.png

@eduwass
eduwass / search.php
Created February 12, 2021 13:09
Xero for WooCommerce Available Filters
<?php
54 results - 15 files
web/app/plugins/woocommerce-xero/includes/class-wc-xr-address.php:
20 public function get_type() {
21: return apply_filters( 'woocommerce_xero_address_type', $this->type, $this );
22 }
34 public function get_line_1() {