Steps to deploy Node.js to VPS using PM2 and Github Actions
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
# syntax = docker/dockerfile:1.4.0 | |
FROM node:20 | |
WORKDIR /root | |
RUN npm install sqlite3 |
// ==UserScript== | |
// @name Baeggro - BOJ Result Offender | |
// @match https://www.acmicpc.net/status* | |
// @grant none | |
// @version 4.0 | |
// @author kiwiyou <kiwiyou.dev@gmail.com>, RanolP <public.ranolp@gmail.com> | |
// @downloadURL https://gist.githubusercontent.com/kiwiyou/ffb8beab11cbc64cb696639fd0c984c7/raw/baeggro.js | |
// @updateURL https://gist.githubusercontent.com/kiwiyou/ffb8beab11cbc64cb696639fd0c984c7/raw/baeggro.js | |
// ==/UserScript== |
//! This is free and unencumbered software released into the public domain. | |
//! | |
//! Anyone is free to copy, modify, publish, use, compile, sell, or | |
//! distribute this software, either in source code form or as a compiled | |
//! binary, for any purpose, commercial or non-commercial, and by any | |
//! means. | |
//! | |
//! In jurisdictions that recognize copyright laws, the author or authors | |
//! of this software dedicate any and all copyright interest in the | |
//! software to the public domain. We make this dedication for the benefit |
송출이 불안정한 스트리머의 방송을 최소한의 딜레이로 녹화하도록 만들어진 녹화 스크립트입니다. 호스팅 채널을 녹화하지 않고, TS파일을 직접 저장합니다.
이 스크립트는 24/7 상시감시 및 녹화를 위해 준비된 스크립트이고 설정 과정에서 약간의 프로그래밍적 지식이 필요합니다. 단타성 녹화를 원한다면 더 단순한 거 찾아다 쓰십쇼.
치지직용 스크립트를 테스트하고 있습니다. 여러분의 많은 기여가 필요합니다 🙏🙏
윈도에서도 작동은 하겠지만, 진짜 봇을 구축하려면 이 글의 작성자는 리눅스를 사용하는 걸 추천합니다. 리눅스를 쓰는 이유는, 적어도 얘는 업데이트 있다고 지멋대로 재부팅하지는 않으니까요 (대충 트위치 카파 콘)
@echo off | |
for /f "tokens=1-4 delims=/ " %%i in ("%date%") do ( | |
set day=%%i | |
set month=%%j | |
set year=%%k | |
) | |
for /f "tokens=1-4 delims=: " %%i in ("%time%") do ( | |
set hour=%%i |
I've been fiddling about with an idea lately, looking at how higher-kinded types can be represented in such a way that we can reason with them in Rust here and now, without having to wait a couple years for what would be a significant change to the language and compiler.
There have been multiple discussions on introducing higher-ranked polymorphism into Rust, using Haskell-style Higher-Kinded Types (HKTs) or Scala-looking Generalised Associated Types (GATs). The benefit of higher-ranked polymorphism is to allow higher-level, richer abstractions and pattern expression than just the rank-1 polymorphism we have today.
As an example, currently we can express this type:
AWS 학습 링크집 시리즈
- AWS 트레이닝 및 자격증 소개 http://bit.ly/aws-tnc-intro
- AWS 학습 자료집 http://bit.ly/aws-study-resource
- AWS 공인 솔루션스 아키텍트 - 어소시에이트 수험 가이드 http://bit.ly/sacertguide
- AWS 공인 개발자 - 어소시에이트 수험 가이드 http://bit.ly/devcertguide
- AWS 보안 관련 컨텐츠 모음집 http://bit.ly/secontents
- AWS 기반 빅데이터 학습자료집 http://bit.ly/bdonaws
- AWS 딥러닝 학습 자료 모음집 http://bit.ly/dlonaws
- 2019년 re:Invent 에서 공개된 AI/ML관련 서비스 소개 http://bit.ly/2019-ml-recap
This guide uses the domain your-domain.tld
and its www.
prefixed version.
It starts the rocket application on 127.0.0.1:1337
and as the user www-data
. The proxy listens on port 80 and 443 though.
If you need other values, update them accordingly in your nginx and systemd configs.
/* | |
* Created by C.J. Kimberlin | |
* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2019 | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights |