| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Hello Page</title> | |
| <script src="https://unpkg.com/htmx.org@1.9.2"></script> | |
| </head> | |
| <body> | |
| <h1>Hello</h1> |
If someone asked me the question "what layout should I use for my Go code repository?", I'd start by asking back "what are you building: an executable, or a library?"
Create a directory named however you want your final executable to be called (e.g. "mycommand"), change into that directory, and create the following files:
| # Download this file with: | |
| # curl -L https://gist.githubusercontent.com/dtaivpp/a9b00957aa7d9cfe33e92aff8d50c835/raw/logging_demo.py -o logging_demo.py | |
| import logging | |
| # | |
| # Named loggers | |
| # | |
| logger = logging.getLogger(__name__) | |
| print(logger.name) |
| import uuid | |
| import time | |
| from selenium import webdriver | |
| from selenium.webdriver.common.by import By | |
| # Download cinesync v4 list by saving the html at https://www.cinesync.com/dashboard | |
| # cat cineSync.html | grep c-callout__heading | grep -o -P '(?<=\>).*(?=\<)' | sort | uniq | grep '@' > useraccounts.txt | |
| # Run this script once and sign in to set your cinesync login credentials | |
| # send an email to the list to have them reset their password @ https://5.cinesync.com/auth/password_reset/ |
- Mastodon is a microblogging social media platform like Twitter; you can write posts ("toots") and interact with other people's posts on a timeline.
- To sign up, you first need to choose a server (an "instance"), like choosing an email provider.
- Start posting!
- It's probably adequate to start with the official app made by the Mastodon group.
- There are three timelines; "Home" shows posts from people you follow; "Local" shows posts from people who are on your instance; "Federated" shows posts from all people known to your instance.
- You may notice some differences and limitations in the experience as compared to Twitter.
I've commented a few times about some issues I see with the scalability of ActivityPub - the protocol behind the Fediverse and its best-known implementation Mastodon. A couple of folks have asked for more elaboration, so ... here it is.
First, let me add some disclaimers and warnings. I haven't devoted a lot of time to looking at ActivityPub, so there might be some things I've misunderstood about it. On the other hand, I've brought bigger systems - similar node counts and orders of magnitude more activity per node - from broken to working well based on less study of the protocols involved. So if you want to correct particular misconceptions, that's great. Thank you in advance. If you want to turn this into an appeal to authority and say that I'm wrong only because I haven't developed a full ActivityPub implementation or worked on it for X years ... GTFO.
What is ActivityPub? It's an HTTP- and JSON-based protocol for exchanging information about "activities". An activity could be many things.
| # Make sure you have enabled "Expose hardware assisted virtualization to the guest OS" for the VMWare CPU | |
| Write-Host "##############################`nInstalling features: Containers, Hyper-V, Hyper-V-PowerShell`n##############################`n" | |
| Install-WindowsFeature Containers | |
| Install-WindowsFeature Hyper-V | |
| Install-WindowsFeature Hyper-V-PowerShell | |
| Write-Host "##############################`nDisabling firewall`n##############################`n" | |
| Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False |
| THIS GIST IS OUT OF DATE! Please use my new project template here to get started with Zig on Playdate: | |
| https://github.com/DanB91/Zig-Playdate-Template | |
| The rest of this is preservied for historical reasons: | |
| This is a small snippet of some code to get you started for developing for the Playdate on Zig. This code should be used as a starting point and may not compile without some massaging. This code has only been tested out on macOS and you'll need to modify the addSharedLibrary() portion of build.zig to output a .dll or .so instead of a .dylib, depending on you platform. | |
| This code will help you produce both an executable for the Playdate simulator and also an executable that actually run on the Playdate hardware. |
