Skip to content

Instantly share code, notes, and snippets.

Richard Vasquez RichardVasquez

  • San Jose, CA
Block or report user

Report or block RichardVasquez

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View nukeMediumEverywhere.js
// ==UserScript==
// @name Nuke medium everywhere!
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Yes, for the love of God!
// @author Richard Vasquez
// @match *://*/*
// @grant none
// ==/UserScript==
View nukeMediumHackerNews.js
// ==UserScript==
// @name Remove medium on Hacker News
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://news.ycombinator.com/*
// @grant none
// ==/UserScript==
@RichardVasquez
RichardVasquez / nukeMediumLobsters.js
Last active Jul 31, 2019
Nuke medium links on lobste.rs
View nukeMediumLobsters.js
// ==UserScript==
// @name Nuke Medium on Lobste.rs
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Richard Vasquez
// @match https://lobste.rs/*
// @grant none
// ==/UserScript==
@RichardVasquez
RichardVasquez / nukeMediumDevurls.js
Created Jul 30, 2019
Basically, I've gotten tired of medium.com, and I want to avoid temptation, so this TamperMonkey script removes the Medium.com block from DevURLs.com
View nukeMediumDevurls.js
// ==UserScript==
// @name Nuke Medium
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Just avoid temptation and don't feed medium.com links
// @author Richard Vasquez
// @match https://devurls.com/
// @grant none
// ==/UserScript==
@RichardVasquez
RichardVasquez / permute.cpp
Created Dec 1, 2013
This was my submission for the Dice.com coding contest initially posted at http://news.dice.com/2013/10/02/coding-challenge-046/ I came in 7th. Boo.
View permute.cpp
// Code submission for coding challenge "Prove Your Factorial Fluency"
// http://news.dice.com/2013/10/02/coding-challenge-046/
//
// Author: Richard R. Vasquez, II
// Website: http://tinymu.gs
//
// Notes: This was run in Release - Win32 - Visual Studio 2012
//
// Personal averages: ~0.5 seconds : 0.000000043 seconds to find correct solution.
// ~1.0 second : 0.000000034 seconds to find correct solution.
@RichardVasquez
RichardVasquez / OverOil001.cs
Last active Dec 24, 2015
WAY overdoing Euler Project Problem 1. It was fun, though.
View OverOil001.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace OverOiled01
{
/// <summary>
/// WAY overdoing Euler Project Problem 1.
///
@RichardVasquez
RichardVasquez / Permutation.cs
Last active Oct 10, 2019
A simple piece of code based off of some C code at http://www.bearcave.com/random_hacks/permute.html , translated into C#, and then sped up a bit (400% or so on my system) with some base code at https://codeblog.jonskeet.uk/2013/06/22/array-covariance-not-just-ugly-but-slow-too/ provided by Jon Skeet.
View Permutation.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Permute
{
class Program
{
private const int Iterations = 1000;
You can’t perform that action at this time.