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
| ; ---------------------------------------------------------------- | |
| ; Script AutoHotKey per settare gimbal pitch dei motori del DGIV | |
| ; (Orbiter Space Simulator) con Alt+J/K/L | |
| ; PicciMario <mario.piccinelli@gmail.com> | |
| ; Versione 0.1 29/11/2016 | |
| ; ---------------------------------------------------------------- | |
| ; Coordinate centrali del controllo pitch nella schermata del gioco | |
| dgiv_gimbal_x:=897 | |
| dgiv_gimbal_y:=976 |
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
| # Prints the name of a random file in the current directory | |
| #! /bin/bash | |
| set -- * | |
| length=$# | |
| random_num=$(( $RANDOM % ($length + 1) )) | |
| echo ${!random_num} |