- log search API
- events search
- settings API
- systems
- list
- show
- register
- update
- systems
- remove
This file contains hidden or 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
| # Inspiration, credits, references: | |
| # - https://gist.github.com/nickrttn/28acb67356c77b838493f31a6286fc03 | |
| # - https://juliu.is/tidying-your-home-with-nix/ | |
| # - https://github.com/Arkham/dotfiles.nix/blob/ba85362abf3a442b327d0b8fbb4691de5649cf40/home.nix | |
| # - https://github.com/nix-community/home-manager/tree/master/modules/programs | |
| # - https://github.com/NixOS/nixpkgs/blob/master/pkgs/shells/ | |
| # - https://github.com/nix-community/home-manager/issues/1341 | |
| # - https://github.com/abiosoft/colima | |
| # - https://jeppesen.io/git-commit-sign-nix-home-manager-ssh/ | |
| # - https://github.com/NelsonJeppesen/nix-lifestyle/blob/main/home-manager/git.nix |
This file contains hidden or 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
| Some todos I can think off: | |
| - [ ] Make Modal prettier and accessible using Artur's research | |
| - [ ] Convert `GoogleDrive` to adhere to `Dummy`'s format, so it'sare compatible with the new Modal | |
| - [ ] Convert `DragDrop` to adhere to `Dummy`'s format, so it'sare compatible with the new Modal | |
| - [ ] Make `ProgressBar` work with the new Modal | |
| - [ ] Rename FakeModal to Modal, deprecating our old one | |
| - [ ] Make the Modal look like Harry's sketchup | |
| - [ ] ? |
This file contains hidden or 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
| // Add this to your keybindings.json, you can find it by typing Keyboard from the command palette | |
| ... | |
| { | |
| "key": "shift+cmd+enter", | |
| "command": "workbench.action.tasks.runTask", | |
| "args": "saveWIPAndSync" | |
| } | |
| ... |
This file contains hidden or 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
| // In Chrome, right click => Inspect Element | |
| // Goto the Console tab. | |
| // Execute the following: | |
| var script = document.createElement("script"); | |
| script.type = "text/javascript"; | |
| script.src = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"; | |
| document.getElementsByTagName('head')[0].appendChild(script); | |
| $(':checkbox').prop('checked', false); |
This file contains hidden or 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
| #!/opt/bin/bash | |
| # @todo: Don't delete parent dir if Dir == Root | |
| # @todo: Root = $1 - But what about series! | |
| set +x | |
| export PATH="/opt/bin:/opt/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/syno/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/syno/bin:/usr/syno/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/syno/bin:/usr/syno/sbin:/usr/local/bin:/usr/local/sbin" | |
| # Locking | |
| LockFile="/volume1/downloads/nas_is_unpacking.lock" | |
| if [ -f "${LockFile}" ]; then |
This file contains hidden or 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 | |
| set -o pipefail | |
| set -o errexit | |
| set -o nounset | |
| # set -o xtrace | |
| newline=$'\n' | |
| # ps %cpu is total consumption divided by total runtime, so we use | |
| # the second iteration of top here to get a clean current value: |
cd ~/code/uppy
git checkout main
git status
# make sure to have a clean working tree
git pull
yarn # you now have the node_modules from main, this includes the linting modules
git checkout $myBranch # e.g. `golden-retriever-ghosts-2`
git checkout main -- .eslintrc.js
git add .eslintrc.js
This file contains hidden or 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
| # Licensed under MIT. | |
| # Copyright (2016) by Kevin van Zonneveld https://twitter.com/kvz | |
| # | |
| # This Makefile offers convience shortcuts into any Node.js project that utilizes npm scripts. | |
| # It functions as a wrapper around the actual listed in `package.json` | |
| # So instead of typing: | |
| # | |
| # $ npm script build:assets | |
| # | |
| # you could just as well type: |
kvz: "I'm recommending these Mac apps to a colleague who's losing his OSX virginity: https://gist.github.com/1372883. Anything you think I should add?"
Don't forget to look at the suggestions at the bottom, there's some cool stuff in there.
- 1Password - password manager. intergrates with Dropbox & all main webbrowsers so you'll never lose a password again
- Dropbox - a free 2GB folder in your homedir that stays in sync with all the devices you also install it on (linux/windows/mac/ipad/iphone/etc). Useful for backup, collaboration (share 1 folder with others), and keeping important documents with you.
- Chrome - browsing
- Colloquy - IRC
NewerOlder