It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.
![Image of t...
For further actions, you may consider blocking this person and/or reporting abuse
You can specify files to be ignored by Dropbox, very useful for folders like
node_modules
and similar.I did a brief write up in my TIL collection.
Oh yeah and I located the Wiki with all of the rules for
shellcheck
so it will be faster to access the documentation for the specific rules as I am adopting use and making adjustments to some of all my Bash scripts.Cute trick to inspect your C compiler configuration:
You can get just the configuration with a plain
gcc -v
, but by invoking the preprocessor with-E
and pointing it at some nonsense/dev/null
, you additionally get to inspect the paths it will use for looking up libraries. Because you passed in something nonsensical, it can't determine what sort of compilation you're doing, so you have to explicitly specify with-x c
. This forces it to attempt to preprocess the input as a C program which provides the most complete set of information. Works withclang
too.Handy!
Awesome!
I learned how easy it is to make slider menus for webapps!
I was using a library for a react component and it was working great locally but it broke when i was getting folks to test my app : iwannagoapp.com/ (just launched btw , would really appreciate any feedback)
After looking around for a solution, i found a great article with a dozen css lines which just worked
lesson learned: CSS trumps complicated Javascript components any day all day for styling and animation
heres the link to the article:
kirupa.com/react/smooth_sliding_me...
That's awesome! 🔥
I was going to optimise a piece of code and learnt to never optimise per-maturely.
Always make sure that you keep context in mind when optimising.
O(n) + O(n)
where n is just 10 is alright and won't make much of difference if you spend time and make the heuristicO(n)
.I am just curious to know, @nickytonline what are you learning these days?
For myself, I'm learning Affinity Designer.
I got to use
svelte-i18n
. It's OK.Nice!
Lol
Just started learning ui design principles 🤞
Yeah!
I've learnt using some pre-built themes can come to bite you in the backside!
Updated my GitHub profile readme with some of few widgets
github.com/madushadhanushka/simple...
just started my journey in coding and this week i got into learning pseudo code !
What a week! I've been playing with Medusa JS. I've got the admin and server deployed to Heroku, and got a Next front-end deployed to Netlify. I figured out how to host a meili search instance in Digital Ocean. Now working through setting up PayPal. It's been fun.