Skip to content

Instantly share code, notes, and snippets.

@novcod
novcod / app.js
Created Mar 31, 2020 — forked from CWFranklin/app.js
A script to detect user game changes and apply valid roles
View app.js
var Discord = require('discord.js');
var discordBotToken = 'YOUR BOT TOKEN HERE';
var prefix = 'vores_';
var roleGame = {
"blackdesert": {
name: "black desert online",
id: ''
},
View gatling_websocket_demo.scala
package basic
import com.excilys.ebi.gatling.core.Predef._
import com.excilys.ebi.gatling.http.Predef._
import akka.util.duration._
import bootstrap._
import scala.collection.mutable
// Simulation for the Play20 chat sample app
// cf : (https://github.com/playframework/Play20/tree/master/samples/scala/websocket-chat)
@novcod
novcod / bobp-python.md
Created Aug 7, 2018 — forked from sloria/bobp-python.md
A "Best of the Best Practices" (BOBP) guide to developing in Python.
View bobp-python.md

The Best of the Best Practices (BOBP) Guide for Python

A "Best of the Best Practices" (BOBP) guide to developing in Python.

In General

Values

  • "Build tools for others that you want to be built for you." - Kenneth Reitz
  • "Simplicity is alway better than functionality." - Pieter Hintjens
@novcod
novcod / userDefineLang_Groovy.xml
Created Nov 20, 2017 — forked from Thermionix/userDefineLang_Groovy.xml
Groovy user defined language for notepad++
View userDefineLang_Groovy.xml
<NotepadPlus>
<UserLang name="Groovy" ext="groovy" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">03/* 04*/ 00// 01 02</Keywords>
<Keywords name="Keywords1">abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true</Keywords>
<Keywords name="Keywords2">as assert def mixin property test using in it</Keywords>