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
| ;;; init.el --- Spacemacs Initialization File | |
| ;; | |
| ;; Copyright (c) 2012-2017 Sylvain Benner & Contributors | |
| ;; | |
| ;; Author: Sylvain Benner <[email protected]> | |
| ;; URL: https://github.com/syl20bnr/spacemacs | |
| ;; | |
| ;; This file is not part of GNU Emacs. | |
| ;; | |
| ;;; License: GPLv3 |
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
| using UnityEngine; | |
| using System.Collections; | |
| public class CameraScreenResolution : MonoBehaviour { | |
| public bool maintainWidth=true; | |
| [Range(-1,1)] | |
| public int adaptPosition; | |
| float defaultWidth; |
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
| require "net/http" | |
| def start_server | |
| # Remove the X to enable the parameters for tuning. | |
| # These are the default values as of Ruby 2.2.0. | |
| @child = spawn(<<-EOC.split.join(" ")) | |
| XRUBY_GC_HEAP_FREE_SLOTS=4096 | |
| XRUBY_GC_HEAP_INIT_SLOTS=10000 | |
| XRUBY_GC_HEAP_GROWTH_FACTOR=1.8 | |
| XRUBY_GC_HEAP_GROWTH_MAX_SLOTS=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
| var Tutorials = require('../profiles/tutorials'); | |
| var FightSystem = function (player, enemy) { | |
| this.player = player | |
| this.enemy = enemy | |
| } | |
| var suggestions = [ | |
| {name: 'if', value: 'if', score: '1', meta: 'keyword'}, | |
| {name: 'else', value: 'else', score: '1', meta: 'keyword'}, | |
| {name: 'for', value: 'for', score: '1', meta: 'keyword'}, | |
| {name: 'switch', value: 'switch', score: '1', meta: 'keyword'}, |