Sometimes you may need to a lot of processing in a loop. Each loop may call an asynchronous function, e.g. calling an external URL or writing to a file. If this needs to be done synchronously, you can use the async JavaScript library.
Category: Web Development
Quick Slideshow Video Creator – Custom Photos and Audio
If you’re looking for a quick and easy way to create a video of your photos with custom audio, Slide.ly can do this. Here’s the rundown:
- Up to 90 custom images / photos
- 1 audio / song (to use multiple audio files / songs, edit and combine them first, e.g. using Audacity)
- Add custom captions for each photo
- Different themes
- Player is HTML-based, not Flash-based.
- Can make private
- Can’t download video because the end result isn’t a video.
- To make a video of your Slide.ly, record the screen. See instructions. Then upload to YouTube or Vimeo.
If you need something more powerful but still simple, try Wondershare Slideshow Builder.
Fluid CSS Squares
Just 3 lines of CSS!
See the Pen KvwxXR by Abdullah Yahya (@javanigus) on CodePen.
Change the Color of Images Using CSS
If you have a logo, for example, that is a transparent PNG or SVG, you can change its color using CSS in the following ways:
Grayscale: filter: grayscale(100%);
Solid Gray: filter: contrast(0);
Solid Black: filter: contrast(0) brightness(0);
Solid White: filter: contrast(0) brightness(2);
You can adjust the contrast value between 0 and 1 to achieve different levels of darkness.
Notes from JS Conference Workshop: Extreme Web Performance
WPO
Optimization Comparison
Continue reading Notes from JS Conference Workshop: Extreme Web Performance
Notes from JS Conference Workshop: Mastering Chrome Developer Tools
JavaScript Debugging
Editing CSS
Continue reading Notes from JS Conference Workshop: Mastering Chrome Developer Tools
Deploy Cloud9 Changes via S/FTP Using Git and PHPloy
Cloud 9 already comes with Git, PHP and Composer.
——————–
EXAMPLE FOLDER STRUCTURE
——————–
/home/ubuntu/website1
/home/ubuntu/website2
/home/ubuntu/website3
/home/ubuntu/PHPloy
——————–
INSTALL PHPLOY
——————–
Go to https://github.com/banago/PHPloy
Download and unzip the repo
Create a folder called “PHPloy” in Cloud9 in the “workspace” folder so that that folder is a sibling of your website folder(s). Continue reading Deploy Cloud9 Changes via S/FTP Using Git and PHPloy
Mozilla Thimble: Web-Based WYSIWYG Editor
SEO: Free, Credible Backlinks to Your Website
Search engines, particularly Google. consider two primary things when it comes to search engine ranking:
- Relevant content
- Credible backlinks / Inbound Links
Relevant content
This one is easy. Just write relevant content. The more, the better. As long as it’s content people actually care about.
Credible Backlinks
This is not easy because you depend on getting other reputable websites linking back to you. Below are different ways to get backlinks. This list will be updated as new discoveries are made.
- PR
Getting news outlets to write a story about you is the best way to get credible backlinks but it’s not easy. If CNN had written an article about your website and the article links to your website, you’ll get a boost in search engine ranking. You can hire a PR agency (expensive) or do PR yourself by reaching out to journalists and pitching your story to them. The topic of PR can take up a whole book so I’ll it at this. Basically, if you have a good story, e.g. new product/service launch, new feature launch, etc, you can tell journalists about it who represent news outlets that cater to news related to your story, e.g. a new technology product would be pitched to a technology blog (e.g. TechCrunch). - Write your own articles
There are credible websites that let your contribute content, e.g. how-to guides, that also let you link to the source of information (your website).- WikiHow
- eHow
- Instructables
- Video Websites (YouTube, Vimeo)
These websites will let you add a link to your website in the description section of your video - GitHub
Continue reading SEO: Free, Credible Backlinks to Your Website
WINDOWS: PHPloy to incrementally deploy Git-Based file changes over S/FTP
—————-
Requirements
—————-
* Git 1.8+
* PHP 5.5+
* Update the Windows paths below to match your system
—————-
Install PHP
—————-
If you don’t have PHP, follow the instructions at http://windows.php.net/
—————-
Install Git
—————-
If you don’t have Git, you can install GitHub Desktop for Windows. Download and install the application from https://desktop.github.com/
This will create a GitHub folder at C:\Users\David\Documents\GitHub in which you can put your website files. Continue reading WINDOWS: PHPloy to incrementally deploy Git-Based file changes over S/FTP