Skip to content

Instantly share code, notes, and snippets.

@haisi

haisi/useful-commands.sh

Last active Mar 20, 2020
Embed
What would you like to do?
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