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
using System; | |
using System.Threading; | |
namespace IBMU2.UODOTNET | |
{ | |
public class UniFile : UniRoot | |
{ | |
//... lots of stuff | |
/// <summary> | |
/// Reads the UniVerse record from this file. It uses the record ID established via |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net.Http.Formatting; | |
using System.Net.Http.Headers; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Web; | |
using System.Xml; | |
using System.Xml.Serialization; |
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
using System; | |
using System.Linq; | |
using System.Dynamic; | |
using System.Collections.Generic; | |
namespace Expando | |
{ | |
public delegate string ToStringFunc(); | |
class ToStringExpandoObject : DynamicObject |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ETP | |
{ | |
/// <summary> |
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 python2 | |
# Demonstration for host to use the hostname to determine which property of the | |
# Field is "mine" | |
import socket | |
from geometry_msgs.msg import Pose2D | |
from bh_vision.msg import Field | |
hosts = {'BECKHAM': '1', |
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 python3 | |
""" | |
Creates a BOM spreadsheet with updating pricing from Octopart using the custom | |
'Part No.' field on schematic components | |
""" | |
import sys, argparse, time, math, webbrowser, os | |
import json, urllib.parse, urllib.request | |
import xml.etree.ElementTree as ET |
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 python2 | |
# Random placement helpers because I'm tired of using spreadsheets for doing this | |
# | |
# Kevin Cuzner | |
import math | |
from pcbnew import * | |
def place_circle(refdes, start_angle, center, radius, component_offset=0, hide_ref=True, lock=False): |
OlderNewer