How To Overclock a GPU

4:22 PM 0 Comments A+ a-

Helolo everyone!


Today I will be showing you how to overclock a GPU.
In this case, I will be using a MSI variant of the GTX 1050 Ti paired with MSI Afterburner for our overclocking needs!

 If you don't know what Afterburner is then read this "MSI Afterburner is the world’s most recognized and widely used graphics card overclocking utility which gives you full control of your graphics cards. It also provides an incredibly detailed overview of your hardware and comes with some additional features such as customizing fan profiles, benchmarking and video recording. MSI Afterburner is available completely free of charge and can be used with graphics cards from all brands." ~MSI.com

Also just to let you know, WE ARE NOT RESPONSIBLE FOR DAMAGE OF YOUR PC AND/OR PC PARTS!

Now... that is out of the way, let's begin our OVERCLOCKING!!!

To begin, install and open up MSI Afterburner.
You should be greeted with a window looking similar to this.
Every thing is at stock speeds right now, so let's bring them up!
On my GPU the Core Voltage is locked so I cannot use that.
If you have an unlocked Core Voltage GPU, than you can use Google for that.(I will not cover that in this post ;)

First, bring the power limit all the way up to 100%.
Then, add +10 to the Core Clock and +100 to the Memory Clock.
After doing that, hit the check mark to apply changes.
Now you need to do some stability testing with Unigine Valley.
(Download and install it)
Open that up, set it to "Extreme HD" and click "Run".

Than click the Benchmark button at the top, and let it do its work.
If your GPU is stable, it will complete the benchmark and give your results.
If it crashes, then go back to Afterburner and bring things down.

Repeat these steps until you reach your MAXIMUM overclock.

You should now have your GPU at its maximum potential.
If this post helped you, be sure to leave a comment down below!

How To Use Bootstrap

7:55 AM 0 Comments A+ a-



What is Bootstrap?
Bootstrap is a free front-end framework that includes typography, form, tables, navigation, image design and many other. This framework is easily to use and very useful to make responsive webdesign. Responsive webdesign is a web which automatically adjust their size and performance on all device, so it can be looks good in mobile size until desktop size.

Where to get bootstrap?
You can get bootstrap from:
- open source (bootstrap CDN)
What you need is just to include this jquery below to host a bootstrap from a CDN (Content Delivery Network)


 <!-- CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">

<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>

<!-- JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

- download bootstrap
You can download bootstrap and host it by yourself. Go to getbootstrap.com to get the latest version of bootstrap.

Create a Webpage Using Bootstrap

There are three things that you need to know in making a webpage using bootstrap:

1. Add HTML5 doctype
 Bootstrap is using HTML5 for all webpage. So, you need to add HTML5 doctype:

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
  </head>
</html>

 2. Add meta tag for mobile responsive
 Bootstrap is support for mobile responsive that called bootstrap3. Add this meta tag in head element to ensure touch zooming and proper rendering:

 <meta name="viewport" content="width=device-width, initial-scale=1">

3. Choose containers
There are two type of basic containers in bootstrap:

- .container: this class provides a responsive fixed container
- .container-fluid: this class provides a full width container

Example of Bootstrap Page
This is a very simple example of webpage that using bootstrap, we hope this can help you get any idea about how to use bootstrap.

 <!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
  <h1>Bootstrap Page Example</h1>
  <p>Here is some text that you can put.</p>
</div>

</body>
</html>


Top 5 Computer Cases of November 2016!

11:22 AM 0 Comments A+ a-

Helolo everyone!
So here are the five cases I picked, you may ask "how did I picked these cases?".
Well, (I picked them randomly tbh) I decided based on looks and $$$.
So anyways, let me begin...

At #5 we have the 

Thermaltake Level 10 Titanium Edition

This case is the WORST case! Not because of its looks(its AWESOME), but because of its price.
I mean.....I could build an entire computer for its price: $1,199.99

  • Aluminum ATX Full Tower
  • USB 3.0 x 4, eSATA x 1, HD Audio x 1 Front Ports
  • Accessible : 3 x 5.25’’ External 5.25" Drive Bays
  • HDD Easy swap : 6 x 3.5’’ or 2.5’’ Internal 3.5" Drive Bays



At #4 we have the

Rosewill GUNGNIR

This is a good case for its price: $54.99
  • Supports 2 x USB 3.0 port and 2 x USB 2.0 port.
  • GUNGNIR comes with 3 pre-installed fans and support up to 5 fans.
  • Translucent Panel with Window.
  • Magnetic Dust Filter. It also comes with dust filters at the front and rear to keep the entire system cool and dust-free.
  • Spacial and Generous Expansion Room: A tremendous PC case has up to 7 PCIe slot to support up to 400 mm Long VGA Card, up to 180 mm High CPU Cooler, up to 280 mm Long Liquid-cooling Radiator on Top and Front. 
  • Motherboard compatibility: Micro ATX / ATX / Mini-ITX. Support 2 x external 5.25" ( tool-free), 3 x internal 3.5", 2 x Internal 2.5" drive bays.




At #3 we have the

Thermaltake VERSA C22 RGB Snow Edition

Price: $69.99
  • Add Glorious RGB LED lighting options to your Gaming PC with integrated LED zones for the ultimate in lighting customization
  • Front Panel: Supports 2x USB 3.0, 2x USB 3.0 ports, HD Audio ports and LED RGB Control for convent top panel access
  • Take Control of your RGB: Built-in RGB Controller provides 7-Color Options with lighting effects (Breath, Blink and Solid Color) Modes
  • Thermaltake Liquid Cooling Certified: Thermaltake exclusive certification applied to only products that pass the design and hardcore enthusiasts standards
  • Fully Modular Design: Provides multiple configurations and flexibility for custom PC Enthusiast



At #2 we have the

DIYPC DIY-F2-O

Price: $34.99
  • SPCC MicroATX Mini Tower
  • 1 x USB 3.0 / 1 x USB 2.0 / Audio Front Ports
  • 0 External 5.25" Drive Bays
  • 2 Internal 3.5" Drive Bays



At #1 we have the best valued case!

Thermaltake View 27, Gull Wing Window

Price: $79.99

  • SPCC ATX Mid Tower
  • 1 x USB 3.0 / 2 x USB 2.0 / 1 x HD Audio Front Ports
  • 2 x 2.5"/3.5" (HDD Cage) Internal 3.5" Drive Bays
I would say this case gives you the BEST value, because of its "Gull Wing Window" and room for a custom loop!

For more specs on these cases, check the links below. Thanks for reading!




How To Make a Connection Database SQL Server Using C# Based Web

6:54 AM 0 Comments A+ a-

We make a connection into database before we can insert, update, or deleting a query in table. After all, this is the first step to make any change in our database. Before we make a connection code, you must already have the database and its table (we will teach you how to make it later in different post). You need to a web application, if you want to make insert or update code later.

So, if you already have it all, go into code behind and check if your .aspx.cs file has this code on its top:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Web.Configuration;

Sure, we need data sql client to make a connection into database. If you already has this all code, add connection variables in your public class, like this:

private string connection = WebConfigurationManager.ConnectionStrings["Database"].ConnectionString;

Change the word "Database", as your database name in your web.configuration.
Then create an event for one of your button, so you can insert a query into your database.

protected void btn_Click(object sender, EventArgs e)
{
}

Change the word btn as your button ID. Now, insert all of codes below in the parenthesis of btn_Click
First, you can INSERT/ UPDATE/ DELETE for SQL variables, here we give the example of INSERT code:

string SQL = "INSERT INTO t_mahasiswa (column1,column2) VALUES ('" + txtBox1.Text + "','" + txtBox2.Text + "')";

Change the word column1 and column2 as your table column name, you can the column too as you wish.
Change the word txtBox1 and txtBox2 as your textBox name that you want its value to be inserted into database.

Then add connection and insert code to make a connection into database

SqlConnection conn = new SqlConnection(connection);
SqlCommand comm = new SqlCommand(SQL, conn);

To make all of codes above work, you need to add a trigger,

try
{
conn.Open();
comm.ExecuteNonQuery();

txtBox1.Text = "";
txtBox2.Text = "";
}
catch (Exception)
{
throw;
}
finally
{
conn.Close();
}

Don't forget to change the word txtBox1 and txtBox2 as your txtBox name.

How To Setup a Minecraft Server on Raspberry Pi

12:24 PM 2 Comments A+ a-

Helolo everyone!

Setting up the Raspberry Pi Minecraft Server

Okay, first we will need to install Raspbian on the Raspberry Pi. 
If you have not done this yet, a quick Google search should help you out ;)
  1. First let's update the Raspberry Pi to the latest versions using this:
    sudo apt-get update
    sudo apt-get upgrade
  2. Now open raspi-config so we can change some settings:
sudo raspi-config
(if you want more help with the raspi-config, tell me below)
  1. Now inside of raspi-config, go to Advanced Options->Memory Split, and change it to 16. (This will make more memory free for the server)
  2. Also you do NOT want to boot into Raspbian desktop so make sure you Enable Boot to desktop/scratch goes to command line.
  3. Set overclocking to High. (If possible, :( I could not on my Pi )
  4. Finally enable SSH so we can connect the Pi remotely if required (Unless you already have it enabled drrrr).
  5. Now go to finish and reboot/restart.
  6. I will want the IP address of your Pi for when I try to connect to to your server. LOL just kidding!     We need to get our Pi's IP address for when we try to connect to our servers. Get you IP by typing this command:
sudo hostname -I
  1. Next we NEED to install Java, because the Raspberry Pi Minecraft Server NEEDS IT to run. To do this we will need to get it from the Java website.(If you’re on the latest version of Raspbian (Raspbian Jessie with PIXEL) you can skip to step 13 as Java is pre-installed on Raspbian Jessie with PIXEL.)
sudo wget --no-check-certificate http://www.java.net/download/jdk8u60/archive/b25/binaries/jdk-8u60-ea-bin-b25-linux-arm-vfp-hflt-21_jul_2015.tar.gz
  1. Now YOU MUST run the following command to unzip the file into the opt folder.
sudo tar zxvf jdk-8u60-ea-bin-b25-linux-arm-vfp-hflt-21_jul_2015.tar.gz -C /opt
  1. To check that it unzipped properly and is usable I COMMAND YOU TO run the following command:
sudo /opt/jdk1.8.0_60/bin/java -version
  1. Now we will need the Minecraft server file, we’re going to use a builder tool that is supplied by spigot, to get this enter the following commands:
sudo mkdir /home/minecraft
cd /home/minecraft
sudo wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
  1. Now you will want to run the build tools file so it creates your spigot server. It will take about 15-60 minutes to finish. Add --rev 1.10.2 to the end of the command to get the latest version. Don’t forget to change 1.10.2 in the command to the latest version number.
    Note: If you’re on the latest version of Raspbian you can remove /opt/jdk1.8.8_60/bin/ from this command and any other command that contains it).
sudo /opt/jdk1.8.0_60/bin/java -jar BuildTools.jar
Important: If you have a Raspberry Pi B+/B or any variation before the Raspberry Pi 2 then the build tools WILL, AND MUST, FAIL! You can instead download the spigot.jar directly from file mirror using the following command:
sudo wget http://www.mediafire.com/download/pg7xzshq5cdmfjx/spigot-1.10.2.jar
If you want a older version for some reason(I did it for the Moon mod, yeah!) you can simply change the number at the end (e.g. 1.10.2 changed to 1.7.10 ect).
  1. To make sure the spigot server successfully downloaded and saved simply type ls and should see spigot.jar.
ls
Make sure you remain in the /home/minecraft folder as we want all the server files to be created in here. If you start the server in a different folder it will create the files in there.
  1. Now you can start your server. (You may need to change the version number depending on what version you’re using eg. spigot-1.10.2.jar)
Raspberry Pi
sudo /opt/jdk1.8.0_60/bin/java -Xms256M -Xmx496M -jar /home/minecraft/spigot-1.10.2.jar nogui
Raspberry Pi 2 & 3
sudo /opt/jdk1.8.0_60/bin/java -Xms512M -Xmx1008M -jar /home/minecraft/spigot-1.10.2.jar nogui
Now the server should HALT right away because you MUST agree to the Eula. You (and I :P)can do this by opening the Eula by typing(Man..that words been used to many times) sudo nano eula.txt and change "false" to "TRUE" or "true" or "True" or "truE" or whatever way you want.
  1. Now start it up AGAIN, it will take a while to create a map so give it about 5-15 minutes. If you ever reboot it will only take 30-60 seconds to load if the map has already been created.
  2. The server should now be running and connectable over your local network.
  3. The Raspberry Pi Minecraft server will now run fine but YOU may want to do some "optimizations" to speedup that slug(server).
So I hope you had fun!(I did :P)
And make sure to comment if you want some speederupping tricks.

Thanks for reading!
Techie Pocket


How To Use a Folder on Windows as a FTP Repository

6:10 PM 0 Comments A+ a-

Helolo everyone!
In this guide I take you through the steps to setup a folder on your Windows computer as an FTP repository, using a free program called FileZilla. FTP can be used to easily transfer a lot of files between computers; the FTP repository can be mapped to multiple computers across the Internet so that other people can access the directory right from Windows Explorer.


To start, you’ll need to download FileZilla server, available here.

After downloading the program, you can install it with all of the default settings. 
FileZilla will install a service that runs whenever Windows boots up, so if you would rather only run the FTP server manually, select the appropriate option from the drop down menu on the third screen.

Apart from that setting, everything else can be left at the defaults for the purpose of this tutorial. Once installation is complete, the FileZilla interface will open. 
Just click "Ok" when this window pops up right after installation.

2. Once the FTP server interface has loaded, we are ready to specify a directory as an FTP repository. 
If the directory you want to use isn’t already created, minimize the interface and create a folder where you want the FTP share to be. In this tutorial, I are going to use the folder ‘FTP’ on my desktop. 
Its exact location will be “C:\Users\Standard\Desktop\FTP”.
Click on Edit and then Users.

On the left side of the window that comes up, click on “Shared folders.”
Once there, click on “Add” underneath “Users.” Enter the username for an account that another computer will be using to access the repository we’re setting up.
Click OK once you’re done entering the account name, and then click on “Add” underneath the “Shared folders” section. Once you’ve done that, a window like the one below will pop up, use it to select the directory you would like to share as an FTP repository.

Click OK. Now we need to assign the user permissions for this repository. By default, the user we’ve created is able to read files, list directories, and list subdirectories. To give the user further permissions, such as the ability to copy files to this repository, check the boxes beneath ‘Files’ and ‘Directories.’
Click "Ok" once you’re done setting the user permissions.

Securing Your FTP Server

Along with configuring the user(s) with a strong password, there are a few settings within FileZilla that you can configure to further secure your new FTP server.

Hackers will constantly scan the internet for hosts listening on port 21, the default FTP port. To avoid being detected by the thousands of hackers constantly scanning for people like you with an FTP server, we can change the port that FileZilla listens on. Go to Edit and then Settings. Under “General settings” you’ll see “Listen on these ports.” It should currently be on 21, but we recommend changing it to a random five digit number (nothing over 65535).

This doesn’t necessarily secure your server, but it obscures it and makes it harder to find. Just remember that anyone determined to hack you will eventually find the port your FTP server is listening on, so further measures must be taken.

As long as you know the IP’s (or at least the IP range) of the computers connecting to your FTP server, you can set FileZilla to only respond to login requests from those IP addresses. Under Edit > Settings, click on “IP Filter.”

In the first box, put an asterisk(*) to block all IP’s from connecting to your server. In the second box, add exceptions to this rule (IP’s or network ranges that should be allowed to connect). 
For example, we would have a configuration in which 10.1.1.120 and the 192.168.1.0/24 (in other words, 192.168.1.1 – 192.168.1.255) IP range would be able to connect.

Along with secure passwords, that should be about all the security your FTP server will need. 
There is a default Autoban setting already configured in FileZilla, so anyone who tries connecting to your server too many times within a short period will be locked out for a while. 
To tweak this setting, click on “Autoban” under Edit > Settings, but the default will suffice for most people.

One last note on the security of this FTP server: transmissions are in clear-text, so don’t use plain FTP to transfer anything confidential. SFTP or FTPS can be used for encrypting FTP communications, but are beyond the scope of this guide and will be covered in future articles.

Windows Firewall Exception

If you have a third party firewall or anti-virus program, be sure that the port you’ve chosen to run your FTP server on is allowed through it. If you have Windows Firewall enabled, you’ll need to add an exception for the port. Go to your Start menu and type Windows Firewall, then click on “Windows Firewall with Advanced Security.”

Click on “Inbound Rules” in the left column, and then “New Rule…” in the right column. 
We’ll be allowing a port through the firewall, so select Port when the wizard asks “What type of rule would you like to create” and then click next.

Type in the port you have chosen for your FTP server to run on (default is 21, but in this guide we chose 54218).
Click next three times after entering your port number. Put in a name and description for this exception so it’s easy to find in the future, and then click Finish.


Mapping the FTP Share on another Computer

Now that the FTP server is completely set up, we can have other people connect to it with the user information we provide them (also make sure you have allowed their IP address). Others could always use GUI applications such as FileZilla to connect to your FTP share, or they could map it to their computer so it shows up in Explorer.

Open ‘Computer’ and right click in a blank area, then select “Add a network location.”
The “Add Network Location” wizard will appear, click next twice. Enter the IP address and port of your FTP server, and click next.

Uncheck “Log on anonymously” and enter the username you have configured for your FTP server. Click next twice and then click finish. It should ask you for your password, and then you will be able to browse to the FTP share as if it were a local hard drive.


So I hope you found this info helpful, and if you did be sure to checkout my website: http://yttechy.cf/

Thanks for reading this article!