Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
#!/usr/bin/env python3 | |
import pathlib | |
import sqlite3 | |
if __name__ == "__main__": | |
connection = sqlite3.connect(f"{pathlib.Path.home()}/Library/Messages/chat.db") | |
for (name, size, chat, date) in connection.execute(""" | |
SELECT transfer_name, total_bytes, chat_message_join.chat_id, date | |
FROM message_attachment_join JOIN message ON message_attachment_join.message_id = message.ROWID |
// | |
// LocalNetworkPrivacy | |
// | |
// Created by Iurii Khvorost <[email protected]> on 2021/02/04. | |
// Copyright © 2021 Iurii Khvorost. All rights reserved. | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
package org.ygl.openrndr.demos | |
import org.openrndr.application | |
import org.openrndr.color.ColorRGBa | |
import org.openrndr.color.rgb | |
import org.openrndr.draw.shadeStyle | |
import org.openrndr.extra.compositor.compose | |
import org.openrndr.extra.compositor.draw | |
import org.openrndr.extra.compositor.layer | |
import org.openrndr.ffmpeg.ScreenRecorder |
import os | |
import numpy as np | |
from PIL import Image | |
#------------------------------------------------------------------- | |
# | |
# helper functions | |
# | |
def create_complex_plane(X, Y, x0, x1, y0, y1, endpoint=False): | |
I = np.indices((Y,X)).astype(np.float64) |
# blender 2.8 | |
""" | |
This script implements Convey's "Game of Life" in Blender 2.8 | |
It relies on the blender file containing a mesh called "Cube" | |
(sidelength = 1) and an empty collection called "Grid". | |
""" | |
import bpy | |
from random import random |
float decel(float x) { // as an easing function | |
return 1-(x-1)*(x-1); | |
} | |
void setup() { | |
background(255); | |
size(750,750,P2D); | |
PImage img = loadImage("image.png"); | |
strokeWeight(2); | |
noFill(); |
# Put this function to your .bashrc file. | |
# Usage: mv oldfilename | |
# If you call mv without the second parameter it will prompt you to edit the filename on command line. | |
# Original mv is called when it's called with more than one argument. | |
# It's useful when you want to change just a few letters in a long name. | |
# | |
# Also see: | |
# - imv from renameutils | |
# - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste) |