Skip to content

Instantly share code, notes, and snippets.

View scootz's full-sized avatar

Scott Marshall scootz

  • Windsor, Canada
View GitHub Profile
@cbmd
cbmd / default.conf
Created December 9, 2012 21:13
nginx config - dynamic virtual hosts
server {
index index.php;
set $basepath "/var/www";
set $domain $host;
# check one name domain for simple application
if ($domain ~ "^(.[^.]*)\.dev$") {
set $domain $1;
set $rootpath "${domain}";
@brennanMKE
brennanMKE / hero.ts
Last active July 15, 2024 15:25
Example of Mongoose with TypeScript and MongoDb
import * as mongoose from 'mongoose';
export let Schema = mongoose.Schema;
export let ObjectId = mongoose.Schema.Types.ObjectId;
export let Mixed = mongoose.Schema.Types.Mixed;
export interface IHeroModel extends mongoose.Document {
name: string;
power: string;
@martinherweg
martinherweg / browserSync.js
Last active May 29, 2021 08:07
Webpack + BrowserSync + HMR
/**
|--------------------------------------------------------------------------
| gulp browser-sync
|--------------------------------------------------------------------------
*
* Browser Sync
* @description Refresh the Brwoser after File Change.
* Combined with webpack for HMR or Content Reload
*
* @package generator-mh-boilerplate
@HanyRabah
HanyRabah / README.md
Last active June 20, 2018 12:31 — forked from joyrexus/README.md
Vanilla JS equivalents of jQuery methods

Sans jQuery

Events

// jQuery
$(document).ready(function() {
  // code
})
@fb-sean
fb-sean / alternatives-to-mee6.md
Last active July 12, 2024 19:33
A short and good list to alternatives to mee6.

Mee6 Alternatives

Iris XP (Leveling)

Description: Easy to use, fully customisable XP bot.
Link: Invite Iris XP
Credit: @173815235243802624

TempVoice (Temp voice channels)