This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:: Self-elevate using PowerShell if not running as admin | |
net session >nul 2>&1 | |
if %errorlevel% neq 0 ( | |
powershell -Command "Start-Process '%~f0' -Verb RunAs" | |
exit /b | |
) | |
:: Create a file (not a directory) at the specified system path | |
copy /y nul "%SystemRoot%\System32\config\OSDATA" >nul 2>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
require('dotenv').config(); | |
} catch(e) { | |
console.error('dotenv not found'); | |
process.exit(1); | |
} | |
const os = require('os'); | |
const path = require('path'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Base URL for the repository | |
BASE_URL="https://github.com/polaco1782/linux-static-binaries/raw/refs/heads/master" | |
# Check if ~/.local/bin is in the PATH environment variable | |
if [[ ":$PATH:" != *":$HOME/.local/bin:"* ]]; then | |
echo "Error: ~/.local/bin is not in your PATH. Please add it by running:" | |
echo "export PATH=\$HOME/.local/bin:\$PATH" | |
exit 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
reg add HKCU\Software\Policies\Microsoft\Windows /v DisdableSearchBoxSuggestions /t REG_DWORD /d 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Package: raspberrypi-kernel | |
Pin: version 1:1.20220120-1 | |
Pin-Priority: 9999 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Touhou Project Derivative Works License for Doujin Projects | |
Note: This is not an official translation/condoned by the | |
copyright holder, ZUN. Please refer to official webpage | |
page for more information available at here: | |
https://touhou-project.news/guidelines_en/ | |
This reflects the Derivative works guidelines available at | |
2024-04-13 and in English version. But might have several | |
misinterpretations. Take this License file with a grain of salt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo K-Backdoor Remover | |
echo by Alex4386 | |
if [ -d "/Applications/AhnLab/ASTx" ]; then | |
echo Remove AhnLab unSafe Transaction: | |
cd /Applications/AhnLab/ASTx/ | |
open Uninstaller.app | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "์! ์์ฆ!", | |
"options": { | |
"body": "์ธ๋ํ ์ผ ์์๋๊ตฌ๋! ํน์ ๋ชจ๋ฅด์๋๋ถ๋ค์ ๋ํด ์ค๋ช ํด๋๋ฆฝ๋๋ค ์์ฆ๋ ์ธ๋ํ ์ผ์ ์ธ๊ฐ์ง ์๋ฉ๋ฃจํธ์ค ๋ชฐ์ด์๋ฉ์ ์ต์ข ๋ณด์ค๋ก ์ง.์ง.๊ฒ.๋.์ด.๋ ต.์ต.๋.๋ค ๊ณต๊ฒฉ์ ์ ๋ถ๋ค ํํผํ๊ณ ๋งํผ๊ฐ 92์ธ๋ฐ ์์ฆ์ ๊ณต๊ฒฉ์ 1์ด๋น 60์ด ๋ค๋๋ฐ๋ค๊ฐ ๋ ๋๊น์ง ์ถ๊ฐ๋ก ๋ถ์ด์์ต๋๋ค.. ํ์ง๋ง ์ด๋ฌ๋ฉด ์ ๋๋ก ๊ฒ์์ ๊นฐ ์ ๊ฐ์์ผ๋ ์ ์์ง์ด ์น๋ช ์ ์ธ ์ฝ์ ์ ๋ง๋ค์์ฃ . ์์ฆ์ ์น๋ช ์ ์ธ ์ฝ์ ์ด ๋ฐ๋ก ์ง์น๋ค๋๊ฒ์ ๋๋ค. ํจํด๋ค์ ๋ค ๊ฒฌ๋๊ณ ๋๋ฉด ์ง์ณ์ ์์ ์ ํด์ ์ ์งํ์ฑ๋ก ์ ์๋ญ๋๋ค. ํ์ง๋ง ์ ์ด๋ค์์๋ ์ฐฝ์์ฎ๊ฒจ์ ๊ณต๊ฒฉ์ ์๋ํ๊ณ ์์ฆ๋ 1์ฐจ๊ณต๊ฒฉ์ ํผํ์ง๋ง ๊ทธ ํ์ ๋ฐ๋ก๋ ์์ค๋ 2์ฐจ ๊ณต๊ฒฉ์ ๋ง๊ณ ์ฃฝ์ต๋๋ค.", | |
"icon": "https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/c3c992cc-63ed-4d82-9931-27612c27da52/d9udxh2-7e15ae0e-3796-4747-9263-5257949fa56c.png/v1/fill/w_1024,h_1024/sans_s_face__high_resolution_render__by_axis_strike_d9udxh2-fullview.png?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9MTAyNCIsInBhdGgiOiJcL2ZcL2MzYzk5MmNjLTYzZWQtNGQ4Mi05OTMxLTI3NjEyYzI3ZGE1MlwvZDl1ZHhoMi03ZTE1YWUwZS0zNzk2LTQ3NDctOTI2My01MjU3OTQ5ZmE1NmMucG5nIiwid2lkdGgiOiI8PTEwMjQifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { PrismaClient } from '@prisma/client'; | |
import { FastifyRequest } from 'fastify'; | |
import { getPaginationDataFromRequest } from './mysql'; | |
type PrismaQueryTargetsRaw = Omit<PrismaClient, `$${string}`>; | |
type PrismaQueryTargets = { | |
[K in keyof PrismaQueryTargetsRaw as K extends symbol ? never : K]: PrismaQueryTargetsRaw[K]; | |
}; | |
type PrismaQueryTarget = PrismaQueryTargets[keyof PrismaQueryTargets]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
date -s "$(curl -s --head http://google.com | grep ^Date: | sed 's/Date: //g')" |
NewerOlder