Note 2024-05-11T14.04.28
========================
# | |
# Module manifest for module 'OpenGitRepoBrowser' | |
# | |
# Generated by: Carl Capodice | |
# | |
# Generated on: 11/17/2023 | |
# | |
@{ | |
"""Object Dict from tornado.util | |
Reduce contained code to it's absolute minimum and import what you need. | |
""" | |
from pprint import pprint | |
from typing import Dict, List, Any, AnyStr, NamedTuple, Tuple, Union, Sequence | |
import json | |
import os, sys | |
__all__ = [ |
#!/usr/bin/env -S pwsh -nop | |
<# | |
.Description | |
Get psenv file from gist | |
.Version 0.2.1 | |
#> | |
$gisturl = "https://gist.githubusercontent.com/awsomesawce/f37c910c245ed409fa6da84edf716dd9/raw/e8adc7e69ab23f98afc016a95fad83f10636b737/psenv.ps1" | |
# Use a higher tls version |
#!/usr/bin/env bash | |
# Interesting ways of using redirection to get distro info | |
# Shoutout to neofetch and screenfetch | |
find_distro () { | |
# This if statement uses the `< ./filename` redirection instead of cat | |
if [[ -f /etc/lsb-release && $(< /etc/lsb-release) == *Ubuntu* ]] | |
then | |
echo "It is Ubuntu" | |
return 0 |
#!/usr/bin/env -S zsh -f | |
# Curly-bracket conditional expressions in Zsh. | |
# | |
# Tired of the strangeness of the `if condition; then blah; fi` syntax? | |
# **Zsh** supports using _curly brackets_ to separate your conditional expressions! | |
# This makes it more similar to every other programming language out there, including | |
# **Powershell**. | |
get_first_line() { | |
if [[ $# -eq 0 ]] { |
#!/bin/bash | |
# Name: FileSystemFuncs.bash | |
# Description: List of file system functions for bash | |
# Author: Carl C. | |
# Date: 6/4 | |
# get_full_filenames USAGE: | |
# ./get_full_filenames /path/to/dir | |
# Outputs full pathname to each member of the directory separated by newlines. |
#!/bin/bash | |
# Get_Full_Filenames aka ./gff | |
# Author: Carl C. (awsomesawce at outlook dot com) | |
########## USAGE ########## | |
# ./gff /path/to/dir | |
# Outputs full pathname to each member of the directory separated by | |
#+newlines. | |
#### USAGE WITH ARRAYS #### | |
# typeset -a myArr | |
# myArr=($(./gff ~/testdir)) # myArr will then contain an indexed array with fullnames of |
imported to Notable
This is the Google 2016 Fonts Refresh collection
<link href="https://fonts.googleapis.com/css2?family=Cabin&family=Inconsolata&family=Nunito&family=Nunito+Sans&family=Pacifico&family=Quicksand&family=Rubik&family=VT323&display=swap" rel="stylesheet">
/* | |
MIT License | |
Copyright (c) 2020 Egor Nepomnyaschih | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is |