This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import subprocess | |
import binascii | |
import sys | |
############################################################################### | |
## Contents: ################################################################## | |
############################################################################### | |
## endianFlip(a) : converts userpass from printed representation | |
## to how it actually is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<style> | |
#toolbar { | |
position: fixed; | |
top: 0; left: 0; | |
width: 100%; | |
height: 40%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<style> | |
.accordion { | |
border: 1px solid; | |
transition: height 1.4s ease; | |
} | |
.accordion .box { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name MAL Highlighter | |
// @namespace drillbit.notinept.me | |
// @description Highlights MAL shows. | |
// @include http://myanimelist.net/* | |
// @include https://myanimelist.net/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var number_of_people = 1000; | |
var people_list = []; | |
var people_added = []; | |
function processList() { | |
for (var i = 0; i < people_list.length; ++i) { | |
var person = people_list[i]; | |
var connect_button = person.getElementsByClassName('bt-request-buffed')[0]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scapy.all import sniff, ARP | |
amazonMacs = ['F0D2F1','F0272D','A002DC','94BA31','8841C1','84D6D0','74C246','747548','5CC9D3','50F5DA','44650D','0C47C9','001A90','AC63BE'] | |
def dashPrompt(pkt): | |
if pkt[ARP].op == 1: #who-has (request) | |
mac = pkt[ARP].hwsrc | |
macCode = mac[:8].replace(':','').upper() | |
if macCode in amazonMacs: | |
print "ARP Probe from: " + mac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 1 | |
SELECT nameFirst AS `First Name`, nameLast AS `Last Name`, COUNT(allstarfull.playerID) AS `Appearances` | |
FROM allstarfull NATURAL JOIN master | |
GROUP BY playerID HAVING Appearances >= 5; | |
-- 2 | |
SELECT name | |
FROM allstarfull NATURAL JOIN teams | |
GROUP BY teamID | |
ORDER BY COUNT(allstarfull.teamID) DESC | |
LIMIT 10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import discord | |
import asyncio | |
emailUser = '<insert your email username>' # gmail username | |
emailPass = '<insert your gmail password>' # gmail password | |
roleName = '<insert your role name>' # name of the role you'd like to award to verifiers | |
botToken = '<insert your token>' # token given to app | |
client = discord.Client() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net/ipv4/rpitcp_ipv4.c:2455:11: error: ‘struct netns_ipv4’ has no member named ‘sysctl_rpitcp_retries2’ | |
net->ipv4.sysctl_rpitcp_retries2 = rpitcp_RETR2; | |
^ | |
net/ipv4/rpitcp_ipv4.c:2455:37: error: ‘rpitcp_RETR2’ undeclared (first use in this function) | |
net->ipv4.sysctl_rpitcp_retries2 = rpitcp_RETR2; | |
^ | |
net/ipv4/rpitcp_ipv4.c:2456:11: error: ‘struct netns_ipv4’ has no member named ‘sysctl_rpitcp_orphan_retries’ | |
net->ipv4.sysctl_rpitcp_orphan_retries = 0; | |
^ | |
net/ipv4/rpitcp_ipv4.c:2457:11: error: ‘struct netns_ipv4’ has no member named ‘sysctl_rpitcp_fin_timeout’ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
not-inept (Jun, 2018) | |
I was watching brooklyn nine nine and figured I have a go at the brain teaser posed in s02 e19. I'm likely not the first or last to solve it, but it was fun :D | |
Question: Given 1 2 3 4 5 6 7 8 9 10 11 12, one of the 12 weighs more or less than the others with only 3 comparisons | |
A(1 2 3 4) vs B(5 6 7 8), with C(9 10 11 12) to the side | |
1a. Is balanced | |
The difference is in (9 10 11 12) | |
X(1 2) vs Y(11 12) |
OlderNewer