Skip to content

Instantly share code, notes, and snippets.

Mrigank Krishan Mrigank11

Block or report user

Report or block Mrigank11

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
View keybase.md

Keybase proof

I hereby claim:

  • I am Mrigank11 on github.
  • I am mrigank (https://keybase.io/mrigank) on keybase.
  • I have a public key whose fingerprint is 1AEC 6F83 8183 8387 BE2E 5833 B284 C30D A0E9 9C63

To claim this, I am signing this object:

View gist:c8791189e7e4692345d198f9dfb84906
#backup.hook
[Trigger]
Operation = Upgrade
Operation = Remove
Type = Package
Target = linux
[Action]
Depends = coreutils
Depends = bash
@Mrigank11
Mrigank11 / klipper.sh
Last active Sep 12, 2018
klipper rofi integration script
View klipper.sh
#!/bin/zsh
klipper="qdbus org.kde.klipper /klipper org.kde.klipper.klipper"
get_content="$klipper.getClipboardHistoryMenu"
set_content="$klipper.setClipboardContents"
clear_history="$klipper.clearClipboardHistory"
show_klipper="$klipper.showKlipperPopupMenu"
get_item="$klipper.getClipboardHistoryItem"
#this fn. trims multiline to single line
function list(){
@Mrigank11
Mrigank11 / webpack.config.js
Created Feb 24, 2018
Minimal webpack3 config file configured for babel, sass and uglify
View webpack.config.js
const path = require('path');
const webpack = require('webpack');
//plugins
const HtmlWebpackPlugin = require('html-webpack-plugin');
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const ETP = require("extract-text-webpack-plugin");
//region arguments parsing
let argv = JSON.parse(process.env.npm_config_argv).original;
const prod = argv.indexOf("--prod") > -1 ? 1 : 0;
You can’t perform that action at this time.