Skip to content

Instantly share code, notes, and snippets.

namespace PlexWalk
{
partial class BrowseForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
@FennyFatal
FennyFatal / HL7.cs
Last active August 29, 2015 14:10
Quick tool to build a node tree for a message in the HL7 standard.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Text.RegularExpressions;
namespace HL7Visualizer
{
public class HL7
require 'net/http'
require 'uri'
require 'win32/sound'
require 'launchy'
require 'thread'
include Win32
urls = [
"https://play.google.com/store/devices/details/Nexus_6_64GB_Midnight_Blue?id=nexus_6_blue_64gb",
"https://play.google.com/store/devices/details/Nexus_6_64GB_Cloud_White?id=nexus_6_white_64gb",
#!/bin/bash
fail="t"
command="$@"
echo ""
while [[ "$fail" == "t" && "$command" != "q" ]]
do
printers=" "
//For easy notification.
public interface NotifyLoaded
{
void LoadComplete(ArrayList computersInDomain);
void oneMore();
}
public static ArrayList getComputersInDomain(string domainName, NotifyLoaded countForm = null)
{
System.Collections.ArrayList computers = new System.Collections.ArrayList();
DirectoryEntry de = new DirectoryEntry("LDAP://" + domainName);
public static void launchRemotePrintMgmt(String computerName)
{
String pmc_xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?> <pmc-configuration xmlns=\"http://schemas.microsoft.com/2003/print/pmc/config/1.0\"><_locDefinition><_locDefault _loc=\"locNone\"/><_locTag _loc=\"locData\" _locAttrData=\"name\">filter</_locTag></_locDefinition><print-servers-standalone><server xmlns=\"\" uncname=\"\\\\"
+ computerName
+ "\" servername=\""
+ computerName
+ "\"/></print-servers-standalone><filters><filter name=\"Printers With Jobs\" description=\"filter:jobs_in_queue GREATER_THAN '0'\" shownumprinters=\"false\"><notification emailenabled=\"false\" emailto=\"\" emailfrom=\"\" emailsmtpserver=\"\" emailmessage=\"\" scriptenabled=\"false\" scriptpath=\"\" scriptargs=\"\"/><sexp neg=\"false\" fld=\"jobs_in_queue\" op=\"greater_than\" value=\"0\"/></filter><filter name=\"Printers Not Ready\" description=\"filter:NOT queue_status IS_EXACTLY 'ready'\" shownumprinters=\"false\"><notification emailenabled=\"fal
private static final package com.fennyfatal.agroovedownloader;
import java.util.ArrayList;
import java.util.List;
import com.fennyfatal.GrooveApi.Playlist;
import com.fennyfatal.GrooveApi.Song;
import android.content.ContentValues;
import android.content.Context;
class Program
{
static void Main(string[] args)
{
string output;
for (int i = 1; i <= 100; i++)
{
if (i % 15 == 0)
output = "FIZZBUZZ";
else if (i % 3 ==0)