Recently Updated Pages

jQuery

  Select2 Getting select2 values programmatically: $('#mySelect2').val('1'); // Select the op...

Revision #2
Created 3 years ago by Admin
Updated 3 years ago by Admin


Security

Iptables configuration to allow specific host connection to mysql: iptables -A INPUT -i eth0 -p ...

Revision #2
Created 3 years ago by Admin
Updated 3 years ago by Admin


Exporting data

To export structure only, use this option on mysqldump: mysqldump [...] --no-data To export com...

Revision #3
Created 6 years ago by Admin
Updated 4 years ago by Admin


Cloning configuration

      https://jcutrer.com/howto/networking/mikrotik/perfectrestore-script    

Revision #1
Created 7 years ago by Admin
Updated 4 years ago by Admin


Some useful commands

Here is how to join two files side by side in columns, delimited by ";" paste file1 file2 -d ";"...

Revision #2
Created 4 years ago by Admin
Updated 4 years ago by Admin


Console on serial port

Example using RedHat Linux 6.0 Using lilo bootloader Edit /etc/lilo.conf append="console=tty0 ...

Revision #2
Created 5 years ago by Admin
Updated 5 years ago by Admin


Mounting ISO images under FreeBSD

https://makandracards.com/jan0sch/13431-mounting-iso-images-under-freebsd  

Revision #1
Created 5 years ago by Admin
Updated 5 years ago by Admin


Flashing Dell PERC H710 mini to IT mode

  https://fohdeesha.com/docs/perc/

Revision #1
Created 5 years ago by Admin
Updated 5 years ago by Admin


DNS Cache clear

  dscacheutil -flushcache sudo killall -HUP mDNSResponder https://www.siteground.com/kb/how_t...

Revision #1
Created 5 years ago by Admin
Updated 5 years ago by Admin


Tools

Download entire site with wget and authentication   $ wget --user=THE_USERNAME --password=THE_...

Revision #1
Created 5 years ago by Admin
Updated 5 years ago by Admin


Testing networking services

Netcat Testing networking services to troubleshoot communications can be easily done with netcat...

Revision #2
Created 6 years ago by Admin
Updated 5 years ago by Admin


IPTables

Allow All Incoming HTTP   sudo iptables -A INPUT -p tcp --dport 80 -m conntrack --ctstate NEW...

Revision #1
Created 6 years ago by Admin
Updated 6 years ago by Admin


rsync

https://serverfault.com/questions/529287/rsync-creates-a-directory-with-the-same-name-inside-of-d...

Revision #1
Created 6 years ago by Admin
Updated 6 years ago by Admin


Securely delete files and directories

Shred shred -zvu -n 3 fileToDelete Wipe wipe -rfi privateDirectory/* SRM (secure remove) srm...

Revision #3
Created 6 years ago by Admin
Updated 6 years ago by Admin


Curiosities

Off by one error (OBOE) https://en.wikipedia.org/wiki/Off-by-one_error  Layer 8 Issues https:...

Revision #2
Created 6 years ago by Admin
Updated 6 years ago by Admin


Writing image to SD card

These are the steps to write an raspberry pi OS image to an SD card on MacOS 1. Insert card on r...

Revision #6
Created 6 years ago by Admin
Updated 6 years ago by Admin


Services

Managing services with systemctl Start sudo systemctl start application.service Stop sudo sys...

Revision #2
Created 6 years ago by Admin
Updated 6 years ago by Admin


Aula 6

  Identificação dos riscos e ameaças Threat Analysis - criar controlos que respondam às a...

Revision #4
Created 6 years ago by Admin
Updated 6 years ago by Admin


Dealing with ISO Files with hdiutil

Creating an iso file from a directory hdiutil makehybrid -iso -joliet -o output_image.iso input_...

Revision #3
Created 6 years ago by Admin
Updated 6 years ago by Admin


Ubuntu startup mode

  Show current default target sudo systemctl get-default To start in multi-user mode (text mo...

Revision #3
Created 7 years ago by Admin
Updated 7 years ago by Admin

Back to top