Example of a structure in C

This is just a placeholder for how these work. Largely, this is the predecessor of object oriented programming in that a structure has properties that can be assigned. #include #include struct student {   int studentId;   char studentName[40];  …

Robotic Process Automation

McKinsey Consulting defines Robotic Process Automation, or “RPA”, as follows: “RPA takes the robot out of the human. The average knowledge worker employed on a back-office process has a lot of repetitive, routine tasks that are dreary and uninteresting. RPA…

anon memory segments on Linux

[adm-showard@cmhlcarchapp01 ~]$ cat mem.c #include #include #include int main() { struct rusage r_usage; void *m = malloc(4194304000L); memset(m,0,4194304000L); sleep (60); } [adm-showard@cmhlcarchapp01 ~]$ gcc -o mem mem.c [adm-showard@cmhlcarchapp01 ~]$ ./mem & [1] 25748 [adm-showard@cmhlcarchapp01 ~]$ pmap -d 25748 25748: ./mem…

java dynamic SQL formatter

import java.sql.*; public class dynColumns { public static void main(String[] args) { try { Connection con = DriverManager.getConnection(“jdbc:oracle:thin:” + args[0]); Statement stm = con.createStatement(); ResultSet rst = stm.executeQuery(args[1]); ResultSetMetaData rstMeta = rst.getMetaData(); int columns = rstMeta.getColumnCount(); while (rst.next()) { for…

SAML response between IDP and SP

samlresponse sent from idp back to browser, who posts via form to service provider. the response is encrypted with the public key of the service provider Usually, the SP creates a SAML request, and also creates a form whose action…