Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

{
"cells": [
{
"cell_type": "code",
"execution_count": 263,
"metadata": {},
"outputs": [],
"source": [
"from invoke import task\n",
"from marshmallow import Schema, fields\n",

Keybase proof

I hereby claim:

  • I am smith-kyle on github.
  • I am kylesmiff (https://keybase.io/kylesmiff) on keybase.
  • I have a public key ASBpbd_gSanKX7SMdzwQiTvcCfOf-trJKVmuxfcRT0Qxzgo

To claim this, I am signing this object:

@smith-kyle
smith-kyle / minesweeper.js
Last active May 18, 2017 20:57
Minesweeper Console App
const readline = require('readline');
const BOMB = 1;
const UNSELECTED = 2;
const SELECTED = 3;
const isBomb = (board, [y, x]) => board[y][x] === BOMB;
const isSelected = (board, [y, x]) => board[y][x] === SELECTED;
const hasWon = board => !board.some(row => row.some(item => item === UNSELECTED));
<?php
//This is a comment
$numbers = array(1,2,3,4,5);
print_r($numbers);
echo "Hello CSE 360";
?>
<?php
echo "This is a test";
?>
@smith-kyle
smith-kyle / helloWorld.php
Created September 17, 2013 03:10
Hello world test
<h1>Hello World</h1>
<?php
for ($i = 1 ; $i < 5 ; $i++){
echo "The index is: ".$i."<br />";
}
?>
@media(max-width:1070px){
.axo-layout .item-field-cell-left{
width:100%;
}
}
public string[] getCurrentCart()
{
return GetStringFromFile("shoppingCart.txt");
}
public string[] GetStringFromFile(string fileName)
{
string fLocation = Path.Combine(HttpRuntime.AppDomainAppPath, @"App_Data"); // From server root to current
fLocation = Path.Combine(fLocation, fileName); // From current to App_Data