Skip to content

Instantly share code, notes, and snippets.

View peitor's full-sized avatar
🏠
Working from home

Peter Gfader peitor

🏠
Working from home
View GitHub Profile
@peitor
peitor / ASS.md
Created September 4, 2020 15:46 — forked from klaaspieter/ASS.md
Acronyms Seriously Suck - Elon Musk

From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:

There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.

That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.

@peitor
peitor / ASS.md
Created September 4, 2020 15:46 — forked from klaaspieter/ASS.md
Acronyms Seriously Suck - Elon Musk

From time to time, Musk will send out an e-mail to the entire company to enforce a new policy or let them know about something that's bothering him. One of the more famous e-mails arrived in May 2010 with the subject line: Acronyms Seriously Suck:

There is a creeping tendency to use made up acronyms at SpaceX. Excessive use of made up acronyms is a significant impediment to communication and keeping communication good as we grow is incredibly important. Individually, a few acronyms here and there may not seem so bad, but if a thousand people are making these up, over time the result will be a huge glossary that we have to issue to new employees. No one can actually remember all these acronyms and people don't want to seem dumb in a meeting, so they just sit there in ignorance. This is particularly tough on new employees.

That needs to stop immediately or I will take drastic action - I have given enough warning over the years. Unless an acronym is approved by me, it should not enter the SpaceX glossary.

@peitor
peitor / gist:92e450fd28698184ba11
Created October 23, 2014 10:57 — forked from anonymous/gist:4133105
Updates "DateTime?" as well
/// <summary>
/// Fixes all DateTime and DateTime? properties to be datetime2 in SQL Server.
/// from http://flashfm.blogspot.ch/2011/11/entity-framework-41-code-first-fixing.html
/// </summary>
public static class ContextUtils
{
public static void FixDateTimeColumns(DbContext context, DbModelBuilder modelBuilder)
{
var contextProps = context.GetType().GetProperties(BindingFlags.Instance | BindingFlags.Public);
foreach (var contextProp in contextProps)
@peitor
peitor / about.md
Last active September 29, 2015 14:47 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
void UpdateQuality()
{
for (var i = 0; i < Items.Count; i++)
{
if (Items[i].Name != "Aged Brie" && Items[i].Name != "Backstage passes to a TAFKAL80ETC concert")
{
if (Items[i].Quality > 0)
{
if (Items[i].Name != "Sulfuras, Hand of Ragnaros")
{