Skip to content

Instantly share code, notes, and snippets.

View webdagger's full-sized avatar

Ayomipo Newton webdagger

View GitHub Profile
class PathMe {
moves: string[] = [];
constructor() {
this.moves = [];
return this;
}
moveTo(x: number, y: number) {
@webdagger
webdagger / deploy.sh
Created February 12, 2023 08:14 — forked from stancl/deploy.sh
Deploy using GitHub actions and SSH to a VPS
#!/bin/sh
set -e
vendor/bin/phpunit
npm run prod
git add .
(git commit -m "Build frontend assets for deployment to production") || true
(git push) || true
Svelte 7 hrs 10 mins ███████▍░░░░░░░░░░░░░ 35.5%
TypeScript 4 hrs 40 mins ████▊░░░░░░░░░░░░░░░░ 23.1%
Python 4 hrs 3 mins ████▏░░░░░░░░░░░░░░░░ 20.0%
JSON 2 hrs 23 mins ██▍░░░░░░░░░░░░░░░░░░ 11.8%
Bash 1 hr 7 mins █▏░░░░░░░░░░░░░░░░░░░ 5.6%