Anh Trinh JavaScript Developer

TodayILearnt: angular.element(elem) was actually an alias to the jQuery constructor function

If you include jQuery in your AngularJS application.

$element in your directive linking function is by default wrapped by jqLite. So you can only .find by tag name.

If you want to have full jQuery feature, you need to wrap your element with angular.element :)

This is quite tricky to know :)

My dokku experience

I have to say it is pretty cool. It helps to build own Heroku & mae the deployment while developing faser.

Something that sucks at the beginning:

Make nginx working

VHOST file must in /home/dokku to enable NGINX virtual hosts configuration

Deploy to root domain

Simple, just named your app then push

Eg. git remote add dokku dokku@<ip.address>:<domain.example.com>

MongoDb linking

dokku mongodb:create <app> <db> is not only create the database, but also create a user for app to access the database.

Therefore, if you have another app want to access the same database, dokku mongodb:link <new_app> <db> just not work. You’ll get auth failed error.

Solution: run mongodb:create <new_app> <db> first, then mongodb:link

SoundCloudify has changed its name to "UpNext"

Well, SoundCloudify has been taken down from Chrome Webstore because it has SoundCloud in its name - this infringe the trademarks of SoundCloud. Now I have to re-publish it to the store under the new name: UpNext - and it looks like 99.99% new :)

The original extension already has more than 25k users & 250 ratings (average 4.8 stars). Please give your support for the new one by leaving your review & rating. It will be a big big motivation for me to move on.

Click here to download UpNext

GitHub repo location has also changed

UpNext Music Player for Chrome

Thank you for using UpNext!

Author, @ptgamr

SoundCloudify arround the world

Hey hey, it’s more than two months since I first published SoundCloudify to the webstore. And the world is quite excited about it. Let take a look at some big tech websites talked about SoundCloudify :) I am just simply happy.

###Global TheNextWeb.com

TheNextWeb - SoundCloudify is a slick YouTube and SoundCloud powered music player for Chrome

###Isarel GeekTime.co.il

SoundCloudify at GeekTime homepage

###Spain Genbeta.com

SoundCloudify at Spain

###Turkish webrazzi.com

SoundCloudify at webrazzi

###VietNam TinhTe.vn

SoundCloudify at Tinhte.vn

GenK.vn

SoundCloudify at GenK

###ToBeContinue….

So, what is SoundCloudify & why I made it

SoundCloudify import YouTube playlist

It has been more than two months since I first published SoundCloudify to Chrome Webstore. Until now, it has 17,584 installs & 155 ratings (most of them are five stars). And the extension itself has find its way to TheNextWeb, and yet gaining more and more traction from music lovers all over the world. I am really happy that I had made something that people love & use it!

You might or might not believe it is one of my hobby project. But yes, it truly is a hobby project :-). I started it because I just want to make a Chrome Extension with AngularJS. I am a FrontEnd developer & I am a fan of Angular. It takes me about one month working at night to finish the first version. I decided to make the project open source on GitHub. You can take a look if you’re a developer & want to contribute or fix some bugs. Pull requests are very very welcome :-)

Later, I had a close friend who is a Backend Developer help me with the API to store user’s playlist. That’s why if you’re logged in in Chrome, your playlist will be synced accross computers.

You may ask why the extension’s interface look very much like the Spotify web player. Oh yes, that’s true! The inspiration come from Spotify with Green over Black background. It looks really sexy & attractive, I like it and i decided to mimic that design. I am a web developer, not a designer. So there is no point to make it different. But did you notice that I’ve added Material Design into it? Ha! The extension look really GREAT in a Macbook Retina. Tell me if it looks great in your computer as well!

It’s really a lot of fun working with what you love and people love what you’re doing. I am now working in a Chrome Packaged App version of the extension. And maybe later, a mobile version as well. I am really happy because it turns out that I could reuse my code for different platforms.

And sure, I’ll carry on to bring you guy a greater music player. I’ve got a new hobby is to watching the number of users who’re currently using SoundCloudify.

SoundCloudify active users

Cheers! Happy listening!