#!/bin/bash
# Need to do this because symlink won't work
# It complains about some .plist files
/Applications/LibreOffice.app/Contents/MacOS/soffice "$@"
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
for { | |
// List.empty is the starting point we want to add our results to | |
foundList <- callToSourceFunction.runFold(List.empty) { | |
// list is a reference to List.empty | |
(list, newAdditions) => list :+ newAdditions | |
} | |
// foundList, instead of adding the results to an empty list we are adding them to our previous results | |
classifiedList <- callToOtherSourceFunction.runFold(foundList) { | |
(list, newAdditions) => list :+ newAdditions | |
} |
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
<system.webServer> | |
<httpProtocol> | |
<customHeaders> | |
<add name="Access-Control-Allow-Origin" value="*" /> | |
<add name="Access-Control-Allow-Headers" value="Content-Type,Access-Control-Allow-Origin,Authorization" /> | |
<add name="Access-Control-Allow-Methods" value="GET,POST,PUT,DELETE,OPTIONS" /> | |
<add name="Access-Control-Allow-Credentials" value="true" /> | |
</customHeaders> | |
</httpProtocol> |
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
TO_CHAR(TO_TIMESTAMP(creation_timestamp / 1000), 'DD/MM/YYYY HH24:MI:SS') |
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 Assets { | |
'use strict'; | |
export var heroSprite: Phaser.Sprite; | |
export var zombieSprite: Phaser.Sprite; | |
} | |
// produces the following js | |
var Assets; | |
(function (Assets) { | |
'use strict'; |
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
<httpProtocol> | |
<customHeaders> | |
<remove name="X-Powered-By" /> | |
<add name="Access-Control-Allow-Methods" value="GET, PUT, POST, DELETE, HEAD" /> | |
<add name="Access-Control-Allow-Headers" value="Origin, X-Requested-With, Content-Type, Accept" /> | |
</customHeaders> | |
</httpProtocol> |
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 DatePickerModule { | |
'use strict'; | |
export class DatePickerDirective { | |
constructor($rootScope: ng.IScope) { | |
var directive: ng.IDirective = { | |
restrict: 'A', // Attribute | |
link: ($scope: ng.IScope, element: JQuery, attrs: ng.IAttributes) => { | |
var d = new Date(); |
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
<StyleCopSettings Version="4.3"> | |
<GlobalSettings> | |
<CollectionProperty Name="DeprecatedWords"> | |
<Value>preprocessor,pre-processor</Value> | |
<Value>shortlived,short-lived</Value> | |
</CollectionProperty> | |
</GlobalSettings> | |
<Parsers> | |
<Parser ParserId="StyleCop.CSharp.CsParser"> | |
<ParserSettings> |
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
@using Newtonsoft.Json | |
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage | |
@{ | |
Layout = null; | |
var page = (IPublishedContent)this.CurrentPage; | |
var isPreview = Request.Cookies["UMB_PREVIEW"] != null; | |
Dictionary<string, object> dictionary = new Dictionary<string, object>(); | |
addNode(Model.Content, dictionary); |
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
1. Open run dialog (Win+R) | |
2. shell:Startup |
NewerOlder