Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| #!/usr/bin/env bash | |
| # inspired by | |
| # https://gist.github.com/JannikArndt/feb720c1f5d210b4820b880af23f2a07 | |
| # which was inspired by | |
| # https://github.com/fwartner/mac-cleanup/blob/master/cleanup.sh | |
| # https://gist.github.com/jamesrampton/4503412 | |
| # https://github.com/mengfeng/clean-my-mac/blob/master/clean_my_mac.sh | |
| # https://github.com/szymonkaliski/Dotfiles/blob/master/Scripts/clean-my-mac | |
| # http://brettterpstra.com/2015/10/27/vacuuming-mail-dot-app-on-el-capitan/ / https://github.com/pbihq/tools/blob/master/MailDBOptimiser.sh |
| pip install -q -U bitsandbytes | |
| pip install -q -U git+https://github.com/huggingface/transformers.git | |
| pip install -q -U git+https://github.com/huggingface/peft.git | |
| pip install -q -U git+https://github.com/huggingface/accelerate.git | |
| pip install -q -U datasets | |
| pip install -q -U git+https://github.com/lvwerra/trl.git | |
| pip install wandb | |
| pip install sentencepiece |
| # coding=utf-8 | |
| # Copyright 2023 The HuggingFace Inc. team. All rights reserved. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
| #Try running this as separate cell in one of your notebooks: | |
| !tar chvfz notebook.tar.gz * |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| # Block Facebook IPv4 | |
| 127.0.0.1 www.facebook.com | |
| 127.0.0.1 facebook.com | |
| 127.0.0.1 login.facebook.com | |
| 127.0.0.1 www.login.facebook.com | |
| 127.0.0.1 fbcdn.net | |
| 127.0.0.1 www.fbcdn.net | |
| 127.0.0.1 fbcdn.com | |
| 127.0.0.1 www.fbcdn.com | |
| 127.0.0.1 static.ak.fbcdn.net |
| #!/usr/bin/env bash | |
| # 'Wi-Fi' or 'Ethernet' or 'Display Ethernet' | |
| INTERFACE=Wi-Fi | |
| # Ask for the administrator password upfront | |
| sudo -v | |
| # Keep-alive: update existing `sudo` time stamp until finished | |
| while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & |
| @ECHO OFF | |
| :: Check WMIC is available | |
| WMIC.EXE Alias /? >NUL 2>&1 || GOTO s_error | |
| setlocal enableDelayedExpansion | |
| Rem ################################# | |
| Rem ## Begin of user-editable part ## | |
| Rem ################################# |