Skip to content

Instantly share code, notes, and snippets.

View anthonyalvarez's full-sized avatar
🏠
Working from home as a remote web coder

Anthony E. Alvarez anthonyalvarez

🏠
Working from home as a remote web coder
View GitHub Profile
@RaptorX
RaptorX / email picker.ahk
Created November 9, 2025 23:38
Reply to @PuchoWebSolutions
#Requires AutoHotkey v2.0
company := Menu()
company.Add('[email protected]', EmailHander)
company.Add('[email protected]', EmailHander)
company.Add('[email protected]', EmailHander)
company.Add('[email protected]', EmailHander)
company.Add('[email protected]', EmailHander)
emails := Menu()
@prof3ssorSt3v3
prof3ssorSt3v3 / app.js
Last active January 10, 2024 00:08
Code from Service Workers 6 - Using fetch and the cache
const APP = {
SW: null,
init() {
//called after DOMContentLoaded
//register our service worker
APP.registerSW();
document.querySelector('h2').addEventListener('click', APP.addImage);
},
registerSW() {
if ('serviceWorker' in navigator) {
@JoeGlines
JoeGlines / Option from dropdown 1.ahk
Last active April 26, 2021 15:50
Rip options from drop down
;*******************************************************
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY
; Right now you can get a coupon code here: https://the-Automator.com/Learn
;*******************************************************
#SingleInstance, Force
#NoEnv
OuterHTML=
(
<SELECT id=filterList name=linkId><OPTION selected value="1">Everything</OPTION><OPTION value="3">Technical documents</OPTION><OPTION value="13">Support</OPTION><OPTION value="5">Applications</OPTION><OPTION value="6">E2E Forums</OPTION><OPTION value="7">Blogs</OPTION><OPTION value="9">Design network</OPTION><OPTION value="11">Training</OPTION><OPTION value="12">Videos</OPTION><OPTION value="10">Developer wiki</OPTION></SELECT>
)
@jonlabelle
jonlabelle / docker_compose_cheatsheet.md
Last active December 9, 2025 07:34
Docker Compose Cheatsheet
@bradtraversy
bradtraversy / docker_wordpress.md
Last active December 4, 2025 14:35
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@subtleGradient
subtleGradient / youtube-get-the-transcript-text.bookmarklet.js
Last active February 16, 2022 20:17
JS Bookmarklet to Get the text content of any YouTube video that has a transcript!
javascript: void (()=>{
let text = null;
try {
text = document
.querySelector("ytd-transcript-renderer")
.__data
.data
.body
.transcriptBodyRenderer
.cueGroups
@alexpaul
alexpaul / Git-Commands.md
Last active June 5, 2019 20:19
Git commands

Git Commands

Command Summary
git init initializes (creates) a git repository in the current directory
ls -a list hidden files
git status show status of your local repository
git add README.md add the untrack file to be committed
git commit -m "initial commit" commit and include a message about your commit
git remote add origin `` configure the remote repository
@zaccb
zaccb / install-choco-script.bat
Last active December 10, 2023 08:54
Chocolatey install script
:: Install choco .exe and add choco to PATH
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
:: Install all the packages
:::: Browsers
choco install googlechrome -fy
choco install firefox -fy
:::: Text editors / IDEs
choco install atom -fy
<!doctype html>
<html>
<head>
<script src="jquery-1.11.3.js"></script>
<script src="jquery.fullPage.min.js"></script>
<link rel="stylesheet" href="jquery.fullPage.css">
<style>
#navbar {
width:100%;
height:50px;