Showing posts with label tech tips. Show all posts
Showing posts with label tech tips. Show all posts

Saturday, September 24, 2011

New Mac Trojan Horse Could be in a PDF

Malware has been found on the Mac recently. The Mac is no longer safer then other OS's. This Trojan basically disguises itself as a PDF file...

Monday, August 29, 2011

How to Get 500+ Twitter followers in 3 Days

Today I am going to show you a little trick to get Twitter followers. Getting Twitter followers can be a tedious task unless you know how to do it. Basically you want to follow people in your niche thus giving it a better chance that they will follow back. A great tool to follow people is Tweinds, allows you to select interests that you want and shows you people that share the same interests on Twitter. Remember you can only add apox 1000 people a day. Now you may be thinking to yourself "What do I do with the people who don't follow me?". You may get the idea you will have to slowly unfollow all those people. Luckily there is a tool that does this for you. Managefilter connects with your Twitter and displays stats. These include people who aren't following you, people with no profile image, inactive people, talkative people, and quiet people. The first thing you want to do is unfollow all inactive people. After you have no more inactive people you want to unfollow people that don't follow you. Remember to give them 24-48 hours before unfollowing so they have the chance to follow you. With these tools you can rinse and repeat.

Extra Tips

To increase the chances of people following you you should customize your profile. Fill your bio explaining what you enjoy to do (your interests) and other content. Also you should give yourself a profile picture to make yourself unique and look to be active. Lastly you want to tweet often, you don't want your followers to think your inactive. Make sure to tweet 1-2 days.

Anyway that is all I have to show you, thanks for reading! Feel free to share this and comment!

Thursday, August 18, 2011

Php Security - Cookies and Passing Variables

Another two videos are out and I enjoyed them. Hope you enjoy them too.



Tuesday, August 16, 2011

Complete list of PHP Security Videos

This post simply shows all 6 of the videos I've posted so far on this blog. They are the recent security videos from phpacademy and I wanted to share them. Enjoy.

SQL Injection
XSS (Cross-site scripting)
File Includes
File Uploading
Session Hijacking
Null Byte

Monday, August 15, 2011

Php Security - Session Hacking and Null Byte

Two more videos were posted on phpacademies youtube channel. They are about session hacking and null byte. They are great videos and I hope you enjoy them too!

Session Hacking
Null Byte

Php Security - File Includes and File Uploading

Turns out two more security videos were uploaded on youtube and I feel like I should share them. They are easy to understand and simple to learn from. Hope you found them useful like I did.

File Includes
File Uploading

Sunday, August 14, 2011

Php Security - SQL Injection and XSS Attacks

I found two great videos that I wanted to share on my blog. They explain SQL injection and how to prevent it, as well as XSS attacks and how to prevent them too. They are very easy to understand and learn from. Hope you enjoy them too!

XSS Attacks
SQL Injection


Tuesday, August 9, 2011

Software Development Stages

Recently bought an old book for 1 dollar CAD. The reason why it was so cheap was because it's 33 years old! The book is called "8080A-8085 Assembly Language Programming by Lance A. Leventhal". This book focuses on assembly language with the 8080A-8085 microprocessors. Something I definitively don't need to learn in 2011. But I bought it because it was old and unique to me. I thought I might be able to get a basic understanding of assembly from it. Now I was fairly wrong, it was hard to get any information from the book related to assembly. But I was clearly able to get information about software development stages and about compilers etc..
So with this post I am going to post the software development stages and see if you use them when you code.


  1. Problem definition
  2. Program design
  3. Coding
  4. Debugging
  5. Testing
  6. Documentation
  7. Maintenance and re-design
They all look reasonable but do you use these type of stages when coding? I use most of these here, but I don't always use them in this order. For starters I don't usually document my code, I leave comments in my code but not enough to consider it documented. Something I hope to improve over time as I continue to code. Now I usually define the problem when i'm designing the program. I don't do one before the other I do them throughout the design process. I also debug and test at the same time to find the bugs easier because i'm interacting with the program. Re-design is only used if I want to improve my code and I fix my code when i'm debugging.

Now does anyone use those stages exactly how they are laid out or are yours mixed like mine?

Wednesday, July 20, 2011

Share Your Code

    Every so often try sharing your code with other programmers. Let someone else see your code from another angle. Doing this will improve your code. If more people see your code they may spot a way to improve it. Improved code is always better.

Tuesday, July 19, 2011

How to be a Better Programmer

Tips to be a better programmer.

Comments


    We all forget to comment now and then, but you need to break that. Commenting is very useful. Say you make some code one day and forget about it for a couple months. You end up coming back to it and can't seem to figure out what it does. If you had added comments future you wouldn't have had that problem. So next time you are coding add a couple comments here and there. It will make it easier for you.

Plan Before Coding


    When you begin coding you should have a plan. This will make coding much more fluent and easier. If you know what your going to code you won't have problems when coding. You can just look back to the plan and get back to coding. But if you dive right into coding you won't have any clue on what you will be coding. You will end up making mistakes and it won't turn out the way it could have if you planned it out.

Clarity


    When coding you want the code itself be relatively easy to understand. If you name variables a, b, etc.. it won't make sense when reading. If you named those so they were relevant to what they were being used for it would make more sense to the reader.

Try Something New


    Try something new every so often when you code, this will extend your knowledge. If you know more you can approach a problem in many different ways. You don;t have to stay in your comfort zone all the time, next time try something new even if it's a little thing.

Conclusion


    Follow these basic 4 tips and you will be a better programmer, always good to improve in your work!

Thursday, July 14, 2011

Simplicity of Blogging

Some tips and tricks from my experiences about blogging.

Content
    Content is a very important factor when blogging. You want to blog like you care, try not to make your posts short and empty. You want to try to fill the with information. But the information must be useful, you don't want to fill your blog with useless words that aren't needed.

    Now there is also another side to this. You don't want to give too much information. This will bore some of your audience. You want to keep them reading but not long enough to bore them!

Share
    To help promote your blog try creating a twitter account. I use twitter to let my followers know that I have blogged about something new. Doing this will keep them coming back without much effort. Somewhere on your blog try putting a link to your twitter account so your visitors have an easy option to follow you

    You can also let your family and friends know you have a blog. The more people know about your blog the more visitors you are likely to get.

Topic
    Make sure to pick a topic to blog about that you enjoy. This could be a hobby or just an interest. This will make it easier for you to blog without running out of things to blog about.

    Make sure to stick with your topic. Don't suddenly change your topic. This can make your viewers loose interest in your blog. If you have another topic you want to blog about make a new blog! This is an easy way to keep things organized and make sure your viewers are getting the information they want.

Money
    Yes, money can be made from blogging. A very simple way to get a little profit is to get an AdSense account and add some ads to your blog. But you never want to add too many ads, this will make your blog look like its only out for making money, causing visitors to leave. You don't want to have more ads then content!

Conclusion
    I think I covered about all the basic things about blogging. If your still reading up to here I thank you. Glad to have a couple viewers.