Curated list of Awesome Game Networking resources which is continuously being updated!
Please feel free to contribute after reading contribution guidelines.
Curated list of Awesome Game Networking resources which is continuously being updated!
Please feel free to contribute after reading contribution guidelines.
ProGrids seems to have disappeared from the Unity Package Manager as of Unity 2018.3.
It is possible to install ProGrids v2 via the Asset Store, but it's an old and incompatible version.
To install, you need to import the package manually:
manifest.json file in the Packages directory for editing.| import { v4 as uuid } from 'uuid'; | |
| export function generateId() { | |
| return uuid(); | |
| } | |
| const v4 = new RegExp(/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i); | |
| console.log(generateId().match(v4)); | |
| //console.log(generateId().length) |
| using ServiceStack.Text; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| using System.Threading.Tasks; |
| import { | |
| Injectable, | |
| Injector, | |
| ComponentFactoryResolver, | |
| EmbeddedViewRef, | |
| ApplicationRef | |
| } from '@angular/core'; | |
| @Injectable() | |
| export class DomService { |
| /* | |
| * This gist will help you to fix orientation | |
| * of image picked from local FS | |
| * without canvas. | |
| * CSS-only! | |
| * | |
| * @expample | |
| * const img = document.createElement('img') | |
| * img.src = URL.createObjectURL(file) | |
| * img.style.transform = ORIENT_TRANSFORMS[ getOrientation(file) ] |
Head over to developer.facebook.com and create an App
On your server, create a facebook webhook that will handle facebook calls. Then create a "leadgen" webhook on you App: https://developers.facebook.com/docs/graph-api/webhooks/v2.5
| 'use strict'; | |
| module.exports = function CustomError(message, extra) { | |
| Error.captureStackTrace(this, this.constructor); | |
| this.name = this.constructor.name; | |
| this.message = message; | |
| this.extra = extra; | |
| }; | |
| require('util').inherits(module.exports, Error); |
| /* | |
| Flexbox CSS helpers from the Polymer team. Extracted from https://github.com/PolymerElements/iron-flex-layout for use as just CSS. | |
| Docs: https://elements.polymer-project.org/guides/flex-layout | |
| @license | |
| Copyright (c) 2017 The Polymer Project Authors. All rights reserved. | |
| This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt | |
| The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | |
| The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt |