๐Ÿš€ HickleSecLab

All Posts

Thumbnail for Posts

How can I save a base64-encoded image to disk

๐Ÿ“‚ Categories: Node.js
๐Ÿท๏ธ Tags: Image Base64 Binaryfiles

My Express app is receiving a base64encoded PNG from the browser generated from canvas with toDataURL and writing it to a file But the file isnt a valid image

Thumbnail for Posts

How can I show hidden files starting with period in NERDTree

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: Windows Vim Nerdtree

How can I make NERDTree show files that begin with an period I have a file named hgignore in a project directory If I browse to that directory using NERDTree

Thumbnail for Posts

How dangerous is it to access an array out of bounds

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: C Arrays Memory

How dangerous is accessing an array outside of its bounds in C It can sometimes happen that I read from outside the array I now understand I then access memory

Thumbnail for Posts

How do I create a crontab through a script

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: Linux Shell Ubuntu Cron

I need to add a cron job thru a script I run to set up a server I am currently using Ubuntu I can use crontab e but that will open an editor to edit the

Thumbnail for Posts

How do I deploy updated Docker images to Amazon ECS tasks

๐Ÿ“‚ Categories: Docker
๐Ÿท๏ธ Tags: Docker-Registry Amazon-Ecs

What is the right approach to make my Amazon ECS tasks update their Docker images once said images have been updated in the corresponding

Thumbnail for Posts

How do I disable form fields using CSS

๐Ÿ“‚ Categories: Html
๐Ÿท๏ธ Tags: Css

Is it possible to disable form fields using CSS I of course know about the attribute disabled but is it possible to specify this in a CSS rule Something like

Thumbnail for Posts

How do I execute a Git command without being in the repository

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: Git

Is there a way to execute Git commands against a repository without being in that repository For example something like this git homerepo log Please do not

Thumbnail for Posts

How do I find which rpm package supplies a file Im looking for

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: Centos Rpm Yum

As an example I am looking for a modfilessh file which presumably would come with the phpdevel package I guessed that yum would install the modfilessh file

Thumbnail for Posts

How do I get a UTC Timestamp in JavaScript

๐Ÿ“‚ Categories: Javascript
๐Ÿท๏ธ Tags: Timezone Utc

While writing a web application it makes sense to store server side all datetimes in the DB as UTC timestamps I was astonished when I noticed that you couldnt