I hereby claim:
- I am robertpateii on github.
- I am robertpateii (https://keybase.io/robertpateii) on keybase.
- I have a public key ASD8JLeWAT3wdDBQREOVbO_YScnFe1Mpv5hEq1jwdI3jQwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
@media screen and (max-width : 640px) { | |
div.menucontainer { | |
min-width: 0; | |
} | |
div.mainmenu { | |
height: 100%; | |
white-space: normal; | |
} | |
div.menu { | |
height: auto; |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Change.This.To.Suit.Your.Application | |
{ | |
class SecureLinkProvider : Sitecore.Links.LinkProvider | |
{ |
// Populates with some data from the API. | |
ProductInfo productInfo = parseApiReply(apiResponse); | |
// Need to update some empty fields after doing some logic on the data from the API. | |
// I've been following the general guideline of always return a value so I write this: | |
productInfo = addUserInfo(productInfo, userID); | |
// But is it pointless to set visitorSerialInfo there since we can update it by reference in? | |
// I could just do this: |
[user] | |
name = Robert Pate | |
email = --------------- | |
[core] | |
editor=vim | |
[merge] | |
tool = winmerge | |
[mergetool "winmerge"] | |
cmd = \"C:/Program Files (x86)/winmerge/winmergeu.exe\" \"$MERGED\" | |
path = C:/Program Files (x86)/winmerge/winmergeu.exe |
var fizzBuzz = function fizzBuzz () { | |
"use strict"; | |
var fizzArray = []; | |
var fizzNumCheck = function fizzNumCheck (num) { | |
var numString = ""; | |
if (num % 3 === 0) { | |
numString += "Fizz"; | |
} |
" Delete the first link on a line, leaving the link text untouched. | |
s/<a href=".\{-\}">\(.\{-\}\)<\/a>/\1/i | |
SMF Calendar: No plugins necessary. Just uses the table code. Easy to change and update. | |
Two ways to manage it: | |
1. If the poster wants tight control... make a post, edit as things change, and comment when it's up to date. | |
2. If multiple people need to manage... make a post, quote the previous post when it's time to add an event, add in the event, and post. | |
[b]Example:[/b] | |
function convertToSubTask (taskID) { | |
"use strict"; | |
// Returns are required otherwise the rest of the if statements will attempt to execute. | |
// A switch statement would be easier to read and maintain. | |
// taskID must be a string. | |
if (jQuery("#issue-to-subtask").length > 0) { | |
window.open(jQuery("#issue-to-subtask").attr("href"), "_self"); | |
return true; | |
} |