Skip to content

Instantly share code, notes, and snippets.

View AgentRev's full-sized avatar

Agent Revolution AgentRev

  • Canada
View GitHub Profile
@Rainyan
Rainyan / fix-old-reddit-links.user.js
Last active January 8, 2023 14:58
Fix old reddit URLs – Fixes problems with displaying old.reddit URLs. Examples of breakage include links with underscores, double quotes, or trailing closing braces. If you also want to enforce old.reddit via another userscript, see: https://gist.github.com/Rainyan/fbb1ff337eac3e6c604d9a6eee7badda
@Thomasvdam
Thomasvdam / soundCloudPlaylist.js
Last active October 9, 2023 18:45
Copy SoundCloud playlist items from one to another.
// Configuration
const WAIT_OPEN_PLAYLIST_POPUP = 1000;
const WAIT_AFTER_ADD_PLAYLIST = 1500;
const TARGET_PLAYLIST_NAME = 'To Do';
// Should the new playlist be in reverse order?
const REVERSE = false;
// Should liked items be skipped?
const SKIP_LIKED = true;
@benrules2
benrules2 / orbits.py
Created February 10, 2017 23:19
Python RK4 orbits
import math
import random
import matplotlib.pyplot as plot
from mpl_toolkits.mplot3d import Axes3D
class point:
def __init__(self, x,y,z):
self.x = x
self.y = y
self.z = z
@meleyal
meleyal / search.md
Last active December 18, 2015 07:29
Disable integrated Google search in latest Chrome

Create a new default search engine without the {google:instantExtendedEnabledParameter} token:

Before:

{google:baseURL}search?q=%s&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}

After:

{google:baseURL}search?q=%s&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}ie={inputEncoding}

@tkarpinski
tkarpinski / EnableLinkedConnections.reg
Created January 5, 2012 16:47
A reg file to EnableLinkedConnections (Network Drives over UAC) http://support.microsoft.com/kb/937624
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableLinkedConnections"=dword:00000001