Skip to content

Instantly share code, notes, and snippets.

@daverickdunn
daverickdunn / list_in_filter.js
Last active January 15, 2025 19:28
DynamoDB Scan FilterExpression item IN list
const listToObjectMappings = (list) => {
let x = {}
for (var i=0; i<list.length; i++){
x[':' + i.toString()] = list[i]
}
return x
}
let statuses = ['available', 'in-transit', 'delivered']
let mappings = listToObjectMappings(statuses)
@LordZardeck
LordZardeck / GDD.md
Created June 26, 2017 15:40
Game Design Document Markdown Template

Revision: 0.0.1

GDD Template Written by: Benjamin “HeadClot” Stanley

  • Overview
    • Theme / Setting / Genre
    • Core Gameplay Mechanics Brief
  • Targeted platforms
@FeralFlora
FeralFlora / 01 Zotero Integration import template and more!.md
Last active January 15, 2025 19:24
Zotero import template for the Zotero integration plugin for Obsidian. Screenshots and usage guide over in the Obsidian forum here: https://forum.obsidian.md/t/zotero-integration-import-templates/36310/105?u=feralflora
  • ZI-main.md
    • The main Zotero Integration template
  • runImport.md
    • Template that enables updating literature notes at the click of a button, and much more.
  • Meta bind button template
    • Template for in-note button that executes runImport.md
@matthewzring
matthewzring / markdown-text-101.md
Last active January 15, 2025 19:24
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

#
sudo su -
cd /usr/local/bin
mkdir ffmpeg
cd ffmpeg
wget https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-4.2.1-amd64-static.tar.xz
tar xvf ffmpeg-4.2.1-amd64-static.tar.xz
@bmaupin
bmaupin / free-database-hosting.md
Last active January 15, 2025 19:22
Free database hosting
@klezVirus
klezVirus / EtwStartWebClient.cs
Last active January 15, 2025 19:20
A PoC in C# to enable WebClient Programmatically
using System.Runtime.InteropServices;
using System;
/*
* Simple C# PoC to enable WebClient Service Programmatically
* Based on the C++ version from @tirannido (James Forshaw)
* Twitter: https://twitter.com/tiraniddo
* URL: https://www.tiraniddo.dev/2015/03/starting-webclient-service.html
*
* Compile with:
@jleem99
jleem99 / README.md
Last active January 15, 2025 19:19
Bash script that enables Metal API for League of Legends on macOS

Bash script that enables Metal API for League of Legends on macOS.

After installing League of Legends, you can run this script to enable Metal API for the game.
You can expect a performance boost of up to ~2x FPS.

How to run

To run the script, download the script and run it in Terminal.
Or, open Terminal and type the following command:

@gabolopez90
gabolopez90 / javascript.md
Last active January 15, 2025 19:17
Apuntes de Javascript

Javascript

String en minusculas

	var str = "Hello World!";
	var res = str.toLowerCase();

Concatenar strings con el operador +=