Skip to content

Instantly share code, notes, and snippets.

View amarilindra's full-sized avatar
💯
Focusing

Amar Ilindra amarilindra

💯
Focusing
View GitHub Profile
@amarilindra
amarilindra / pragmaSolidity.sol
Created November 13, 2018 12:02
Learn with the Smart Education Solution
//version 1.3
import "browser/SafeMath.sol";
import "browser/DateTime.sol";
contract ERC20 {
function totalSupply() public constant returns (uint256);
function balanceOf(address _owner) public constant returns (uint);
function transfer(address _to, uint _value) public returns (bool);
@amarilindra
amarilindra / functions.php
Created September 4, 2018 17:03
Add Noindex and Nofollow meta tag to WordPress attachment pages
/*
*
* Author: Amar Ilindra
* URL: https://www.geekdashboard.com/
*
* Add this code in your themes function.php file
*/
/*
@amarilindra
amarilindra / geek.cmd
Last active July 18, 2017 06:20
Fix Error 0x80070005 - Access is Denied in Windows
@echo off
setlocal
echo.
echo Determine whether we are on an 32 or 64 bit machine
echo.
if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto x86
@amarilindra
amarilindra / custom-static-page-template.php
Created March 5, 2017 17:28
Home Page template of AmarIlindra.com
<?php
/**
* Template Name: Custom Static Page
*/
?>
<head>
<title>Amar Ilindra - Blogger | Entrepreneur | Dog Lover</title>
<meta name="description" content="Amar Ilindra is one of the finest blogger from India completed his Computer Science and Engineering. He loves to code under moonlight and pet his dog."/>
<meta name="robots" content="noodp"/>
<link rel="canonical" href="http://amarilindra.com/" />
@amarilindra
amarilindra / comments-before-widget.php
Last active January 4, 2017 07:05
Widget Before Comments Section
//widget area right before the comments section
add_action( 'genesis_before_comments', 'my_widget_area' );
//Registering the widget area
genesis_register_sidebar( array( 'id' => 'after-post', 'name' => __( 'Before Comments ', 'geekdashboard' ), 'description' => __( 'Yoo This is the widget before Comments section.', 'geekdashboard' ), ) );
<?php
/*
* License: Copyright (c) 2008 Pawan Agrawal. All rights reserved.
*
* This code is part of commercial software and for your personal use
* only. You are not allowed to resell or distribute this script.
*
*/
/**
* MBPNinjaAffiliate - MaxBlogPress Ninja Affiliate Class