Search found 1014 matches

Search found 1014 matches Page 1 of 102
by Filip
Thu Jun 29, 2017 2:20 am
Forum: Quick Snips
Topic: Count down timer
Replies: 3
Views: 4022

When you have a variable with seconds, doing floor(sec / 60) and sec mod 60 would return number of minutes and number of seconds respectively. Not complicated at all, yet saves time by reducing number of if branchings. Also, this code only works when minutes are less or equal to 6. Otherwise it coun...
by Filip
Mon Jun 26, 2017 10:45 am
Forum: Quick Snips
Topic: Count down timer
Replies: 3
Views: 4022

Why don't you just store number of seconds and then mathematically using Floor and mod determine minutes/seconds?
Personally, I would store only number of seconds or milliseconds.
by Filip
Mon Feb 13, 2017 1:10 am
Forum: Full Software
Topic: SpaceAge
Replies: 4
Views: 3399

CodenStuff wrote:
Done.

Using "Copy link to Tweet" from Twitter you can embed a tweet using the following BBCode:
[tweet]Tweet link URL here[/tweet]
Output example:

Great work!
by Filip
Wed Feb 08, 2017 11:27 pm
Forum: Full Software
Topic: SpaceAge
Replies: 4
Views: 3399

PS: Could we get embed tweet BBCode? It shouldn't be too hard to implement as tweet HTML can be obtained in JSON format from following URL:
Code: Select all
https://publish.twitter.com/oembed?url=<url_to_tweet>
KR,
-Filip
by Filip
Wed Feb 01, 2017 4:34 pm
Forum: Coding Help & Support
Topic: A web host / local server for asp.net?
Replies: 2
Views: 2783

Microsoft's equivalent of Apache or other Linux web server solution is called IIS, I believe. I'm also quite sure there's a free express version available. If not, you should be able to get it from MS Imagine (ex DreamSpark) or BizSpark as a student or business owner respectively.

KR,
-Filip
by Filip
Mon Nov 07, 2016 9:32 pm
Forum: Codenstuff boardroom
Topic: Chrome extensions - fascinating
Replies: 2
Views: 2993

I did some experiments but hadn't done anything special.
by Filip
Tue Nov 01, 2016 4:09 pm
Forum: Help & Support
Topic: PHP Help with time since x happened
Replies: 5
Views: 4106

smashapps wrote:
Code: Select all
$timeadded = date("h:ia");
So you only store time in database? Not date as well?
by Filip
Wed Oct 12, 2016 11:40 pm
Forum: Full Software
Topic: SpaceAge
Replies: 4
Views: 3399

Hello, a few days ago, I saw a tweet renowned astrophysicist Neil deGrasse Tyson: https://twitter.com/neiltyson/status/783795247012802560 It was his birthday on that day, so in astrophysical fashion he wrote how old is he on Mercury and Saturn (because every planet in the solar system takes longer /...
by Filip
Sat Sep 10, 2016 7:38 pm
Forum: Codenstuff boardroom
Topic: HAPPY BIRTHDAY COMATHI!!
Replies: 2
Views: 2498

Happy Birthday to You! Happy Birthday to You! Happy Birthday dear Mathieu! Happy Birthday to You! Dear Sir, wish you all the best for your 19th Birthday! Glad you're having fun with your pus***, family & friends! Have a wonder day! All the best, -Filip https://s-media-cache-ak0.pinimg.com/236x/f...
by Filip
Sat Sep 10, 2016 11:10 am
Forum: Codenstuff boardroom
Topic: Things that make you go..Blurb
Replies: 6
Views: 2926

Hey,

Also, maybe there could be a subscription system where one can subscribe to its favorite.. err.. blurbers I guess.. So whenever a blurb is posted by someone who one's subscribed to, they could get a notification in a notification thingy on top.

KR,
-Filip
Search found 1014 matches Page 1 of 102
Go to advanced search