I hereby claim:
- I am tkarpinski on github.
- I am todkarpinski (https://keybase.io/todkarpinski) on keybase.
- I have a public key ASAUNOlmtJmzY3G0Qo5hpwbJoLXIzzBNMHxi1jjNQ-xt3go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
SELECT | |
MIN(cast(time_micros as timestamp)) as mi, | |
MAX(cast(time_micros as timestamp)) as ma, | |
COUNT(*) as ct, | |
cs_bucket, | |
cs_user_agent | |
FROM [{PROJECTNAME}:storageanalysis.usage] | |
--WHERE cs_user_agent = 'GCS Lifecycle Management' -- if you only want Lifecycle events | |
GROUP BY cs_bucket,cs_user_agent | |
ORDER BY ma DESC |
GENERAL | |
------- | |
Use real tabs that equal 4 spaces. | |
Use typically trailing braces everywhere (if, else, functions, structures, typedefs, class definitions, etc.) | |
if ( x ) { | |
} |
1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa2 |
require 'octokit' | |
require 'csv' | |
require 'date' | |
# Github credentials to access your private project | |
USERNAME="USER_NAME" | |
PASSWORD="SEKRIT" | |
# Project you want to export issues from | |
USER="REPO_OWNER" | |
PROJECT="REPO_NAME" |
public class CassetteConfiguration : ICassetteConfiguration | |
{ | |
public void Configure(BundleCollection bundles, CassetteSettings settings) | |
{ | |
//Assuming that you've included the SignalR.Js nuget package this is how you configure | |
//cassette to correctly order your Scripts and your hub script generated by signalr | |
bundles.AddPerSubDirectory<ScriptBundle>("Scripts"); | |
bundles.AddUrlWithAlias<ScriptBundle>("http://localhost:50436/signalr/hubs", "signalr-hub", b => { b.AddReference("~/Scripts"); }); | |
} | |
} |
protected override void OnException(ExceptionContext filterContext) | |
{ | |
filterContext.Result = Json(new { error = filterContext.Exception.ToString()},JsonRequestBehavior.AllowGet()); | |
} |
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<rewrite> | |
<rules> | |
<rule name="HTTP to HTTPS redirect" stopProcessing="true"> | |
<match url="(.*)" /> | |
<conditions> | |
<add input="{HTTPS}" pattern="off" ignoreCase="true" /> | |
</conditions> |
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] | |
"EnableLinkedConnections"=dword:00000001 |
/// <reference path="jquery-1.7.1.js"/> | |
/// <reference path="jquery.namespace.js"/> | |
/*globals jQuery, window, document*/ | |
///<summary> | |
///template for new js file in visual studio and jslint | |
///</summary> | |
jQuery.namespace('my.namespace'); | |
my.namespace = (function () { | |
'use strict'; |