Skip to content

Instantly share code, notes, and snippets.

function fixedtableheader (){
var tickingImages = false;
var allTables = document.getElementsByTagName('table');
Array.prototype.filter.call(allTables,function(table){
//Just get an array of all the tr's in the table
if(!$(table).hasClass( "stickyheader" ) return;
var trs = table.getElementsByTagName('tr');
//If there's more than one tr, then we proceed and treat the first one as the header
//Probably needs some change
if(trs.length < 2) return;
let MonoSColorsRAW = require("json-loader!yaml-loader!./monospace-colors2.yaml");
class MonoSColors {
private static ColorObjectByUint32Object: any;
private static ColorObjectArrayArray: Array<any>;
public ColorObjectArray: any = () => {
if(MonoSColors.ColorObjectArrayArray != null)
{
public static MyStringHash damageTypeDeformation = MyStringHash.GetOrCompute("Deformation");
//The global damage handler
void GlobalDamageHandler(object target, ref MyDamageInformation info)
{
//Check that the game is initialized
if (m_init)
using Sandbox.ModAPI;
using VRage.ModAPI;
using VRage.Game.Components;
using VRage.Game;
using Sandbox.Game.Entities;
using VRage.Utils;
namespace czaux.noshrapnel
{
[MySessionComponentDescriptor(MyUpdateOrder.BeforeSimulation)]
using Sandbox.ModAPI;
using VRage.ModAPI;
using VRage.Game.Components;
using VRage.Game;
using Sandbox.Common.ObjectBuilders;
using Sandbox.Definitions;
using Sandbox.Game.Entities;
using Sandbox.ModAPI;
using System;
using System.Collections.Generic;
@Cyken-Zeraux
Cyken-Zeraux / test.php
Created November 22, 2016 00:02
PHP_Codesniffer V3 Javascript Tokenizer
<?php
namespace MyCustomProject;
use PHP_CodeSniffer\Runner;
use PHP_CodeSniffer\Config;
use PHP_CodeSniffer\Files\DummyFile;
use PHP_CodeSniffer\Ruleset as Ruleset;
use PHP_CodeSniffer\Util as Util;
// Ensure this option is enabled or else line endings will not always
// be detected properly for files created on a Mac with the /r line ending.
@import'https://xss.rocks/xss.css';
🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎🐎
§§§§§§§§§§§§§§§§
@Cyken-Zeraux
Cyken-Zeraux / test.css
Last active May 23, 2016 21:26
asl;jkfweioasdf
/* Better Discord Better Minimal Mode
Contributors:
CZauX
Hammock
NSANE
*/
/* Top Nav */
/* Better Discord Better Minimal Mode
Contributors:
CZauX
Hammock
NSANE
*/
/* Top Nav */