Create zip on macos without the hidden directories (for elasticbeanstalk)
zip -rX v0.49.4.zip . -x '**/.DS_Store' -x '.DS_Store'
unzip -v v0.49.4.zip
ARG NODE_VERSION | |
# Typescript build | |
FROM node:$NODE_VERSION as builder | |
# Server build | |
WORKDIR /src | |
COPY ./src ./src | |
COPY index.ts ./ | |
COPY tracing.ts ./ |
zip -rX v0.49.4.zip . -x '**/.DS_Store' -x '.DS_Store'
unzip -v v0.49.4.zip
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage | |
reg add HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR /f /t REG_DWORD /v "AppCaptureEnabled" /d 0 | |
reg add HKEY_CURRENT_USER\System\GameConfigStore /f /t REG_DWORD /v "GameDVR_Enabled" |
import { PostgreSqlContainer, StartedPostgreSqlContainer } from "@testcontainers/postgresql" | |
class ResettablePostgreSqlContainer extends PostgreSqlContainer { | |
private dumpSaveDirectory: string = "" | |
override async start(): Promise<StartedResettablePostgreSqlContainer> { | |
const container = await super.start() | |
return new StartedResettablePostgreSqlContainer(this.dumpSaveDirectory, container) | |
} |
kill -9 $(lsof -ti:8080) |
python3 -m http.server 8080 |
# Find files matching a pattern and then copy to directory | |
find . -maxdepth 1 -type f -iname "*s.bmp" | xargs -I _ cp _ ./S | |
# Find files of extension and delete | |
find . -type f -iname "*.blend" -exec rm {} \; | |
# Check if repository exists (0: exists) | |
git -C ./qweebi-unity rev-parse 2>/dev/null; echo $? |
! https://www.reddit.com/r/uBlockOrigin/comments/yrtr3r/comment/j0v3gac/ | |
! Reddit app ad | |
www.reddit.com##.XPromoPopupRpl | |
www.reddit.com##xpromo-new-app-selector | |
www.reddit.com##.bottom-bar, .XPromoBottomBar | |
www.reddit.com##.useApp,.TopNav__promoButton | |
www.reddit.com##body:style(pointer-events:auto!important;) |
git branch --list | grep -v "^* $(git branch --show-current)$" | xargs git branch -D
git reflog expire --expire=now
git prune
git lfs prune
tasks.test { | |
useJUnitPlatform() | |
testLogging { | |
exceptionFormat = TestExceptionFormat.FULL | |
events("skipped", "failed", "passed") | |
} | |
} |