Tuesday, November 8, 2016

Mtn Ghana Midnight Unlimited Internet access

Mtn Ghana Midnight Unlimited Internet access

The Mtn Ghana Midnight bundle gives unlimited internet access from (12am-5am) for one night at 3
GH¢ only and 1GH¢ at (3am - 5am). To my point of view this is these are  best plans from MTN as with little credit one can browse and download at unlimited speed from (12am-5am).

 I have been using it for a while now and i think its good to share because sharing is caring.

But Fair usage policy is however applied to prevent abuse and ensure a good experience for all our customers.


Procedure

  • Dial *138# 
  • Select 1 for (Internet Plans) and select 4 for (unlimited)
  • Dial 1 for 1GH¢ at Midnight (3am - 5am)
  • Dial 2 for  3GH¢ at One Night only (12am - 5am)
  • Dial 3 for 150 GH¢ for 30 days
  • Dial 4 for deactivation

The policy is applied as stated below:

  •  Up to 3 GB of data – unlimited access
  • After 3 GB, speed will be throttled down to 128kbps for the rest of the night to 5am
When a customer buys the 30 day unlimited internet bundle from MTN the belowpolicy applies:
  •  Up to 15 GB of data – unlimited access
  •  After 15 GB, 256kbps for 2GB of data
  •  After the additional 2GB 128kbps for 2.5 GB of data
  •  After the additional 2.5 GB 64kbps for the unexpired period

Free Browsing On Airtel (Android Only)


Free Browsing On Airtel (Android Only)

Free Browsing Airtel
Ok. Let’s get straight into it. Follow the steps carefully and enjoy free browsing on your android device today. This trick is for Airtel only. But feel free to try on other networks as well.
What You’ll need
  • Android phone
  • Your-freedom app for android
  • Time and patience
Steps
  • First register for an account at your-freedom. You’ll use that account for logging in to the app later.
  • Download your-freedom app from the Play Store if you don’t have it
  • Launch it and click on CONFIGURE. Select Account Information and insert the username and password you obtained from the your-freedom website.
  • Select Server connection: DNS/UDP TWEAK; Port:53
  • Connection mode: Nigeria Airtel
  • Click Wizard, and wait till it displays list of servers. The servers without coins are for free users while those with coins are for premium users. Choose one that applies to you.
  • Tick ENABLE ENCRYPTION, ENABLE RE-KEYING
  • Re-connection Delay: 5000
  • Minimum Post Size: 10000000
  • Initial Post Size: 150000
  • Go to your proxy settings in your phone’s network settings: PROXY: staticdns.com or 196.46.244.32. Use 80 as port number.
  • Now go back to the your-freedom app and click START CONNECTION
  • Set your APN to: internet.ng.airtel.com
  • Connect and enjoy.
Get Free Email Updates!

Tuesday, July 5, 2016

Visual Basic 2015 Lesson 16: Understanding Sub Procedures

A procedure is a program code that can carry out certain tasks or return a value. It can be called from other procedures. In Visual Basic 2015, there are two types of procedures;  sub procedures and functions. A sub procedure(also call subroutine) is a procedure that performs a specific task and does not return a value while a function is a procedure that returns a value. We will learn about function in next lesson. A sub procedure is usually used to accept input from the user, display information, print information, manipulate properties or perform some other tasks. It is a program code by itself and it is not an event procedure because it is not associated with a runtime procedure . It is called by other code whenever it is required to perform a certain task.





Sub procedures help to make programs smaller and easier to manage. A sub procedure begins with a Sub keyword and ends with an End Sub keyword. The program structure of a sub procedure is as follows:
Sub ProcedureName (parameter)
Statements
End Sub
The parameter is a certain data that is passed into the sub procedure to perform a specified task.
Example 16.1
In this example, we create a sub procedure to sum up two values that are specified as the parameters. The main program can reference a procedure by using its name together with the parameters in the parentheses.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
sum(5, 6)
End Sub Sub sum(a As Single, b As Single)
MsgBox(“sum=”& a + b)
End Sub
Running the program produces a message boxvb2013_figure11.1
Figure 16.1

Example 16.2: Password Cracker

This is Visual Basic 2015 program that demonstrates how to crack passwords. It can generate possible passwords and compare each of them with the actual password; and if the generated password found to be equal to the actual password, login will be successful.
In this program, a timer is inserted into the form and it is used to do a repetitive job of generating the passwords.We create a  passwords generating procedure generate () and it is called by the e Timer1_Tick() event so that the procedure is repeated after every interval. The interval of the timer can be set in its properties window. A value of 1 is 1 millisecond and  a value of 1000 is 1 second. We shall set the Timer’s interval at 100 which is equivalent to 0.1 second. The Timer1.Enabled property is set to false so that the program will only start generating the passwords after the user clicks on the Generate button. Rnd is a Visual Basic 2015 function that generates a random number between 0 and 1. Multiplying Rnd by 100 will produce a number between 0 and 100. Int is a Visual Basic 2015 function that returns an integer by ignoring the decimal part of that number.


Therefore, Int(Rnd*100) will produce a number between 0 and 99, and the value of Int(Rnd*100)+100 will produce a number between 100 and 199.Finally, the program uses If…Then…Else to check whether the generated password is equal the actual password or not. If they are equal, the passwords generating process will be terminated by setting the Timer1.Enabled property to false.
The Code
Public Class Form1
Dim password As Integer Dim crackpass As Integer
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
generate()
If crackpass = password Then
Timer1.Enabled = False
Label1.Text = crackpass
MsgBox(“Password Cracked!Login Successful!”)
Else Label1.Text = crackpass
Label2.Text = “Please wait…”
End If
End Sub
Sub generate()
crackpass = Int(Rnd() * 100) + 100
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
password = 123
End Sub
End Class
The output
vb2013_figure16.2
Figure 16.2: Password Generating Phase
vb2013_figure16.3
Figure 16.3: Message Showing Successful Login