Skip to content

Instantly share code, notes, and snippets.

@Joao-at-decenomy
Joao-at-decenomy / gist:95c919765ae1c944a071adef33f26814
Last active February 11, 2025 21:08 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue:
@fitsum
fitsum / recorder.cjs
Created February 11, 2025 21:08 — forked from peterc/recorder.cjs
Record an HTML file to a MP4 video
// Open a supplied HTML file and record whatever's going on to an MP4.
//
// Usage: node recorder.cjs <path_to_html_file>
// Dependencies: npm install puppeteer fluent-ffmpeg
// (and yes, you need ffmpeg installed)
//
// It expects a <canvas> element to be on the page as it waits for
// that to load in first, but you can edit the code below if you
// don't want that.
//
import logging
import os
import time
from contextlib import contextmanager
from collections import defaultdict
import numpy as np
import torch
import matplotlib.pyplot as plt
@PushoDev
PushoDev / animated-tab-bar.markdown
Created February 11, 2025 21:07
Animated Tab Bar
@BassJamm
BassJamm / pastel-on-dark.css
Created February 11, 2025 21:06
Github Gists pastel-on-dark.css theme
body .gist .highlight {
background: #2c2828;
}
body .gist .blob-num,
body .gist .blob-code-inner,
body .gist .pl-e,
body .gist .pl-eoa,
body .gist .pl-eoai,
body .gist .pl-eoai .pl-pde,
body .gist .pl-ko,
@rafaehlers
rafaehlers / gk-dt-buttons-excel-urls.js
Created February 11, 2025 21:06
DataTables > Buttons > Excel > Include URLs on export
document.addEventListener('DOMContentLoaded', function () {
wp.hooks.addFilter('gk.datatables.options', 'dt-custom-code', function (options) {
options.buttons = options.buttons.map(button => {
if ('excel' === button.extend) {
button.exportOptions = {
// stripHtml: false,
format: {
body: function (data, row, column, node) {
// Check if the cell data contains an anchor tag
if (data.indexOf('<a') !== -1) {
@MTprogramer
MTprogramer / emulator-install-using-avdmanager.md
Created February 11, 2025 21:05 — forked from cemo/emulator-install-using-avdmanager.md
Installing and creating Emulators with AVDMANAGER (For Continuous Integration Server or Local Use)

Install and Create Emulators using AVDMANAGER and SDKMANAGER

About

  • The goal of this gist is to quickly pre-install a range of system images to provide our project teams the ability to run emulators on a range of API levels, from API 19 to API 28.
    • These can be run locally or on the base build agent.
  • Note: X86 is the fastest architecture for emulators, though x86_64 would probably be better to test against because most phones are 64 bit now.
  • We create two sets of emulators here, one set with pixel hardware emulation and one set with default oem emulation.

See: Google Documentation on Start the emulator from the command line for more info

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 21:04
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 4:04:38 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Faster Game Loading(Taranchuk.FasterGameLoading): FasterGameLoading(1.0.0), System.Drawing(av:4.0.0,fv:4.6.57)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
import requests
import logging
from pathlib import Path
from typing import Dict, Optional
class HelpScoutClient:
def __init__(self, api_key: str):
"""Initialize HelpScout client with API key."""
self.base_url = "https://docsapi.helpscout.net/v1"
def crackle_pop():
"""
prints out the numbers 1 to 100 (inclusive).
If the number is divisible by 3, printย _Crackle_ย instead of the number.
If it's divisible by 5, printย _Pop_.
If it's divisible by both 3 and 5, printย _CracklePop_.
"""
INCLUDING_ONE_HUNDRED = 101
for n in range(1,INCLUDING_ONE_HUNDRED):
print(format_crackle_pop(n))