(note: replace ORGANIZATION
and PROJECT
)
git clone git clone git@github.com:ORGANIZATION/PROJECT.git my-repository
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
# Add the following 'help' target to your Makefile | |
# And add help text after each target name starting with '\#\#' | |
help: ## Show this help. | |
@fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
# Everything below is an example | |
target00: ## This message will show up when typing 'make help' | |
@echo does nothing |
Package: com.example.package | |
Name: Example Package | |
Description: An example package. | |
This longer description will load when a depiction URL is not specified. | |
Author: Ms. Example <example@example.com> | |
Maintainer: Example, Inc. <example-inc@example.com> | |
Version: 1.0-1 | |
Section: Addons (SpringBoard) | |
Pre-Depends: com.example.system | |
Depends: com.example.library |
Based on https://www.gnu.org/software/make/manual/html_node/Quick-Reference.html
Directive | Description |
---|---|
define variable define variable = define variable := define variable ::= define variable += define variable ?= endef |
Define multi-line variables. |
undefine variable |
Undefining variables. |
Also see the Modrinth Awesome list, and a (probably somewhat outdated) list of curse modpack downloaders at https://gist.github.com/jikuja/f44533a16ad04624c3eb8e99e7a3e494/
This list is a bit outdated in places, but I'm still adding things here so that I don't forget them.
Name | Type | Number of mods/packs | Popularity (Similarweb rank) | Official launcher | Third-party support | Open Source backend | Author rewards |
---|---|---|---|---|---|---|---|
CurseForge | Public | 31,000 mods; 38,000 modpacks | #1410 | Yes | Many | No | Yes |
Modrinth | Public | 2000 mods | #79,182 | In development | ATLauncher, packwiz, pacmc, modweaver | Yes | Planned |
# -------------------------------------------------------------------- | |
# Recursively find pdfs from the directory given as the first argument, | |
# otherwise search the current directory. | |
# Use exiftool and qpdf (both must be installed and locatable on $PATH) | |
# to strip all top-level metadata from PDFs. | |
# | |
# Note - This only removes file-level metadata, not any metadata | |
# in embedded images, etc. | |
# | |
# Code is provided as-is, I take no responsibility for its use, |