Skip to content

Instantly share code, notes, and snippets.

View results.json analysis.ipynb
{
"cells": [
{
"cell_type": "code",
"execution_count": 263,
"metadata": {},
"outputs": [],
"source": [
"from invoke import task\n",
"from marshmallow import Schema, fields\n",
View keybase.md

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
Minesweeper Console App
View minesweeper.js
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));
View axo-layout-itemviewedit.css
@media(max-width:1070px){
.axo-layout .item-field-cell-left{
width:100%;
}
}
View gist:9863488
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
View test.php
<?php
//This is a comment
$numbers = array(1,2,3,4,5);
print_r($numbers);
echo "Hello CSE 360";
?>
View fe.php
<?php
echo "This is a test";
?>
View helloWorld.php
<h1>Hello World</h1>
<?php
for ($i = 1 ; $i < 5 ; $i++){
echo "The index is: ".$i."<br />";
}
?>