Wednesday, May 7, 2014

Installing Themes in Sublime Text

One of the quickest ways it install a theme is to place it directly into the necessary folder within your Sublime Text installation. This guide assumes you 1. Already have a theme file (.thTheme) and you know where it's saved to. 2. That you're running a version of Windows.

To install a theme:

1. Right-click and copy or paste the .thTheme file.

2. Go to this folder:  C:\Users\yourusername\AppData\Roaming\Sublime Text 2\Packages\ User

Note: The folder name for Sublime Text may vary by version, but will still be under C:\Users\yourusername\AppData\Roaming

3. Paste in the .thTheme file.

4. Restart Sublime Text if it was already opened. 

5. Open Sublime Text. Go to: Preferences -> Color Scheme and chose your recently installed theme.

There you have it. A quick way to install themes without using a package manager.

Sublime Text GOTO Line

   In Sublime Text, there is a nifty keyboard shortcut that will take your cursor to whatever line you want in your source file.

To try/check this out type: ctrl + G 

A little box will appear and you will be able to input which line number in your source file you would like to navigate to.

XBOX 360: Error Code: 416B-0000-3080-0504-8007-0070 Fix

Recently, I had this code show up and had to implement a fix for it. The code is vague and gives a hint at checking network connection. The code was thrown when trying to apply an update to be able to download a profile again. The update appeared to be working, but would fail out every time. Even clearing the cache from the hard drive didn't work. Looked around for a while before finally stumbling onto a solution.

To fix error code: 416B-0000-3080-0504-8007-0070 implement the following:


1. Open the disc tray.
2. Take out any game that is in it.
3. Pull out the power plug from the console.
4. Gently push the disc tray HALF-WAY back in, stopping before it fully closes.
5. Plug the Xbox 360 power cable back in.
6. Turn on the Xbox 360 allowing the disc tray to automatically close the rest of the way on its own.


After following the above steps, the console should then be able to update normally.

Logging onto Windows 7 Machine Locally

     Sometimes students have to log in locally at home from their devices. This can be troublesome when the domain is unavailable and they don't know the name of their computer that they have been issued.

Luckily, there is a fast fix for this.

For this example, we will assume that username: bob is trying to log into a computer named: laptop003

This would give the local computer name of: laptop003\bob

We can log in quicker by using this method. To log in locally on a Windows 7 machine using the example credentials from above:

In the username box you would just type: .\bob

Then you would input the password as normal and log in.

This method uses a full stop to cut down on the amount of information that needs entered. This is good for people

Fix PDF Files Printing as Blank Pages in Firefox

There has been times when an issue arises with Firefox pertaining to printing .pdf files. Whenever a .pdf file is viewed in Firefox by default it will open within Firefox in the .pdf preview view. You can then read it or download it if you wish. When going to print, some people are having the pages come out blank.

To fix this issue, in Firefox go to Options > Applications. Look on the left had side for all of the Adobe document choices:



You will then want to click on the Action side and chose Open with Adobe Reader and then hit OK. Then when a .pdf file is opened using Firefox it will automatically load in Adobe Reader. Printing will then work normally without printing blank pages.

Fast Command Prompt Opening in Windows

A quick way in Windows to open a command prompt in a given directory:

Simply type 'cmd' into the address bar and hit enter.

Type 'cmd' into the address bar and hit enter

This will pop up a command prompt for whichever directory path is in the address bar at the time of typing 'cmd' and hitting enter.

This is very useful as you won't have to go through and type the file paths out to get a command prompt at a particular directory.



Running Add-Remove Programs as Administrator

There are a lot of times when a program needs to be removed, but a limited account will not be able to do so. This technique makes it so you can run add-remove programs as an administrator without having to log out and back into the machine.

To do this, simply hold down the shift key and right click on the add-remove programs icon under the control panel and then chose 'run as'

This will allow you to fix things without having to log off.