Git supports showing diffs for encrypted files, but has to be told to do so.
git config --global diff.gpg.textconv "gpg --no-tty --decrypt"
echo "*.gpg filter=gpg diff=gpg" >> .gitattributes
echo "*.asc filter=gpg diff=gpg" >> .gitattributes| -- From "Fooluaintblack" on the TechnicalFactorio discord: | |
| -- > Caught up with a friend and we adjusted Halke's index script to create a series | |
| -- > of CCs with items, in item ID order, with their stack size as their signal | |
| -- > values. The script changes include: | |
| -- > -reorganised, whitespace, removed "count" as its redundant with "index" | |
| -- > -overwrite the selected CC instead of creating a new one beside it | |
| -- > -spot at the top to add signal names to exclude. You'll see magic lamp, | |
| -- > pushbutton, and textplates are excluded. Textplate string includes wildcards | |
| -- > to capture all signals that start with "textplate" | |
| -- |
| """Create a Factorio blueprint with a logistic assembler for a rocket silo. | |
| This assembler directly requests the ingredients for a rocket silo, | |
| without the use of a requester chest. | |
| Many thanks to redruin1 for factorio-draftsman: | |
| https://github.com/redruin1/factorio-draftsman | |
| This script licensed under the public domain. |
You get a lot of command-line tools just for having python 3 installed.
$ # despite the name, compares files found in two _directories_ (non-recursive)
$ python3 -m filecmp dumbpw/ tests/
diff dumbpw/ tests/
Only in dumbpw/ : ['candidate.py', 'charspace.py', 'cli.py', 'pwgen.py']
Only in tests/ : ['test_charspace', 'test_pwgen']
Differing files : ['__init__.py']
$ # print a calendar| ABC.DEF.GHI.JKL.MNO.PQRS.TUV.WXYZabc.def.ghi.jkl.mno.pqrs.tuv.wxyz | |
| ¢ ſß ΓΛΔ αδιλμξ КУЗЯ эльф язычникfloat il1[]={1-2/3.4,5+6=7/8%90}; | |
| 1234567890 ,._-+= >< ¯-¬_ >~–÷+×<{}[]()<>`+-=$*/#_%^@\&|~?'" !,.;: | |
| !iIlL17|¦ coO08BbDQ $5SZ2zsz 96G&dbqp E3 g9q CGQ vvw VVW /V <= >=÷ |
Firstly, what is <details> <summary>?
The HTML Details Element (
<details>) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label can be provided using the<summary>element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details.
| Question | Answer |
|---|---|
| What are you using the system for? | Mostly gaming. The hardware intensive games I play are "simulation" games (think Factorio) that are more CPU bound than GPU bound. I do not play the latest marquee games with the biggest and baddest graphics etc. |
| What's your budget? | $1300-$2000, although I doubt I need to go to the higher end of that range |
| """ | |
| Calculate 12 week periods in a year that have the fewest holidays. | |
| """ | |
| import argparse | |
| from datetime import date, datetime, timedelta | |
| from pprint import pprint as print | |
| from typing import List, Tuple | |
| from pandas.tseries.holiday import ( |
| { | |
| "black": { | |
| "neutral": { | |
| "hex": "#282828", | |
| "standard": 0, | |
| "8bit": 235, | |
| "ansi_fg": "\u001b[38;2;40;40;40m", | |
| "ansi_bg": "\u001b[48;2;40;40;40m" | |
| } | |
| }, |
| { | |
| "version": "2.6", | |
| "groups": [ | |
| { | |
| "name": "Watts to Joules/sec", | |
| "urls": [ | |
| "factoriolab.github.io", | |
| "wiki.factorio.com" | |
| ], | |
| "substitutions": [ |