This file contains hidden or 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
rm_protect() { | |
for i in "$@" | |
do | |
if [ "$i" = '*' ] ;then | |
echo -n "Are you sure [rm * in $PWD] ? " | |
read j | |
if [ "$j" != y ]; then return; fi | |
fi | |
done | |
set +f |
This file contains hidden or 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
! /usr/bin/env python3 | |
import sys | |
import sqlite3 | |
import secretstorage | |
from Crypto.Cipher import AES | |
from Crypto.Protocol.KDF import PBKDF2 | |
This file contains hidden or 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
<html> | |
<head> | |
<title>Barry</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<script src="https://code.responsivevoice.org/responsivevoice.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/annyang/2.6.0/annyang.min.js"></script> | |
<script type="text/javascript"> | |
var accessToken = "5080ab2c28204a0a82de12bba8068f82", | |
baseUrl = "https://api.api.ai/v1/", |
This file contains hidden or 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> | |
<meta charset="utf-8"> | |
<style> | |
path { | |
stroke: #000; | |
stroke-width: 1.5; | |
cursor: pointer; | |
} |