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 with clang too.
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.
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
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 heuristic O(n).
I am just curious to know, @nickytonline what are you learning these days?
I finally got around to buying Affinity Designer @coffeecraftcode. It's amazing! I'd been struggling to make YouTube and Social cards and Affinity Designer made it relatively easy. It came on my radar again after @wesbos mentioned it on a recent Syntax episode. Thanks, peeps!
I am a frontend developer focused in creating application with React, Vue and Svelte. Currently, I am a software engineering student at Kasetsart University.
HTML, CSS, Bootstrap, XML, ajax, react js, WordPress, Magento, Shopify, Photoshop, Camtasia, SEO & learning new skills every moment 👨🏼💻 | I believe in learning and sharing with others 🛴
Tech Lead at Enactor (retail commerce). 5 yrs building WSO2's integration engine. Author of Cloud Native Applications with Ballerina (Packt). Writing about integration & AI agents.
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.
We're a place where coders share, stay up-to-date and grow their careers.
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-Eand 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 withclangtoo.Handy!
Awesome!
You can specify files to be ignored by Dropbox, very useful for folders like
node_modulesand similar.I did a brief write up in my TIL collection.
Oh yeah and I located the Wiki with all of the rules for
shellcheckso 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.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!
I've learnt using some pre-built themes can come to bite you in the backside!
Lol
Just started learning ui design principles 🤞
Yeah!
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.