Blog Spot!


Use OpenSSL to make a secure SSL TCP Connection

openssl s_client -connect 127.0.0.1:11337

Added on 10.Mar.2016
Tags: ssl openssl scp connection netcat

Convert to unsigned in JavaScript

Holy F*ck!

((-3253) >>> 0) returns "4294964043"

For HEX

((-3253) >>> 0).toString(16) returns "fffff34b"

Added on 01.Mar.2016
Tags: unsigned js cast

Creating time lapse videos with ffmpeg

Example command

ffmpeg -r 10 -i %*.jpg -s 640x480 -vcodec libx264 out.mp4

-i input files
-r frame rate
-s resolution in pixels

creating-time-lapse-videos

Added on 26.Feb.2016
Tags: video time-lapse ffmpeg

Recover Deleted Files on an NTFS Hard Drive from a Ubuntu Live CD

Accidentally deleting a file is a terrible feeling. Not being able to boot into Windows and undelete that file makes that even worse. Fortunately, you can recover deleted files on NTFS hard drives from an Ubuntu Live CD.

howtogeek
maketecheasier

Added on 24.Feb.2016
Tags: undelete linux recover files

Insert into a MySQL table or update if exists

Use INSERT ... ON DUPLICATE KEY UPDATE

Query:

INSERT INTO table (id, name, age) VALUES(1, "A", 19) ON DUPLICATE KEY UPDATE name = "A", age = 19

stackoverflow

Added on 24.Feb.2016
Tags: sql mysql exists duplicate indert

Search


PHP Libraries


Carbon lib / docs
Idiorm lib / docs
Image Workshop lib / docs
lorenzos/Minixed lib / docs
Parsedown lib / docs
PHP Paginator lib / docs
PHP Redis lib / docs
QrCode lib / docs
Requests lib / docs
Slim lib / docs
Spyc lib / docs
TWIG lib / docs
Upload lib / docs
Validation lib / docs
Zebra Image lib / docs

JS Libraries


AJV lib / docs
BackboneJS lib / docs
Bootstrap Notify lib / docs
C3.js lib / docs
ChartJS lib / docs
FastMD5 lib / docs
HighlightJS lib / docs
jQuery-Storage lib / docs
JS-Cookie lib / docs
Leaflet JS lib / docs
LowDB lib / docs
Marked lib / docs
NeedlyJS lib / docs
ParcelJS lib / docs
RequireJS lib / docs
Swig lib / docs
Toastr lib / docs
Underscore lib / docs
ValidateJS lib / docs
top