Windows Kill Process By Port Number

In this short tutorial we will look at how to kill a process by port number on Windows. I am doing a lot of Java development these days and I have about 5 different applications that I may fire up during a day and because they all run on my local machine most of them use port 8080 by default. Once in awhile I will forget to kill an application. When I try and start another application I will receive this error.

port_already_in_use

 

 

If you need to kill a process manually on Windows its actually pretty easy. First fire up a command prompt and type the following command.

netstat -a -o -n

To kill the process we need to find the PID of the process in question. I just run down the list by port until I find port 8080 and here you will see the process id was 28344.

netstat_1

 

 

 

 

 

Finally with the PID we can run the following command to kill the process

taskkill /F /PID 28344

netstat_2

 

 

 

 

 

Pretty easy solution to a pretty simple problem. Hope this helps!

Layout from Instagram

layout_from_instagram

If you follow me at all you know that I recently started a YouTube channel. I realize that I need to stick to what I am good at and that happens to be programming, well at least I think so. So far it has been fun I have managed to grow my subscribers from 30 to 116 in a couple weeks. To make sure that I stick to this I want to try and mix up the channel and not stick to the same topic over and over.

In an attempt to grow my subscribers I also want find a topic that is a little more mainstream. I have been an iOS user since version 3.0 and I am a huge fan of the entire Apple world. With that I decided to start giving some tutorials of apps that I am using on my devices. ScreenFlow has a great feature allowing you to record the screen if you have it plugged into your Mac. I have also taken the plunge into iOS App development & Swift programming and I am loving every minute of it. This isn’t much but this is my first crack so please let me know what you think. Without further ado here is Layout from Instagram.

Spring Boot Support In IntelliJ

spring-boot-project-logo

The other day in my Introduction to Grails 3 screencast I briefly mentioned Spring Boot. With Grails 3 being built on top of Spring Boot it doesn’t hurt to learn a little about Spring Boot. Since IntelliJ is already my IDE of choice when it comes to pretty much anything I am working on these days I was excited to see that it now supports Spring Boot. Below is a screencast that was created by JetBrains, the creators of IntelliJ.

Creating and Running Your First Grails 3 App

grails3_createandrunIn this screencast we continue our Grails 3 Introduction and look at creating and running your first application. We talk about  how to create your first application and the different options you have when doing so. We also look at some of the command line features that Grails interactive mode gives us as well as importing your new application into IntelliJ and running it. This is a great starting place for those new to Grails 3.0+ or those brand new to the Grails Framework.

Grails Download Docs: https://grails.org/download.html
GVM Screencast: https://www.youtube.com/edit?o=U&video_id=58qcl-ExI6M
GVM Tool: http://gvmtool.net
Grails Web-API Profile: https://github.com/grails/grails-profile-repository/pull/10
IntelliJ IDEA: https://www.jetbrains.com/idea

Wireless Bets Headphones

A while back I was asked everyone and anyone for suggestions on wireless headphones. I have been in the market for a pair of wireless headphones for a long time and it was finally time to make the plunge. I wanted these for mainly working out and running. I run a lot inside during the winter on a treadmill and having that cord dangling around is just no fun. I have also been on the quest to have that run in the spring and summer where I don’t have a strap on my arm and a cord hanging around and I think I am finally there.

While there were many options that I looked at I finally decided to go with Power Beats 2 wireless headphones. A few things that put me over the top were the design and the name. I have a pair of studio Beats and I absolutely love them. I also sweat a LOT (gross I know) so the over the ear design secures the headphones which will be great on those hot summer days while I am outside. I can say that I have used these on the treadmill, outside and even in a long CrossFit workouts (Murph) and they have not disappointed. The sound is great, the battery is pretty decent and they are very comfortable to wear. I would recommend these wireless headphones to anyone so if you want to talk about them please get a hold of me.

beats

 

 

 

 

 

 

 

 

http://www.amazon.com/Powerbeats-Wireless–Ear-Headphone-Black/dp/B00IYA2ZJW/ref=sr_1_2?s=aht&ie=UTF8&qid=1428071074&sr=1-2&keywords=beats+wireless

Introduction to Grails 3

intro_grailsThis is an introduction to Grails 3. This is the newest version of the framework that was just released days ago. In this tutorial we will look at the new features of 3.0 from a high level. We will also provide you with some great links so you can get started with 3.0 today. This hopes to be the start of a series dedicated to the Grails Framework version 3.0. If there are features you would like us to discuss please let us know in the comments below and please support us by subscribing to our YouTube channel.

Grails 3.0 & The Road Ahead: http://grails.io/post/115110650393/grails-3-0-released-and-the-road-ahead
Grails Website: https://grails.org/index.html
Grails Documentation: https://grails.org/single-page-documentation.html
Spring Boot: http://projects.spring.io/spring-boot
Gradle: http://gradle.org

 

Upgrade to Java JDK 8 on Mac OS X Yosemite

In this screencast I will walk you through how to upgrade Java on OS X Yosemite. Again I know a lot of these screencasts aren’t anything special but I needed to start somewhere. Some people have a hard time understanding the difference between the Java Runtime Environment vs JDK (Java Development Kit).

Create A Preview Video For Your YouTube Channel

While I am still new to this I am going to create a few simple tutorials but I hope they are helpful to others. If you plan on starting a YouTube Channel like I have the first thing you will want to do is create a preview video for your channel. This lets users know what kind of content they can expect from your channel. My suggestion (I know my video isn’t great) is to show yourself to your users. Your subscribers want to get to know you and this helps them relate. Here is a quick tutorial on how to add a preview video to your YouTube channel.