Download this gist, and then run:
chmod 755 open_files_limit_mac.sh
./open_files_limit_mac.sh
Restart the system, and then run:
import sys | |
import re | |
import webbrowser | |
MESSAGE = """ | |
Thanks! :D | |
For my responses to birthday wishes this year, I'm using people's names to pick a random year and then from there, I pick an interesting fact to share. See here for more details: https://www.facebook.com/elendia.starman/posts/2225244637490115 | |
Your year was {}! Link: {} |
# If each face of a cube is marked with a diagonal line between opposing corners, | |
# how many distinct configurations are there considering rotations and reflections? | |
# Vertex labeling | |
# 2-----3 | |
# |\ |\ | |
# | \ | \ | |
# | 0-----1 | |
# | | | | | |
# 6--|--7 | |
Download this gist, and then run:
chmod 755 open_files_limit_mac.sh
./open_files_limit_mac.sh
Restart the system, and then run:
import urllib.request as ur | |
import html.parser as hp | |
from django.core.exceptions import ObjectDoesNotExist, MultipleObjectsReturned | |
import datetime | |
from transcriptAnalyzer.models import * | |
class parser(hp.HTMLParser): | |
def __init__(self, *args, **kwargs): |
import urllib.request as ur | |
import html.parser as hp | |
class parser(hp.HTMLParser): | |
def __init__(self, *args, **kwargs): | |
super().__init__() | |
self.numTags = 0 | |
self.numText = 0 | |
self.state = "" | |
self.names = {} |
#PyAcidic Musings
[toc]
##Succinctness is Power
I like the idea of "succinctness is power", as discussed in this blog post. For me, what I picked up on was that succinctness doesn't necessarily mean brevity, but rather, how much can you say with a simple word or phrase. For example, the quadratic formula