moved to here: https://github.com/luisrudge/install-scripts/blob/master/elementary/install.sh
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 'loaders.css/loaders.css'; | |
import './index.scss'; | |
import React, { PropTypes } from 'react'; | |
const LoadingIndicator = React.createClass({ | |
propTypes: { | |
children: PropTypes.func.isRequired, | |
isLoading: PropTypes.bool.isRequired | |
}, | |
render: function() { |
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
################## | |
# Privacy Settings | |
################## | |
# Privacy: Let apps use my advertising ID: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
# To Restore: | |
#Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1 | |
# Privacy: SmartScreen Filter for Store Apps: Disable | |
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0 |
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
/// <reference path="../ts/sammyjs-0.7.d.ts" /> | |
/// <reference path="../ts/jquery-1.8.d.ts" /> | |
/// <reference path="../ts/knockout-2.2.d.ts" /> | |
/// <reference path="bootstrapper.ts" /> | |
module dashboard { | |
export class queryParameters { | |
constructor (campaignId: string, interval: string, date?: Date, from?: Date, to?: Date) { | |
this.campaignId = campaignId; | |
this.interval = interval; |
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
public interface IDomainEntity | |
{ | |
object Id { get; set; } | |
} | |
public interface IRepository<T> : IDisposable where T : IDomainEntity | |
{ | |
IQueryable<T> GetAll(); | |
IQueryable<T> Query(string sql, params object[] args); | |
IQueryable<T> PagedQuery(long pageNumber, long pageSize, string sql, params object[] args); |