I hereby claim:
- I am otac0n on github.
- I am otac0n (https://keybase.io/otac0n) on keybase.
- I have a public key whose fingerprint is 049F A0C3 7352 DB2C 3FAA 05B2 0246 FA2A C899 8685
To claim this, I am signing this object:
// Copyright (c) 2013, 2014 Masato Hagiwara | |
// https://github.com/mhagiwara/camxes.js | |
// Copyright (c) 2018 John Gietzen | |
// This source is subject to the MIT license. Please see license.md for more information. | |
// Originally from http://users.digitalkingdom.org/~rlpowell/hobbies/lojban/grammar/index.html | |
@using System.Linq; | |
@members | |
{ | |
private static string _join(IEnumerable<object> items) | |
{ |
Remove trailing whitespace: | |
Pattern: [ \t]+(?=[\r\n]) | |
Replace: "" | |
Replace tabs with spaces: | |
Pattern: (?<=^([^\t\r\n]{4})*)\t | |
Replace: " " | |
Pattern: (?<=^([^\t\r\n]{4})*[^\t\r\n]{1})\t | |
Replace: " " | |
Pattern: (?<=^([^\t\r\n]{4})*[^\t\r\n]{2})\t |
public class SecretStore | |
{ | |
private readonly string SecretsPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), typeof(SecretStore).FullName); | |
public bool Exists(Guid key) | |
{ | |
return File.Exists(GetPath(key)); | |
} |
git config --global alias.graph 'log --graph --oneline --author-date-order --full-history --all --decorate' | |
git config --global alias.reset-working '!git diff --no-color --staged | git apply --reverse' | |
git config --global alias.dirdiff 'difftool --dir-diff --no-symlinks --extcmd "C:/Program Files/Beyond Compare 4/bcomp.exe"' |
App = Ember.Application.create(); | |
App.BootstrapModalView = Ember.View.extend({ | |
classNames: ['modal', 'fade'], | |
layout: Ember.Handlebars.compile('<div class="modal-dialog"><div class="modal-content">{{yield}}</div></div>'), | |
didInsertElement: function () { | |
this._super(); | |
Ember.run.scheduleOnce('afterRender', this, this.afterRenderEvent); | |
}, | |
afterRenderEvent: function () { |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
git filter-branch --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" | |
if [ "$GIT_COMMITTER_EMAIL" = "your@email.to.match" ] |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>WebTurtle/Parser tests</title> | |
<meta charset="utf-8"> | |
<script language="javascript" SRC="js/peg-0.7.0.js"></script> | |
<script language="peg" id="grammar"> | |
start = wt program wt | |
program = front / back | |
front = 'μπροστά' wt integer |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using NUnit.Framework; | |
namespace MyProject | |
{ | |
[TestFixture] |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Test | |
{ | |
public struct ArrayPointer<T> | |
{ | |
T[] array; |