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
const data = { | |
"adjectives":["adorable","affectionate","aggressive","agreeable","alert","amazing","ambitious","angry","anxious","appealing","artistic","athletic","attractive","auspicious","authoritative","balanced","bold","brave","bright","brilliant","bubbly","calm","candid","capable","carefree","careful","caring","charming","cheerful","clever","clumsy","cooperative","courageous","creative","curious","daring","defensive","delightful","determined","diligent","dramatic","dynamic","eager","easygoing","elegant","energetic","enthusiastic","expressive","faithful","fearless","friendly","funny","generous","gentle","genuine","gloomy","graceful","grateful","gregarious","grumpy","handsome","happy","hardworking","harmonious","hasty","helpful","honest","humble","humorous","imaginative","immature","immortal","insecure","intelligent","intuitive","inventive","jack-of-all-trades","jovial","joyful","kind","kooky","lazy","lighthearted","lively","loyal","lucky","mature","mellow","meticulous","modest","motivated","mysterious", |
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 bash | |
user="$USER" | |
password="$PASSWORD" | |
host="$HOST" | |
iplookup=https://icanhazip.com | |
lastip="" |
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
import cv2 | |
import imageio | |
import numpy | |
image = cv2.imread("input.png") | |
image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) | |
image[image > 128] = 255 | |
image[image < 129] = 0 | |
kernel = numpy.array([ |
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
#!/bin/bash | |
file=$1 | |
duration=$2 | |
help() { | |
cat <<EOF | |
SYNMOPSIS: speedup FILE LENGTH | |
LENGTH is in seconds |
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
package main | |
import ( | |
"fmt" | |
"math" | |
"strconv" | |
"strings" | |
) | |
const ( |
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
<button onclick="start()" id="start">Start</button> | |
<script> | |
var audio; | |
const TEMPO = 120; | |
const BEATS = 4; | |
const SUB = 8; | |
const OSCILLATOR = 1; | |
const PERCUSSION = 2; |
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
#!/bin/bash | |
# sends oncompressed data from server to client | |
# dependencies: tar, pv, awk, netcat | |
# | |
# | |
# usage: {server | client} directory port [remote-address] | |
# | |
# remote-addess: use only in client mode | |
if test "$1" = "server"; then |