This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FILENAME=/tmp/.lock-bg.$USER.png | |
# cleanup previous run (if any is remaining) | |
rm $FILENAME | |
# wait for rofi to close (optional - uncomment if you don't wanna see a leftover of rofi menu) | |
#sleep 1 | |
# take screenshot and blur it in memory, and dump only blurred version to disk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Automatic inheritance type resolver for Jackson. | |
* @author root_talis<https://github.com/root-talis> | |
* | |
* | |
* Usage: | |
* | |
* @JsonTypeInfo(use = JsonTypeInfo.Id.CUSTOM, include = JsonTypeInfo.As.PROPERTY, property = "discriminator") | |
* @JsonTypeIdResolver(InheritanceTypeIdResolver.class) | |
* class Animal { // can be abstract or interface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# PHP 7 Initial Compile # | |
# Author: Maulik Mistry | |
# Date: Aug 04, 2017 | |
# References: | |
# http://www.zimuel.it/install-php-7/ | |
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu | |
# | |
# License: BSD License 2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>GistRun</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"> | |
</head> | |
<body> | |
<div class="container-fluid" id="main"> | |
<div class="page-header"> |