Links to other pages

THE SUBNET CALCULATOR HAS BEEN MOVED TO https://owglow.com/subnet/
Cisco Reference
Linux Reference

Some pages you might be interested in that I didn't put on the links bar. They also don't contain fancy markup, they are very informative though!

And some less informative/incomplete pages

Ghost Client troll page
Powershell Reference

advertisement:

Video Transcoding with x264

is Placebo worth it?

I was bored and transcoded one video a total of 270 times, I did this because I wanted to know when you use the x264 video encoder how much the presets actually change in regards to space (storage) savings, I set up a script that would reencode my video in every preset (ultrafast - Placebo) at CRF 51 to 0 in increments of 2, this will end in 1, but I then also added CRF 0 to get an idea of what lossless video will take at said preset.

Quick conclusion: If you are going to do lower quality encodes there is no reason to go overboard on higher presets to save space because at higher CRF values that savings will be very minimal if any at all from veryfast and up.

where transcoding the video in the top 3 presets took a few minutes at most, transcoding in placebo would take around 2-3 hours (with the minimal resources I gave the encode, more on that later).

For H264 23 is considered the normal quality preset, so above you can see the results for this. As you can see there aren't really any space savings going from veryfast to slower presets.

I also included CRF 17 as a graph because this is the sensible "high quality" preset, from here the file size grows a lot while not increasing the quality by as much. as we can see the bitrate gets cut in half going from ultrafast to veryfast while from ultrafast on it only goes down 9% more.

This one is by far the most interesting I think. CRF 0, here we can see the slower presets are doing some work again, still not worth the extra computational resources if you ask me.

The big difference is that the video will be "lossless" which means you should be able to store videos like this without losing any quality.

here is a table of all the results for those that want to analyze them.

Why did I do this?

Those that follow me on twitter might now, but I have a basement where there is a lot of water and stuff, so that had (has at the time of writing) to come out.

I used the old machine because the E5504 CPU uses around 80W, and the machine moves a lot of air which is a good thing when you are trying to get rid of moisture. (the inside of the machine got it's dust removed every other day.)

Now that it is done with this I am planning on making it transcode the videos from my reports tool (which I haven't showcased on my site yet) so they take up less space on my server.

23 August 2017

Storage Benchmarks

Benchmarks I've done on storage solutions

SSDs

Run conditional formatting script

Intel 530 240GB (Sata/600)ReadWrite
Sequential 32Q540.1MB/s230.1MB/s
Sequential345.2MB/s223.3MB/s
4K 32Q292.4MB/s195.9MB/s
4K40MB/s124MB/s
SK hynix OEM 256GB (M.2 Sata/600)ReadWrite
Sequential 32Q543.4MB/s389.9MB/s
Sequential439.1MB/s389.2MB/s
4K 32Q310.9MB/s298.4MB/s
4K12.7MB/s26.16MB/s
Samsung OEM 128GM (Sata/600)ReadWrite
Sequential 32Q400.4MB/s135.4MB/s
Sequential507.3MB/s134.4MB/s
4K 32Q339.2MB/s131.4MB/s
4K25.62MB/s64.61MB/s

HDD

HDD - 4x HD501J - Raid 0ReadWrite
Sequential 32Q454.6MB/s451.9MB/s
Sequential306.9MB/s359.7MB/s
4K 32Q10.71MB/s10.78MB/s
4K1.432MB/s9.2MB/s
HDD - 4x HD501J - Raid 5ReadWrite
Sequential 32Q437.5MB/s66.38MB/s
Sequential125.8MB/s53.69MB/s
4K 32Q5.516MB/s0.632MB/s
4K0.94MB/s0.444MB/s

Portable media

Kingston DT Se9 G2 (USB 3.0)ReadWrite
Sequential 32Q75.79MB/s13.21MB/s
Sequential103.6MB/s32.29MB/s
4K 32Q9.374MB/s1.706MB/s
4K4.393MB/s1.187MB/s
gift usb stick (USB 2.0)ReadWrite
Sequential 32Q14.51MB/s1.966MB/s
Sequential14.47MB/s3.355MB/s
4K 32Q8.71MB/s0.321MB/s
4K5.84MB/s0.012MB/s
Sandisk Extreme Pro 16GB (SDcard)ReadWrite
Sequential 32Q85.73MB/s68.94MB/s
Sequential86.19MB/s81.79MB/s
4K 32Q8.267MB/s1.43MB/s
4K4.724MB/s1.276MB/s
Toshiba 2GB (3DS) (SDcard)ReadWrite
Sequential 32Q20.34MB/s10.17MB/s
Sequential21.18MB/s9.856MB/s
4K 32Q3.338MB/s0.021MB/s
4K2.528MB/s0.019MB/s
23 June 2017

Calculating Subnets

A guide on calculating subnets

InputOutput
DecimalBinary
BinaryDecimal

This will be a step by step guide on how to calculate subnets, so this basically explains the Calculator that can been seen on the projects page!
I have also included a very quick and simple binary calculator, you can also use the calculator program built right into windows 10, it can do the same and more if you set it to the programmer mode.

Step 1

Collecting information

To get started you only need to know these 2 things: IP address and the subnet mask, the IP address can pretty much be any valid IP address (0.0.0.0 - 255.255.255.255) and the subnet mask usually is a value between 4 and 30. As you read this page and follow the instructions you will also find the answer to the problem you entered. (The information you put in those fields will not be stored, except if your browser does so.)

Set1:
Set2:
Set3:
Set4:
IP address:Subnet Mask:

/

I like to divide the IP into 4 sets which I call set1, set2, set3 and set4, in the real IP address these sets are seperated by the "." in between the numbers, if you filled out the forms above the table to the right of this text will be filled out. The reason I like to split it in the 4 sets is because it makes it a lot easier to understand how to do step 2:

Step 2

Converting to Binary

It is really important to do this step right, if you make mistakes in this part none of the results from your calculations will be right. If you are not sure you did the right thing you can use the little converter I put above to check your work (top right corner), if you don't know how to convert Decimal to binary, here I will give a short example:
Let's say we want to convert the number 124 to binary, IP addresses use 4 8Bit (1Byte) values so we know the following, reading from left to right: the first bit is worth 128 in Decimal, the second bit 64 and the last bit is worth 1. 124 is not bigger than 128, so we go to the next bit, which is worth 64, 124 - 64 = 60, and now we have a binary value of 01000000, 60 > 32 so 60 - 32 = 28 which gives us 01100000, 28 > 16 so 28 - 16 = 12, 12 > 8 so 12 - 8 = 4, 4 = 4 so our binary value for 124 is 01111100

We do this to all our "sets" in the IP address;
Below I put a table with forms so you can fill out the conversion of you address, you can click the word "magic" in the next sentence to make the right results show up for your address (you can also use it to cheat but I didn't tell you that.)
In case you want me to do this for you, you can click the word magic in this sentence to magically put your IP address in binary below here :o

Set1
Set2
Set3
Set4

If you clicked the word magic you can compare what you entered with the results based on the IP you entered earlier, if both are correct you can proceed. Now we are going to calculate the subnet mask, the subnet mask if a lot easier as the number in the subnet mask will be the number of bits that will hold a value of 1 (left to right). Here are a few examples of common values

Common values
/2411111111.11111111.11111111.00000000
/1611111111.11111111.00000000.00000000
/811111111.000000000.00000000.00000000
Based on what you entered (beta)

Step 3

Calculate the network Address

The easiest way to do this is to put the addresses above each other, every bit that has a 1 in the subnet mask and a 1 in the IP address will get a 1 in the network address, ever bit that is next to a 0 bit in the subnet mask will always be a 0, below I have put a table that shows the IP address and the subnet mask above each other:

If you have entered an IP address but nothing shows up click here

IP address:
Subnet Mask:
Network address:

Click on the text "Network address" in the table to calculate the network address based on your input.

Step 4

Calculating the broadcast address

The broadcast address is the very last IP in your subnet the way you can calculate it is by: Every bit that has a one on the subnet mask will copy the IP address, every bit that has a 0 in the subnet mask will ALWAYS be a 1, below I will put a table that will help explain this; We put the IP address and the subnet mask above each other, after doing so we check to see where the subnet mask ends (0), from there on every bit will be a 1, and before that we basically copy the IP address

IP address:
Subnet Mask:
Broadcast address:

Click on "Broadcast address" in the table to calculate the broadcast address.<./p>

Step 5

Binary to Decimal

In the previous steps we collected the following values, I will put them in a nice table:

IP address:
Subnet Mask:
Network address:
Broadcast address:

All that is left to do is to convert the binary values back to decimal values, You can click calculate in the table to calculate the addresses, I will not write a guide on how to do binary to decimal, there are a lot of those on the internet.

Calculate
IP Address
Network Mask
Network Address
Broadcast Address

18 May 2017

Excel subnetting tool

You need to have Microsoft Excel installed to use this.

You can use this to calculate subnets of IP addresses. You know it when you need this ;)

This was 100% written by me and I will be making some changes over time (will place new links once I do.)

You can simply type IP in the designated cells and the magic will do the rest. I included 2 versions in the ZIP, both offer the same functionality and work the exact same way, on the lite version a lot of the cells are hidden to prevent clutter on the sheet, it just looks cleaner.

Screenshot

Screenshots of the lite version of the sheet.

Download link:

The Sheet/Tool has not been tested properly yet, results usually are correct, entering invalid values might cause problems with the sheet.

/!\ The sheet might be very taxing on the device you are running it on! /!\

This is because I have to do binary math in excel and then apply some oprations to those and convert back to Decimal which makes the entire excel sheet quite a heavy workload, there are around: 300 formulas on the sheet.

Download Version 1 of the Sheet

Why .xlsx?

The reason I don't make HTML versions of this is because I am not getting paid to do this, and excel makes it really easy to use, store offline and distribute.

17 May 2017

Cisco Automatic Configuration script

Script to configure Cisco Switches

This script can be used to configure Cisco switches

More information:

For more information on how to configure devices running IOS, consider visiting my Cisco Reference page (link above "Links to other pages.")

How to use:

Download the zip (link at the end of this article), after downloading the folder, you can unzip it I recommend to just drag and drop the contents of the zip to a folder on the desktop/another common folder, this will make it easier to find the script in the future.
When you download the script there will be a few .conf files in the zip you downloaded (you can edit them using notepad or notepad++), here is how you can use those to configure the script:

.Conf files

File nameConfiguration itemDescriptionSuggestion
banner.confbanner motdMessage shown after connecting to the deviceUnauthorized Access Restricted
hostname.confhostnameHostname for the switchSwitch1cab12
ip.confIP addressIP address VLAN1 (IP+mask)10.0.0.1 255.0.0.0
password.confpasswordSign in using telnetCisco
secret.confsecretUsed to Switch to priv. exec modeCISCO
speed.conf-Used to alter the speed of the script100! lowering might cause failures!

After you are done changing the files to your need, run the script (if you haven't already) there should a little icon in the system tray now, go to the terminal connected to the Cisco device, and press CTRL+K, the script will now use the entered configuration to configure the switch to your needs!

Planned Updates:

Download link:

Download and use at your own risk.
Download the zip!
7 May 2017

5000 Skywars solo wins

I made a montage because I got 5000 Skywars wins recently
Enjoy!


2 May 2017

Audio over USB C

Because it's time to ditch the 3.5MM headphone jack on our phonesI still love it though
No this was made for make life more fun, all I have to do is plug in the USB c cable on the bottom of my phone, and everything is connected to my phone including the speakers in my room, here is a video demo:


27 April 2017

Media-Keys script

Are you tired of your multimedia keys being inconsistent, are you tired of there being no multimedia keys at all on your computer, if so, this script might be the solution.

Installation instructions


V1

Key combinationFunctionUse case
ALT + leftPreviousGoes to the previous track in your media player.
ALT + rightNextGoes to the next track in your media player.
ALT + upVolume upAdjust the volume up.
ALT + downVolume DownAdjust the volume down.
ALT + 1Pin WindowMakes the currently active window "Always on top"

V3.1

Key combinationFunctionUse case
ALT + leftPreviousGoes to the previous track in your media player.
ALT + rightNextGoes to the next track in your media player.
ALT + upVolume upAdjust the volume up.
ALT + downVolume DownAdjust the volume down.
ALT + 1Pin WindowMakes the currently active window "Always on top"
CTRL + CCopy + historyMore in the features below
CTRL + XCopy + historyMore in the features below
CTRL + JFly reportMake a report for cheaters (not in 3.1.1)
CTRL + ALT + Scroll upPrevious clipboardGo back through the history of your clipboard
CTRL + ALT + Scroll downNext clipboardSame as above but from old -> new
CTRL + KKillaura reportMake a report for cheaters (not in 3.1.1)

V3.1.1

Key combinationFunctionUse case
ALT + leftPreviousGoes to the previous track in your media player.
ALT + rightNextGoes to the next track in your media player.
ALT + upVolume upAdjust the volume up.
ALT + downVolume DownAdjust the volume down.
ALT + 1Pin WindowMakes the currently active window "Always on top"
CTRL + CCopy + historyMore in the features below
CTRL + XCopy + historyMore in the features below
CTRL + ALT + Scroll upPrevious clipboardGo back through the history of your clipboard
CTRL + ALT + Scroll downNext clipboardSame as above but from old -> new

Clipboard history

I have added a feature where you can have more than just one item on your clipboard (only works with plain text!) to use this feature:
Just use the CTRL + C or CTRL + X commands on your keyboard to use something, it will automatically be stored.
To find information that was on your clipboard before you hold the CTRL + ALT key and then while holding scroll up or down
Information stored on the clipboard will be gone after closing the script or restarting your computer! (If you don't want your passwords to show up in the list, copy them using the context menu (right click), the script ignores that.)


Download

You can click the download button below to download this script:


Download V1 Hash (SHA256):AC5E29F255E3B81706E34DE7825095B625D58BBAF4712E4B237C436E1CBAA1A5
Download V3.1 Hash (SHA256):569D82DA673A3E00F11B66B0EA28855C126166256F8DF6063FCF8D79A2C06E68
Download V3.1.1 Hash (SHA256):4DE2234F9D56C4CF20FEA609927D757BD4954B956CB8F3DC9B8505919493598D

Your antivirus might get triggered.

Hai, I use cookies to make things work - Made by: Elias Eskes - © 2017
>