create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| var commentSchema = new Schema({ | |
| postId: { | |
| type: String, | |
| hashKey: true | |
| }, | |
| id: { | |
| type: String, | |
| rangeKey: true, | |
| default: shortId.generate |
| #if UNITY_EDITOR | |
| using UnityEditor; | |
| using System.IO; | |
| public class GenerateEnum | |
| { | |
| [MenuItem( "Tools/GenerateEnum" )] | |
| public static void Go() | |
| { | |
| string enumName = "MyEnum"; |
| using System; | |
| using System.Collections.Concurrent; | |
| using System.IO; | |
| using System.Threading.Tasks; | |
| using UnityEditor; | |
| using UnityEditorInternal; | |
| using UnityEngine; | |
| /// <summary> | |
| /// Uses file system watcher to track changes to specific files in the project directory. |
| using TMPro; | |
| using UnityEngine; | |
| [RequireComponent(typeof(TextMeshProUGUI))] | |
| public class BuildDisplayer : MonoBehaviour | |
| { | |
| private TextMeshProUGUI Text; | |
| private void Awake() | |
| { |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class GameEvent | |
| { | |
| } | |
| public class Events | |
| { | |
| static Events instanceInternal = null; |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| <?php | |
| // AWR Functions ////////////// | |
| function awr_get( $action, $params = [] ){ | |
| $token = env('AWR_KEY'); | |
| $awr_url = env('AWR_URL'); | |
| $paramsString = ""; | |
| if( count($params) > 0 ){ |
| function roundToHalf(value) { | |
| var converted = parseFloat(value); // Make sure we have a number | |
| var decimal = (converted - parseInt(converted, 10)); | |
| decimal = Math.round(decimal * 10); | |
| if (decimal == 5) { return (parseInt(converted, 10)+0.5); } | |
| if ( (decimal < 3) || (decimal > 7) ) { | |
| return Math.round(converted); | |
| } else { | |
| return (parseInt(converted, 10)+0.5); | |
| } |
| // They're a way to efficiently store and represent a collection of boolean values. --> | |
| //For example, taking this flags enum: | |
| enum Traits { | |
| None = 0, | |
| Friendly = 1 << 0, // 0001 -- the bitshift is unnecessary, but done for consistency | |
| Mean = 1 << 1, // 0010 | |
| Funny = 1 << 2, // 0100 | |
| Boring = 1 << 3, // 1000 |
| // Listen for orientation changes | |
| window.addEventListener("orientationchange", function() { | |
| // Announce the new orientation number | |
| alert(window.orientation); | |
| }, false); | |
| // Listen for resize changes | |
| window.addEventListener("resize", function() { | |
| // Get screen size (inner/outerWidth, inner/outerHeight) | |