start new:
tmux
start new with session name:
tmux new -s myname
| protected override void Seed(ClientSideApp.Models.PersonalProjectDbContext context) | |
| + { | |
| + // This method will be called after migrating to the latest version. | |
| + | |
| + // You can use the DbSet<T>.AddOrUpdate() helper extension method | |
| + // to avoid creating duplicate seed data. E.g. | |
| + // | |
| + // context.People.AddOrUpdate( | |
| + // p => p.FullName, | |
| + // new Person { FullName = "Andrew Peters" }, |
| using System; | |
| using NUnit.Framework; | |
| namespace UnitTestProject | |
| { | |
| [TestFixture] | |
| public class UnitTest1 | |
| { | |
| CleverCalcutor calcutor; |
| using System; | |
| using System.Collections; | |
| namespace StackQueue | |
| { | |
| public class MyStack | |
| { | |
| object[] store = new object[0]; | |
| public void Push(object x) |
| // ==UserScript== | |
| // @name anilinkz | |
| // @namespace anime | |
| // @description getting rid of CM's dumb ass styling | |
| // @include http://anilinkz.com/* | |
| // @version 1 | |
| // @grant MIT Licence | |
| // ==/UserScript== | |
| function addGlobalStyle(css) { |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| namespace GIS_Chaser.Models | |
| { | |
| public class GemModel | |
| { | |
| private IGemStorage _gemStorage { get; set; } | |
| public GemModel(IGemStorage gemStorage) | |
| { | |
| _gemStorage = gemStorage; | |
| } |
Welcome!
For feedback or suggestions, please send a tweet (@dideler). Gist comments don't notify me. Pull requests aren't possible with gists (yet), so I don't recommend forking because then I can't easily get the change.
Starring this gist will give me an idea of how many people consider this list useful.