Skip to content

Instantly share code, notes, and snippets.

@Sauerstoffdioxid
Sauerstoffdioxid / googleurlparams.md
Last active April 19, 2024 21:42
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.

@andyyou
andyyou / gist:3052671
Created July 5, 2012 09:46
C# Controls abbreviation
btn Button chk CheckBox ckl CheckedListBox
cmb ComboBox dtp DateTimePicker lbl Label
llb LinkLabel lst ListBox lvw ListView
mtx MaskedTextBox cdr MonthCalendar icn NotifyIcon
nud NumeircUpDown pic PictureBox prg ProgressBar
rdo RadioButton rtx RichTextBox txt TextBox
tip ToolTip tvw TreeView wbs WebBrowser
ๅฎนๅ™จ
flp FlowLayoutPanel grp GroupBox pnl Panel
@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active April 19, 2024 21:40
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();
@terafin
terafin / UniFi USG DNS Redirect Setup.md
Last active April 19, 2024 21:40
UniFi USG DNS Redirect Setup
  1. Log into unifi controller web UI
  2. Go to Settings
  3. Select Routing & Firewall
  4. Select Firewall
  5. Select Groups
  6. Hit "Create new Group"
  7. Enter all your DNS servers here you want to be allowed on the local LAN (Eg, mine is 10.0.1.1 - gateway, 10.0.1.14 - pi-hole)
  8. Name this "Allowed DNS Servers"
  9. Hit OK
  10. SSH into the Gateway - NOT the CloudKey (username/password is whatever you set up)
@kols
kols / fallout-1-high-res-patch-mac-osx.md
Last active April 19, 2024 21:39 — forked from robatron/fallout-1-high-res-patch-mac-osx.md
How to get the Fallout 1 (and Fallout 2) high-resolution patch working for Mac OS X

Fallout 1 (and Fallout 2) Hi-Res Patch for Mac OS X

Fallout 1 was originally designed to run at 640x480 resolution. I wanted to run the Mac OS X version of Fallout on my MacBook 11", which has a 1366x768 display. There is a [high resolution patch][hi-res], but it only supports the Windows version of Fallout.

Turns out that the OS X version of Fallout runs through Wine, so we can get this patch working with just a few configuration changes:

Note for Fallout 2 users: The process for Fallout 2 is essentially the same, with a different patch, and some minor pathing differences. Other than that, the process is exactly the same!

Install Wine

@nessus42
nessus42 / destiny-networking-revised.md
Last active April 19, 2024 21:39
How Networking Works in Destiny 1 and How It Will Differ in Destiny 2 (According to Bungie, Redux)

Disable:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Enable:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

@beruic
beruic / ini.ps1
Last active April 19, 2024 21:31
Read INI files in PowerShell
function Get-IniFile {
<#
.SYNOPSIS
Read an ini file.
.DESCRIPTION
Reads an ini file into a hash table of sections with keys and values.
.PARAMETER filePath
The path to the INI file.
@Agoreddah
Agoreddah / encrypter.js
Last active April 19, 2024 21:28
Laravel encrypt & decrypt in Node.js
// load variables
require('dotenv').config();
// load dependencies
const crypto = require('crypto');
'use strict';
const APP_KEY = process.env.APP_KEY;
@AliMD
AliMD / gist:3344523
Created August 13, 2012 22:28
All github Emoji (Smiles)

All github Emoji (Smiles)

ali.md/emoji

:bowtie: | ๐Ÿ˜„ | ๐Ÿ˜† | ๐Ÿ˜Š | ๐Ÿ˜ƒ | โ˜บ๏ธ | ๐Ÿ˜ | ๐Ÿ˜ | ๐Ÿ˜˜ | :kissing_face: | ๐Ÿ˜ณ | ๐Ÿ˜Œ | ๐Ÿ˜† | ๐Ÿ˜ | ๐Ÿ˜‰ | :wink2: | ๐Ÿ‘… | ๐Ÿ˜’ | ๐Ÿ˜… | ๐Ÿ˜“

๐Ÿ˜ฉ | ๐Ÿ˜” | ๐Ÿ˜ž | ๐Ÿ˜– | ๐Ÿ˜จ | ๐Ÿ˜ฐ | ๐Ÿ˜ฃ | ๐Ÿ˜ข | ๐Ÿ˜ญ | ๐Ÿ˜‚ | ๐Ÿ˜ฒ | ๐Ÿ˜ฑ | :neckbeard: | ๐Ÿ˜ซ | ๐Ÿ˜  | ๐Ÿ˜ก | ๐Ÿ˜ค | ๐Ÿ˜ช | ๐Ÿ˜‹ | ๐Ÿ˜ท

๐Ÿ˜Ž | ๐Ÿ˜ต | ๐Ÿ‘ฟ | ๐Ÿ˜ˆ | ๐Ÿ˜ | ๐Ÿ˜ถ | ๐Ÿ˜‡ | ๐Ÿ‘ฝ | ๐Ÿ’› | ๐Ÿ’™ | ๐Ÿ’œ | โค๏ธ | ๐Ÿ’š | ๐Ÿ’” | ๐Ÿ’“ | ๐Ÿ’— | ๐Ÿ’• | ๐Ÿ’ž | ๐Ÿ’˜ | โœจ