Skip to content

Instantly share code, notes, and snippets.

View JustinJohnWilliams's full-sized avatar
:octocat:

Justin Williams JustinJohnWilliams

:octocat:
  • Concord
  • Dallas
View GitHub Profile
Start by pressing <esc>, that will put you in "command" mode. Now press "j".
See what happend? You're on this line now. "j" means down. Now press "5j".
if you see DASHED lines press "zR", otherwise ignore
if you see DASHED lines press "zR", otherwise ignore
What you did just there is "move down 5". Press "j"
If you mess your cursor position during this tutorial press "gg" to take you back to the top, try that now, next time press "j"
Time to follow the ascii road. press "j", then press the key that's highlighted by the blinking cursor
j <---- press "j" because j is curently under your cursor
BoldAsFont=-1
Font=DejaVu Sans Mono
FontHeight=12
ForegroundColour=251,251,253
BackgroundColour=51,51,51
CursorColour=255,175,0
IMECursorColour=131,148,149
Black=51,51,51
BoldBlack=0,111,138
Red=178,41,46
This file has been truncated, but you can view the full file.
/Users/justinw/.atom/packages/
├── README.md
├── base16-dark-syntax
│   ├── index.less
│   ├── package.json
│   ├── readme.md
│   └── stylesheets
│   └── syntax-variables.less
├── build
│   ├── LICENSE.md
@JustinJohnWilliams
JustinJohnWilliams / my_first_spec.cs
Last active March 20, 2017 20:30 — forked from amirrajan/my_first_spec.cs
NSpec Hello World
using NSpec;
using FluentAssertions;
class my_first_spec : nspec
{
string name;
void before_each()
{
name = "NSpec";

Keybase proof

I hereby claim:

  • I am justinjohnwilliams on github.
  • I am jjwilliams (https://keybase.io/jjwilliams) on keybase.
  • I have a public key whose fingerprint is 84E5 BF61 FCBB 3B68 2C36 753B FE55 AE0D 3373 03D9

To claim this, I am signing this object:

module database
open FSharp.Data.Sql
open FSharp.Data.Sql.Common
let [<Literal>] connectionString = "Data Source=.;Initial Catalog=CreditFulfillment;Integrated Security=SSPI;"
type sql = SqlDataProvider<DatabaseProviderTypes.MSSQLSERVER,
connectionString,
CaseSensitivityChange = CaseSensitivityChange.ORIGINAL>
@JustinJohnWilliams
JustinJohnWilliams / vimbindingfun.txt
Created August 22, 2016 15:59
how to learn vim bindings
Start by pressing <esc>, that will put you in "command" mode. Now press "j".
See what happend? You're on this line now. "j" means down. Now press "5j".
if you see DASHED lines press "zR", otherwise ignore
if you see DASHED lines press "zR", otherwise ignore
What you did just there is "move down 5". Press "j"
If you mess your cursor position during this tutorial press "gg" to take you back to the top, try that now, next time press "j"
Time to follow the ascii road. press "j", then press the key that's highlighted by the blinking cursor
j <---- press "j" because j is curently under your cursor
public static class Verify
{
public static void NotEmpty(string value, string parameterName)
{
if (value == string.Empty)
{
throw new ArgumentEmptyException(parameterName);
}
}
{
{ new Func<int, bool>(x => x % 3 == 0), new Func<int, string>(x => "Fizz") },
{ new Func<int, bool>(x => x % 5 == 0), new Func<int, string>(x => "Buzz") },
{ new Func<int, bool>(x => x % 3 != 0 && x % 5 != 0), new Func<int, string>(x => x.ToString()) },
{ new Func<int, bool>( x => true), new Func<int, string>(x => "\n" ) }
};
var output = from n in Enumerable.Range(1, 100)
from f in rules
where f.Key(n)
.getignore
# User-specific files
*.suo
*.user
# Build results
[Dd]ebug/
[Rr]elease/
x64/