This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Public Sub InsertRangeDropdown() ' bind me to a macro key or something | |
| Dim rangeList As String | |
| ' Adding visual separators | |
| rangeList = "---CAPS---,F,mF,uF,nF,pF,---RES---,Ohm,KiloOhm,MegaOhm,GigaOhm" | |
| With Selection.Validation | |
| .Delete | |
| .Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Formula1:=rangeList | |
| .IgnoreBlank = True | |
| .InCellDropdown = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys, os | |
| import shutil | |
| import math | |
| import itertools | |
| from copy import deepcopy | |
| # 0 1 2 3 4 5 6 | |
| LIST_elmt = [" ("," (start ",") (end ",") "," (layer ",") ","))"] | |
| #LIST_elmt = [" (gr_line (start 131.571908 182.314571) (end 112.874456 120.68499) (angle 90) (layer Dwgs.User) (width 0.1))"] | |
| #LIST_elmt = [" (segment (start 118.7 106.7) (end 119.4 106.7) (width 0.25) (layer B.Cu) (net 0))"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Google AI-less Search | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description Appends "-ai" to your Google search queries to help filter out AI-generated content. | |
| // @author You | |
| // @match *://*.google.com/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Public Function myRGB(r, g, b) | |
| Dim clr As Long, src As Range, sht As String, f, v | |
| If IsEmpty(r) Or IsEmpty(g) Or IsEmpty(b) Then | |
| clr = vbWhite | |
| Else | |
| clr = RGB(r, g, b) | |
| End If |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| loading pri to 0x00100000 | |
| jumping to 0x00100000 ... | |
| _____ ___. .__ .__ | |
| / _ \ _____\_ |__ _____ _______ ____ | | | | _____ | |
| / /_\ \ / \| __ \\__ \\_ __ \_/ __ \| | | | \__ \ | |
| / | \ Y Y \ \_\ \/ __ \| | \/\ ___/| |_| |__/ __ \_ | |
| \____|__ /__|_| /___ (____ /__| \___ >____/____(____ / | |
| \/ \/ \/ \/ \/ \/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##!/bin/bash | |
| # Ask the user for login details | |
| read -p 'YouTubeMusic Link: ' uservar | |
| read -p 'Artist? - Leave Blank to auto... ' foldName | |
| if [-z $foldName] | |
| then | |
| echo "No Artist Supplied, will guess..." | |
| foldName="%(artist)s" | |
| baseLocation="/media/sf_Music/%(artist)s/" |