Skip to content

Instantly share code, notes, and snippets.

View Aadv1k's full-sized avatar
🔨
Building

Aadvik Pandey Aadv1k

🔨
Building
View GitHub Profile
@Aadv1k
Aadv1k / .vimrc
Last active February 23, 2024 06:10
A minimal, yet highly functional `.vimrc` I use everywhere (windows, linux, gvim)
syntax on
if has("gui_running")
set guifont=Iosevka\ Curly:h12
set guioptions-=m
set guioptions-=T
set guioptions-=r
endif
@Aadv1k
Aadv1k / gulpfile.js
Last active February 9, 2022 12:34
An imperfect gulpfile
/*
* File: gulpfile.js
* Author: Aadvik<[email protected]>
* Description: A simple gulp based js and sass setup with browser reload
* Source: https://gist.github.com/Aadv1k/b5b67161877357fbf5992dd34f0e7143
* License: GNU Public licence
* Build: `npm init -y && npm install -D gulp gulp-cli uglify gulp-uglify sass gulp-sass browser-sync`
*/
const gulp = require("gulp");
@Aadv1k
Aadv1k / utils.lua
Last active February 17, 2022 04:59
A simple utils file for lua inspired by JavaScript and some other helpful functions
------------------------------------------------------------------
-- NAME: utils.lua
-- AUTHOR: Aadvik<[email protected]>
-- DESCRIPTION: A simple utils file.
-- LICENCE: GNU Public license
------------------------------------------------------------------
function table.indexOf(tab, elem)
for i,v in pairs(tab) do
if v == elem then