Skip to content

Instantly share code, notes, and snippets.

Avatar
💯
Focusing

Amar Ilindra amarilindra

💯
Focusing
View GitHub Profile
@amarilindra
amarilindra / split_csv.bat
Created October 21, 2022 11:59
Split CSV Files
View split_csv.bat
split -l 1000 -d FILE_NAME.csv file_
for i in $(find file_*); do mv $i "$i.csv"; done
@amarilindra
amarilindra / slugify_excel
Created October 21, 2022 11:51
Create Slug from Any String in Excel and Google Sheets Without LAMDA
View slugify_excel
=SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
SUBSTITUTE(
@amarilindra
amarilindra / invite_all_friends_event.js
Created July 30, 2022 06:22
Invite All Facebook Friends to Event
View invite_all_friends_event.js
javascript:var geekdashboard = document.getElementsByClassName('_1pt_ _1pu0');
for(var invite=0; invite<geekdashboard.length;invite++) {
geekdashboard[invite].click();
}
@amarilindra
amarilindra / invite_all_friends_page.js
Created July 30, 2022 06:17
Invite All Facebook Friends to Page
View invite_all_friends_page.js
javascript:var geekdashboard = document.getElementsByClassName('uiButton _1sm');
for(var invite=0; invite<geekdashboard.length;invite++) {
geekdashboard[invite].click();
}
@amarilindra
amarilindra / sources.list
Created March 3, 2022 11:12
Installing Firefox Standard Version on ARM-based Chromebooks
View sources.list
[Desktop Entry]
Name=Firefox
Comment=Browse the World Wide Web
GenericName=Web Browser
X-GNOME-FullName=Firefox Web Browser
Exec=/home/USERNAME/firefox/firefox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=firefox-esr
@amarilindra
amarilindra / VM_code.bat
Created November 27, 2018 14:21
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 November 13, 2018 12:02
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 September 4, 2018 17:03
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 July 18, 2017 06:20
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 March 5, 2017 17:28
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/" />