Skip to content

Instantly share code, notes, and snippets.

View aaronamm's full-sized avatar

aaronamm aaronamm

View GitHub Profile
@aaronamm
aaronamm / pause_between_each_track.lua
Last active April 8, 2022 12:07
Lua script to pause between each track in seconds for Rockbox DAP
-- This script adjusted from https://forums.rockbox.org/index.php/topic,54047.0.html.
-- Credit to Bilgus
require("actions")
require("settings")
local pauseBetweenEachTrackInSeconds = 5
-- Functions for reading / writing settings
local var = {offset = 1, size = 2, type = 3, fields = 3}
@aaronamm
aaronamm / web.config
Created April 4, 2021 05:21 — forked from davidebbo/web.config
Default web.config used for node.js apps on Azure Web Apps
<?xml version="1.0" encoding="utf-8"?>
<!--
This configuration file is required if iisnode is used to run node processes behind
IIS or IIS Express. For more information, visit:
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config
-->
<configuration>
<system.webServer>
@CalvinAllen
CalvinAllen / dotnet-framework-build-action.yml
Last active April 1, 2024 11:40
A GitHub Action to build a .NET Framework Web Application and Deploy it to Azure
name: EZRep Build
on:
push:
branches: master
jobs:
build:
runs-on: windows-latest
const puppeteer = require('puppeteer');
const track = async (number) => {
//launch headless browser and go to web page
const browser = await puppeteer.launch();
const page = await browser.newPage();
const url = 'http://track.thailandpost.co.th/tracking/default.aspx'
await page.goto(url);
//waiting for slider
await page.waitFor('.ui-draggable')
@anschaef
anschaef / bootstrap-4-sass-mixins-cheat-sheet.scss
Last active April 12, 2024 08:49
Bootstrap 4 Sass Mixins [Cheat sheet with examples]
/* -------------------------------------------------------------------------- */
// All Bootstrap 4 Sass Mixins [Cheat sheet]
// Updated to Bootstrap v4.5.x
// @author https://anschaef.de
// @see https://github.com/twbs/bootstrap/tree/master/scss/mixins
/* -------------------------------------------------------------------------- */
/*
// ########################################################################## */
// New cheat sheet for Bootstrap 5: