DEV Community

Cover image for Dec. 13, 2019: What did you learn this week?

Dec. 13, 2019: What did you learn this week?

Nick Taylor on December 13, 2019

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. Feel free to...
Collapse
 
richardeschloss profile image
Richard Schloss • Edited

After years of typing "npm run [script]", by habit, I just happened to stumble on this in vs code. Hover over the script name and click run. (I know, probably nothing new to everyone, but new to me :))

Collapse
 
zakariatalhami profile image
ZakariaTalhami

I think you can also add scripts to the sidebar in VS Code, which lists the scripts and lets you run them from there.

Collapse
 
richardeschloss profile image
Richard Schloss

That's really cool too! I don't know how I missed that!

Collapse
 
saurabhdaware profile image
Saurabh Daware 🌻 • Edited

woah I did not know that! thank you :D

Collapse
 
mateiadrielrafael profile image
Matei Adriel

How to use lenses in f# to drasticaly simplify updating nested records

Collapse
 
nickytonline profile image
Nick Taylor

Sounds like it would make for a great post on DEV and/or your blog!

Collapse
 
mateiadrielrafael profile image
Matei Adriel

Never wrote a blog before but i might try

Collapse
 
highcenburg profile image
Vicente G. Reyes

This week, I learned to rely on shopify apps the hard way. The client I work with lessened the hours on my timedoctor due to an unjustifiable amount of time implementing a requested feature rather than going through the apps on the app store.

Collapse
 
nickytonline profile image
Nick Taylor
Collapse
 
nickytonline profile image
Nick Taylor

This week, I learnt that you can stash one file instead of all files. I figured it was possible, but never really had a need to do it until this week.

git stash push -- path/to/your/file/your-file.extension
Collapse
 
mjraadi profile image
Mohammadjavad Raadi

Interesting. The other day I learned that you can checkout a single file from another branch to the current branch you're working on.

Collapse
 
sehardwick profile image
Steve

Oh, man - third week of JS class, and since it's all new to me, the list of what I learned this week would take up too much space! :) Probably the most useful thing I learned this week was how arrays sort elements by converting them to strings then comparing their UTF-16 code unit values.

Collapse
 
mateiadrielrafael profile image
Matei Adriel

I use fsharpplus because the aether website was down when I decided to try lenses:)

Collapse
 
hyftar profile image
Simon Landry

I learned how to use PHP Storm and OMG it's amazing!

Collapse
 
zakariatalhami profile image
ZakariaTalhami

I learned how to use RabbitMQ as the communications layer for my microservices.

Collapse
 
rhyn0bytes profile image
Ryan

This week I learned enough of the pygame python library to be dangerous. I am pretty excited to start making silly games again!

Collapse
 
arifnd profile image
Ari Effendi

I learn manage server using moss.sh