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
| " <leader> is the space bar. This MUST come before any <leader> mapping: the | |
| " leader is expanded when a mapping is defined, not when it is pressed, so | |
| " setting it further down would silently leave earlier mappings on backslash. | |
| let mapleader = " " | |
| let maplocalleader = " " | |
| " Space's normal job is 'move right one character', which l already does. | |
| nnoremap <Space> <Nop> | |
| filetype off |
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
| rm -rf * .godot | |
| wget -O project.godot \ | |
| https://gist.githubusercontent.com/WillSams/a6e3b853595ea6123b5a506acc0ba0a3/raw/f2fab5899029594d66bcba18a2b62cc62927fe81/generic_godot.settings | |
| # download the textures | |
| mkdir {scenes,textures} | |
| wget -O textures/icon.png \ | |
| https://github.com/godotengine/godot/blob/master/icon.png?raw=true | |
| wget -O textures/light.png \ | |
| https://clipground.com/images/white-light-png-9.png |
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
| # Custom assertion function for equality | |
| func assert_equal(actual, expected, message = 'Assertion failed: Values are not equal'): | |
| if actual != expected: | |
| var failure_message = 'Value did not equal: ' + message | |
| push_error(failure_message) | |
| else: | |
| print('Pass') | |
| # Custom assertion function for inequality |
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
| ; Engine configuration file. | |
| ; It's best edited using the editor UI and not directly, | |
| ; since the parameters that go here are not all obvious. | |
| ; | |
| ; Format: | |
| ; [section] ; section goes between [] | |
| ; param=value ; assign values to parameters | |
| config_version=5 | |
| iconfig_version=5 |
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
| " <leader> is the space bar. This MUST come before any <leader> mapping: the | |
| " leader is expanded when a mapping is defined, not when it is pressed, so | |
| " setting it further down would silently leave earlier mappings on backslash. | |
| let mapleader = " " | |
| let maplocalleader = " " | |
| " Space's normal job is 'move right one character', which l already does. | |
| nnoremap <Space> <Nop> | |
| filetype off |
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 -euo pipefail | |
| # Install vim-plug | |
| curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
| https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
| # Write ~/.vimrc (overwrites any existing one) | |
| cat > "$HOME/.vimrc" <<'EOF' | |
| set nocompatible |
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
| -- GODOT CONFIGURATION -------------------------------------------- | |
| local dap = require('dap') | |
| dap.adapters.godot = { | |
| type = "server", | |
| host = '127.0.0.1', | |
| port = 6008, | |
| } | |
| dap.configurations.gdscript = { | |
| { |
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
| # Open PLC Install | |
| # Editor and runtime | |
| mkdir temp && cd $_ | |
| git clone https://github.com/thiagoralves/OpenPLC_v3.git | |
| cd OpenPLC_v3 | |
| sudo bash -c "./install.sh linux" | |
| cd ../.. |
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
| %YAML 1.1 | |
| %TAG !u! tag:unity3d.com,2011: | |
| --- !u!114 &1 | |
| MonoBehaviour: | |
| m_ObjectHideFlags: 52 | |
| m_CorrespondingSourceObject: {fileID: 0} | |
| m_PrefabInstance: {fileID: 0} | |
| m_PrefabAsset: {fileID: 0} | |
| m_GameObject: {fileID: 0} | |
| m_Enabled: 1 |
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
| [ | |
| { | |
| "id": "bf767ff1cdc5fa2f", | |
| "type": "tab", | |
| "label": "Getting Started", | |
| "disabled": false, | |
| "info": "", | |
| "env": [] | |
| }, | |
| { |
NewerOlder