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 | |
shopt -s expand_aliases | |
UPLOAD_ENTRYPOINT="https://vmm.pw" | |
UPLOAD_TOKEN="" | |
UPLOAD_DISCORD_WEBHOOK="" | |
fpath="$1" | |
fname="$(basename $fpath)" | |
fdir="$(dirname $fpath)" |
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
cl_showpos 1 | |
cl_showfps 1 | |
net_graph 0 | |
net_graphheight 50 | |
net_graphpos 1 | |
// performance | |
fps_max 63 | |
menu_cleanupgmas | |
gmod_mcore_test 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
#!/bin/bash | |
cd "${0%/*}" | |
GAMEMODE="sandbox" | |
ARGS=( | |
"-nomaster" | |
"+sv_setsteamaccount <CHANGEMESENPAI>" | |
"+host_workshop_collection 2835137286" | |
"+maxplayers 32" | |
"+map gm_cluster_01" |
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 | |
entrypoint=$ENTRYPOINT | |
project=${PROJECT:-paper} | |
version=$VERSION | |
build=$BUILD | |
sumbin=${SUMBIN:-sha256sum} | |
entrypoint_paper="https://papermc.io/api/v2" | |
entrypoint_purpur="https://api.purpurmc.org/v2" |
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
// ==UserScript== | |
// @name dcinside.list.preview.user.js | |
// @namespace https://github.com/toriato/userscripts/dcinside.list.preview.user.js | |
// @description 디시인사이드 갤러리 목록에서 제목 위에 커서를 올려 게시글을 미리 열람합니다 | |
// @author Sangha Lee <[email protected]> | |
// @icon https://nstatic.dcinside.com/dc/m/img/dcinside_icon.png | |
// @require https://github.com/toriato/userscripts/raw/master/library/fetch.js | |
// @match https://gall.dcinside.com/board/lists* | |
// @match https://gall.dcinside.com/mgallery/board/lists* | |
// @match https://gall.dcinside.com/mini/board/lists* |
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
# Logging | |
SyslogFacility AUTH | |
LogLevel VERBOSE | |
# Authentication | |
LoginGraceTime 2m | |
PermitRootLogin no | |
StrictModes yes | |
MaxAuthTries 1 | |
MaxSessions 4 |
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
param ( | |
[Parameter(HelpMessage = "서버 경로")] | |
[String] | |
$PathToServer = "$(Get-Location)\serverfiles", | |
[Parameter(HelpMessage = "서버 실행 파일 경로")] | |
[String] | |
$PathToServerExecutable = "$(Get-Location)\serverfiles\arma3server_x64_perf.exe", | |
[Parameter(HelpMessage = "프로필 경로")] |
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
<?php | |
define('MYSQL_DSN', 'mysql:host=mariadb;dbname=aeon'); | |
define('MYSQL_USER', 'MYUSER'); | |
define('MYSQL_PASS', 'MYP4SS'); | |
define('MYSQL_OPTIONS', [ | |
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, | |
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC | |
]); |
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
_type: export | |
__export_format: 4 | |
__export_date: 2022-03-03T09:17:49.623Z | |
__export_source: insomnia.desktop.app:v2021.7.2 | |
resources: | |
- _id: req_90b1c3ff75f94475b0366ad0bd3215f1 | |
parentId: fld_5c1bb9b53bed4a078e8a8bb4f5e5bb32 | |
modified: 1646298701854 | |
created: 1646293770269 | |
url: https://firebaseinstallations.googleapis.com/v1/projects/{{ |
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 | |
# cloudflare-ddns.sh | |
# requires bash, jq and curl to run! | |
# TODO: error handling :) | |
# token can be generate from https://dash.cloudflare.com/profile/api-tokens | |
# requires Zone.DNS permission to update DNS record | |
# more info on https://api.cloudflare.com/#getting-started-requests | |
TOKEN="__________" |