Skip to content

Instantly share code, notes, and snippets.

@letsgoawaydev
letsgoawaydev / WinKeys.txt
Last active March 28, 2024 15:42
Windows Product Keys
``````````````````````````````````````````
Windows Product Keys for Getting Past Setup
Windows XP - Windows 11
Home product keys are currently not added.
THESE WILL ONLY HELP YOU GET PAST SETUP AND WILL NOT
ACTIVATE WHEN YOU CONNECT TO THE INTERNET. THESE JUST
LET YOU INSTALL WINDOWS TO YOUR HARDDISK UNACTIVATED
``````````````````````````````````````````
@navsing
navsing / MessagesPart-III.swift
Last active March 28, 2024 15:41
Recreating the Messages App Part III (Chat Bubble Shape) using SwiftUI and Swift Playgrounds on iPad
import SwiftUI
import PlaygroundSupport
struct Screen: View {
var body: some View {
VStack {
HStack {
Spacer()
Text("Here’s to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes… the ones who see things differently — they’re not fond of rules…").padding().background(Color(UIColor.systemBlue)).clipShape(BubbleShape(myMessage: true)).foregroundColor(.white)
@michenriksen
michenriksen / README.md
Created November 4, 2023 15:35
💅 Get italic text and curly underlines in macOS + Alacritty + tmux + Neovim

Italic text and other styles in Alacritty, tmux, and Neovim on macOS

This is a quick guide to get properly set up with italic text, curly underlines and other advanced styles in Alacritty, tmux, and Neovim on macOS. It assumes you're using the latest versions of all three programs.



@jamm1985
jamm1985 / lab_17_intro_to_ml_time_series_part_i.ipynb
Created May 4, 2022 12:57
Lab_17_intro_to_ML_time_series_part_I.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jamm1985
jamm1985 / lab_20_intro_to_ml_time_series_part_iv.ipynb
Created June 2, 2022 16:21
Lab_20_intro_to_ML_time_series_part_IV.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Sauerstoffdioxid
Sauerstoffdioxid / googleurlparams.md
Last active March 28, 2024 15:37
Google/Blogger Image URL Parameters

Google/Blogger Image URL Parameters

This is an effort to document what is known about Google's (Blogger's/Blogspot's) image URL parameters. Some of these options were taken from existing first or third party documentation (see the links at the end of this document), but the majority is based off my own investigations.

Where to use them?

  • On Blogger's image URL's: 2.bp.blogspot.com/-OF7u67HQE1M/VHc8S8qJTDI/AAAAAAAACxI/UD-11c63diQ/s1600/005.png
  • On just about any googleusercontent image URL: https://lh3.googleusercontent.com/Jvmz11cLrvNIHG_LWjVO9B-UV2IN4Cfk1pycbhWZl6IriMgCAGCOFuBRtoHaiZ6xeVGqCugZcCql=w176-h176-n-o

Replace the bolded parts with the parameters.

@chranderson
chranderson / nvmCommands.js
Last active March 28, 2024 15:37
Useful NVM commands
// check version
node -v || node --version
// list locally installed versions of node
nvm ls
// list remove available versions of node
nvm ls-remote
// install specific version of node
@liangfu
liangfu / ffmpeg.md
Created May 24, 2017 04:46 — forked from protrolium/ffmpeg.md
using ffmpeg to extract audio from video files

ffmpeg

Converting Audio into Different Formats / Sample Rates

Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma

You can get the list of supported formats with:
ffmpeg -formats

Convert WAV to MP3, mix down to mono (use 1 audio channel), set bit rate to 64 kbps and sample rate to 22050 Hz:

@OrionReed
OrionReed / DOM3D.js
Last active March 28, 2024 15:36
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@ceving
ceving / Web Component for Copyright Years.md
Last active March 28, 2024 15:33
Web Component for Copyright Years