Category Archives: General stuffs

Anything that’s considered “general” by me hehe…

Must read: REad and write json with python

This was what i was looking for: http://gowrishankarnath.com/read-write-json-python/ Advertisements

Posted in General stuffs | Leave a comment

[postgres]Installing postgres bigsql on MAC

Here’s the link https://www.openscg.com/bigsql/package-manager.jsp/ First install pgc as indicated in the link. Go to the bigsql folder and type ./pgc list, I am installing a proven version 9.6.8, ./pgc install pg96 Then install the gui for managing the database which … Continue reading

Posted in General stuffs | Tagged | Leave a comment

[powershell]Send access request to Tufin SecureChange using REST API

Previously I had a code in powershell, however this update supports ip address range format. accepted source and destination addresses formats are: 1. hostname 2. host ip address 3. subnet in cidr notation 4. ip address range, from first ip … Continue reading

Posted in General stuffs, Powershell, Scripting | Tagged , , | Leave a comment

Must read: qt5 integration with python

Nice tutorial with pyqt5: https://waleedkhan.name/blog/pyqt-designer/ Qt5 designer is integrated with QtCreator, when you launch Qtcreator you will see the design option on the left is disabled. copy and paste the format and save the file as .ui as indicated in … Continue reading

Posted in General stuffs | Leave a comment

Must read

This is a very in-depth guide on what hashtables can be used in powershell, must read. I have some situations which I am considering hashtables such as storing the source, destination and service to one row of firewall rule, and … Continue reading

Posted in General stuffs | Leave a comment

[Tufin]How to send access request using REST API

The structure of the XML is not properly explained in SWAGGER, swagger is a build in helper to browse the API calls within Tufin SecureChange itself. The example presented under Post Ticket is not very practical, the entire form is … Continue reading

Posted in General stuffs | Tagged , , | 1 Comment

[c]Question and Exercise (Tossing chance)

The requirement is to ask user to input head or tail in the program and display the number of heads and tails and the probability in percentage. output will be like this: Choose head or tail (valid choices is h … Continue reading

Posted in General stuffs | 1 Comment