Skip to content

Instantly share code, notes, and snippets.

@subfuzion
subfuzion / curl.md
Last active May 13, 2025 18:51
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@chitchcock
chitchcock / 20111011_SteveYeggeGooglePlatformRant.md
Created October 12, 2011 15:53
Stevey's Google Platforms Rant

Stevey's Google Platforms Rant

I was at Amazon for about six and a half years, and now I've been at Google for that long. One thing that struck me immediately about the two companies -- an impression that has been reinforced almost daily -- is that Amazon does everything wrong, and Google does everything right. Sure, it's a sweeping generalization, but a surprisingly accurate one. It's pretty crazy. There are probably a hundred or even two hundred different ways you can compare the two companies, and Google is superior in all but three of them, if I recall correctly. I actually did a spreadsheet at one point but Legal wouldn't let me show it to anyone, even though recruiting loved it.

I mean, just to give you a very brief taste: Amazon's recruiting process is fundamentally flawed by having teams hire for themselves, so their hiring bar is incredibly inconsistent across teams, despite various efforts they've made to level it out. And their operations are a mess; they don't real

@craimasjien
craimasjien / bleeding-edge-mesa-fedora.md
Last active May 13, 2025 18:49
Installing bleeding-edge mesa on Fedora

Installing Bleeding-Edge Mesa on Fedora

This guide walks you through installing the latest development version of Mesa (similar to mesa-git on Arch Linux) on Fedora, while keeping the system-provided Mesa version intact. This approach helps avoid breaking dependencies or rendering your system unusable due to driver conflicts.

Who is this guide for? This guide is written for all experience levels, including beginners. Each step includes explanations of what and why, so you can learn as you go.


@iam4722202468
iam4722202468 / python
Created August 28, 2021 04:22
Free Flow Puzzle Generator
import random
paths = {}
SIZE = 7
def printPuzzle():
puzzle = []
for x in range(0, SIZE):
@noqcks
noqcks / jenkins-plugins.md
Last active May 13, 2025 18:47
How to get a complete plugin list from jenkins (with version)

I need a way to get a list of plugins so that I can use them with docker jenkins in the format <plugin>: <version>

1. get the jenkins cli.

The jenkins CLI will allow us to interact with our jenkins server from the command line. We can get it with a simple curl call.

curl 'localhost:8080/jnlpJars/jenkins-cli.jar' > jenkins-cli.jar
@davidfowl
davidfowl / ResourceModel.md
Last active May 13, 2025 18:46
Aspire Resource Model: Concepts, Design, and Authoring Guidance

Aspire Resource Model: Concepts, Design, and Authoring Guidance

Audience – Aspire integrators, advanced users, and contributors who are defining custom resource types, implementing publishers, or working across both runtime and publish workflows.
Just getting started? Jump straight to Quick Start and come back later for the deep‑dive.


Quick Start

A two‑minute "hello‑world" that shows the happy path.

@sebdelsol
sebdelsol / 2-screensaver-cover.lua
Last active May 13, 2025 18:45
KOReader user patch: Screensaver message do not overlap the cover & clear all widgets when the screensaver has no background
-- Add 4 new options @ the end of the "Sleep screen" menu :
-- Close widgets before showing the screensaver
-- Refresh before showing the screensaver
-- Message do not overlap image
-- Center image
-- By default it doesn't change the sleep screen behavior
local ReaderUI = require("apps/reader/readerui")
local Screensaver = require("ui/screensaver")

A honest Xiaomi Redmi 10C review focusing on what matters

A honest review focusing on what really matters in smartphones: Affordable price, reasonable performance and battery life, good software, no bloatware, ease of unlocking the bootloader, data protection and privacy. Most reviews on the net focus on superficial, unimportant stuff like an extra megapixel here or the form of the display notch there.

image

tl;dr: It is like Xiaomi is making it intentionally hard to get rid of their spyware-ridden, bloated firmware (requiring a SIM card, Mi account, Windows software, and a full week of waiting time). DO NOT BUY XIAOMI PHONES!

Looking at the sub-150 EUR mid range category, comparing with the Moto G31 and G22. The Xiaomi Redmi 10C has been for sale at ALDI in Germany for 139 EUR as of August 2022. (Actually, the Lenovo-owned company MEDION is distributing this phone to ALDI, what an irony that the

@BlakeGardner
BlakeGardner / install nano.sh
Last active May 13, 2025 18:38
Syntax highlighting in nano on Mac OS
# Last updated May, 2024 for Apple silicon Macs
# Install Homebrew if you don't already have it: https://brew.sh
# install nano from homebrew
brew install nano nanorc
# update your nanorc file
echo 'include "'"$(brew --cellar nano)"'/*/share/nano/*.nanorc"' >> ~/.nanorc
# close and re-open your terminal and you'll have syntax highlighting
{
"basics": {
"name": "Michael Wybraniec",
"label": "Software Engineering & Architecture",
"image": "https://media.licdn.com/dms/image/v2/C4E03AQEKznnbjsuliQ/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1656410796143?e=1751500800&v=beta&t=4jgEn_Ax2IkAcUxUeuWW3NcTsYcNmySRLQQcInlxhFc",
"email": "michaelwybraniec@me.com",
"phone": "(+33) 0 650 498 301",
"url": "https://one-front.com",
"summary": "Hello, I’m a Full-Stack Developer with 8 years of experience — 3+ years of hands-on development leadership and 3 years of designing scalable software architectures. I specialise in building cross-platform, high-performance applications using modern JavaScript frameworks and cloud-native infrastructure. In 2021, I founded ONE-FRONT and santeJS — initiatives created to align business goals, developer practices, and user needs. I focus on pragmatic engineering, clean architecture, and meaningful outcomes.",
"location": {