Skip to content

Instantly share code, notes, and snippets.

View dapperdandev's full-sized avatar
🛠️
Building things

Daniel dapperdandev

🛠️
Building things
View GitHub Profile
@dapperdandev
dapperdandev / pantheon-setup.md
Last active October 25, 2016 20:42
Setting Up Drupal 7 with Pantheon

ASP.NET Web API

Action Results, Error Handling, & Validation

Error Handling

Check if null

if (foo == null)
{

Keybase proof

I hereby claim:

  • I am djbreen7 on github.
  • I am dapperdan85 (https://keybase.io/dapperdan85) on keybase.
  • I have a public key ASDg8tT76qhhVIsCMjATRjQDzN5KbjKdTMo5Nls4kqha0Ao

To claim this, I am signing this object:

@dapperdandev
dapperdandev / ngconf2019.md
Last active May 1, 2019 21:36
NG Conf 2019
### Keybase proof
I hereby claim:
* I am djbreen7 on github.
* I am dapperdan (https://keybase.io/dapperdan) on keybase.
* I have a public key ASB2Bu1KOple5pCF1_2f7MfTjCfg_A83CxfqRtk46HhS_Ao
To claim this, I am signing this object:
@dapperdandev
dapperdandev / angularjs-directive-bindings-examples.md
Created May 20, 2019 02:16
AngularJS Directive Bindings Examples

NGJS Directive Bindings Examples

One Way Down

<one-way-down name="Daniel"></one-way-down>
...
# Run the following command in an elevated cmd
# START https://boxstarter.org/package/nr/url?<rawUrl>
# Windows Settings
Disable-BingSearch
Disable-GameBarTips
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions
# Development
cinst git --params "/GitAndUnixToolsOnPath"
@dapperdandev
dapperdandev / dotnet_blazor.md
Last active July 31, 2019 03:55
Installing .NET Core Preview + Blazor Template

Installing .NET Core Preview + Blazor Template on Ubuntu 18.04.2 LTS

Install .NET Core

Installing the latest preview

sudo snap install dotnet-sdk --beta --classic

Installing from tarball

  1. Download the latest sdk from https://dotnet.microsoft.com/download/dotnet-core/3.0
    Note the download name. For our purposes, we'll use preview6 as an example
  2. sudo tar -zxf dotnet-sdk-3.0.100-preview6-012264-linux-x64.tar.gz -C /usr/share/dotnet/
@dapperdandev
dapperdandev / .hyper.js
Last active February 1, 2020 19:12
.hyper.js
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
# Run the following command in an elevated cmd
# START https://boxstarter.org/package/nr/url?<rawUrl>
# Windows Settings
Disable-BingSearch
Disable-GameBarTips
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions
# IIS
cinst urlrewrite