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
| import 'rxjs'; | |
| import { Observable } from 'rxjs'; | |
| Observable.prototype.debug = function(_message) { | |
| const message = `EpicDebug: ${_message}`; | |
| return this.do( | |
| function(next) { | |
| if (__DEV__) { |
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
| ### Last tested February 7 2014 on a Galaxy S3 (d2att) running Cyanogenmod 11 nightly, with Google Authenticator 2.49. | |
| ### Device with Google Authenticator must have root. | |
| ### Computer requires Android Developer Tools and SQLite 3. | |
| ### Connect your device in USB debugging mode. | |
| $ cd /tmp | |
| $ adb root | |
| $ adb pull /data/data/com.google.android.apps.authenticator2/databases/databases |
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
| #include <mapbox/variant.hpp> | |
| #include <redux.hpp> | |
| struct Increment | |
| { | |
| }; | |
| struct Decrement | |
| { | |
| }; |
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 System; | |
| using System.Collections.Generic; | |
| using UnityEngine.Events; | |
| // interface you implement in your MB to receive events | |
| public interface ICustomHandler : IEventSystemHandler | |
| { | |
| void OnCustomCode(CustomEventData eventData); | |
| } |
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 UniRx; | |
| using UniRx.Triggers; | |
| // NOTE: Unity won't actually let you put two MonoBehaviours in one file. | |
| // They're both listed here just for convenience. | |
| namespace Assets.Scripts.v2 { | |
| public class InputsV2 : MonoBehaviour { |
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 UniRx; | |
| using UniRx.Triggers; | |
| // NOTE: Unity won't actually let you put two MonoBehaviours in one file. | |
| // They're both listed here just for convenience. | |
| namespace Assets.Scripts.v1 { | |
| public class InputsV1 : MonoBehaviour { |
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
| // One thing I do different from other DOD users is that I hide implementation a bit more | |
| // in cases where the implementation takes a bit more time or experimentation to get right. | |
| // You can still dive in when you need to change it, but as long as it works, you can ignore it. | |
| void mainThreadThing() | |
| { | |
| //OOP: | |
| TimingThing time = new TimingThing(); | |
| time.saveCurrentTime(); | |
| TimingThing otherTime = new TimingThing(); |
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
| /* | |
| since you have to poll the gamepad pai instead of interrupt events | |
| like ALL the other input devices here is a shim yeah and not a good one | |
| */ | |
| (function(){ | |
| window.GAMEPADEVENTSHIM = true | |
| const ON = window.addEventListener |
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
| { | |
| {I have|I've} been {surfing|browsing} online more than {three|3|2|4} hours today, yet I never found | |
| any interesting article like yours. {It's|It is} pretty worth enough for | |
| me. {In my opinion|Personally|In my view}, if all {webmasters|site owners|website | |
| owners|web owners} and bloggers made good content as you did, the {internet|net|web} will be | |
| {much more|a lot more} useful than ever before.| | |
| I {couldn't|could not} {resist|refrain from} commenting. {Very well|Perfectly|Well|Exceptionally | |
| well} written!| | |
| {I will|I'll} {right away|immediately} {take hold of|grab|clutch|grasp|seize|snatch} your {rss|rss feed} as | |
| I {can not|can't} {in finding|find|to find} your {email|e-mail} subscription {link|hyperlink} or |
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
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
| <title>Title Goes Here</title> | |
| <!-- SEO --> | |
| <meta name="description" content="The description of your page will go here. Make sure that every page on your site has a meta description. Differentiate the descriptions for different pages.Programmatically generate descriptions."> | |
| <link rel="canonical" href="http://website.com/example.html"> | |
| <link rel="shortcut icon" href="/favicon.ico"> |