docker image, ports and remote connections
soooo, very quickly i stumbled on a problem with my app i was deploying with docker.the app opens a port and docker allows to redirect ports on the image to different ports on the host, so i was...
View Articlecreate a slim and lean docker image for your go/golang application
all well and dandy - we have our app, it is running inside a docker image - yet there is still something we could do better.hit 'docker images' and take a look at the outputREPOSITORY TAG IMAGE ID...
View Articlejavascript drag and drop: problems with dragleave
i don't have much experience with javascript and jquery, but recently i started playing with MeteorJS (and i love it - but about this in a different post). i'm dragging something onto a div and want an...
View Articlefall in love with meteorjs + deploy an app to heroku
yes, fall in love indeed - because for me, a mostly c++ person, the recent developments in web, specifically the rise of javascript as a powerful tool to build apps, went past too quickly to observe...
View Articleemulator: ERROR: unknown skin name 'nexus_5'
while playing with ionic everything worked fine with the ios emulator, but i got this error when starting the android emulator: emulator: ERROR: unknown skin name 'nexus_5'all articles on stackoverflow...
View ArticleLet me tell you about Hapi - building a REST API engine for Nodejs
(i will be showing something a built with hapi - check it out here: https://cloudy-api.herokuapp.com/documentation) i would admit again and again that i missed the javascript revolution, but i am...
View Articlenodejs postgres pg.client returning partial results in json
i had a very weird problem with a nodejs and postgre app i'm building:i'm running a sql query with join in dbeaver: select matches.match_date, t1.team_long, t1.team_short, t1.id, t1.logo, t2.team_long,...
View Articlereverse linked list
been fooling around writing solutions to algorithms in c++. here is a solution to reverse a linked list. nothing new - the idea is to revert the links, but before that keep somewhere the links to the...
View Articleremove duplicates from an unsorted linked list
more fun with algorithms: how to remove duplicates from an unsorted linked list in cpp?easy - just walk along the list and delete duplicate items.but how to know an item is a duplicate?well, for every...
View ArticleRemoving Characters from a String
found an interesting learning resource http://www.bogotobogo.com/it also has a section on programming questions, not so extensive as the awesome http://geeksforgeeks.org/, but has some good problems to...
View Articlegenerate permutations of letters in a string
how to generate all permutations of the letters in a string? one method i like, for its intuitiveness - go to the last letter of the string and then recursively create strings by inserting previous...
View Article