Short Story: I'm So Sorry

Friday, 06 September 2019

If you're reading this, let me just say that I'm sorry: So very, very sorry.

I didn't mean for any of this to happen. I'm beyond devastated for all of the lives lost - and the countless destruction it brought. I...

> Keep reading

Common TcpDump Parameters

Wednesday, 04 September 2019

Argument Description
-A Print packet in ASCII
-e Print MAC address (link-level info)
-x Print packet in hex
--print Print parsed output even if saving packets to file
-w file Write raw packets to...
> Keep reading

Common CURL Parameters

Wednesday, 21 August 2019

Argument | Description -- | -   | Protocols | --http1.0 | Use HTTP 1.0 --http1.1 | Use HTTP 1.1 --http2 | Use HTTP 2 -4 | Resolve domain names to IPv4 -6 | Resolve domain names to IPv6 -k | Allow insecure connections in SSL   | **HTTP...

> Keep reading

My List of Ubiquitous Software

Thursday, 15 August 2019

(Really just a list for myself when I reinstall a new computer.)


> Keep reading

Common wget Parameters

Wednesday, 31 July 2019

Argument | Description -- | -   | Requests | --header=x | Insert custom header --method=x | Use custom HTTP method --post-data=STR | Set POST data from string --post-file=FILE | Set POST data from file --referer=x | Use custom referer -t n | Number of retries (0=unlimited)   | Authentication/TLS | --http-user=x...

> Keep reading

Gingerbread Christmas Tower

Saturday, 22 December 2018

Behold --

A stately tower now was made
With candy, frosting and decor;
Three ginger levels keenly laid
Upon another there did soar;
And the peak in brilliance alight
With candied decoration bright
Shone forth on white and frosted floor.
    Each level carefully aligned -
    A testament to...

> Keep reading

Windows CMD reference

Saturday, 25 August 2018

ATTRIB [/s] [/d]

Changes file attributes. /s makes it recursive, /d makes it operate on directories as well. I didn't know about these switches before. Handy.

BITSADMIN [/monitor] [/reset]

Investigate the Background Intelligent Transfer Service and see what it's downloading.


> Keep reading

MySQL Function to Calculate Excel-style Dates

Tuesday, 18 October 2011

drop function if exists exceldate;

delimiter //

-- Function that returns an Excel-style or Delphi-style date value -- from a MySQL date. A date value of 0 represents 1899-12-30.</em> create function exceldate(p_date date) returns int sql security...

> Keep reading

Luhn (mod 10) Check Digit Algorithm in MySQL

Thursday, 13 October 2011

drop function if exists luhn; drop function if exists luhn_check;

delimiter //

-- Function that calculates a Luhn (mod 10) check digit from a numeric string. -- The behavior is undefined if the string contains anything else...

> Keep reading

Common ffmpeg parameters

Friday, 24 June 2011

Argument Description
-codecs Display codecs
-formats Display formats
-f fmt Force format "fmt"
-i filename Set input file name
-y Overwrite output file
-n Never overwrite output files
-t secs Force duration...
> Keep reading