Skip to content

Instantly share code, notes, and snippets.

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

Fabian Deitelhoff fdeitelhoff

🏠
Working from home
View GitHub Profile
@fdeitelhoff
fdeitelhoff / gitignore.ps1
Last active December 28, 2015 09:59
PowerShell v3 script for gitignore.io.
#For PowerShell v3
Function gitignore {
Param(
[Parameter(Mandatory=$true)]
[string[]]$list
)
$params = $list -join ","
invoke-WebRequest -Uri "http://gitignore.io/api/$params" | select -expandproperty content | out-file -FilePath $(join-path -path $pwd -ChildPath ".gitignore") -Encoding ascii
}
@fdeitelhoff
fdeitelhoff / App.config
Created December 1, 2013 10:30
App.config for the FeatureSwitcher lib.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="featureSwitcher" type="FeatureSwitcher.Configuration.SectionGroup, FeatureSwitcher.Configuration">
<section name="default" type="FeatureSwitcher.Configuration.DefaultSection, FeatureSwitcher.Configuration"/>
<section name="features" type="FeatureSwitcher.Configuration.FeaturesSection, FeatureSwitcher.Configuration"/>
</sectionGroup>
</configSections>
<featureSwitcher>
<default featuresEnabled="true"/>
@fdeitelhoff
fdeitelhoff / ProcessReceive.cs
Created February 4, 2014 14:10
Manipulate the received data in a high performance c# socket server before it get's echoed back.
private void ProcessReceive(SocketAsyncEventArgs e)
{
if (e.BytesTransferred > 0 && e.SocketError == SocketError.Success)
{
var token = (AsyncUserToken)e.UserToken;
//echo the data received back to the client
var data = System.Text.Encoding.UTF8.GetString(e.Buffer, e.Offset, e.BytesTransferred);
data = string.Format("{0}: {1}", DateTime.Now, data.ToUpper());

Keybase proof

I hereby claim:

  • I am FDeitelhoff on github.
  • I am fdeitelhoff (https://keybase.io/fdeitelhoff) on keybase.
  • I have a public key whose fingerprint is 59FD C5AF 8816 CF1B D13B 3CE5 A544 FCB6 6CBC 94CC

To claim this, I am signing this object:

@fdeitelhoff
fdeitelhoff / papers-learn-programming.md
Created January 18, 2017 23:13
Some Papers on "Learn to Program"
  1. Understanding the Syntax Barrier for Novices (http://doi.acm.org/10.1145/1999747.1999807)
  2. Usability Analysis of Visual Programming Environments (http://doi.acm.org/10.1006/jvlc.1996.0009)
  3. An investigation of factors related to self-efficacy for java programming among engineering students (http://www.tojet.net/articles/v8i1/813.pdf)
  4. The State of the Art in End-user Software Engineering (http://doi.acm.org/10.1145/1922649.1922658)
  5. How Do API Documentation and Static Typing Affect API Usability? (http://doi.acm.org/10.1145/2568225.2568299)
  6. The Programming Language Wars: Questions and Responsibilities for the Programming Language Community (http://doi.acm.org/10.1145/2661136.2661156)
  7. An Empirical Investigation into Programming Language Syntax (http://dl.acm.org/citation.cfm?doid=2534973)
  8. An empirical comparison of the accuracy rates of novices using the quorum, perl, and randomo programming languages (http://dl.acm.org/citation.cfm?doid=2089155.2089159)
  9. All Syntax Errors Are Not Equal (
@fdeitelhoff
fdeitelhoff / testpackage.txt
Created September 9, 2018 16:16
Test-Skript für Boxstarter
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
cinst adobereader
cinst googlechrome
cinst 7zip