Skip to content

Instantly share code, notes, and snippets.

View jaikt's full-sized avatar
🏖️
w.vacations

Jai Krishna Tavva jaikt

🏖️
w.vacations
View GitHub Profile
/*
-------------------------------------------------------------------------------
Halfmoon CSS
Version: 1.1.1
https://www.gethalfmoon.com
Copyright, Halfmoon UI
Licensed under MIT (https://www.gethalfmoon.com/license)
-------------------------------------------------------------------------------
The above notice must be included in its entirety when this file is used.
*/
@jaikt
jaikt / style.css
Created October 14, 2021 07:50
Follow Us BTN's CSS Code (⚠ WordPress Only)
/*Poppins Font*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300&display=swap');
/* Start of WpXube Follow Buttons */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");
.wpxube-com {
user-select: none;
font-family: 'Poppins', sans-serif;
font-weight: 300;
text-align: center;
display: table;
@jaikt
jaikt / wp*config.php
Created September 24, 2021 08:05
Edit database dredentials in WordPress
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );
/** MySQL database username */
define( 'DB_USER', 'username_here' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );
@jaikt
jaikt / script.js
Created September 14, 2021 06:31
How To Stop Auto Refresh Page Using JavaScript
<script>
var state = history.state || {};
var reloadCount = state.reloadCount || 0;
if (performance.navigation.type === 1) { // Reload
state.reloadCount = ++reloadCount;
history.replaceState(state, null, document.URL);
} else if (reloadCount) {
delete state.reloadCount;
reloadCount = 0;
history.replaceState(state, null, document.URL);
@jaikt
jaikt / script.js
Last active September 14, 2021 06:29
How To Remove ?M=1 From URL Blogger
<script type='text/javascript'>
//<![CDATA[
var uri = window.location.toString();
if (uri.indexOf("%3D","%3D") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("%3D"));
window.history.replaceState({}, document.title, clean_uri);
}
var uri = window.location.toString();
if (uri.indexOf("%3D%3D","%3D%3D") > 0) {
var clean_uri = uri.substring(0, uri.indexOf("%3D%3D"));
@jaikt
jaikt / emmet-abb.html
Created September 8, 2021 09:29
404 Page Design By Tips Tech
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Website Name</title>
<!-- Google font -->
@jaikt
jaikt / index-between-body-tag.html
Created September 8, 2021 09:27
404 Error Page Design By Tips Tech
<!-- This template was made possible by Tips Tech (https://geektechtips.xyz/) -->
<div id="notfound">
<div class="notfound">
<div class="notfound-404">
<h1>Oops!</h1>
<h2>404 - NOTHING EXISTS</h2>
</div>
<a href="#" target="_blank">HOME</a>
</div>
</div>
@jaikt
jaikt / index-style.css
Created August 30, 2021 08:38
Index Directory CSS Code
*{
background: #DFCFBE;
}
/*Add the following code*/
.logo{
display: block;
margin-left: auto;
margin-right: auto;
@jaikt
jaikt / add-background.css
Last active August 29, 2021 18:26
Add Background In CSS
*{
background: #DFCFBE /* Edit This Colour Code*/;
}
<center class="logo"><a href="#"><img src="logo.png"></a></center>
<center class="content">
<h1>◺Browse Projects◿</h1>
<a href="https://tipstech.online/projects/lamp-project/" target="_blank" class="underline">Lamp Project <i class="fas fa-long-arrow-alt-right"></i></a></li><br>
<br>
<a href="https://tipstech.online/projects/airplane-takeoff/" target="_blank" class="underline">Flight Takeoff <i class="fas fa-long-arrow-alt-right"></i></a></li><br>
<br>
<a href="https://tipstech.online/projects/sharing-buttons/" target="_blank" class="underline">Sharing Buttons <i class="fas fa-long-arrow-alt-right"></i></a></li><br>
<br>
<a href="https://tipstech.online/projects/fancy-text-generator/" target="_blank" class="underline">Fancy Text Genrator <i class="fas fa-long-arrow-alt-right"></i></a></li><br>