fooman
-
Large-scale website image storage
After more research and seeing what the general consensus is online, I found this site: File Name Hashing It's all well and good, but a few things I'm not sure about. I've read in a few places that keeping the files limited to 100…
-
Large-scale website image storage
Thanks guys! Much appreciated pointing me in the right direction.
-
Large-scale website image storage
I didn't see your post before replying. It seems like the filenames of both image-hosting sites are similar. I wonder if it's a similar hash of sorts. Directory structure is all a guess to me. I wonder if they create directories per user…
-
Large-scale website image storage
Care to share some insights I'm missing asides from CDN's? For example, the image name... why do they even bother renaming it to that? Is it a random filename generated based on time upload? Is it a government secret hash that will burn…
-
Extending an absolutely positioned div to content height
No, the dialog will be displayed over top of whatever field is being edited. If needed I'll try to do a bit nicer-looking example. I just thought it was simple enough to do what I put in Codepen there. Guess I'm just not seeing it throug…
-
Extending an absolutely positioned div to content height
I have a little overlay, for example. It has a message in it. If the message is longer than expected for whatever reason, I need a div that extends beyond it's initial height. Maybe I'm going about this a weird way.
-
One-line Justified Text Design
how do you bring this up to a designer without starting WW3? haha ;)
-
One-line Justified Text Design
Generally curious, would you prefer using a "magic number" or the extra jquery script to do this? Thx for posting this. I didn't consider doing it this way!
-
One-line Justified Text Design
Thanks for the reply! That would only work if it was a really narrow box and was multiple words. It kinda treats the text as blocks rather than treating letters as blocks... if that makes any sense. Awesome idea, but wouldn't be a good soluti…
-
One-line Justified Text Design
It's more like a title rather than a section of text. It's actually a narrow area with often one or two words in big bold letters. So it's not a terrible design flaw or anything. Looks good, just dunno how to reliably do this in CSS …
-
Email confirmation (twitter, etc)
Indeed, so I assume I'm somewhat correct in that it's just a hash or something along with their username being rewritten to a url that confirms that these two pieces match ... and then the user gets "confirmed" and redirects the …
-
Chrome's awesome autofill
Thank you! I didn't want to set the entire form to off, but looks like that's the ticket.
-
Google Map with transparent rounded corners in Chrome
lol @ CrocoDillon Yes I definitely tried things that seem obvious, but I was hoping a work-around was being done by others for this particular issue. Luckily in this case it was decided that squaring things off is ok, but if anyone ever finds a wor…
-
Infinite Loop on simple rewrite
I'm just trying to use a simple permalink scheme. Example: mysite.com/location/mega-mall is rewritten to mysite.com/location.php?p=mega-mall My guess is that the infinite loop is taking place because the url is the same name as the actual php…
-
Can you chain functions in compass?
Right you are! I'm not sure where the error of my ways was, but your code worked just fine. Good to know. Thanks!
-
transparent loading icons
yes a loading gif for ajax and whatnot. Fairly small 16x1g. A standard circle animation is what I'm looking for, but everything with a transparent bg seems to be very jagged.
-
Codekit CSS minification
This bit of CSS/SCSS is needed for one/two pages tops, same with the javascript that goes along with it. So importing it into the main scss file isn't really a great idea (although the size tradeoff in this particular instance is tiny indeed).…
-
Codekit CSS minification
Another question regarding codekit: I have a little jquery/css "plugin" that I'd like to use on this project. Normally, I'd copy the folder to the project and include/link whatever I needed to in the php page in the of the docu…
-
Codekit CSS minification
@sloveland: indeed!! I think that's a good way to go about it. Thanks for the help guys!
-
PHP UPLOAD_ERR_OK, however no file
I have read PHP's documentation, or lack thereof, of safe mode. Can you explain, if your own words, what it is and what it attempts to accomplish? Often, it's best to hear it from someone not writing a tech document haha. I have gotten…
-
PHP UPLOAD_ERR_OK, however no file
Seems it's a SAFE MODE issue. The above was part of an AJAX script, so the gross PHP error(s) was not something I was able to see. Is there a way to get around this Safe Mode issue? Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in…
-
Collation vs charset
Thanks for this link. The first page alone describes the difference better than anything else I've found. I am trying to wrap my head around the issue I'm having. Perhaps someone can shed some light. I use HTMLPurifier and am having the…
-
auto-versioning filenames for cache busting
So is this the way you guys are going about it? To append to the query string, are you utilizing a PHP function, or manually changing the query string value?
-
auto-versioning filenames for cache busting
BTW, cool blog you have. I hope you continue to write more articles!
-
auto-versioning filenames for cache busting
I've seen the query string idea, but the article linked explain why it is not a good idea to do so. Scroll to the bottom and read the end of the article.
-
$(this) from within a seperately called function
Scope of variables is something I'm always keeping in mind, or else I'd go nuts haha. But the $(this) object sometimes escapes me when calling multiple functions from functions. It doesn't seem to behave the same as having an "u…
-
$(this) from within a seperately called function
Yes I've found that it's "undefined" in Firebug, which led to this little thread haha. I was just curious as to "why" it's undefined and doesn't bubble up to the object that called the function. Maybe just w…
-
Margin-top pushing overlay down
Yes, super easy fix. Thank you! I will keep your help in mind in the future when dealing with other situations. Thanks!
-
Margin-top pushing overlay down
not if it has a border and you don't want that border to butt up against the edge of the page. I'm not sure if you took a look, but I made a simple lil' pen: Here