Skip to content

Instantly share code, notes, and snippets.

@kitzberger
kitzberger / TCA.php
Created Oct 22, 2021
TCA cheatsheet
View TCA.php
// RTE: https://docs.typo3.org/m/typo3/reference-tca/10.4/en-us/ColumnsConfig/Type/textDefault.html
'config' => [
'type' => 'text',
'enableRichtext' => true,
'cols' => 40,
'rows' => 6,
'eval' => 'trim',
'softref' => 'typolink_tag,images,email[subst],url',
],
View Potential Maintainers
Maintainers:
benley: latte-dock, latte-dock, latte-dock, latte-dock
ysndr: latte-dock, latte-dock, latte-dock, latte-dock
View as-4.py
import random
lotto = [[x for x in range(1, 46)]] * 10
lotto_ten = []
for i in range(10):
random.shuffle(lotto[i])
lotto_ten.append(lotto[i][0:6])
lotto_ten[i].sort()
print(lotto_ten[i])
View Changed Paths
aarch64-linux nixos-install-tools
aarch64-linux latte-dock
i686-linux nixos-install-tools
i686-linux latte-dock
x86_64-linux tests.nixos-functions.nixos-test
x86_64-linux latte-dock
x86_64-darwin latte-dock
x86_64-linux nixos-install-tools
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Oct 22, 2021
Rimworld output log published using HugsLib
View output_log.txt
This file has been truncated, but you can view the full file.
Log uploaded on Friday, October 22, 2021, 4:35:10 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.1.1.0]: 0Harmony(2.1.1), HarmonyMod(1.1.1)
BetterLoading(me.samboycoding.betterloading)[mv:3.2.0.1]: 0Harmony(av:2.1.1,fv:2.1.0), BetterLoading(2.3.0)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
PatchOperationHighlander(ccl.patchoperation.highlander): PatchOperationHighlander(0.0.0)
Startup impact(automatic.startupimpact): 0Harmony(av:2.1.1,fv:2.0.2), StartupImpact(1.1.7867.20184)
View CABTV UPDATE CHANGELOG [22.10.2021]
Site Updates:
- [General] Minor styling improvements.
- [General] Disabled automatic 30 day log out.
- [Admin] Fixed bug whereby scheduled posts were not sending subscribers notifications.
- [Live] Popout menu with options for each comment:
Information: Display detailed metadata about the comment and the author, including IP-based geo-location (accurate).
Report: Flag an inappropriate comment for moderation.
- [Live] Improved comment moderation system.
- [Live] Restored toggle button cycle for aspect ratio 4:3 (Cropped).
- [Live] New option 'Comment Limit'. Default (256), Max (512)
@Jason-Adam
Jason-Adam / rebase.md
Created Oct 22, 2021
How to rebase your branch from the main branch
View rebase.md

How to rebase your branch from the main branch

Pull the latest code from both the issue-123 and main branches with the following commands:

git checkout master
git pull origin master
git checkout issue-123
git pull origin issue-123
View as-3.py
import random
lotto_n = []
lotto_nums = list(range(1, 46))
def to_random_num(k):
if k == 0:
return
random.shuffle(lotto_nums)
View as-2.py
import random
lotto_nums = list(range(1, 46))
def to_random_num(num):
random.shuffle(lotto_nums)
lotto = lotto_nums[0:6]
lotto.sort()
return lotto
View keybase.md

Keybase proof

I hereby claim:

  • I am ivankatliarchuk on github.
  • I am ivankat (https://keybase.io/ivankat) on keybase.
  • I have a public key ASCs6_5-hESvQ9fPRHAd1rXUGvQNxAoBowZFKUvwX0rlRwo

To claim this, I am signing this object: