Skip to content

Instantly share code, notes, and snippets.

View dterracino's full-sized avatar
💻
Vibe coding...

David Terracino dterracino

💻
Vibe coding...
  • Disabled
  • Middletown, NY
View GitHub Profile
@dterracino
dterracino / ArgumentHelper
Created April 30, 2020 05:30 — forked from IllyaTheHath/ArgumentHelper.cs
Extension Methods
/// <summary>
/// 参数校验辅助类
/// </summary>
public static class ArgumentHelper
{
#region Null/Empty Checking
public static void CheckIfNull(Object value)
{
if (value == null)
// ==UserScript==
// @author MoaMoa
// @name fanatical keyextract
// @namespace http://tampermonkey.net/
// @version 0.4
// @description fanatical keyextract
// @include https://www.fanatical.com/*/orders
// @require https://cdn.bootcss.com/jquery/3.5.0/jquery.slim.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant GM_setClipboard
@dterracino
dterracino / steam-own-game-bundle-checker.user.js
Created April 30, 2020 05:19
Check if you own on your configured account the games of a bundle on Humble Bundle, IndieGala, Fanatical and GoGoBundle
// ==UserScript==
// @name Own Game Bundle Checker
// @namespace http://sergiosusa.com/
// @version 0.1
// @description try to take over the world!
// @author Sergio Susa (sergio@sergiosusa.com)
// @match https://www.gogobundle.com/latest/bundles/*
// @match https://www.humblebundle.com/games/*
// @match https://www.indiegala.com/*
// @match https://www.fanatical.com/*/bundle/*
@dterracino
dterracino / games-bundle-extractor.user.js
Created April 30, 2020 05:19 — forked from sergiosusa/games-bundle-extractor.user.js
Copy the games present on the famous bundle websites to the clipboard using a link injected on the page.
// ==UserScript==
// @name Games Bundle Extrator
// @namespace http://sergiosusa.com
// @version 0.7
// @description Extract the name of the games in diferent bundles.
// @author Sergio Susa (sergio@sergiosusa.com)
// @match https://www.gogobundle.com/latest/bundles/*
// @match https://gogobundle.com/latest/bundles/*
// @match https://www.indiegala.com/*
// @match https://www.humblebundle.com/games/*
@dterracino
dterracino / IntegerToEnglish.java
Created April 30, 2020 04:46 — forked from andrewmd5/IntegerToEnglish.java
Translate an standard arabic integer into an english word
import java.util.Scanner;
import java.util.logging.Logger;
public class IntegerToEnglish {
private static final String[] LARGE = { "", "", " Hundred", " Thousand",
" Million", " Billion" };
private static String length;
private static final Logger logger = Logger
.getLogger(IntegerToEnglish.class.getName());
private static int number;
@dterracino
dterracino / BG.MD
Created April 30, 2020 04:45 — forked from andrewmd5/BG.MD

Borderless Gaming Individual Contributor License Agreement

Thank you for your interest in contributing to open source software projects (“Projects”) made available by Andrew Sampson. This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Andrew Sampson in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact hi@andrew.im.

You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions.

Copyright License. You hereby grant, and agree to grant, to Andrew Sampson a non-exclusive, perpetual, irrevoca

@dterracino
dterracino / 320youtube.user.js
Created April 3, 2020 21:25 — forked from AddonDeveloper/320youtube.user.js
The 320 kbps YouTube mp3 userscript generates a 320 kbps - MP3 DOWNLOAD button on YouTube.com. Convert YouTube to mp3 and download the file to your device.
// ==UserScript==
// @name YouTube mp3 320 kbps
// @description The 320 kbps YouTube mp3 addon generates a 320 kbps - MP3 DOWNLOAD button on YouTube.com. Convert YouTube to mp3 and download the file to your device.
// @icon https://www.320youtube.com/userscript/icon.png
//
// @author Addon Developer
// @namespace https://www.320youtube.com/
// @downloadURL https://www.320youtube.com/userscript/320youtube.user.js
//
// @license GPL-3.0-or-later
@dterracino
dterracino / prettify_aws_profile.user.js
Created April 3, 2020 21:21 — forked from M4C4R/prettify_aws_profile.user.js
Prettifies the AWS navbar where the role, account, and region are located. Click Raw to install on script managers like GreaseMonkey and Tampermonkey.
// ==UserScript==
// @name Make AWS Profile and Region Clearer
// @version 1.2
// @include https://*console.aws.amazon.com/*
// ==/UserScript==
// *** START Configuration ***
const fontSize = '17px';
const safeUserNames = ['view'];
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GBVideoTimeCalc
{
class Program