CTRL+R:
- -> repository name
- N3RO -> github name
- -> short description
- -> name of the course
- -> name of the university
- -> grade of the project
- CONTRIBUTING.md -> url to CONTRIBUTING.md
- CHANGELOG.md -> url to CHANGELOG.md
- -> license name
CTRL+R:
When contributing to this repository, please make sure that the following rules are respected. If the rules are respected, you are free to change anything you want in the code ! Make a pull request and I will merge it - make sure to explain your changes ! :)
import sys | |
# Print iterations progress | |
def print_progress(iteration, total, | |
prefix='', suffix='', decimals=1, bar_length=100): | |
""" | |
Call in a loop to create terminal progress bar | |
@params: |
unbindall | |
bind "0" "slot10" | |
bind "1" "slot1" | |
bind "2" "slot2" | |
bind "3" "slot3" | |
bind "4" "slot4" | |
bind "5" "slot5" | |
bind "6" "slot6" | |
bind "7" "slot7" | |
bind "8" "slot8" |
echo "-- AUTOEXEC RUNNING --" | |
echo "Binding jumpthrow... (j)" | |
alias "+jumpthrow" "+jump;-attack"; alias "-jumpthrow" "-jump"; bind j "+jumpthrow" | |
echo "Binding crosshair max... (alt)" | |
alias "+crosshairmax" "cl_crosshairsize 5000; cl_crosshairgap -10; cl_crosshairthickness 0.5" | |
alias "-crosshairmax" "cl_crosshairsize 2; cl_crosshairgap -2; cl_crosshairthickness 0.1" | |
bind alt "+crosshairmax" |
-novid -tickrate 128 -language bananagaming |
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="js/app.js"></script>
new Vue({
el: '#id',
data: {
// ...
/** | |
* The most used keys are mapped here. If not, the function | |
* will return -2. -1 is reserved for "GLFW_KEY_UNKNOWN". | |
* | |
* Version 1.0 | |
* Future updates here: https://gist.github.com/N3ROO/eb0cc2fc38920fb5081aba2c542eda55 | |
* | |
* @param vk_code Virtual key code | |
* @return the GLFW key code corresponding (-2 if not supported) | |
*/ |
/** | |
* All the keys listed in java.awt.event are listed here. If there | |
* is no GLFW equivalent the function returns -2. Otherwise it returns | |
* the GLFW code. -1 is reserved for the GLFW's unknown code. | |
* | |
* /!\ 1. java.awt.event.KeyEvent does not make any difference between left and right keys for: | |
* - shift, | |
* - control, | |
* - alt. | |
* So we had to decide, and this function return the code of the right one. |