Skip to content

Instantly share code, notes, and snippets.

View halfpintutopia's full-sized avatar

Sirinya halfpintutopia

  • Sirinya Richardson
  • 21:06 (UTC +02:00)
View GitHub Profile
@Hendrixer
Hendrixer / vsconfig.json
Created June 12, 2023 21:53
vs code config
{
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "One Dark Pro Darker",
"editor.tabSize": 2,
"editor.fontFamily": "'Fira Mono', Menlo, Monaco, 'Courier New', monospace",
"files.exclude": {
"**/.git": false
},
"editor.bracketPairColorization.enabled": true,
@philipjewell
philipjewell / photobucket_bulk_download.md
Last active March 29, 2023 00:23
Download all your photobucket images in bulk via CLI

backstory

On Jul 4, 2017 theverge.com posted an article about photobucket (silently) no longer allowing their users to source their images on 3rd party websites for free, thus leaving websites all over the web broken displaying the following image in replace:

Me being one of those individual, I attempted to go into my photobucket account and download my content as I now have my own hosting I am able to store those images on; however, the only ways to bulk download (on desktop) is by downloading albums through their interface. Doing so, gave me the following error message: "Hmmm. Something didn't click. Want to give it another shot? Try again now."

Doing this serveral times, in different browsers (chrome, firefox and safari), after disabling all my addons and extensions (including ad blockers), it still didn't work.

At this point, doing anything on their website w

@JordanReiter
JordanReiter / input-month-polyfill.js
Last active January 25, 2023 08:55
Polyfill for input type="month" with no dependencies.
(function() {
var monthInputs = document.querySelectorAll('input[type="month"]'),
checkDateInput = document.createElement('input'),
dateSupported = false,
months = [],
lang = document.documentElement.lang || navigator.language,
DEFAULT_SPAN = 5;
if (monthInputs[0].type === 'month') {
// browser supports month input; no need for polyfill
@chranderson
chranderson / nvmCommands.js
Last active April 26, 2024 18: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