Skip to content

Instantly share code, notes, and snippets.

View Sands-45's full-sized avatar
🎯
Focusing

Sands Sands-45

🎯
Focusing
  • SE45
  • 11:31 (UTC +02:00)
View GitHub Profile
@codeSTACKr
codeSTACKr / mongodb_cheat_sheet_2022.md
Created January 10, 2022 22:54
MongoDB Cheat Sheet 2022
// Import express into our project
const express = require("express");
// Import multer
const multer = require("multer");
// Creating an instance of express function
const app = express();
// Import dotenv
@mrtcmn
mrtcmn / workaround.css
Created November 27, 2020 15:04
firefox backdrop-filter workaround
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
.blurred-container {
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
}
}
/* slightly transparent fallback for Firefox (not supporting backdrop-filter) */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
.blurred-container {
@martin-mok
martin-mok / CaesarsCipher.md
Last active July 5, 2023 16:56
freecodecamp: Caesars Cipher

Description

One of the simplest and most widely known ciphers is a Caesar cipher, also known as a shift cipher. In a shift cipher the meanings of the letters are shifted by some set amount. A common modern use is the ROT13 cipher, where the values of the letters are shifted by 13 places. Thus 'A' ↔ 'N', 'B' ↔ 'O' and so on. Write a function which takes a ROT13 encoded string as input and returns a decoded string. All letters will be uppercase. Do not transform any non-alphabetic character (i.e. spaces, punctuation), but do pass them on.

Tests

@Francesco149
Francesco149 / set-up-xcodegen-signing-personal-team.md
Last active April 11, 2025 07:35
how to set up iOS code signing with a personal free provisioning team with xcodegen

I recently wrestled with the clusterfuck that is iOS code signing, so here's my setup to set up a swift xcodegen project signed with a personal (free) provisioning team. this doesn't require an apple developer account, just a regular apple id.

you'll be able to build whole thing from the command line without ever have to touch xcode ever again.

this was tested with xcode 10.0 (10A255) on High Sierra

@itskingori
itskingori / iframe-loader.md
Last active April 11, 2023 06:37
How to add an iframe loader without JavaScript stuffs!