Repo desc...
This file contains 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
name: NestJS Deploy | |
on: | |
push: | |
branches: [ api ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: |
This file contains 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
// From original answer here: https://stackoverflow.com/a/18934385/1844007 | |
// ESM Version | |
// Example FileTree: ./json/2022/12/18/data.json | |
import fs from 'fs' | |
let filetree = {} | |
const walkDirectory = (dir, obj) => { | |
const files = fs.readdirSync(dir) |
This file contains 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
diff --git a/dwm-orig/dwm.c b/dwm/dwm.c | |
index e5efb6a..d9fe250 100644 | |
--- a/dwm-orig/dwm.c | |
+++ b/dwm/dwm.c | |
@@ -725,10 +725,6 @@ drawbar(Monitor *m) | |
w = TEXTW(tags[i]); | |
drw_setscheme(drw, scheme[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]); | |
drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], urg & 1 << i); | |
- if (occ & 1 << i) | |
- drw_rect(drw, x + boxs, boxs, boxw, boxw, |
Sometimes you want to have a subdirectory on the master
branch be the root directory of a repository’s gh-pages
branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master
branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named dist
.
Remove the dist
directory from the project’s .gitignore
file (it’s ignored by default by Yeoman).
This file contains 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
APP_NAME=Laravel | |
APP_ENV=local | |
APP_KEY= | |
APP_DEBUG=true | |
APP_URL=http://localhost | |
LOG_CHANNEL=stack | |
LOG_DEPRECATIONS_CHANNEL=null | |
LOG_LEVEL=debug |
This file contains 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
#!/usr/bin/env bash | |
# | |
# Arquivo: background-music.sh | |
# | |
# Feito por Lucas Saliés Brum a.k.a. sistematico, <lucas@archlinux.com.br> | |
# | |
# Criado em: 15/02/2021 03:46:17 | |
# Última alteração: 15/02/2021 03:46:12 | |
# | |
# Fonte: https://stackoverflow.com/a/11783474/1844007 |