Skip to content

Instantly share code, notes, and snippets.

<BESWebReport>
<Source>
<HTML>
<HEAD>
<style>
beswebreport br {
display: none;
}
table.redTable {
parameter "uifolder"="{(data folder of client) as string & "/__UISupport/Verification"}"
parameter "uifile"="{(data folder of client) as string & "/__UISupport/Verification/_dashboard.html"}"
folder create "{parameter "uifolder"}"
delete file "{parameter "uifile"}"
createfile until enddelimiter
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<html>
<head>
<style>
#ui-console {
@tasaif
tasaif / main.rb
Created May 16, 2019 22:11
querying properties in many computers using session relevance
#!/usr/bin/env ruby
#
# Based on https://www.ibm.com/developerworks/community/blogs/e9d21113-aa93-467e-ac77-a0d20a21eaec/entry/Session_Relevance_Computer_Properties_query_Efficiency?lang=en
#
class App
def initialize
@properties = []
@template = File
Function New-PSWebServer {
<#
.Synopsis
Creates a web server that will invoke PowerShell code based on routes being asked for by the client.
.Description
New-PSWebServer creates a web server. The web server is composed of a schema that defines the client's requests to routes where PowerShell code is executed.
Under the covers, New-PSWebServer uses the HTTPListener .NET class to execute powershell code as requested, retrieves the results and sends data back through the httplistener web server framework.
[root@centest NeonServV5]# make
cd src && chmod +x version.sh && ./version.sh && cd ..
Extracting version.c ...
svn: E155007: '/home/tasaif/neonserv/NeonServV5/src' is not a working copy
make all-am
make[1]: Entering directory `/home/tasaif/neonserv/NeonServV5'
CCLD libDummyServ.la
/bin/ld: cannot find -lmysqlclient
collect2: error: ld returned 1 exit status
make[1]: *** [libDummyServ.la] Error 1
~/repos/learnyounode (master) > nodejs debug program.js
< Debugger listening on port 5858
debug> . ok
break in program.js:1
> 1 var a = "Hello";
2 debugger
3 var b = "World";
debug> c
break in program.js:2
1 var a = "Hello";