Skip to content

Instantly share code, notes, and snippets.

View aichholzer's full-sized avatar
🚴‍♂️
Improving...

Stefan Aichholzer aichholzer

🚴‍♂️
Improving...
  • AWS
  • Australia
  • 03:25 (UTC +10:00)
View GitHub Profile
@aichholzer
aichholzer / jquery.animator.js
Last active November 9, 2017 03:31
Element animator for jQuery
/**
* Element fadeIn plugin for jQuery.
* @author Stefan Aichholzer <https://github.com/aichholzer>
* @param options -Object defining the animation's end result.
*
* {
* opacity: 1,
* marginBottom: 5,
* duration: 50
* }
@shortjared
shortjared / list.txt
Last active July 30, 2025 15:54
List of AWS Service Principals
a4b.amazonaws.com
access-analyzer.amazonaws.com
account.amazonaws.com
acm-pca.amazonaws.com
acm.amazonaws.com
airflow-env.amazonaws.com
airflow.amazonaws.com
alexa-appkit.amazon.com
alexa-connectedhome.amazon.com
amazonmq.amazonaws.com
service: my-api-gateway
provider:
name: aws
runtime: nodejs6.10
region: sa-east-1
stage: v1
deploymentBucket: ${env:DEPLOYMENT_BUCKET}
iamRoleStatements:
- Effect: Allow
@aichholzer
aichholzer / for.js
Last active July 14, 2023 21:37
Validación de cédulas y similares (Algoritmo de Luhn)
const ced = '0931811087';
let [suma, mul, chars] = [0, 1, ced.length];
for (let index = 0; index < chars; index += 1) {
let num = ced[index] * mul;
suma += num - (num > 9) * 9;
mul = 1 << index % 2;
}
if ((suma % 10 === 0) && (suma > 0)) {
@aichholzer
aichholzer / curl.md
Created November 4, 2021 01:48 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.