Skip to content

Instantly share code, notes, and snippets.

View w0rd-driven's full-sized avatar
🌴
Chill

Jeremy Brayton w0rd-driven

🌴
Chill
View GitHub Profile
@w0rd-driven
w0rd-driven / .env.gitlab
Created September 8, 2016 23:43
Gitlab CI for Laravel 5.x: Testing
APP_ENV=test
APP_DEBUG=true
APP_KEY=SomeRandomString
APP_URL=http://localhost
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
@w0rd-driven
w0rd-driven / _config.yml
Last active March 20, 2016 23:32
Implementing Wordpress-style tags in Octopress
tag_dir: tags
@w0rd-driven
w0rd-driven / web.config
Last active December 14, 2015 00:19
Correcting WebAPI delete/put verbs in typical ASP.NET MVC template web.config. The problem typically stems from using WebDAV, which seems to "hijack" the delete & put. You have to remove both the module (line 3) and handler (line 6).
<system.webServer>
<modules runAllManagedModulesForAllRequests="false">
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="WebDAV" />
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
<remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />