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
@Committing
Committing / server.py
Last active December 3, 2015 16:27
Easily ssh into servers
import subprocess
print ""
print "Please type in server choice."
print "s1,s2,s4,s5,vm1,vm2,vm3,vm4,vm5,node,web etc..."
print ""
server = raw_input()
print ""
@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
<?php
//https://steamtimeidler.com/tinderusernamechecker.php/tinderusernamechecker.php?usernames=test,life,thanks,fantast,helo,pro,wow,earth,eyybbwudup,hacker
$usernames = array();
if (isset($_GET['usernames']) && !empty($_GET['usernames'])) {
$usernames = explode(',', $_GET['usernames']);