November 23, 2024
  • November 23, 2024

Articles Posted by Johnny Thunder

jQuery wrap() Function

by on October 22, 2018 0
An often overlooked feature of the jQuery library is the jQuery.wrap() function which wraps all of the selected elements with an html structure.  This is really helpful when we want to ensure elements have a wrapper element with certain styles.  There are a number of ways to invoke the function but this is my usual [...] Read More

Splitting Content with HTML and CSS

by on October 13, 2018 0
It's easy to split content with html and css: <div> <div style="float:left"></div> <div style="float:right"></div> <div style="clear:both"></div> </div> Take note of the css properties that align the content horizontally: float:left   =>   Align to the left and allow for content on sides float:right   =>   Align to the right side and allow for content on sides clear:both    [...] Read More

How to Not Get Hacked

by on September 3, 2018 0
Every web developer's worst fear, waking up one morning to find that one of their systems has been hacked.  Worse yet, perhaps their users' valuable or sensitive data has been comprimised.  The best way to prevent this from happening is to understand the ways that sites can be hacked and prevent these back doors from [...] Read More

Moment JS

by on August 20, 2018 0
Moment JS is a great Javascript library for web developers to convert dates Usage //Local time var m1 = new moment(); var localYear = m1.year(); var localMonth = m1.month(); var localDate = m1.date(); //Day of month var localDay = m1.day(); //Day of week var localHour = m1.hour(); var localMinute = m1.minute(); var localSecond = m1.second(); [...] Read More

Dynamic Web Crawlers w/ Selenium WebDriver

by on August 20, 2018 0
Download Eclipse: https://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/mars2 Download Java jdk: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Download ChromeDriver.exe: https://sites.google.com/a/chromium.org/chromedriver/downloads Download Selenium Java jar: http://www.seleniumhq.org/download/ Download JSON jar: https://mvnrepository.com/artifact/org.json/json/20170516   Helpful Web Driver Methods & Examples: https://lovetech.io/bots/ Getting Started https://www.youtube.com/watch?v=cNjCnp9JQAs https://www.youtube.com/watch?v=TTd2JzoChEM https://www.youtube.com/watch?v=CDII5dZxDpA https://www.youtube.com/watch?v=DVyZ4dQsOK0 https://www.youtube.com/watch?v=MbAKX6BMK5Q Read More

User Recommendations Using Apache Mahout

by on August 20, 2018 0
As web developers we must always ask ourselves how we can improve the user experience.  One key aspect of this is better, more personalized content.  Every visitor has different tastes and preferences and by leveraging linear algebra (aka artificial intelligence), we can personalize the content for each of our awesome users.   Welcome to the [...] Read More