Skip to content

Instantly share code, notes, and snippets.

@ksafranski
ksafranski / Common-Currency.json
Last active January 29, 2025 18:39
Common Currency Codes in JSON
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
@dmitmedv
dmitmedv / docker_wordpress.md
Last active January 29, 2025 18:36 — forked from bradtraversy/docker_wordpress.md
Docker Compose FIle For Wordpress, MySQL & phpmyadmin

Wordpress & Docker

С помощью этого файла и докера можно быстро установить WordPress на свой компьютер с помощью одной команды. Создайте файл "docker-compose.yaml" и вставьте код ниже. Сам файл запускается вот такой командой:

$ docker-compose up -d

# To Tear Down
$ docker-compose down --volumes
@scmx
scmx / using-details-summary-github.md
Last active January 29, 2025 18:34
Using <details> <summary> expandable content on GitHub with Markdown #details #summary #markdown #gfm #html

How to use <details> <summary> expandable content on GitHub with Markdown

Firstly, what is <details> <summary>?

The HTML Details Element (<details>) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label can be provided using the <summary> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details.

Example

@joshbode
joshbode / LICENSE.md
Last active January 29, 2025 18:32
YAML Loader with include constructor (Python 3)

MIT License

Copyright (c) 2018 Josh Bode

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

@salrashid123
salrashid123 / dwd.go
Created April 1, 2020 13:30
Gsuites domain wide delegation/impersonation
package main
import (
"fmt"
"io/ioutil"
"log"
"context"
"cloud.google.com/go/storage"
@suhr
suhr / T0.lean
Created January 17, 2025 18:15
set_option pp.proofs true
#print Or.rec
example {c: Prop} (h: Or a b) (left: a → c) (right: b → c): c :=
Or.rec left right h
#print False.rec
example {C: Sort u} (h: False): C :=
h.rec

Fake Paypal Payment Page

@andrewsheley
andrewsheley / gist:8077a245027e4b06f5b7bb89efc6aa1e
Created July 13, 2019 22:17
Xamarin FontAwesome as Icons FAQ
To Use FontAwesome
1. Download Free FontAwesome fonts from website, grab the "Web" fonts. URL:https://fontawesome.com/download
2. Unzip and copy the font file into both Android and IOS projects. Verify build action.
a. For IOS add entry to info.plist at bottom before </dict> element.
<key>UIAppFonts</key>
<array>
<string>fa-solid-900.ttf</string>
</array>
@braydeejohnson
braydeejohnson / control_visualizer.gd
Created February 23, 2024 11:08
A simple Control Node Visualization tool.
@tool
extends Control
## A simple Control Node Visualization tool.
##
## This script will allow user's to view information about the anchor offsets
## and growth directions of a control node by enabling the show_growth_direction
## and show_anchor_offsets flags in the Inspector.
##
## @tutorial: https://gamedevartisan.com/tutorials/understanding-godot-ui-control-nodes
@techgod143
techgod143 / Own*MENU*Levanter
Last active January 29, 2025 17:44
Levanter own menu
const { bot, getBuffer, jidToNum, genThumbnail } = require('../lib/');
const { VERSION } = require('../config');
const {
textToStylist,
getUptime,