Skip to content

u/oddmanout

In this archive from Jul 2008 to Sep 2024

2
posts
263
comments
1
media
1.4k
score

This is probably a building that was converted and this was retrofitted. Like it wasn't originally ~50 units with ~50 separate gas lines. That combined with some sort of regulation that said all of the meters had to be in the same place so that the gas company could check them without having to go from unit to unit. Also, it might have been converted to condos and not an apartment complex, so they couldn't do a situation where gas was included with rent or something.

19 points

In soccer, the scores are usually like 1-3 or something, so it'd be like letting someone score 30 points in basketball. Even more of a reason.

Still, though... I don't like seeing dirty play like that.

3 points

I inherited a freelance project, they had their own shared host and the provider, themselves, would not allow register globals to be off.

So I wrote a script exactly like this and put it in a global file.

1 points

I do that all the time with friends. I revamped a friend's site who is an artist, and she gave me this amazing 5 foot by 7 foot painting of a skyscape that I have hanging over my fireplace. Another guy I know built a set of shelves in my garage for me. He was a construction worker starting his own business. He built all those shelves in like 3 hours, it would have taken me a month, and they wouldn't have been nearly as straight and high quality.

10 points

ok, it's completely ignoring the headers. It shouldn't be opening in a browser, "Content-Disposition: attachment" means it's supposed to be forcing the browser to download it separately, not display it.

Is there anything going on before you output the first header? Is anything being output before that, because that could throw it off.

If you want, you can replace any identifying information and upload it to pastebin.com and I can give the code a second set of eyes. (we do that all the time where I work, when you look at the same code 10,000 times, you miss obvious things. Everyone does it.)

1 points

You'll pick it up quick. It's one thing to be able to code something in a new language, but if you're reading a language, you can almost always figure out what's going on. It's much easier to read code than to create code.

3 points

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.