Skip to content

Instantly share code, notes, and snippets.

View shredthaGNAR's full-sized avatar

Me shredthaGNAR

View GitHub Profile
@shredthaGNAR
shredthaGNAR / SourceCodeSearchEngines.md
Created July 4, 2021 05:17 — forked from phillipalexander/SourceCodeSearchEngines.md
Source Code Search Engines You Can Use For Programming Projects

Source Code Search Engines

NOTE: This list is almost entirely copy/pasted from THIS awesome article. I've made my own personal edits (adding some additional content) which is why I keep it here.

Every day meanpath crawls over 200 million websites capturing the visible text, HTML source code, CSS and Javascript. This information is used by many companies to monitor the growth of web facing technology.

@shredthaGNAR
shredthaGNAR / ccdl.command
Created July 23, 2021 10:38 — forked from ayyybe/ccdl.command
Adobe Offline Package Generator v0.1.2 (macOS only) --- No longer being updated.
#!/bin/bash
CYAN="$(tput bold; tput setaf 6)"
RESET="$(tput sgr0)"
clear
if command -v python3 > /dev/null 2>&1; then
if [ $(python3 -c "print('ye')") = "ye" ]; then
clear
// ==UserScript==
// @name Copy Shopify
// @version 0.1
// @description Add copy button to shopify admin-api graphql schemas
// @author tkain
// @match https://shopify.dev/docs/admin-api/graphql/reference/*
// @grant GM_setClipboard
// ==/UserScript==
const parseAndCopy = (table) => {
@shredthaGNAR
shredthaGNAR / download-video-from-clipboard.sh
Created April 27, 2022 02:13 — forked from tyzbit/download-video-from-clipboard.sh
Download a video from a URL in clipboard automatically (bind to keyboard shortcut) (Mac/Linux)
#!/bin/bash
dir="$HOME/Videos"
opts="--add-metadata --no-mtime"
if [ -f /usr/local/bin/youtube-dl ]; then
youtube_dl="/usr/local/bin/youtube-dl"
else
youtube_dl="$(which youtube-dl)"
fi
# youtube-dlp-bash
**No copying URL! No pressing paste or enter!!**
You select your text, and activate this script by a hotkey shortcut (e.g F9) and **you instantly download the video!**
No pressing enter or confirmation or whatever bs. Literally 1 button download, couldn't be smoother. No "copy" -> "select input field" -> "paste" -> "enter" on whatever video downloader
```
#!/bin/sh
# Replace /username/ with your username under home directory
@shredthaGNAR
shredthaGNAR / yt-dlp-script.md
Created April 27, 2022 02:20
Youtube DLP Bash Script

youtube-dlp-bash

No copying URL! No pressing paste or enter!!

You select your text, and activate this script by a hotkey shortcut (e.g F9) and you instantly download the video!
No pressing enter or confirmation or whatever bs. Literally 1 button download, couldn't be smoother. No "copy" -> "select input field" -> "paste" -> "enter" on whatever video downloader

#!/bin/sh

# Replace /username/ with your username under home directory
@shredthaGNAR
shredthaGNAR / colourful-flower-popup-menu.markdown
Created April 27, 2022 14:48
Colourful Flower Popup Menu

Colourful Flower Popup Menu

This mobile inspired flower popup menu is a colourful fun project I'm experimenting with. Feel free to use it however you like.

A Pen by Jasper LaChance on CodePen.

License.

@shredthaGNAR
shredthaGNAR / firefox-release-test.css
Created June 18, 2022 07:28
testing userchrome ideas
@import url(integrated_searchbar_popup.css);
@import url(compact-bookmarks.css);
@import url(sliding-bookmarks-bar.css);
/*================ GLOBAL COLORS ================*/
:root {
--accent-color: 60, 56, 54;
--tab-color: 240, 240, 244;
--tab-text: 0, 0, 0;