Skip to content

Instantly share code, notes, and snippets.

View r-this's full-sized avatar
🌸

R. ロドマン r-this

🌸
View GitHub Profile
@r-this
r-this / nvm-npx-nuxi-npm-node-version-errors.md
Created August 25, 2023 01:01
npx nuxi dev nuxi/cli unexpected string error, incompatible nodejs version, npm nvm

Node Version Errors - NVM Fix

Error Messages

import 'nuxi/cli' ^^^^^^^^^^ SyntaxError: Unexpected string
npx nuxi unexpected string
nuxi dev
@r-this
r-this / npm-install-bash-error-wsl2.md
Last active August 24, 2023 23:57
npm error: /usr/bin/env: ‘bash\r’: No such file or directory

NPM Install Error

Error Message /usr/bin/env: ‘bash\r’: No such file or directory

Error running the following commands in WSL2 (e.g. VS Code WSL2 bash or zsh terminal)

npm install
npm
npm start
npm run start
@r-this
r-this / git_default_branch_main.bash
Created July 18, 2022 15:36
Change git default branch name to main
git config --global init.defaultBranch main
@r-this
r-this / audacity_lame.md
Last active September 11, 2020 16:51
Where to download lame_enc.dll for Windows for Audacity (Official)
@r-this
r-this / mdcomments.md
Last active May 7, 2020 15:08
comments in markdown

[//]: # (Comment)

Thanks Magnus:

[//]: # (This may be the most platform independent comment)

@r-this
r-this / cosmic_latte.md
Last active August 24, 2023 23:47
Cosmic Latte: The Average Color of the Universe
@r-this
r-this / gist:4174b7e8774aed8ab76fe3d514058a9d
Created March 3, 2020 15:04
Python: Check library versions
# CLI:
pip freeze
**Description**
theProblem
**Example**
`code`
**Observed**
whatHapp
**Expected**
def empty():
pass
@r-this
r-this / __main__.py
Last active March 2, 2020 16:31
Python3 Header
#!/usr/bin/env python3
def main():
flag = 1
while(flag):
print('This is brute force... Press Ctrl+C to break.')
if __name__ == '__main__':
main()