Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.
/join #channel
- Joins the specified channel.
/part #channel
- Leaves the specified channel.
If you hate git submodule
, then you may want to give git subtree
a try.
When you want to use a subtree, you add the subtree to an existing repository where the subtree is a reference to another repository url and branch/tag. This add
command adds all the code and files into the main repository locally; it's not just a reference to a remote repo.
When you stage and commit files for the main repo, it will add all of the remote files in the same operation. The subtree checkout will pull all the files in one pass, so there is no need to try and connect to another repo to get the portion of subtree files, because they were already included in the main repo.
Let's say you already have a git repository with at least one commit. You can add another repository into this respository like this:
'use strict'; | |
const process = require('process'); | |
const dgram = require('dgram'); | |
// Command line args: | |
let [listenport, fwdport, fwdaddr, mindelay, maxdelay] = process.argv.slice(2); | |
// It will listen on <listenport> and act as a reverse proxy for the UDP service | |
// at <fwdaddr>:<fwdport>. All packets will be delayed by a uniformly |
John Belmonte, 2022-Sep
I've started writing a toy structured concurrency implementation for the Lua programming language. Some motivations:
So what is structured concurrency? For now, I'll just say that it's a programming paradigm that makes managing concurrency (arguably the hardest problem of computer science) an order of magnitude easier in many contexts. It achieves this in ways that seem subtle to us—clearly so, since its utility didn't reach critical mass until around 2018[^sc_birth] (just as control structures like functions, if
, and while
weren't introduced to languages until long after the first compu
# this outputs the download count of a PPA | |
# | |
# See https://api.launchpad.net/+apidoc/devel.html#binary_package_publishing_history | |
# See https://help.launchpad.net/API/launchpadlib | |
from launchpadlib.launchpad import Launchpad | |
cachedir = '/home/rgl/.launchpadlib/cache/' | |
launchpad = Launchpad.login_anonymously('just testing', 'production', cachedir) |
import java.io.*; | |
import java.net.*; | |
import java.util.*; | |
public abstract class IRCMessageLoop implements Runnable { | |
Socket server; | |
OutputStream out; | |
List<String> channelList; | |
boolean initial_setup_status; | |
terminal_version = "0.1.4" | |
system_drive = "nil" --possibly irrelevant for UNIX systems. todo: these need to be loaded at startup | |
working_dir = "nil" | |
folder_dir = "nil" | |
os_name = "nil" | |
user_is_windows = "unsure" --until proven guilty....fact: Lua Terminal was made on windows. |
-- This is the original module, 7% slower with type checks on both, 14% without type checks. | |
--[[ | |
Differences from the original: | |
Using metatables instead of a function returning a table. | |
Added Vector3, Color3, Vector2, and UDim2 support. | |
Deprecated BrickColors. | |
Changed the creation method from BitBuffer.Create to BitBuffer.new. | |
OPTIMIZED! | |
Added a ::Destroy method. |