I hereby claim:
- I am kawaii on github.
- I am kawaii (https://keybase.io/kawaii) on keybase.
- I have a public key whose fingerprint is 5613 A3E7 3410 AC9A A49D A5F2 E2C7 A79A FD80 B1E8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
ANONYMOUS POSTING - 2017-03-03
Create the following two files in your /etc/systemd/system/ directory:
mybb.service:
[Unit]
Description=MyBB Tasks
[Service]
User=www-data
ExecStart=/usr/bin/php /var/www/mybb/task.php
Movim is a decentralized social network, written in PHP and HTML5 and based on the XMPP standard protocol. One of my faviourite features in Movim is that you can send stickers to your friends. By default Movim comes bundled with a few sticker packs but if like me you'd like to extend this and add your own then it's surprisingly not too difficult! There are three main components to creating your own sticker pack:
You'll need to find the following directory on your Movim server filesystem:
/var/www/movim/app/widgets/Stickers/stickers/
Within this directory you will see the default Movim sticker packs i.e. 'mochi' and 'racoon'. Create a new directory here, for this example call it 'mystickers' or something. Within this directory create a new file called 'info.ini'. The contents of this file describe some basic information about the sticker pack. Here is an example from the 'racoon' set:
# change home directories to UIDs in an LDIF file | |
perl -0777 -p -i.bak -e's{homeDirectory: .+?$(.*?uidNumber: (\d+))}{homeDirectory: /home/$2$1}msg' ou-test.ldif |
This document goes into depth on my experiments with deploying a Docker Swarm with a CEPH block storage cluster as a backend for volumes and persistent data. We'll be using what appears to be the latest stable release of CEPH, v13.2.2 "Mimic". This was a fairly mind-numbing procedure to learn and perfect, CEPH's documentation is quite complicated (maybe I'm just dumb).
Here's what I deployed in the morning before setting up the cluster;
config
and Salt roster
files if you need to/dev/vdb
10GB block device attached to each VMversion: '3.7' | |
services: | |
mybb: | |
image: mybb/mybb:1.8.22 | |
environment: | |
restart: on-failure | |
volumes: | |
- ${PWD}/mybb:/var/www/html | |
nginx: |
upstream mybb { | |
server mybb:9000 weight=5; | |
} | |
server { | |
listen 80; | |
root /var/www/html; | |
index index.html index.php; |
/misc.php?action=awards
, listing award categories and an icon, description and recipients counter/misc.php?action=awards&id=X
per award listing each recipient
, the reason
they were granted the award and the date
recievedcannot be hidden
equipable
flag, and if set allows selection of which slot they fitmy %stat-boosts = attack => 4, speed => -2;