I hereby claim:
- I am eendroroy on github.
- I am eendroroy (https://keybase.io/eendroroy) on keybase.
- I have a public key ASB-Rwpe8CSZGu5AA6HG439dzZtlQBIX0RgMbfulbyBw_Qo
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# install rbenv | |
wget https://raw.githubusercontent.com/eendroroy/loki-bootstrap/master/customs/rbenv.sh -O - | bash | |
# set paths | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
exec $SHELL |
#!/usr/bin/env bash | |
cd /tmp | |
latest_series=`curl https://downloads.wkhtmltopdf.org/ | grep "^<a" | sed 's|"| |g' | awk '{print $3}' | head -1` | |
releases=`curl https://downloads.wkhtmltopdf.org/${latest_series} | grep "^<a" | sed 's|"| |g' | awk '{print $3}'` | |
echo "Available Releases: -" | |
latest="" | |
for rel in $releases; do | |
echo "==> ${rel}" | tr -d "/" |
I hereby claim:
To claim this, I am signing this object:
---
BUNDLE_PATH: "vendor"
BUNDLE_DISABLE_SHARED_GEMS: "true"
BUNDLE_BUILD__LIBV8: "--with-system-v8"
BUNDLE_BUILD__PUMA: "--with-opt-dir=/usr/local/opt/openssl"
BUNDLE_BUILD__EVENTMACHINE: "--with-cppflags=-I/usr/local/opt/openssl/include --with-ldflags=-I/usr/local/opt/openssl/lib"
#!/usr/bin/env bash | |
clear | |
printf "Checking dependency...\n" | |
XDOTOOL_INSTALLED=$(dpkg-query -W -f='${Status}' xdotool 2>/dev/null | grep -c "ok installed") | |
if [ $XDOTOOL_INSTALLED -eq 0 ]; | |
then | |
printf "\a" | |
printf "Unmet dependency:\n xdotool" | |
printf "\nDo you want to install required packages (Y/n)?" |
/** | |
* @author indrajit | |
*/ | |
class AesCryptoUtil(secret: String) { | |
private val secretKey: SecretKeySpec | |
init { | |
var key: ByteArray = secret.toByteArray(StandardCharsets.UTF_8) | |
val sha = MessageDigest.getInstance("SHA-1") | |
key = sha.digest(key) |