Skip to content

Instantly share code, notes, and snippets.

View karbowiak's full-sized avatar
:shipit:

Michael Karbowiak karbowiak

:shipit:
View GitHub Profile
@karbowiak
karbowiak / install-mac.sh
Last active April 22, 2023 18:23
Install Novicell CLI
#!/bin/sh
# If we havn't installed the novi cli, lets install it - otherwise update it
if [ ! -d "$HOME/.novicell/cli" ]; then
echo "Installing Novi CLI"
# Install the Novi CLI
git clone git@bitbucket.org:novicell/cli.git ~/.novicell/cli
# Symlink the novi file to /usr/local/bin
echo "Symlinking novi to /usr/local/bin (Might require sudo password)"
sudo ln -s ~/.novicell/cli/novi /usr/local/bin/novi
fdfdfdfd
@karbowiak
karbowiak / cloudSettings
Last active June 18, 2018 07:38
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-06-18T07:38:20.701Z","extensionVersion":"v2.9.2"}
@karbowiak
karbowiak / db.php
Created August 1, 2016 02:00
simple php pdo db class
<?php
class Db
{
/**
* @var PDO
*/
private $db;
/**
$accessMasks = array(
array(
'accessMask' => '2147483648',
'type' => 'Character',
'name' => 'Clones',
'groupID' => '3',
'description' => 'List of your implants, attributes, jump clones, and jump fatigue timers.',
),
array(
'accessMask' => '1073741824',
/* Better CSS box */
#user-specified-css-input {
font-family: monospace;
height: 600px;
}
/* Compact sidebar */
#sidebar .chan, #sidebar .chan-placeholder {
display: block;
margin: 1px -10px;