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
component = require("component") | |
sides = require("sides") | |
colors = require("colors") | |
rs = component.proxy("66f08be3-347e-4828-9aa4-b7ef47826227") | |
pool = component.proxy("f4743c6f-128d-4fe7-903f-9450cf82f10a") | |
pres = component.proxy("f393c3c2-5f9d-4504-b552-f097cf5a5e8d") | |
dropper = component.proxy("2734b56a-e57f-4485-b731-4bf2e7ba79b4") | |
sdropper = sides.south -- the side where the dropper is located |
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
Citrix Receiver on ubuntu-18.04 | |
There's a bug in icaclient_13.9.1.6_amd64.deb when you are trying to connect to the desktop. You'll get something like: | |
Cannot connect to "0.0.0.2-Remote Desktop_" | |
No such file or directory. Verify you connection settings and try again. | |
It looks like this: https://askubuntu.com/questions/1033685/cannot-connect-to-remote-desktop-with-citrix-receiver | |
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
require 'net/http' | |
require 'csv' | |
require 'json' | |
class HaproxyStats | |
NAMES = { | |
pxname: 'Proxy Name', | |
svname: 'Service name', | |
qcur: 'Current queue', | |
qmax: 'Maximum queue', |
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
class MailTruck | |
attr_accessor :driver, :route | |
def initialize( driver, route ) | |
@driver, @route = driver, route | |
end | |
end | |
m = MailTruck.new( "Harold", ['12 Corrigan Way', '23 Antler Ave'] ) | |
m.instance_variable_set('@speed', 45) |
OlderNewer