This file contains hidden or 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
SELECT * FROM | |
(SELECT | |
MachineID as ResourceID, | |
InstanceKey + 32000000 as GroupID, | |
DelDate | |
FROM SCCM_Ext.Add_Remove_Programs_DATA_DD |
This file contains hidden or 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
var Sftp = Class.create(); | |
Sftp.prototype = { | |
initialize: function() { | |
gs.print("Setting up SSH client."); | |
this.dataSourceID = ''; | |
this.hostname = ''; | |
this.port = 22; | |
this.username = ''; | |
this.password = ''; |
This file contains hidden or 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
<map designer="mantis - [email protected]"> | |
<sky horizon="0.000,0.400,1.000" color="0.000,0.200,0.600"/> | |
<ground color="0.000,0.000,0.333"/> | |
<incarnator location="63.417,30,63.417" heading="315.0"/> | |
<incarnator location="31.694,30,63.417" heading="45.0"/> | |
<incarnator location="31.583,30,31.472" heading="145.0"/> | |
<incarnator location="63.417,30,31.472" heading="225.0"/> | |
<incarnator location="47.083,63,47.472" heading="145.0"/> | |
<incarnator location="47.083,63,47.472" heading="145.0"/> | |
<static> |
This file contains hidden or 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
#!/bin/bash | |
# put your instance id here | |
instance="dev######" | |
# make sure your password doesn't have shell operators in it | |
credentials="admin:password" | |
while true; do | |
entropy=`rand` | |
outdata="{\"short_description\":\"Automated incident $entropy\"}" |
This file contains hidden or 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
//#define MIDI_CHANNEL 1 | |
int buttons[8][16] = { | |
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, | |
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, | |
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, | |
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, | |
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, | |
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, |
This file contains hidden or 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
#!/bin/sh | |
# list of MAC addresses, 1 per line | |
MACFILE="/jffs/etc/config/maclist" | |
# current mac address | |
current_mac=$( nvram get def_hwaddr ) | |
# get current MAC index from file | |
macindex=$( grep -n $current_mac $MACFILE | cut -f1 -d: ) |
This file contains hidden or 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 math | |
try: | |
import pyglet.input | |
import pyglet.app | |
except: | |
pyglet = None | |
print("pyglet import failed - no joysticks for you") | |
AXIS_ENGAGE_THRESHOLD = 0.359 |
This file contains hidden or 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
""" | |
Copyright 2021 D. Watson, J. Voss, R. Herriman, A. Halstead | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
This file contains hidden or 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/pkg/bin/python2.7 | |
import sys, socket, string, time, random, subprocess, random, datetime, code | |
import re | |
HOST="67.23.2.128" | |
PORT=6667 | |
NICK="dicebot9K" | |
IDENT="v0.04" |
This file contains hidden or 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
def update(self, dt): | |
dt = min(dt, 0.2) # let's just temporarily assume that if we're getting less than 5 fps, dt must be wrong. | |
yaw = self.movement['left'] + self.movement['right'] | |
self.rotate_by(yaw * dt * 60, 0, 0) | |
walk = self.movement['forward'] + self.movement['backward'] | |
speed = 0 | |
if self.on_ground: | |
speed = walk | |
self.xz_velocity = self.position() | |