🏳️🌈
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
{ | |
"iisSettings": { | |
"windowsAuthentication": false, | |
"anonymousAuthentication": true, | |
"iisExpress": { | |
"applicationUrl": "http://localhost:43434/", | |
"sslPort": 44301 | |
} | |
}, | |
"profiles": { |
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
param([string]$Config, [string]$Site, [switch]$Child=$false) | |
if(-not $Child){ | |
Write-Host "Starting child process" | |
$exe = "powershell" | |
$args = @("-File `"$($MyInvocation.MyCommand.Definition)`"", "-Config `"$Config`"", "-Site `"$Site`"", "-Child") | |
$args | |
Start-Process $exe -ArgumentList $args -Wait | |
}else{ | |
try{ |
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
$Solution = "C:\_git\Mercury\Mercury.sln" | |
[switch]$DeleteFromDisk = $true | |
$ErrorActionPreference = "Stop" | |
$solutionDir = Split-Path $Solution | % { (Resolve-Path $_).Path } | |
cd $solutionDir | |
$projects = Select-String -Path $Solution -Pattern 'Project.*"(?<file>.*\.csproj)".*' ` | |
| % { $_.Matches[0].Groups[1].Value } ` |
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 { CheckerPlugin } from "awesome-typescript-loader"; | |
import * as path from "path"; | |
import * as webpack from "webpack"; | |
module.exports = (env: any) => { | |
const prod = env && env.prod as boolean; | |
console.log(prod ? "Production" : "Dev" + " main build"); | |
const analyse = env && env.analyse as boolean; | |
if (analyse) { console.log("Analysing build"); } | |
const outputDir = "./"; |
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
/// <binding BeforeBuild='build' Clean='clean' ProjectOpened='watch' /> | |
var gulp = require('gulp'); | |
var sass = require('gulp-sass'); | |
var changed = require('gulp-changed'); | |
var rename = require('gulp-rename'); | |
var uglify = require('gulp-uglify'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var plumber = require('gulp-plumber'); | |
var path = require('path'); | |
var del = require('del'); |
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
for k,v in pairs(ents.FindByClass("gmod_wire_expression2")) do print(v.name,math.Round(v.context.prfbench).." ops",math.Round(v.context.timebench*1000000).." us", v.context.player:Nick(), v.context.player:SteamID()) end |
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
local thing="" | |
for k,v in pairs(evolve.privileges) do | |
if string.sub(v,0,thing:len())==thing then | |
local privilege = v | |
for k,v in pairs(evolve.ranks) do | |
local rank = k | |
if v.Immunity>=15 and v.Immunity < 99 then | |
if ( !table.HasValue( evolve.ranks[ rank ].Privileges, privilege ) ) then | |
table.insert( evolve.ranks[ rank ].Privileges, privilege ) | |
end |
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
-- Purge. Written by Dr. Matt, initial version/idea by Paft. | |
AddCSLuaFile() | |
if SERVER then | |
util.AddNetworkString("purge") | |
local purge=false | |
local cooldown=false | |
local cooldowntime=15 | |
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
// ==UserScript== | |
// @name Steam linkfilter bypass | |
// @namespace http://www.mattjeanes.com/ | |
// @description Automatically bypasses the steam linkfilter. | |
// @include http*://steamcommunity.com/linkfilter/?url=* | |
// @run-at document-start | |
// ==/UserScript== | |
var str = window.location.href | |
var search = "?url=" |
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
hook.Add("PlayerSay", "kick", function(ply,text) | |
if ply:IsAdmin() or ply:IsSuperAdmin() then | |
local t=string.Explode(" ", text) | |
if t and t[1] and t[1]:lower()=="!kick" then | |
if t[2] and string.len(t[2])>0 then | |
local n=t[2] | |
local pl={} | |
for k,v in pairs(player.GetAll()) do | |
if string.find(v:Nick():lower(), n:lower()) then | |
table.insert(pl,v) |