Skip to content

Instantly share code, notes, and snippets.

View thejoltjoker's full-sized avatar

Johannes thejoltjoker

View GitHub Profile
@zulhfreelancer
zulhfreelancer / delete-ds-store.md
Created May 21, 2018 07:13
Recursively delete .DS_Store files

$ find . -name '.DS_Store' -type f -delete

@abg
abg / compute_checksums_advanced.py
Last active November 22, 2019 20:49
Compute checksums with external program vs. python stdlib, with python3 compatibility
from __future__ import print_function
import argparse
import codecs
import hashlib
import os
import subprocess
import sys
import time
try:
@davidlatwe
davidlatwe / renderSetup_util.py
Last active June 1, 2023 10:12
Query renderSetup overrided attribute value without switching layer
import re
import itertools
from maya import cmds
from maya.app.renderSetup.model import selector as rs_selector
from maya.app.renderSetup.model import renderSettings as rs_render_settings
if float(cmds.about(version=True)) >= 2020.0:
_attr_highest_col = "containerHighest"
@jhancock532
jhancock532 / emoji.js
Last active February 6, 2025 01:27
A lot of popular emojis in a JavaScript array.
let emojis = ['๐Ÿ’˜','๐Ÿ’','๐Ÿ’–','๐Ÿ’—','๐Ÿ’“','๐Ÿ’ž','๐Ÿ’•','๐Ÿ’Ÿ','โฃ๏ธ','๐Ÿ’”','โค๏ธ','๐Ÿงก','๐Ÿ’›','๐Ÿ’š','๐Ÿ’™','๐Ÿ’œ','๐ŸคŽ','๐Ÿ–ค','๐Ÿค','โค๏ธโ€','๐Ÿ”ฅ','โค๏ธโ€','๐Ÿฉน','๐Ÿ’ฏ','โ™จ๏ธ','๐Ÿ’ข','๐Ÿ’ฌ','๐Ÿ‘๏ธโ€๐Ÿ—จ๏ธ','๐Ÿ—จ๏ธ','๐Ÿ—ฏ๏ธ','๐Ÿ’ญ','๐Ÿ’ค','๐ŸŒ','โ™ ๏ธ','โ™ฅ๏ธ','โ™ฆ๏ธ','โ™ฃ๏ธ','๐Ÿƒ','๐Ÿ€„๏ธ','๐ŸŽด','๐ŸŽญ๏ธ','๐Ÿ”‡','๐Ÿ”ˆ๏ธ','๐Ÿ”‰','๐Ÿ”Š','๐Ÿ””','๐Ÿ”•','๐ŸŽผ','๐ŸŽต','๐ŸŽถ','๐Ÿ’น','๐Ÿง','๐Ÿšฎ','๐Ÿšฐ','โ™ฟ๏ธ','๐Ÿšน๏ธ','๐Ÿšบ๏ธ','๐Ÿšป','๐Ÿšผ๏ธ','๐Ÿšพ','๐Ÿ›‚','๐Ÿ›ƒ','๐Ÿ›„','๐Ÿ›…','โš ๏ธ','๐Ÿšธ','โ›”๏ธ','๐Ÿšซ','๐Ÿšณ','๐Ÿšญ๏ธ','๐Ÿšฏ','๐Ÿšฑ','๐Ÿšท','๐Ÿ“ต','๐Ÿ”ž','โ˜ข๏ธ','โ˜ฃ๏ธ','โฌ†๏ธ','โ†—๏ธ','โžก๏ธ','โ†˜๏ธ','โฌ‡๏ธ','โ†™๏ธ','โฌ…๏ธ','โ†–๏ธ','โ†•๏ธ','โ†”๏ธ','โ†ฉ๏ธ','โ†ช๏ธ','โคด๏ธ','โคต๏ธ','๐Ÿ”ƒ','๐Ÿ”„','๐Ÿ”™','๐Ÿ”š','๐Ÿ”›','๐Ÿ”œ','๐Ÿ”','๐Ÿ›','โš›๏ธ','๐Ÿ•‰๏ธ','โœก๏ธ','โ˜ธ๏ธ','โ˜ฏ๏ธ','โœ๏ธ','โ˜ฆ๏ธ','โ˜ช๏ธ','โ˜ฎ๏ธ','๐Ÿ•Ž','๐Ÿ”ฏ','โ™ˆ๏ธ','โ™‰๏ธ','โ™Š๏ธ','โ™‹๏ธ','โ™Œ๏ธ','โ™๏ธ','โ™Ž๏ธ','โ™๏ธ','โ™๏ธ','โ™‘๏ธ','โ™’๏ธ','โ™“๏ธ','โ›Ž','๐Ÿ”€','๐Ÿ”','๐Ÿ”‚','โ–ถ๏ธ','โฉ๏ธ','โญ๏ธ','โฏ๏ธ','โ—€๏ธ','โช๏ธ','โฎ๏ธ','๐Ÿ”ผ','โซ','๐Ÿ”ฝ','โฌ','โธ๏ธ','โน๏ธ','โบ๏ธ','โ๏ธ','๐ŸŽฆ','๐Ÿ”…','๐Ÿ”†','๐Ÿ“ถ','๐Ÿ“ณ','๐Ÿ“ด','โ™€๏ธ','โ™‚๏ธ','โšง','โœ–๏ธ','โž•','โž–','โž—','โ™พ๏ธ','โ€ผ๏ธ','โ‰๏ธ','โ“๏ธ','โ”','โ•','โ—๏ธ','ใ€ฐ๏ธ','๐Ÿ’ฑ','๐Ÿ’ฒ','โš•๏ธ','โ™ป๏ธ','โšœ๏ธ','๐Ÿ”ฑ','๐Ÿ“›','๐Ÿ”ฐ','โญ•๏ธ','โœ…','โ˜‘๏ธ','โœ”๏ธ','โŒ','โŽ','โžฐ','โžฟ','ใ€ฝ๏ธ','โœณ๏ธ','โœด๏ธ','โ‡๏ธ','ยฉ๏ธ','ยฎ๏ธ','โ„ข๏ธ','#๏ธโƒฃ','*๏ธโƒฃ','0๏ธโƒฃ','1๏ธโƒฃ','2๏ธโƒฃ','3๏ธโƒฃ','4๏ธโƒฃ','5๏ธโƒฃ','6๏ธโƒฃ','7๏ธโƒฃ','8๏ธโƒฃ','9๏ธโƒฃ','๐Ÿ”Ÿ','๐Ÿ” ','๐Ÿ”ก','๐Ÿ”ข','๐Ÿ”ฃ','๐Ÿ”ค','๐Ÿ…ฐ๏ธ','๐Ÿ†Ž','๐Ÿ…ฑ๏ธ','๐Ÿ†‘','๐Ÿ†’','๐Ÿ†“','โ„น๏ธ','๐Ÿ†”','โ“‚๏ธ','๐Ÿ†•','๐Ÿ†–','๐Ÿ…พ๏ธ','๐Ÿ†—','๐Ÿ…ฟ๏ธ','๐Ÿ†˜','๐Ÿ†™','๐Ÿ†š','๐Ÿˆ'
@0gust1
0gust1 / README.md
Last active December 13, 2024 12:59
Deploy SvelteKit on Azure App Service

Deploy a SvelteKit app (with server-side code) on Azure App service.

Here we want to deploy a SvelteKit app, which has server-side code or do Server-Side Rendering (SSR) (data endpoints, load function in components).

For a SvelteKit app which is a pure browser-only SPA or a static website, with no server-side code (as one generated with adapter-static): you don't need an Azure app service instance, an Azure storage blob container ($web) is all you need.

Note:
In theory, a Sveltekit app with a server-side should be deployable on the new "Azure Static Webapps" product, but we still need to have a dedicated adapter converting the server code to something compatible with Azure functions.

Manage your dependencies