๐Ÿš€ HickleSecLab

All Posts

Thumbnail for Posts

Is the C static constructor thread safe

๐Ÿ“‚ Categories: C#
๐Ÿท๏ธ Tags: Multithreading Singleton

In other words is this Singleton implementation thread safe public class Singleton private static Singleton instance private Singleton static Singleton

Thumbnail for Posts

Is there a way to get a visual diff on two branches in SourceTree

๐Ÿ“‚ Categories: Programming

Does Sourcetree offer a way to visualize differences between git branches Im looking for names of files that have changed diffs between these

Thumbnail for Posts

Javascript reduce on Object

๐Ÿ“‚ Categories: Javascript
๐Ÿท๏ธ Tags: Arrays Object Reduce

There is nice Array method reduce to get one value from the Array Example 01234reducefunctionpreviousValue currentValue index array return previousValue

Thumbnail for Posts

javaxtransactionTransactional vs orgspringframeworktransactionannotationTransactional

๐Ÿ“‚ Categories: Java

I dont understand what is the actual difference between annotations javaxtransactionTransactional and orgspringframeworktransactionannotationTransactional Is

Thumbnail for Posts

Jest gives an error SyntaxError Unexpected token export

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

Im using Jest to test my React app Recently I added DeckGL to my app My tests fail with this error Test suite failed to run

Thumbnail for Posts

jQuery add required to input fields

๐Ÿ“‚ Categories: Javascript
๐Ÿท๏ธ Tags: Jquery Validation

I have been searching ways to have jQuery automatically write required using html5 validation to my all of my input fields but I am having trouble telling it

Thumbnail for Posts

Keep CMD open after BAT file executes

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: File Batch-File Cmd

I have a bat file like this ipconfig That will print out the IP info to the screen but before the user can read that info CMD closes itself I believe that CMD

Thumbnail for Posts

LINQ Single vs First

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: .Net Linq

LINQ Is it more efficient to use the Single operator over First when ever I know for certain that the query will return a single record Is there a

Thumbnail for Posts

Merging changes from master into my branch

๐Ÿ“‚ Categories: Programming

I have two branches in git master and custombranch Somebody added some code to master that I need to use in my custombranch I tried this git branch