Skip to content

Instantly share code, notes, and snippets.

Amar Ilindra amarilindra

Block or report user

Report or block amarilindra

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@amarilindra
amarilindra / VM_code.bat
Created Nov 27, 2018
Installing macOS (OS X) on Windows 10 PC or Laptop using Virtual Box
View VM_code.bat
cd "C:\Program Files\Oracle\VirtualBox\"
VBoxManage.exe modifyvm "Name of your Virtual Machine" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "Name of your Virtual Machine" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3"
VBoxManage setextradata "Name of your Virtual Machine" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "Name of your Virtual Machine" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple"
VBoxManage setextradata "Name of your Virtual Machine" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "Name of your Virtual Machine" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
@amarilindra
amarilindra / pragmaSolidity.sol
Created Nov 13, 2018
Learn with the Smart Education Solution
View pragmaSolidity.sol
//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 Sep 4, 2018
Add Noindex and Nofollow meta tag to WordPress attachment pages
View functions.php
/*
*
* Author: Amar Ilindra
* URL: https://www.geekdashboard.com/
*
* Add this code in your themes function.php file
*/
/*
@amarilindra
amarilindra / geek.cmd
Last active Jul 18, 2017
Fix Error 0x80070005 - Access is Denied in Windows
View geek.cmd
@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 Mar 5, 2017
Home Page template of AmarIlindra.com
View custom-static-page-template.php
<?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/" />
View mbp-ninja-affiliate.cls.php
<?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
@amarilindra
amarilindra / comments-before-widget.php
Last active Jan 4, 2017
Widget Before Comments Section
View comments-before-widget.php
//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' ), ) );
@amarilindra
amarilindra / genesis-simple-edit-entry-meta-field
Created May 8, 2015
Add this line in Genesis Simple Edits; Entry Meta (above content) field
View genesis-simple-edit-entry-meta-field
Last Updated on [post_modified_date] By [post_author_posts_link] [post_comments] [post_edit]
@amarilindra
amarilindra / Last-upadted-date-genesis
Created May 8, 2015
Add this to code to your themes functions.php file to show last modified date in Genesis powered child themes
View Last-upadted-date-genesis
// Code for showing last updated date in Genesis Child Themes --- BEGIN --
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
if ( !is_page() ) {
$post_info = 'Last Updated on [post_modified_date] by [post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}}
// Code for showing last updated date in Genesis Child Themes --- END -- (www.GeekDashboard.com)
You can’t perform that action at this time.