benholland.me
My 90 Minute Challenge - The Result | Adventurer, Lover of Film and Web Developer | Ben Holland
https://benholland.me/news/2012/02/16/my-90-minute-challenge-the-result.html
My 90 Minute Challenge - The Result. I was sat around last night not really sure of what to do. Id had a boring day and wasnt feeling motivated, so after going for a run and clearing my head, I decided to create a small challenge for myself - to build something cool within the next 90 minutes, a bit like a Hackathon but with a shorter time frame. It was pretty hard! So here is what I came up with. So what idea did my brain manage to conjure up? OK, so you want to see what I see what I made?
benholland.me
The Best Packages, Shortcuts and Customisations in Sublime Text 2 | Adventurer, Lover of Film and Web Developer | Ben Holland
https://benholland.me/resources/2013/01/11/the-best-packages-shortcuts-and-customisations-in-sublime-text-2.html
The Best Packages, Shortcuts and Customisations in Sublime Text 2. The best thing about Sublime Text 2 is the amount of customization it gives the user and the ease in which it does this. Here are a list of the best features I use on a day-to-day basis. To easily switch between projects, hit. Cmd Shift P on Mac) and start searching for the project youre after. Once within a project, you can hit. Cmd P) and search for any filename within that project. Pretty cool stuff! Once thats done, hit. Previously Ze...
benholland.me
Quickly Replacing Text or A URL In All WordPress Posts | Adventurer, Lover of Film and Web Developer | Ben Holland
https://benholland.me/tutorials/2012/02/14/quickly-replacing-text-or-a-url-in-all-wordpress-posts.html
Quickly Replacing Text or A URL In All WordPress Posts. Changing Text or URL in WordPress Content. The first step is to access your database, whether that be using phpMyAdmin, MySQL Workbench or Sequel Pro. Select the WordPress database you wish to edit and open up a new SQL query window. Then place the code below in and hit GO (obviously replacing the example with your text or URL). That should be complete now. Check the links on your website and see them pointing in the right direction.
benholland.me
Responsive Script To Center List Items | Adventurer, Lover of Film and Web Developer | Ben Holland
https://benholland.me/javascript/2012/06/25/responsive-script-to-center-list-items.html
Responsive Script To Center List Items. The result of this was a responsive script that centers list items. When the page is resized. You can download the script from the demo or download this zip file which has the example included.
benholland.me
Where Do You Fit into a Web Development Team? | Adventurer, Lover of Film and Web Developer | Ben Holland
https://benholland.me/news/2012/11/08/where-do-you-fit-into-a-web-development-team.html
Where Do You Fit into a Web Development Team? There are 3 distinctive sections of a web development team: design. With very small teams, a lot of these overlap, but most teams can then be split into their own roles. Go to any job site and these are the descriptions you will see, each asking for the same key skills and requirements. The problem then, is specificity. What are you really looking for? Bear in mind all the jobs I am describing were listed as front-end developer. I chose the later. I found it ...
benholland.me
Turn Off Trackbacks For All WordPress Posts and Pages | Adventurer, Lover of Film and Web Developer | Ben Holland
https://benholland.me/tutorials/2012/02/27/turn-off-trackbacks-for-all-wordpress-posts-and-pages.html
Turn Off Trackbacks For All WordPress Posts and Pages. So youll need access to youre database to carry this out. If you dont have many posts then its probably easier to uncheck the ping status in the Quick Edit menu of each post. But if your like me and have a lot of posts, you can use this SQL statment to turn it off for all posts and pages. Copy these lines into the query window of your application and its all done. I found this very useful so hopefully someone else will!
benholland.me
Generating A Random String in PHP - Useful For Securing Passwords | Adventurer, Lover of Film and Web Developer | Ben Holland
https://benholland.me/tutorials/2012/03/19/generating-a-random-string-in-php-useful-for-securing-passwords.html
Generating A Random String in PHP - Useful For Securing Passwords. A lot of projects Ive worked on recently have required unique ids or numbers being entered into a database. Ive been working with this function for a while now and its proved very useful, so thought I would share it with everyone. Generating a Random Number function genRandomString($len) { $str = " ; $char = "012346789"; for ($i=0; $i. Len; $i ) { $str .= substr($char, mt rand(0, $len-1), 1); } return $str; }. This is exceptionally rare t...
benholland.me
How To Build A Site That Works Like Pinterest | Adventurer, Lover of Film and Web Developer | Ben Holland
https://benholland.me/javascript/2012/02/20/how-to-build-a-site-that-works-like-pinterest.html
How To Build A Site That Works Like Pinterest. Ok, if you have no idea what Pinterest. Is then go check it out. It is a website that lets you organise and share all your favourite things by using pinboards. It really is a cool site, but what I find interesting is how these pinboards are laid out. Ive seen something similar before with jQuery Isotope. Click here to see a demonstration of what were making. Tip: resize the window. Setting Up The Blocks. So theres some information about the theory behind bot...
benholland.me
Beware of Trailing Slashes When Using Disqus | Adventurer, Lover of Film and Web Developer | Ben Holland
https://benholland.me/news/2013/01/10/beware-of-trailing-slashes-when-using-disqus.html
Beware of Trailing Slashes When Using Disqus. I ran into a small bug with the commenting system Disqus. Today After migrating all my posts from WordPress to Disqus, I noticed that comments werent appearing on some blog posts. With some further investigation, it turned out that my WordPress URLs all had a trailing slash at the end, whereas in the new build of my site, they dont. This meant that the URLs I was serving visitors and those that were in the system didnt match.