« first day (3487 days earlier)      last day (615 days later) » 

 
1 hour later…
 
3 hours later…
6:32 AM
1
Q: Saving variable with date in bash

GeryThe following call: date -d `echo 20150430+1 | bc` gives: date: invalid date ‘20150431’ and I am trying to save that output to the variable f without success: f=`date -d \`echo "20150430+1" | bc\`` and f=$(date -d $(echo 20150430+1 | bc)) They output an empty variable f, what am I doing wrong?...

 
 
2 hours later…
8:44 AM
-1
Q: Align hover to the other side of button

RobinI am wondering how to align the cart elements to the other side of the button as shown in this picture? I don't know if that's clear for you. Let me know if you desire additional explanation! codepen.io/Robin_1/pen/QWmbXyW

 
 
1 hour later…
10:05 AM
Hello, first time caller, long time listener.

I wondered if anyone could help? I am working on a react project and using a ternary to determine what to render to the UI.

Everytime the component mounts and renders the ternary, the else statement is always rendered to the screen, whilst evaluating. Is there a way around this, for example changing the way I evaluate?

` !_.isEmpty(prop) ? (
!somevalue ?
<p>
show this
</p>
:
<p >
show this
</p>)
:
<p >
this is being rendered first
</p>`
 
1 message moved from JavaScript
 
 
1 hour later…
 
2 hours later…
 
3 hours later…
 
6 hours later…

« first day (3487 days earlier)      last day (615 days later) »