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 time | |
import random | |
import sys, os, gc | |
import pango | |
import cairo | |
import pangocairo | |
class _Graph(): |
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
diff --git a/libqtile/manager.py b/libqtile/manager.py | |
index 17175de..5283b01 100644 | |
--- a/libqtile/manager.py | |
+++ b/libqtile/manager.py | |
@@ -596,6 +596,21 @@ class Log: | |
def clear(self): | |
self.log = [] | |
+def get_leaking_objects(): | |
+ """ |
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 libqtile.manager import Click, Drag, Group, Key, Screen | |
from libqtile.command import lazy | |
from libqtile import layout, bar, widget, hook | |
LEFT_ALT = 'mod1' | |
WINDOWS = 'mod4' | |
FONT = 'Envy Code R' | |
FONTSIZE = 13 | |
CHAM1 = '8AE234' | |
CHAM3 = '4E9A06' |
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
# attempt to shrink gpx files and concat them to get on android device | |
# got zip file with gpx from http://www.phillowry.com/wasatchwatch.htm | |
# converted to kml with gpx2kml.com | |
# gaia gps bogged down with files... | |
# my tracks does ok with them | |
import sys | |
import xml.etree.ElementTree as et | |
def concat(fins, fout, stride): | |
tree = et.ElementTree() |
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
Why does the second file/page work as a kf8 comic and the first doesn't? | |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Test Comic25</title> | |
<style type="text/css"> | |
/* This first section of the stylesheet is called a CSS Reset. */ | |
/* A CSS Reset removes inconsistent formatting that browsers often apply */ |
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
<!--<a class="app-amzn-magnify" data-app-amzn-magnify="{'targetId':'zoom1-magTargetParent', 'ordinal':4}" works='False'> --> | |
<a class="app-amzn-magnify" data-app-amzn-magnify='{"targetId":"zoom1-magTargetParent", "ordinal":4}' works='True'> |
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
=========== | |
Drone Lab | |
=========== | |
Start IDLE | |
============ | |
Run:: |
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
===================== | |
Pytest Introduction | |
===================== | |
.. export PS1="$ " | |
Copyright 2018 - Matt Harrison | |
@__mharrison__ |
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
===================== | |
Intermediate Pytest | |
===================== | |
http://bit.ly/2019-07-01-pytest | |
These assignments are based on a Python implementation | |
that models a lift at a ski resort. | |
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
===================== | |
Pytest Introduction | |
===================== | |
.. export PS1="$ " | |
Copyright 2018 - Matt Harrison | |
@__mharrison__ |
OlderNewer