-
Certain pages will stop loading at a certain point and sit idle for anywhere from 3s to a full minute. The time is often suspiciously close to a multiple of 10s.
-
This is largely a problem because a bunch of JS that actually makes the damn page work doesn't fire until after the delay.
-
While idle, Firefox is responsive, but the throbber (swirly loading animation on the tab) is active, and the "status bar" says "Waiting for" the name of some CDN. Sometimes it says "Read" or "Reading data from". I suspect this might be a red herring, and Firefox is just showing the last relevant network message for some reason.
-
It looks like something is delaying script execution, which delays
DOMContentLoaded
, which delays a bunch of stuff from running. In the case of GitHub, some profiling revealed that the only script on the page doesn't actually run (sometimes!) until 20 seconds have passed. The script downloads almost instantly, but it doesn't actually execute.
This file contains 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
// Hex! | |
// By Eevee | |
// Started Feb 10, 2003 | |
/* THINGS TO DO: | |
* - make it check for a win DONE! | |
* - add an option for changing board size NO | |
* - player stats/color DONE! | |
* - make menu less crappy DONE! | |
* - save options somewhere NO |
This file contains 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
%TAG !dex! tag:veekun.com,2005:pokedex/ | |
--- !!omap | |
- bulbasaur: !dex!pokemon | |
name: BULBASAUR | |
types: | |
- grass | |
- poison | |
base-stats: | |
attack: 49 | |
defense: 49 |
This file contains 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
%TAG !dex! tag:veekun.com,2005:pokedex/ | |
--- !!omap | |
- bulbasaur: !dex!pokemon | |
name: BULBIZARRE | |
types: | |
- grass | |
- poison | |
base-stats: | |
attack: 49 | |
defense: 49 |
This file contains 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
%TAG !dex! tag:veekun.com,2005:pokedex/ | |
--- !!omap | |
- bulbasaur: !dex!pokemon | |
name: BULBASAUR | |
types: | |
- grass | |
- poison | |
base-stats: | |
attack: 49 | |
defense: 49 |
Pop open "filter preferences" in adblock plus, and add the following rules to hide mentions from people who don't follow you (and who you don't follow).
For the interactions/notifications page:
twitter.com##.interaction-page [data-follows-you="false"][data-you-follow="false"]:not(.my-tweet)
For the mentions page:
twitter.com##.mentions-page [data-follows-you="false"][data-you-follow="false"]:not(.my-tweet)
This file contains 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
pokemon r/s only or/as only | |
------- -------- ---------- | |
bulbasaur - sludge | |
bulbasaur - amnesia | |
bulbasaur - giga-drain | |
bulbasaur - endure | |
bulbasaur - nature-power | |
bulbasaur - ingrain | |
bulbasaur - leaf-storm (new) | |
bulbasaur - power-whip (new) |
This file contains 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 datetime | |
import urwid | |
top = urwid.Filler(urwid.Text("this is\nfour lines\nof text\n.")) | |
bottom_walker = urwid.SimpleListWalker([]) | |
bottom = urwid.ListBox(bottom_walker) | |
main = urwid.Pile([ | |
(4, top), | |
bottom, |
This document is deprecated — see http://eev.ee/everything/tags/mario-maker/ instead.
55A7-0000-0049-50DD
· ★★☆☆☆ · tricky · 🍄🍄🍄
A deceptively cheery level. Slightly less fair than intended. I'm sorry.
This file contains 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
def find_last(haystack, needle): | |
last_pos = -1 | |
while True: | |
next_pos = haystack.find(needle, last_pos + 1) | |
if next_pos < 0: | |
return last_pos | |
last_pos = next_pos |