I hereby claim:
- I am comzeradd on github.
- I am comzeradd (https://keybase.io/comzeradd) on keybase.
- I have a public key whose fingerprint is 0A42 F419 4D19 DA71 11A1 BA09 3F35 3739 BCE4 F3DE
To claim this, I am signing this object:
# Accessible in http://127.0.0.1:8889 | |
# Username: admin | |
# Password: password | |
# On first run: | |
npm install | |
composer install | |
npm run build | |
npm run env:start | |
npm run env:install |
I hereby claim:
To claim this, I am signing this object:
USER= # your user account | |
rm /run/media/$USER/__/etc/systemd/system/graphical.target.wants/initial-setup-graphical.service | |
rm /run/media/$USER/__/etc/systemd/system/multi-user.target.wants/initial-setup-text.service | |
mkdir /run/media/$USER/__/root/.ssh/ | |
cat /home/$USER/.ssh/id_rsa.pub >> /run/media/$USER/__/root/.ssh/authorized_keys | |
chmod -R u=rwX,o=,g= /run/media/$USER/__/root/.ssh/ |
<!DOCTYPE html> | |
<html lang="en" ng-app="mail"> | |
<head> | |
<title>Mail Data</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
</head> | |
<body> | |
<div ng-view ng-controller="mailsCtrl"> |
#!/usr/bin/env python3 | |
import json | |
import sys | |
import socket | |
from datetime import datetime, timedelta | |
EPOCH_DATE = datetime.strptime('20000101T000000Z', '%Y%m%dT%H%M%SZ') | |
UDP_IP = '127.0.0.1' | |
UDP_PORT = 16886 |
#!/usr/bin/env python | |
# Using https://github.com/comzeradd/python-etherpad_lite | |
from etherpad_lite import EtherpadLiteClient, EtherpadException | |
import os | |
# Etherpad-lite API key and url | |
apikey = '' | |
base_url = '' | |
# Directory of old pad txt dumps |
import random | |
from glob import glob | |
from pydub import AudioSegment | |
playlist_songs = [AudioSegment.from_mp3(mp3_file) for mp3_file in glob("*.mp3")] | |
random.shuffle(playlist_songs) | |
playlist = playlist_songs.pop(0) | |
for song in playlist_songs: | |
playlist = playlist.append(song, crossfade=(15 * 1000)) |
#!/usr/bin/env bash | |
# Delete .pyc files and empty directories from root of project | |
cd ./$(git rev-parse --show-cdup) | |
NUM_PYC_FILES=$( find . -name "*.pyc" | wc -l | tr -d ' ' ) | |
if [ $NUM_PYC_FILES -gt 0 ]; then | |
find . -name "*.pyc" -delete | |
printf "\e[00;31mDeleted $NUM_PYC_FILES .pyc files\e[00m\n" | |
fi |
from boto.s3.connection import S3Connection | |
# initiate the connection | |
conn = S3Connection(ACCESSKEY, SECRETKEY) | |
b = conn.get_bucket(BUCKET) | |
# Create a new multipart object out of 2 parts | |
mp = b.initiate_multipart_upload('joinedfile') | |
mp.copy_part_from_key(b.name, 'part1', 1) | |
mp.copy_part_from_key(b.name, 'part2', 2) |