- Linux kernel 2.7+ (with headers)
Your symptoms might be different, with the same root problem, but these were mine)
- lsblk shows the drive, but DOES NOT SHOW the partitions, like:
-
import discord, aiohttp, asyncio | |
from config import TOKEN | |
bot = discord.Bot() | |
@bot.event | |
async def on_ready(): | |
global session | |
session = aiohttp.ClientSession() |
import re | |
import sys | |
print("URL: ", file=sys.stderr, end="") | |
url = input() | |
getId = lambda url : url.split("/")[-1].strip() or url.split("/")[-2].strip() | |
if re.match("https?://(www\.)?objection.lol/objection/", url): | |
splitted = getId(url) |
Hello! | |
====== | |
Table of Contents; | |
The Fast Way | |
The Thorough Way | |
Wait, how do I read this file? | |
Archiving Twitter accounts and hashtags is easy, even without an API key. Here's how! |
===================== | |
#lrz/zstd benchmarks# | |
===================== | |
Source File | |
----------- | |
A 700-ish MB jsonl file | |
lrzip (LZO) |
Here is a website that shows you how to make a log : | |
https://docs.python.org/3/howto/logging.html |
Syllable's servers have been down for at least a year — look at the Wayback Machine | |
If they are still down (syllable.org) then go to this website: | |
http://web.archive.org/web/*/http://web.syllable.org/pages/index.html | |
and choose a snapshot that is blue. The newest one that worked for me is | |
http://web.archive.org/web/20170910000623/http://web.syllable.org/pages/index.html | |
(2017 September) |
@echo off | |
title CATASTROPHIC ERROR | |
prompt CATASTROPHIC ERROR |
import random | |
flips = int(input('how many times do you want to flip the coin? ')) | |
outcomes = ['head','tail'] | |
wieghts = [.5,.5] | |
head=0 | |
tail=0 | |
for flip in range(flips): | |
h_t = random.choice(outcomes) | |
if h_t == 'head': | |
head += 1 |
import os | |
print("John Lockeing the computer............") | |
os.system('/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend') | |
print("Locked") |