Skip to content

Instantly share code, notes, and snippets.

View anddimario's full-sized avatar

Andrea Di Mario anddimario

View GitHub Profile
@joelonsql
joelonsql / PostgreSQL-EXTENSIONs.md
Last active June 27, 2024 23:18
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@crypticmind
crypticmind / README.md
Last active March 25, 2024 06:26
Setup lambda + API Gateway using localstack
@eyecatchup
eyecatchup / node-cms.md
Last active February 26, 2023 07:47
[WIP] List of Node-based content management systems (CMS)
@yefim
yefim / Dockerrun.aws.json
Last active April 7, 2023 16:11
Build a Docker image, push it to AWS EC2 Container Registry, then deploy it to AWS Elastic Beanstalk
{
"AWSEBDockerrunVersion": "1",
"Image": {
"Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>",
"Update": "true"
},
"Ports": [
{
"ContainerPort": "443"
}
@ZwodahS
ZwodahS / copy_redis_key.sh
Created March 1, 2016 06:07
copy a redis db key to another place (use MIGRATE COPY for v3.0<= redis)
#!/bin/bash
# source http://stackoverflow.com/questions/23222616/copy-all-keys-from-one-db-to-another-in-redis
#set connection data accordingly
source_host=localhost
source_port=6379
source_db=1
target_host=localhost
target_port=6379
target_db=2
@stalluri
stalluri / DynamoDB_Loadtest.sh
Created February 18, 2016 23:08
Load test for DynamoDB - Fill up a table and then read from it
# Create table in region us-west-1 from DynamoDB console : SatishTestTable
# Use only a hash number : primarykey
# With capacities read : 20 ; write 10
# From your mac terminal using AWS CLI, fill up the table
for serialno in {1..2000}
do
aws dynamodb put-item --table-name SatishTestTable --region us-west-1 --item '{ "primarykey" : {"N":"'$serialno'"}, "text1" : {"S": "NeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNeptuneioNep
@daniel-j
daniel-j / wallpaper-changer
Last active July 26, 2022 08:07
This is a simple random wallpaper changer to use with Awesome WM. You need to install feh to use this.
#!/bin/bash
#
# Created by djazz // Dangershy
# Dependencies: feh
#
FOLDER="~/Pictures/wallpapers"
DELAY=10
# to make it loop over lines instead of spaces in filenames