Skip to content

Instantly share code, notes, and snippets.

View Committing's full-sized avatar
😴
Snoozing.com

Jack Committing

😴
Snoozing.com
View GitHub Profile
@Committing
Committing / .hgignore
Last active May 6, 2023 02:07
.hgignore specifically for Wordpress
# Compiled by Jack (Committing)
# https://gist.github.com/Committing/7bd55ff4615248b7cea0
# GIT version: https://gist.github.com/Committing/24700559b3c05bdd2e3921c12c16f134
#################################
## Target root files/folders
#################################
syntax: regexp
Domain Name,Expiration,Inactive Reason
numbershapemaths.com,2023/02/04,expired
steamy.ai,2023/02/12,expired
moveforeverything.com,2023/02/03,expired
beautifulpeoplewillgo.com,2023/01/22,expired
daddyyanity.com,2023/01/22,expired
everythingisconscious.com,2023/01/22,expired
moodisright.com,2023/01/21,expired
movefordaddy.com,2023/01/21,expired
mudisnutritious.com,2023/01/21,expired
@Committing
Committing / user.json
Last active August 2, 2022 11:54
My Sublime User Settings
{
"auto_close_tags": false,
"auto_complete": false,
"disable_completions": true,
"scroll_past_end": true,
"tab_completion": false,
"word_separators": "./\\()\"'-:,.;<>~!@%^&*|+=[]{}`~?",
"tab_size": 4,
"translate_tabs_to_spaces": true
"update_check": false,
a = not available
test = not available
testwored43 = AVAILABLE
sdfiu = not available
oiusdf98uj = AVAILABLE
asd = not available
cycle = not available
daily = not available
dance = not available
dated = AVAILABLE
@Committing
Committing / idk.php
Last active March 8, 2022 01:58
Ducky/Rich/Adem's homework
<?php
ini_set('memory_limit', -1);
set_time_limit(800);
include_once('functions.php');
$fileName = "2018.csv";
$resourceReader = fopen($fileName, 'r');
$output = array();
$return = array();
$allowed_types = array(
@Committing
Committing / add_people.py
Last active March 8, 2022 01:57
Richard homework - You're welcome ;)
def addPerson(user_number):
print "Enter person #" + str(x)
name = raw_input('Enter name: ')
if name.isalpha() :
print "Name accepted"
else :
print "Please enter a valid name."
return False
@Committing
Committing / refreshurl.js
Created September 25, 2020 12:48
Refresh page based off of the url
if (location.pathname=="/questions/2850467/if-the-url-contains-this-do-that-in-javascript") {
setTimeout(function(){
location.reload();
}, 3000);
}
var ne = $('#my_results tr:nth-child(1) td:nth-child(1)');
var ne_val = $('#my_results tr:nth-child(1) td:nth-child(2)');
var ni = $('#my_results tr:nth-child(2) td:nth-child(1)');
var ni_val = $('#my_results tr:nth-child(2) td:nth-child(2)');
var se = $('#my_results tr:nth-child(3) td:nth-child(1)');
var se_val = $('#my_results tr:nth-child(3) td:nth-child(2)');
### Keybase proof
I hereby claim:
* I am committing on github.
* I am snoozing (https://keybase.io/snoozing) on keybase.
* I have a public key ASCpxrzBNAsOm0NE8ApVklLqyxrmYQmYNYzi-LTrAEGhugo
To claim this, I am signing this object:
@Committing
Committing / color-dates.js
Last active July 31, 2019 11:55
Youtube styled & colored dates
function setDateColors() {
$('ytd-grid-video-renderer').each(function() {
var when = $(this).find('#metadata-line span:nth-child(2)');
var when_text = when.html();
when.css({
color: 'white',
padding: '0 4px',
borderRadius: '4px',
fontSize: '10px',