One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| ########## | |
| # Win10 Initial Setup Script | |
| # Author: Disassembler <[email protected]> | |
| # Version: 1.7, 2016-08-15 | |
| # dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
| # THIS IS A PERSONALIZED VERSION | |
| # This script leaves more MS defaults on, including MS security features. | |
| # Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
| ########## | |
| # Win10 Initial Setup Script | |
| # Author: Disassembler <[email protected]> | |
| # Version: 1.7, 2016-08-15 | |
| # dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
| # THIS IS A PERSONALIZED VERSION | |
| # This script leaves more MS defaults on, including MS security features. | |
| # Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.html$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.html [L] | |
| </IfModule> |
| const assert = require('assert'); | |
| const mongoose = require('mongoose'); | |
| mongoose.set('debug', true); | |
| const GITHUB_ISSUE = `1234`; | |
| const connectionString = `mongodb://localhost:27017/${ GITHUB_ISSUE }`; | |
| const { | |
| Schema, | |
| SchemaTypes | |
| } = mongoose; |
| { | |
| "terminal.external.osxExec": "iTerm.app", | |
| "terminal.integrated.shell.osx": "/bin/zsh", | |
| "terminal.integrated.fontFamily": "Source Code Pro", | |
| "terminal.integrated.fontSize": 13, | |
| "workbench.startupEditor": "newUntitledFile", | |
| "git.autofetch": true, | |
| "scssFormatter.tabWidth": 4, | |
| "scssFormatter.useTabs": true, | |
| "files.associations": { |
| // Config for server | |
| sv_cheats 1 | |
| sv_infinite_ammo 1 | |
| ammo_grenade_limit_total 5 | |
| mp_warmup_end | |
| mp_freezetime 0 | |
| mp_roundtime 60 | |
| mp_roundtime_defuse 60 | |
| sv_grenade_trajectory 1 | |
| sv_grenade_trajectory_time 10 |
| listening() { | |
| if [ $# -eq 0 ]; then | |
| sudo lsof -iTCP -sTCP:LISTEN -n -P | |
| elif [ $# -eq 1 ]; then | |
| sudo lsof -iTCP -sTCP:LISTEN -n -P | grep -i --color $1 | |
| else | |
| echo "Usage: listening [pattern]" | |
| fi | |
| } |
| var fs = require('fs'); | |
| var webpack = require('webpack'); | |
| var nodeModules = {}; | |
| fs.readdirSync('node_modules') | |
| .filter(function(x) { | |
| return ['.bin'].indexOf(x) === -1; | |
| }) | |
| .forEach(function(mod) { | |
| nodeModules[mod] = 'commonjs ' + mod; | |
| }); |
| import express from 'express'; | |
| import webpack from 'webpack'; | |
| import webpackConfig from '../webpack.config.js'; | |
| import * as webpackDevMiddleware from 'webpack-dev-middleware'; | |
| import * as webpackHotMiddleware from 'webpack-hot-middleware'; | |
| const app = express(); | |
| const port = 8080; // default port to listen | |
| const compiler = webpack(webpackConfig as any); |