This file contains 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
// ----- INSTALLATION GUIDE | |
// 1. Copy jump.cfg file into directory: | |
// STEAM/steamapps/common/Team Fortress 2/tf/cfg | |
// or | |
// STEAM/steamapps/common/Team Fortress 2/tf/custom/YOUR_NICE_DIRECTORY_NAME/cfg | |
// 2. Launch your home (Local) server | |
// 3. Join to team, pick your class (Soldier? Demo? Pyro?) | |
// 4. Open console and type "exec jump" | |
// 5. Play | |
// |
This file contains 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
@echo off | |
:: ouput the embeded text file to a temporary file | |
for /f "delims=:" %%N in ('findstr /nxl /c:"::BEGIN TEXT" "%~f0"') do ( | |
more +%%N "%~f0" >default_level_sounds.txt | |
) | |
:: loop through jump map files, and copy the embeded text file to <filename>_level_sounds.txt | |
for /f %%f in ('dir /b .\jump_*.bsp') do ( | |
copy "default_level_sounds.txt" "%%~nf_level_sounds.txt" >nul 2>&1 && echo %%~nf |
This file contains 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
_ballplayertoucher | |
_firesmoke | |
_plasma | |
ai_ally_speech_manager | |
ai_battle_line | |
ai_changehintgroup | |
ai_changetarget | |
ai_goal_assault | |
ai_goal_follow | |
ai_goal_lead |
This file contains 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
// REAL BLOGS, ENTIRELY OPTIMISED | |
https://blog.fefe.de/ | |
http://prog21.dadgum.com/ | |
https://zupzup.org/ | |
https://elliotec.com | |
https://www.tedunangst.com/flak/ | |
http://rtfm.killfile.pl/ | |
// OTHER BLOGS OR MOTIVATIONS YOU CAN CHECK |
This file contains 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
var fs = require('fs') | |
var path = require('path') | |
var location = 'content' | |
fs.readdirSync(location) | |
.filter(x => { | |
return fs.lstatSync(path.join(location, x)).isDirectory() | |
}) | |
.forEach(dir => { |
This file contains 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
style | |
. | |
.someclass1{ | |
font-size:10px; | |
} | |
.someclass2{ | |
font-size:10px; | |
} | |
if options.key1=='a' | |
. |
This file contains 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
function clean(o) { | |
Object.keys(o).forEach(k => (!o[k] && o[k] !== undefined) && delete o[k]); | |
return o; | |
} |
This file contains 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
let a = {}; | |
Object.keys(b).sort().forEach(key => { | |
a[key] = b[key]; | |
}); |
This file contains 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
require('http') | |
.createServer() | |
.listen({ | |
port: 4000 | |
}) | |
.on('request', (req, res) => { | |
res.end('Hello World!'); | |
}); |
OlderNewer