Details
-
AboutTodo: Docker, nginx, Redis, elastic, haproxy, NodeJS, Kubernetes, CSS Grids, Webpack, Pusher, Magento2, Angular 5
-
SkillsLaravel, VueJS, Symfony, Gulp, Sass, Git, MySQL, Apache, oAuth2
-
LocationDigitalocean, Cloudflare
Joined devRant on 3/27/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Useful docker aliases
alias dstart='docker start "$@"'
alias dstop='docker stop "$@"'
alias drm='docker rm "$@"'
alias dip='docker inspect --format "{{ .NetworkSettings.IPAddress }}" "$@"'
alias dls="docker ps"
alias dlsa="docker ps -a"
alias dps="docker ps"
alias dimg='docker images "$@"'
alias drestart='docker restart "$@"'
alias dcommit='docker commit "$@"'
alias dinspect='docker inspect "$@"'
alias dlogs='docker logs "$@"'
alias dcp='docker cp "$@"'
alias dinfo='docker info'
alias dcompose='docker-compose "$@"'
alias dlogs='docker logs "$@"'
alias drshell='docker exec -it -u 0 "$@"'11 -
To all the people who use laptops for coding, what are the most important things to look out for when getting one. As a desktop user, all of these machines seem underpowered and overpriced.
Im mostly aware what I need to get regarding hardware inside, but when it comes to displays/keyboards/mousepads(does anyone even use that?)/size/io, I am preety clueless.11 -
I've been on devRant long enough that I'm getting familiar with some of the more frequent ranters here. I imagine it's been done before, but I'd like to put some faces to the names.
So post them mugs in here, fellas!
Here's me with my daughter (turns 1 next week!), taken last Saturday.158 -
Me: We should change the http response code to anything but 200 OK in the error response case of our API.
Other dev: No, it's fine.
Me: Why?
Other dev: The client successfully receives an error message.
Me: ┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻15 -
When you stare into git, git stares back.
It's fucking infinite.
Me 2 years ago:
"uh was it git fetch or git pull?"
Me 1 year ago:
"Look, I printed these 5 git commands on a laptop sticker, this is all I need for my workflow! branch, pull, commit, merge, push! Git is easy!"
Me now:
"Hold my beer, I'll just do git format-patch -k --stdout HEAD..feature -- script.js | git am -3 -k to steal that file from your branch, then git rebase master && git rebase -i HEAD~$(git rev-list --count master..HEAD) to clean up the commit messages, and a git branch --merged | grep -v "\*" | xargs -n 1 git branch -d to clean up the branches, oh lets see how many words you've added with git diff --word-diff=porcelain | grep -e '^+[^+]' | wc -w, hmm maybe I should alias some of this stuff..."
Do you have any git tricks/favorites which you use so often that you've aliased them?50 -
Ok, I've tried multiple times to learn it, but just hate React and JSX. I don't know why-maybe because I'm a not a professional developer yet and can't see the right use case for it? I feel that's it's so overly complicated to render some HTML. Should I keep trying to learn this or just work with what I like for my projects, then learn React later? ARGH18
-
So... um... I'm a real asshole... but this website where I'm applying for a job doesn't check how many digits should be entered for their GPA field.
At first, I wanted to see if I could put in the pi symbol (π). That didn't work.
So, then I added 10 digits of π into the field. When I saw that it had accepted that many numbers, I grew curious and wondered how many numbers can I fit in here.
I added 100, then 1000, then a million.
Sooooo, do you guise think I'll get the job?8