Skip to content

u/JonODonovan

In this archive from Jun 2015 to Nov 2026

10
posts
199
comments
1
media
708
score
2 saved before deletion

Top posts

JSON data, string vs number

If I'm getting this JSON response "list": [ { "dt": 4, "dt_txt": "2018-12-29 00:00:00" }, etc. ] Why does $response = json_decode(file_get_contents($url)); foreach ($response->list as $forecastday) { $bot->reply($forecastday->dt_txt); } work but $response = json_decode(file_get_contents($url));

5 points7 comments
Open on Reddit

Migrating a site to a Laravel code base

If anyone has been down this path, I'm curious what you did and how was the outcome. For example, say you have a static site or say a Wordpress blog with multiple pages and you wanted to restructure/optimize some during the migration. Would it be best practice to create routes for each of the old si...

4 points7 comments
Open on Reddit

Top comments

Jeffrey Way

Webdev has always been a hobby. I started watching his videos about CI over at tuts+ and others before him there and other places. Once I heard about L5 and he was doing tuts for it, it was a natural change since I was used to his unbiased teaching and direction. Plus the whole CI being sold off and further development was in question made it easier.

28 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.