Skip to content

Instantly share code, notes, and snippets.

Kaiden Prince KaidenP

  • Toronto Area, Ontairio Canada
Block or report user

Report or block KaidenP

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View DxDiag.txt
------------------
System Information
------------------
Time of this report: 12/16/2015, 18:53:14
Machine name: DESKTOP-QVPBLR0
Operating System: Windows 10 Pro 64-bit (10.0, Build 10586) (10586.th2_release.151121-2308)
Language: English (Regional Setting: English)
System Manufacturer: LENOVO
System Model: 444625U
BIOS: Ver 1.00PARTTBL
View fuckshitnow.cpp
void board::incrementNotMines(point p) {
minesweeper::board b=*this;
point tmpPoint;
// Function that increments all nearby spots, unless it is a mine (-1)
for(int i=-1; i<=1; i++) {
for(int j=-1; j<=1; j++) {
tmpPoint.x=p.x+i, tmpPoint.y=p.y+j;
if(tmpPoint.chkValidPoint(b) && b.board[tmpPoint.x][tmpPoint.y] != -1) {
b.board[tmpPoint.x][tmpPoint.y]++;
}
@KaidenP
KaidenP / LEMH Install Script
Last active Dec 11, 2015
This is a auto installer that installs the packages needed for a LEMH (Linux (E)nginx MariaDB (PHP) HHVM) install
View LEMH Install Script
#!/bin/sh
########################################################################
# #
# Kaiden's LEMH Installer #
# #
# This is a auto installer that installs the packages needed for #
# a LEMH (Linux (E)nginx MariaDB (PHP) HHVM) install. #
# #
# Credit to: http://www.maketecheasier.com/setup-lemh-stack-in-ubuntu/ #
You can’t perform that action at this time.