Simple Dashing job to send sensu client history checks to dashing widgets.
##Dependencies
##Usage
Put the sensu.rb
file in your /jobs
folder.
// | |
// This server will start a bash shell and expose it | |
// over socket.io to a browser. See ./term.html for the | |
// client side. | |
// | |
// You should probably: | |
// | |
// npm install socket.io | |
// curl -O https://github.com/LearnBoost/Socket.IO/raw/master/socket.io.min.js | |
// |
Simple Dashing job to send sensu client history checks to dashing widgets.
##Dependencies
##Usage
Put the sensu.rb
file in your /jobs
folder.
data = {} | |
data["extend"] = function (data, t) | |
for n, recipe in ipairs(t) do | |
for i, component in ipairs(recipe["ingredients"]) do | |
cname = component[1] or component["name"] | |
camt = component[2] or component["amount"] | |
print('"' .. recipe["name"] .. '","' .. cname .. '",' .. camt) | |
end | |
end | |
end |
#Put this in Export-Chocolatey.ps1 file and run it: | |
#.\Export-Chocolatey.ps1 > packages.config | |
#You can install the packages using | |
#choco install packages.config -y | |
Write-Output "<?xml version=`"1.0`" encoding=`"utf-8`"?>" | |
Write-Output "<packages>" | |
choco list -lo -r -y | % { " <package id=`"$($_.SubString(0, $_.IndexOf("|")))`" version=`"$($_.SubString($_.IndexOf("|") + 1))`" />" } | |
Write-Output "</packages>" |
/c | |
pos = game.player.position | |
area = {{pos.x - 5000, pos.y - 5000}, {pos.x + 5000, pos.y + 1.5}} | |
for _, entity in pairs(game.player.surface.find_entities_filtered{area = area, type = "tree"}) do | |
entity.die() | |
end |