http://www.csprance.com/shots/mr_poopy_butthole_v2_50k.gcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Return JSON | |
header('Content-Type: application/json'); | |
error_reporting(0); | |
// Cache | |
require_once 'vendor/autoload.php'; | |
$longcache = new Gilbitron\Util\SimpleCache(); | |
$longcache->cache_path = 'cache/'; | |
$longcache->cache_time = 3600; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import vmsq from 'vmsq'; | |
import SourceQuery from 'sourcequery'; | |
const MASTER_SERVER = 'hl2master.steampowered.com:27011'; | |
export const getServer = (servers = []) => { | |
return new Promise((resolve, reject) => { | |
vmsq(MASTER_SERVER, vmsq.ALL, { | |
appid: 299740 | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<import>resource:</import> | |
<import>module:Scripts</import> | |
<import>user:Configs</import> | |
<import>configs:</import> | |
<import>user:Scripts</import> | |
<import>scripts:</import> | |
<import>user:Kits</import> | |
<import>userkits:</import> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.csprance.com/shots/letters_master.lxo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Name: rconUtils | |
* Created by chris on 4/26/2017. | |
* Description: Sends a command to a Miscreated server and parses the response | |
* // RCON Steps | |
* --- 1 --- | |
* // Request: challenge | |
* // Response: uptime | |
* --- 2 --- | |
* // Request: md5(uptime:password) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Description: CKEditor Custom UI for Directus | |
// Author: Chris Sprance (Entrada Interactive) - www.csprance.com | |
// CKEditor Docs: http://docs.ckeditor.com/ | |
define(['app', 'core/UIComponent', 'core/CustomUIView', 'core/t', 'core/overlays/overlays'], function (app, UIComponent, UIView, __t, Overlays) { | |
var Input = UIView.extend({ | |
events: {}, | |
template: 'ckeditor/input', | |
serialize: function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @author Chris Sprance | |
# @Description Open the window from Tools->csTools->csSimBrush | |
# select a brush and click Convert Brush To SimBrush and it will sim and fall | |
# Move the object and press simulate again to simualte again | |
# Click Convert SimBrush to Brush to convert the selected simBrush back to a regular brush | |
from CrySide import QtWidgets | |
import SandboxBridge | |
from sandbox import general |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# title :miscron.py | |
# description : Runs commands to a server | |
# author :Chris Sprance / Entrada Interactive | |
# usage : This script is CLI for server administaration to run it from a command line do: | |
# misrcon.py -i [ip] --port [admin port] -p [admin password] --command [command] --time [exec_time] --s [schedule] | |
# python_version :2.7.5 | |
# ============================================================================== | |
import xmlrpclib |