To reset to Factory Settings.
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
Labels
Android
(1)
Apache
(1)
bash
(2)
boost
(2)
C
(37)
C++
(5)
cheatsheet
(2)
CLion
(6)
css
(3)
Debian
(35)
DL
(17)
dns
(1)
Docker
(3)
Dreamweaver
(2)
Eclipse
(3)
fail2ban
(5)
git
(6)
GitHub
(5)
Hacking
(4)
html
(8)
http
(1)
iOS
(1)
iPad
(1)
IRC
(1)
Java
(34)
javascript
(3)
Linux
(186)
Mac
(22)
Machine Learning
(1)
mySQL
(54)
Netbeans
(7)
Networking
(1)
Nexus
(1)
OpenVMS
(6)
Oracle
(5)
Pandas
(3)
php
(17)
Postgresql
(8)
Python
(9)
raid
(1)
RedHat
(15)
Samba
(3)
Slackware
(54)
SQL
(14)
ssh
(1)
svn
(1)
tar
(1)
ThinkPad
(1)
Virtualbox
(4)
Visual Basic
(2)
Visual Studio
(1)
Windows
(8)
wire
(1)
Tuesday, 21 January 2020
Saturday, 18 January 2020
Find large files in Linux
The following will list the top 10 files by size in a dir
find /path/to/dir/ -printf '%s %p\n'| sort -nr | head -10The k option shows file size in kb
find /path/to/dir/ -printf '%k %p\n'| sort -nr | head -10
local http servers
The following starts a basic http server locally in the current directory;
python 2.x
python -m SimpleHTTPServer 8080
python 3.x (untested)
python -m http.server 8080
https://gist.github.com/willurd/5720255
python 2.x
python -m SimpleHTTPServer 8080
python 3.x (untested)
python -m http.server 8080
https://gist.github.com/willurd/5720255
Wednesday, 15 January 2020
Linux memory usage by percentage
This will show the memory usage, ordered by percentage;
ps -o pid,user,%mem,command ax | sort -b -k3 -r | less
ps -o pid,user,%mem,command ax | sort -b -k3 -r | less
Thursday, 9 January 2020
Replacing postgres database
This is applicable to the Peon application, in so far as when the PAF data is updated and a new database is created, normally to a temp test database for testing, afterwhich a renaming or replacing of working database is required.
Friday, 3 January 2020
Wednesday, 11 December 2019
Java Component tab order
To set the component tab order in a java application, specifically in Netbeans;
Wednesday, 4 December 2019
multiple JAR files signed with different certificates
REF: https://docs.oracle.com/javase/8/docs/technotes/guides/javaws/developersguide/faq.html#s213
Basically, if I have multiple jar files, some of which are signed by a different certificate, then we need to create separate jnlp files for these resources.
TLDR - Signing each jar with the same certificate, seems to work, regardless if it has been signed before.
Basically, if I have multiple jar files, some of which are signed by a different certificate, then we need to create separate jnlp files for these resources.
TLDR - Signing each jar with the same certificate, seems to work, regardless if it has been signed before.
Sunday, 1 December 2019
Code signing with Certum and SimplySign
What follows are my own personal notes relating to the purchase, installation and use of Code signing with Certum and SimplySign.
Sensitive or personal information has been removed from this post.
Friday, 22 November 2019
Updating java GUI components
I've had numerous problems over the years trying to update java components such as labels before carrying out other tasks and reaearch tells me that Threads are the way to do this.
see also: java-threads.html
see also: java-threads.html
Subscribe to:
Posts (Atom)