Skip to content

Instantly share code, notes, and snippets.

@haisi
Last active March 20, 2020 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haisi/bde375e39400d1f6ed9068e1406d087c to your computer and use it in GitHub Desktop.
Save haisi/bde375e39400d1f6ed9068e1406d087c to your computer and use it in GitHub Desktop.
useful-commands
# chrome commands and JS
## Change the playback rate of all videos on a page
document.querySelector('video').playbackRate = 1.2
# start a jupyter notebook from any folder
jupyter notebook .
# start a minimal react-app
npm install -g create-react-app
create-react-app react-hello-world
browser-sync . -f . -b "google chrome" --no-notify
# um alles zusammen zu fassen (module in ein File)
rollup app.js -f esm > file.js
# dotnet core
## Create new project and add to solution
dotnet new classlib -n backend.Pbe
dotnet sln dic.sln add backend.Pbe/
## Run tests
dotnet test backend.Pbe.Tests/backend.Pbe.Tests.csproj
# ConEmu set tab name
ConEmuC -GuiMacro Rename 0 "Virtual Drive"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment