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
public void Test_Add_And_Remove_Item_From_Cache_Pass() | |
{ | |
Customer customer = new Customer | |
{ | |
CustomerId = new Random(DateTime.Now.Millisecond).Next(), | |
FirstName = "Mary", | |
LastName = "Doe", | |
Address = "555 Main St.", | |
City = "Austin", | |
State = "TX", |
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
--This script attempts to migrate the users | |
--from the old ASP.Net Membership tables | |
--into the new SimpleMemberShip tables | |
--The SimpleMembsership uses more secure password hashing, as such the old password hashes won't | |
--work with the SimpleMembership tables. | |
--As far as I can tell you have two options | |
--1) Get your users to reset their passwords | |
--2) Update your web.config to force SimpleMembership to use the old SHA1 format. See more details | |
--here http://stackoverflow.com/questions/12236533/migrating-from-asp-net-membership-to-simplemembership-in-mvc4-rtm |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Folder\shell\Unity5] | |
@="" | |
"Icon"="%ProgramFiles%\\Unity\\Editor\\Unity.exe" | |
"MUIVerb"="Open as Unity Project" | |
[HKEY_CLASSES_ROOT\Folder\shell\Unity5\Command] | |
@="cmd /c start /D\"c:\\Program Files\\Unity\\Editor\\\" Unity.exe -projectPath \"%1\"" |
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 UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
using UnityEngine.Rendering; | |
//Dumps the default Graphics Api selection for a particular platform in Unity | |
public class DumpGraphicsApi : MonoBehaviour | |
{ | |
// Use this for initialization |
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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class PlayerControllerWithPhysics : MonoBehaviour | |
{ | |
private Rigidbody rb; | |
private float horizontal; | |
private float vertical; | |
public float Speed = 5; |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class EnemyController : MonoBehaviour | |
{ | |
private Rigidbody rb; | |
private Transform playerTransform; | |
// Start is called before the first frame update | |
void Start() |