View Stack001.cpp
1 2 3 4 5 6 7 8 9
#include <string>
 
using namespace std;
 
struct Stack
{
char x;
Stack* prev;
};
View keybase.md

Keybase proof

I hereby claim:

  • I am danblah on github.
  • I am blah (https://keybase.io/blah) on keybase.
  • I have a public key whose fingerprint is 631E FC06 42A8 D5D2 2C52 FBA0 E62E 990F 3637 7134

To claim this, I am signing this object:

View DynamicStructure002.cpp
1 2 3 4 5 6 7 8 9 10
#include <fstream>
#include <iostream>
 
using namespace std;
 
struct Node
{
float x;
Node* prev;
Node* next;
View gist:82cbd39d3d07cb9efcd4
1 2 3 4 5 6 7 8 9 10
if(!(Test-Path "$home\test1.txt")) {
new-Item $home\test1.txt -value "hi1" -type file
write-host "reboot 1"
return Invoke-Reboot
}
if(!(Test-Path "$home\test2.txt")) {
new-Item $home\test2.txt -value "hi1" -type file
write-host "reboot 2"
return Invoke-Reboot
}
View DynamicStructure001.cpp
1 2 3 4 5 6 7 8 9 10
#include <fstream>
#include <iostream>
 
using namespace std;
 
typedef Node* pnode;
 
void addFirst(pnode &first, int x);
void addLast(pnode &last, int x);
void createList(pnode &first, ifstream &f, char* name);
View keybase.md

Keybase proof

I hereby claim:

  • I am mattdw on github.
  • I am mattdw (https://keybase.io/mattdw) on keybase.
  • I have a public key whose fingerprint is 4687 5CB0 2AB2 5B32 87DE 6B52 E07B 6E6C 5724 A7C4

To claim this, I am signing this object:

View SassMeister-input-HTML.html
1 2 3 4 5 6 7 8 9 10
<ul class="fruitlist">
<li><a herf="" class="orange">みかん</a></li>
<li><a herf="" class="apple">りんご</a></li>
<li><a herf="" class="banana">バナナ</a></li>
<li><a herf"" class="melon">メロン</a></li>
</ul>
 
 
<header>
<ul>
View closure_function.js
1 2 3 4 5 6 7 8 9 10
// Wrap all functions inside a closure.
(function () {
“use strict”;
 
function LocationsCtrl(...) {
// ...
}
 
angular
.module('nypl_locations')
View gist:fc5dcddbaa71cef60098
1 2 3 4 5 6 7 8 9 10
I: location of cursor
initial state
+-------+-------+
| | |
+-------+ |
| I | |
+-------+ |
| | |
+-------+-------+
Something went wrong with that request. Please try again.