This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Web.Routing; | |
| using System.Web.Mvc.Html; | |
| namespace System.Web.Mvc { | |
| public static class HtmlHelpers { | |
| static string BaseUrl { get { return HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority) + VirtualPathUtility.ToAbsolute("~/"); } } | |
| static string publicDirectory = VirtualPathUtility.ToAbsolute("~/") + "public"; | |
| static string scriptDirectory = "javascript"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Web; | |
| using CollectBruceLee; | |
| using CollectBruceLee.Data; | |
| using RichmondDay.Helpers; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| source $VIMRUNTIME/vimrc_example.vim | |
| source $VIMRUNTIME/mswin.vim | |
| behave mswin | |
| colorscheme zenburn | |
| " CD to c:\dev\ | |
| :cd c:\dev\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Font | |
| set guifont=Consolas:h9.00 | |
| " No audible bell | |
| set vb | |
| " No toolbar | |
| set guioptions-=T |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // jQuery Plugin Boilerplate | |
| // A boilerplate for jumpstarting jQuery plugins development | |
| // version 1.1, May 14th, 2011 | |
| // by Stefan Gabos | |
| (function($) { | |
| $.pluginName = function(element, options) { | |
| var plugin = this; | |
| plugin.settings = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # put this file in the root of a foler, then put index, c and j in ./public and deploy to heroku | |
| use Rack::Static, | |
| :urls => ["/stylesheets", "/images"], | |
| :root => "public" | |
| run lambda { |env| | |
| [ | |
| 200, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for d in `/bin/ls -d */src`; do cd $d; ECHO;pwd; git status; cd ../../; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is the default .slate file. | |
| # If no ~/.slate file exists this is the file that will be used. | |
| config defaultToCurrentScreen true | |
| config nudgePercentOf screenSize | |
| config resizePercentOf screenSize | |
| # Resize Bindings | |
| bind right:alt resize +5% +0 | |
| bind left:alt resize -5% +0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| start "" "C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.exe" /port:3900 /path:"C:\dev\RichmondDay\MiniConfigurator\src\MiniConfigurator.Api" | |
| rundll32 url.dll,FileProtocolHandler http://localhost:3900 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| taskkill /IM WebDev.WebServer40.exe | |
| taskkill /IM chrome.exe | |
| C:\dev\RichmondDay\KioskDataExporter\KioskDataExporter\LeadGenExporter\bin\Release\DataExporter.exe |