๐Ÿš€ HickleSecLab

All Posts

Thumbnail for Posts

Project Name was compiled with optimization - stepping may behave oddly variables may not be available

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: Ios Afnetworking-2 Xcode7

Trying to step into AFNetworking code generates following warning Project Name was compiled with optimization stepping may behave oddly variables may not be

Thumbnail for Posts

RabbitMQ AMQP single queue multiple consumers for same message

๐Ÿ“‚ Categories: Node.js

I am just starting to use RabbitMQ and AMQP in general I have a queue of messages I have multiple consumers which I would like to do different things with the

Thumbnail for Posts

Read binary file as string in Ruby

๐Ÿ“‚ Categories: Ruby
๐Ÿท๏ธ Tags: String File-Io

I need an easy way to take a tar file and convert it into a string and vice versa Is there a way to do this in Ruby My best attempt was this file

Thumbnail for Posts

Remove carriage return in Unix

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: Unix Carriage-Return

What is the simplest way to remove all the carriage returns r from a file in

Thumbnail for Posts

Replace only some groups with Regex

๐Ÿ“‚ Categories: C#
๐Ÿท๏ธ Tags: Regex Replace

Lets suppose I have the following regex d and I want to replace using C the Group 1 d with AA to obtain AA Now Im replacing it using var text example123example

Thumbnail for Posts

Returning http status code from Web Api controller

๐Ÿ“‚ Categories: C#

Im trying to return a status code of 304 not modified for a GET method in a web api controller The only way I succeeded was something like this public class

Thumbnail for Posts

See line breaks and carriage returns in editor

๐Ÿ“‚ Categories: Programming

Is there a text editor on Linux that allows me to see line breaks and carriage returns Does Vim support this

Thumbnail for Posts

setNeedsLayout vs setNeedsUpdateConstraints and layoutIfNeeded vs updateConstraintsIfNeeded

๐Ÿ“‚ Categories: Programming

I know that the auto layout chain consists in basically 3 different process updating constraints layout views here is where we get calculation of frames

Thumbnail for Posts

Stack vs heap allocation of structs in Go and how they relate to garbage collection

๐Ÿ“‚ Categories: Go
๐Ÿท๏ธ Tags: Heap-Memory Stack-Memory

Im experiencing a bit of cognitive dissonance between Cstyle stackbased programming where automatic variables live on the stack and allocated memory lives on