GTA V How to steal and fly a Fighter Jet

Posted: 22nd October 2013 by Jab in Gaming, GTA V
Tags: , ,

Lag in Minecraft

Posted: 18th October 2013 by Jab in Minecraft
Tags: ,

Are you experiencing ‘LAG’ in your minecraft session. A lot of people will deem that lag will come from the server your connected to and that it cannot handle the load. Others will say that its your Internet connection, or your ping time. Well I have a few things that I can share and I hope that it can help you in your experience as well.

I am currently running my own Minecraft server on Debian Wheezy. It is running with 4 cores and 8GB RAM with a 50GB HDD. This is a dedicated server and nothing is running on this server except Minecraft. I don’t have any issues with any of my computers at work or my 3 desktop computers at home. At home I have a 50Mb connection and my ping times to my server are normally within the 20′s to 30′s ms. However on my Macbook Pro I seem to have some ‘Lag’ so I was fooling around with some settings and would you believe it .. no more ‘Lag’.

Nothing changed with my connection speed just the setting within minecraft. Heres what I did

In Minecraft press the escape key (ESC) this will bring you to the Game menu.
Next click on Options…
From there choose Video Settings…

Change the following:

  • Graphics: Fast
  • Render Distance: Tiny (limits view distance to 32 blocks)
  • Smooth Lighting: Off or Minimum
  • Performance: Balanced or Powersaver (limits to 35fps)
  • Advanced OpenGL: Off
  • Particles: Decreased
  • Use VSync: Off

Doing this should really increase your performance and reduce the ‘Lag’ you may see. I did this for my Mac, and although I have a pretty decent Mac, it did speed things up and I got better performance.

virt-manager on Mac OSX

Posted: 12th October 2013 by Jab in Server
Tags: ,

Since there is no real easy way to do this and since virt-manager is not for OSX – Here is the best thing we can do.

Since I have virt-manager installed on my linux machine at work – and I can connect to that machine from home. Here is what I can do. Open a terminal on my mac and ssh into my machine –

ssh -l USERNAME -X myserver

This will then allow you to type in virt-manager  and it will open up on your screen though X11 – XQuartz

Installing Debian Wheezy

Posted: 11th October 2013 by Jab in Server
Tags: ,

So everyone at work was telling me how I should try out Debian on my server at work because it is so much more stable then Ubuntu – Currently running Ubuntu 12.04 LTE server edition.

So I headed over to http://mirrors.xmission.com and downloaded a copy of Debian.

Then I fired up my virt-manager from my local machine and created a 50GB virtual drive on my main server. 4 cores and 8GB ram.

Started the installation and choose SSH Server and Standard System Utilities on the software selection.

All went well and now at a command prompt to log in.

Logged in and the first thing I wanted to do is install VIM and ctags

So trying to sudo to root – I noticed that my user was not in the sudoers file – then I realized that I created a password for the root user when I installed. Doing this it does not install sudo on the machine. I guess some sort of precautionary measure.

So I had to su to root – then do an apt-get install sudo to install sudo .. very easy.
Then I added my user to the sudo file with: adduser user sudoers

Now I was able to apt-get install vim and ctags with no issues.

Now what do I do with it?

Forgot your MySQL Password? No worries

Posted: 26th July 2013 by Jab in Server
Tags: ,

Step 1 – Stop mysql service
# /etc/init.d/mysql stop
You should see something like this
Stopping MySQL database server: mysqld.

Step 2 – Start MySQL server with out password
# mysqld_safe --skip-grant-tables &
You can also run
service mysql start --skip-grant-tables
You should see something like this
Starting MySQL.. SUCCESS!

Step 3 – Connect to mysql server using root user
# mysql -u root

You will see something like this
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 4
Server version: 5.1.55-MariaDB-mariadb98 (MariaDB - http://mariadb.com/)

This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

MariaDB [(none)]>

Step 4 – Set up new MySQL password for the root user
MariaDB [(none)]> use mysql;
MariaDB [mysql]> update user set password=PASSWORD("9nji77~") where User='root';
MariaDB [mysql]> flush privileges;
MariaDB [mysql]> quit

Step 5 – Stop MySQL Server
# /etc/init.d/mysql stop
You should see something like this
Stopping MySQL database server: mysqld.

Step 6 – Start MySQL Server and test

How to save a SnapChat image or video

Posted: 2nd June 2013 by Jab in Casual, Useless Info

So you have this cool app called SnapChat – and you get clips all day long of cute pictures and funny videos – and within seconds its gone. Never to be found again. Or is it?  With a little digging and a some hacking – I believe to have found a clue on Android at least.

This will require your phone be ‘rooted’ if you don’t know what that is – this may be too advanced for you – google it – then come back.

You will need a Android App called SSHDroid – it is free ‘with ads’ but still will work –
You will need a Mac / Linux or PuTTY (Win) and a Terminal Opened
You will need a folder on your extSdCard to store the SnapChats

Download SSHDroid from Google Play and open after it has installed.

It will give you an IP address that you can use to connect to via SSH in my case
ssh root@192.168.1.113

After you connect it tells you the default root password .. simply enter this info in .. and .. … you are connected to your Android Phone via SSH

Now you will need to do 1 thing first before you start hacking away to find where these SnapChats are located. So here is some education … Directly from SnapChat

When someone sends a snap, it is uploaded to our servers, the recipient(s) are sent a notification that they have a new snap and the Snapchat app downloads a copy of the message. The image or video from the message is stored in a temporary folder in the device’s memory. This is sometimes in internal memory, RAM or external memory like an SD Card—depending on the platform and whether it’s a video or a picture.

 And furthermore
While an unopened snap is being stored on the device, it’s not impossible to circumvent the Snapchat app and access the files directly. This isn’t something we support or encourage and in most cases it would involve jailbreaking or “rooting” the phone and voiding its warranty. If you’re trying to save a snap, it would be easier (and safer) to just take a screenshot or take a picture with another camera.

With that being said .. as you can see .. yes .. the Snaps are stored locally to your device temporarily until you decide to open them and then they disappear forever.

Now for the fun part …

So you got a notification you got a new SnapChat – Well lets open that App right up – and DO NOT CLICK ON ANY SNAPS – just leave them in there .. we want them to dl to your phone in that ‘temporary’ folder remember.

Next back to your terminal window.
cd /data/data/com.snapchat.android/cache/received_image_snaps

This is the ‘temporary’ directory in which your snaps are stored.
Doing a ls on the directory you get something like this

-rw------- 1 u0_a211 u0_a211 66682 Jun 2 22:28 h1a81hurcs00h1372307294812.jpg.nomedia
-rw------- 1 u0_a211 u0_a211 13570 Jun 2 00:16 h1a81hurcs00h1372313771871.jpg.nomedia
-rw------- 1 u0_a211 u0_a211 66682 Jun 22 00:16 h1a81hurcs00h1372313772277.jpg.nomedia

Notice they end in .nomedia –

Next you can copy them to a more remote location for your viewing pleasure – or storage.
If you haven’t already .. create a folder on your extSdCard – I called mine Snapchat – you can do this with your file browser on your phone

Now lets copy these files out of here and into your remote location in /storage/extSdCard/Snapshat

cp h1a81hurcs00h1372313771871.jpg.nomedia /storage/extSdCard/Snapchat/

Once those files have been copied – you can then cd to that directory and ‘rename’ the files

cd /storage/extSdCard/Snapchat
mv h1a81hurcs00h1372313771871.jpg.nomedia picture1.jpg

‘mv’ is the universal command to rename a file in unix. Plus if you noticed I just renamed it to whatever I wanted ‘.jpg’ .. if you do not take off the .nomedia you will not be able to view what it is.

So now that you have moved the files that were in the ‘temporary’ folder you can then go back to SnapChat and view your snaps. You can then use your File Browser on your phone and navigate to the folder where you copied your Snaps and then renamed them, and they will be there forever.

Removing Activation

Posted: 21st April 2013 by Jab in Casual

Microsoft has released an update to Windows 7 Activation Technologies (KB971033), which improves its effectiveness and success rate to detect more than 70 known and potentially dangerous activation bypasses, cracks or exploits.

For Windows 7 users who are using counterfeit or pirated copies of Windows 7 on the machine, the KB971033 can potentially causing havoc to the computer system, including frequent and persistent nag message on screen to remind users to go genuine.
For non-genuine or illegal copy Windows 7 users, the best and recommended approach is not to install KB970133 update, which delivers that WATu (WAT update). For user who has installed the KB970133, here’s the guide to remove and uninstall the KB970133 update package, as the KB970133 is not an mandatory update. The procedure is similar to how any updates and hotfixes can be removed.
  1. Go to Control Panel -> Programs -> Programs and Features -> Uninstall a program.
  2. Click on the View Installed Updates on the left pane.
  3. Select and highlight the Update for Microsoft Windows (KB971033).
  4. Click on Uninstall.
  5. The K971033 will be deleted from the system.
The package can also be uninstalled through elevated command prompt with administrator privileges:
x86 (32-bit) system:
dism /online /remove-package /PackageName:Microsoft-Windows-Security-WindowsActivationTechnologies-Package~31bf3856ad364e35~x86~~7.1.7600.16395
x64 (64-bit) system:
dism /online /remove-package /PackageName:Microsoft-Windows-Security-WindowsActivationTechnologies-Package~31bf3856ad364e35~amd64~~7.1.7600.16395
Note that even your system has been flagged as non-genuine, removing the KB971033 WAT update won’t make the system genuine again. The best workaround for non-genuine system is to remove any crack, hack or loader that been the source of being flagged by WATu, then perform a rearm (reset the remaining rearm count if all rearms allowed is been used up or depleted). If you have a valid and legitimate product key, change the product key. Then, perform a force validation re-check to validate the system again by running the following command in elevated command prompt with administrator rights:
%SystemRoot%\system32\Wat\WatAdminSvc.exe /run
Validation takes 2-5 minutes to complete, and you may have to log out or reboot for all nags to disappear.
Other alternative is to do a system restore to a restore point prior to KB971033 been installed. Or, simply remove the failed crack or loader, and install a new crack or OEM BIOS loader for Windows 7which works, and then re-validate the system with command above.
Anyway, Windows 7 SP1 is going to include KB971033 by default. By then, KB971033 WAT update is unlikely to be separable nor uninstallable. However, users can choose to disable WATu files without uninstalling with the following command (run in elevated command prompt with administrator privileges):
takeown /f "%windir%\System32\Wat\*" && icacls "%windir%\System32\Wat\*" /deny *S-1-1-0:F
And, delete the scheduled tasks used by WAT to run validation checks. WATu uses Task Shedualer to validate the system right after reboot when first installed and again every 90 days. To disable the associated tasks, run the following commands in elevated command prompt with administrator rights:
schtasks /change /disable /tn "\Microsoft\Windows\Windows Activation Technologies\ValidationTask" && schtasks /change /disable /tn "\Microsoft\Windows\Windows Activation Technologies\ValidationTaskDeadline"

Installing Java 7 on Ubuntu 12.04

Posted: 27th March 2013 by Jab in Server, Ubuntu

Installing Java on Ubuntu 12.04 – to the novice can be a not so easy task .. but thanks to my installs of this OS on my server I believe I have it down pat .. here is what I do .. and this should work for you as well ..

First you just want to make sure you are up to date

$ sudo apt-get update

Next

$ sudo apt-get upgrade

Next we will install python-software-properties
This software provides an abstraction of the used apt repositories. It allows you to easily manage your distribution and independent software vendor software sources.

$ sudo apt-get install python-software-properties

 

Now that this is installed we can install the repositories needed to install Oracle Sun Java

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java7-installer

 

You can also install JDK

$ sudo apt-get install openjdk-7-jre

 

Questions, Comments, Concerns – Leave them in the comments

~Jab

Server back online again!

Posted: 27th March 2013 by Jab in Minecraft, Server, Web Design

Server went down again – not sure why .. so I completely de-banned the harddrives making sure nothing on them was causing any issues – ran a fsck on the drives all turned out well – s0 .. I put on Ubuntu back on Server 12.04 LTS – and starting to put everything back on –

The server is Intel Xeon E5645 2.40GHz with only 8gb ram .. looking to update to 64 when I get the cash – and maybe adding an additional E5645 to make it a dual CPU .. but its a 6core chip .. so it works great for what I need for now.

Got 2 300gb hd in raid 0 and 2 external drives just for added storage. totaling about 1TB total for the server.

This will be used for hosting most of my sites – and the minecraft servers –
Sites will be hosted from the main host while the Minecraft servers will be up on Virtual Servers. I have done this before and they work well .. but will need testing later on. So if you are reading this and want to join some Minecraft servers hop on. There will be a misture of Vanilla, Bukkit, Feed the Beast, and more .. I will update this post as I add them. Hosting them for free YES indeed .. however donations are always welcome.

One of the Minecraft servers will be at chicken.servemycraft.com – 4 core / 1gb ram / 25gb HD space – I will be adding more servers later with more ram / hd / and cores. This server will accommodate 1 – 10 players.

The main site servemycraft.com will be primarily used as a guide for Minecraft – I know there are 100’s out there but I like to design and well thats what it will be used for. There will also be tutorials / or How to’s for those that get stuck. Props will go to the sites I get my info from and link backs as well.

Questions, Comments, Concerns – leave them in the comments section and I will get back to you.

~Jab

Pastebin setup

Posted: 14th March 2013 by Jab in Casual

So I been playin around – Set up the new Web Server finally .. think its gonna stay up this time .. lol

So far have a friends site up there – http://saidnooneever.net 

I also installed a pastebin application php-pastebin located at pb.adiquet.com fell free to use it