I hereby claim:
- I am signalnine on github.
- I am gabeortiz (https://keybase.io/gabeortiz) on keybase.
- I have a public key whose fingerprint is D9E0 C6D4 2081 375E BE5A D4D2 0BAF 8BA8 9ED6 CB64
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
NODE="hostname.you.com" | |
IFS=$'\n' | |
for line in $(curl -s 'localhost:9200/_cat/shards' | fgrep UNASSIGNED); do | |
INDEX=$(echo $line | (awk '{print $1}')) | |
SHARD=$(echo $line | (awk '{print $2}')) | |
curl -XPOST 'localhost:9200/_cluster/reroute' -d '{ | |
"commands": [ | |
{ | |
"allocate": { |
#!/bin/bash | |
# Set the list of small words to ignore | |
ignore_list="a an and but or nor the" | |
# Loop through all files in the current directory | |
for file in * | |
do | |
# Split the file name and extension into separate variables | |
filename="${file%.*}" |
from collections import defaultdict | |
from datetime import datetime | |
from collections import Counter | |
def infer_cron_schedule(timestamps): | |
# Sort timestamps | |
timestamps.sort() | |
# Calculate intervals in seconds | |
intervals = [(timestamps[i+1] - timestamps[i]).seconds for i in range(len(timestamps)-1)] |
For the flavor base:
For the whole spice blend:
#!/bin/env python3 | |
import os | |
import glob | |
import aubio | |
# Function to detect beats | |
def detect_beats(audio_file): | |
# Initialize aubio beat detection | |
win_s = 1024 # fft size |
processor : 0 | |
BogoMIPS : 48.00 | |
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimd | |
fhm dit uscat ilrcpc flagm sb paca pacg dcpodp flagm2 frint | |
CPU implementer : 0x61 | |
CPU architecture: 8 | |
CPU variant : 0x0 | |
CPU part : 0x000 | |
CPU revision : 0 |