Skip to content

Instantly share code, notes, and snippets.

View MattIPv4's full-sized avatar
:shipit:
Commits go brrrr

Matt Cowley MattIPv4

:shipit:
Commits go brrrr
View GitHub Profile
"""
========================
Testing Part 1
========================
"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
[...]
"""
Write a program which is going to simulate this dice game using a linked list.
"""
from random import randint
from typing import List
class LinkedListNode:
def __init__(self, value=None):
According to all known laws of aviation, there is no way a bee should be able to fly.
Its wings are too small to get its fat little body off the ground.
The bee, of course, flies anyway because bees don't care what humans think is impossible.
Yellow, black. Yellow, black. Yellow, black. Yellow, black.
Ooh, black and yellow!
Let's shake it up a little.
Barry! Breakfast is ready!
Coming!
Hang on a second.
Hello?

cdnjs.com February 2019 Request Stats

Total number of requests

1,415,579,066 at a 1% sample. Roughly 141 billion for the month of February 2019. 🎉

Recalculated to be 30 days, this would put us at 1 billion requests more than last month. 🙌

Top 100 breakdown

Reminder: This breakdown is at a 1% sample

cdnjs March 2019 Usage Stats

Information provided directly by Cloudflare for the cdnjs.cloudflare.com domain. ⛅️

Key Highlights

  • cdnjs served just under 160 billion requests in March.
  • During the month we used over 2.5 petabytes of bandwidth.
  • That is over 5 billion requests and 83 terabytes of data per day.

Library Highlights

  • jQuery (3.3.1) was the top library with nearly 4 billion requests for the single file.

cdnjs April 2019 Usage Stats

Information provided directly by Cloudflare for the cdnjs.cloudflare.com domain. ⛅️

Key Highlights

  • cdnjs served over 160 billion requests in April 2019.
  • During the month we used over 2.6 petabytes of bandwidth to serve these requests.
  • That is over 89 terabytes of data and 5 billion requests each day.

Library Highlights

  • jQuery (3.3.1) was once again the top library with over 6 billion requests for the single file.
@import url(https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css);
.menu ul li a:not(.inline_menu_link) {color: #fff !important;}
#p_thread_view_container > .p-threads_view { background-color: #222; }
#p_thread_view_container > .p-threads_view .p-threads_view_header__permalink { color: #e6e6e6 !important; }
#p_thread_view_container > .p-threads_view .p-threads_view__default_background { background-color: #222; }
addEventListener('fetch', event => {
event.respondWith(fetchAndApply(event.request))
})
async function fetchAndApply(request) {
const requestURL = new URL(request.url)
if(!requestURL.pathname.startsWith('/ajax/libs')) {
requestURL.pathname = '/ajax/libs' + requestURL.pathname
const newResponse = await fetch(requestURL, request)
if(newResponse.status == 200) return newResponse
/* Base */
html {
font-size: 10px;
}
body {
color: var(--gray9);
font-family: var(--sans-serif);
font-size: 1.8rem;
}
/**
* Exercise 3
* This project will serve as a utility to present SET operations. The investigated operations are:
*/
namespace SetOps
{
/**
* Determine if an integer is contained within a vector.
*
* @param items the vector of integers to search.