- Install vJoy
- Install freePIE
- In freePIE: new file -> copy script below -> save as'BLAH'
- Run script (F5)
- Launch DCS (on my machine has to be after a joystick is added, but you'll probably be fine running dcs first)
- Settings -> Controls -> Select Su-25T (or any module) -> Select 'Axis Commands' in category dropdown
- Bind pitch and Roll (can double click on field in vJoy Device column) to JOY_X, JOY_Y respectively
- Click OK (I cannot state how many times I quit accidentally and lost ~15mins worth of keybinds)
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
"7": [ | |
{ | |
"color": "004000", | |
"trigger": { | |
"id": "FLP_LG_FULL_FLAPS_LT", | |
"value": 1, | |
"comparator": "EqualTo" | |
}, | |
"priority": 2 | |
}, |
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
// Fix the bugs, only change 3 lines, no additions or deletions of whole lines | |
// Takes an array of 0's & 1's, i.e. [0, 1, 0, 1, 1], arrays sized 1 - 100 | |
// Imagine there is a row of coins on a tables, either heads or tails up, represented by 0 or 1 | |
// Code calculates the maximum number of adjacent heads or tails AFTER one of the coins has been flipped | |
// e.g. | |
// [0, 1, 1, 0] would return 2 | |
// [0, 1, 1, 0, 0, 0, 1] would return 4 | |
class Solution { |
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
import java.util.Collection; | |
import java.util.Arrays; | |
import java.util.Map; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.Map.Entry; | |
public class Main { | |
public static void main(String[] args) { |
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
import com.logdyn.controllers.RepositoryController; | |
import com.logdyn.model.Task; | |
import com.logdyn.model.Timer; | |
import com.logdyn.model.WorkLog; | |
import com.logdyn.model.auth.BasicAuthenticator; | |
import java.net.URL; | |
import java.util.Optional; | |
class Scratch { |
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
{"lastUpload":"2018-08-15T18:19:37.406Z","extensionVersion":"v3.0.0"} |
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
npm install express-generator -g | |
express --view=pug express-pug-generated | |
cd express-pug-generated/ | |
code package.json | |
# Add the following two properties: | |
# "bin": "bin/www", | |
# "pkg": { | |
# "assets": | |
# [ |