Skip to content

Instantly share code, notes, and snippets.

Avatar

Adam Zacharski adam-zacharski

View GitHub Profile
View IDrac EnableDisable Webserver
/admin1-> racadm
racadm>>set iDRAC.WebServer.Enable Disabled
racadm set iDRAC.WebServer.Enable Disabled
[Key=iDRAC.Embedded.1#WebServer.1]
Object value modified successfully
racadm>>set iDRAC.WebServer.Enable Enabled
racadm set iDRAC.WebServer.Enable Enabled
[Key=iDRAC.Embedded.1#WebServer.1]
Object value modified successfully
View keybase.md

Keybase proof

I hereby claim:

  • I am adam-zacharski on github.
  • I am zacharski (https://keybase.io/zacharski) on keybase.
  • I have a public key whose fingerprint is AD41 5891 AA2E F37E C637 0308 0429 9BEA 7692 9692

To claim this, I am signing this object:

@adam-zacharski
adam-zacharski / gist:b69eafa4ac84718be29d
Last active Aug 29, 2015
Node.JS Express Hello World
View gist:b69eafa4ac84718be29d
var express = require('express');
var app = express();
app.get('/', function(req, res){
res.send('hello world');
});
app.listen(3000);
View gist:909b0ec4b400aab6bbfb
import static spark.Spark.*;
public class HelloWorld {
public static void main(String[] args) {
get("/hello", (req, res) -> "Hello World");
}
}
View gist:f0073366e818caaf1ec7
DO $$
var json_result = plv8.execute( 'SELECT * FROM snapshot' );
var results = [];
json_result.forEach(function(r){
if(r.blob && r.blob.archive.indexOf('824149b96bb9')){
plv8.elog(NOTICE, JSON.stringify(r));
}
});
plv8.elog(NOTICE, 'length', json_result.length)
You can’t perform that action at this time.