Skip to content

Instantly share code, notes, and snippets.

View Nickster258's full-sized avatar
... classic

Nicholas Stonecipher Nickster258

... classic
View GitHub Profile
user wpm messages
deamonsgirl 62.0 5
StarFluffaLump 50.0 6
Inflicting 43.0 1
DrunkinMineCraft 42.0 1
C3L35T3 40.0 10
Kman 39.0 1
Bripstew 38.8 5
shadowwing456 38.0 1
Allbetenth 38.0 1
@Nickster258
Nickster258 / CSVLoad.php
Last active April 10, 2019 18:44
A basic CSV loader class for PHP
<?php
class CSVLoad {
private $raw_data;
private $data_key;
private $lines;
private $position;
public function __construct($filename) {
$this->raw_data = array_map('str_getcsv', file($filename));
@Nickster258
Nickster258 / server.php
Created January 31, 2017 04:27
A simple API I made to fetch information regarding a CS:GO server
<?php
require __DIR__ . '/../SourceQuery/bootstrap.php';
use xPaw\SourceQuery\SourceQuery;
header("content-type: text/html; charset=utf-8");
if (!isset($_GET['ip']) OR !isset($_GET['port'])) {
try {
throw new InvalidArgumentException("'ip' and 'port' are a required argument!");
} catch (Exception $e) {
@Nickster258
Nickster258 / test?
Created November 30, 2016 05:16
ye just a test
wat