This file contains 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
class BandcampPlay { | |
constructor() { | |
} | |
#interval = null; | |
repeatAll() { | |
var self = this; |
This file contains 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 argparse | |
from enum import Enum | |
from os.path import abspath | |
from glob import glob | |
from io import TextIOWrapper | |
import pathlib | |
from typing import List, Pattern, AnyStr | |
import inspect | |
import re | |
from abc import ABCMeta, abstractmethod |
This file contains 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
mv subfolder subfolder_tmp | |
git submodule deinit subfolder | |
git rm --cached subfolder | |
mv subfolder_tmp subfolder | |
git add subfolder |
This file contains 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
enum ServiceMetaDataType { | |
singleton, | |
transient, | |
} | |
class ServiceMetaData<T> { | |
late dynamic _instanceFunc; | |
T? _instance; | |
late final List<String> _dependencies; | |
late final ServiceMetaDataType _serviceType; |
This file contains 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
## README | |
# This is the only file needed if you are working off of zsh | |
# and have Oh-my-zsh installed. | |
git-diff() { | |
correct=$(git diff 2>&1) | |
if [[ $correct = *"Not a git repository"* ]]; then | |
echo $correct | |
return | |
fi |
This file contains 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
Type typeof<T>() => T; | |
typedef void DelegateHandler<T>(T response); | |
abstract class IHandler { | |
void run(dynamic response); | |
bool isType<T>(T type); | |
dynamic get(); | |
} | |
class Handler<T> implements IHandler { |
This file contains 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 | |
# this is just a quick script I created in bash to install and backup vsts that aren't installable | |
# ie you have to manually put them into the VST and Components folders, easier to just go the folder via | |
# the terminal and run this rather than go and find the folder and copy paste over | |
#/Volumes/LaCie/documents/Keep/VST-MANUAL | |
#/Library/Audio/Plug-Ins/VST | |
#/Library/Audio/Plug-Ins/Components | |
# install vsts |
This file contains 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
#!/usr/bin/bash | |
git-diff() { | |
correct=$(git diff 2>&1) | |
if [[ $correct = *"Not a git repository"* ]]; then | |
echo $correct | |
return | |
fi | |
if [ $# -eq 0 ]; then |
This file contains 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
(function($) { | |
var timeSet = 0; | |
var count = 0; | |
var log = false; | |
function check() | |
{ | |
setTimeout(function() { | |
timeSet = 10000; | |
var title = $('img', $('a', $('table'))).attr('title'); | |
if (title == 'Success > Console Output') { |