This file contains 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
DECLARE @FundId int = 180; | |
DECLARE @today AS DATE = GETDATE(); | |
DECLARE @reportEndDate AS DATE = CONVERT(DATE, DATEADD(DAY, 1 - DATEPART(WEEKDAY, @today), @today)); | |
DECLARE @reportStartDate AS DATE = DATEADD(YEAR, -4, @reportEndDate); | |
IF ISDATE(@StartDate) = 1 AND ISDATE(@EndDate) = 1 | |
BEGIN | |
SELECT @reportEndDate = @EndDate; | |
SELECT @reportStartDate = @StartDate; | |
END |
This file contains 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
mutation { | |
cache(id: "509372", type: "Content") { | |
id | |
... on Content { | |
content { | |
isLight | |
colors { | |
value | |
} | |
} |
This file contains 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
" =============================================================== | |
" norma | |
" | |
" URL: | |
" Author: jbaxleyiii | |
" License: MIT | |
" Last Change: 2016/11/03 00:26 | |
" =============================================================== | |
let g:colors_name="norma" |
This file contains 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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks | |
fontFamily: 'Operator Mono, Ubuntu Mono, monospace', | |
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) | |
cursorColor: '#C59DF0', |
This file contains 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
Import-Module PSReadLine | |
Set-PSReadlineKeyHandler -Key Tab -Function Complete | |
Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward | |
#region Smart Insert/Delete | |
# The next four key handlers are designed to make entering matched quotes | |
# parens, and braces a nicer experience. I'd like to include functions |
This file contains 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
function g { | |
$newArgs=$args[1..($args.Length-1)] | |
if ($args[0] -eq "ci") { | |
git commit $newArgs | |
} elseif ($args[0] -eq "hof") { | |
git shortlog -n -s --no-merges | |
} elseif ($args[0] -eq "cic") { | |
git commit --amend | |
} elseif ($args[0] -eq "snake") { | |
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative |
This file contains 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
// <copyright> | |
// Copyright by the Spark Development Network | |
// | |
// Licensed under the Rock Community License (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.rockrms.com/license | |
// | |
// Unless required by applicable law or agreed to in writing, software |
This file contains 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
<div> | |
<menu type="toolbar"> | |
<a class="sort">sort</a> or <a class="reset">reset</a> | |
</menu> | |
<div class="example"> | |
<ul id="xret"> | |
<li style="color: red;"><span class="">elit</span></li> | |
<li><span class="striked">ac</span></li> | |
<li style="color: red;"><span class="">feugiat</span></li> | |
<li style="color: red;"><span class="">orci</span></li> |
This file contains 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
// define some abstract style transformations | |
// bumpFontSize :: CSS -> CSS | |
const bumpFontSize = evolve({ | |
fontSize: add(4), | |
}); | |
// darkenText :: CSS -> CSS | |
const darkenText = evolve({ | |
color: a => chroma(a).darken().hex(), | |
}); |
This file contains 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
import Junction from "react-junction"; | |
import { View } from "react-native"; | |
import { omit } from "ramda"; | |
import { renderComponent } from "recompose"; | |
import { graphql, gql } from "react-apollo"; | |
// the primitive styling of the component | |
const Avatar = Junction(props => ({ | |
borderRadius: 50, | |
borderSize: 2, |