Skip to content

Instantly share code, notes, and snippets.

View kedazo's full-sized avatar
💭

David Kedves kedazo

💭
View GitHub Profile
$ cat ~/.config/freshwrapper.conf
# Configuration options for FreshPlayerPlugin
# This configuration file is optional. Wrapper will search for it first
# in ~/.config/freshwrapper.conf, then in /etc/freshwrapper.conf.
# If wrapper fails to find configuration, it will use default values,
# which you can find below
# Audio buffer is used to continuously provide sound adapter with data.
# Values too low may lead to buffer underruns and stuttering. Values
seq-read: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
rand-read: (g=1): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
seq-write: (g=2): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
rand-write: (g=3): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
fio-2.1.11
Starting 4 processes
seq-read: Laying out IO file(s) (1 file(s) / 1024MB)
Jobs: 1 (f=1): [_(3),w(1)] [100.0% done] [0KB/174.4MB/0KB /s] [0/44.7K/0 iops] [eta 00m:00s]
seq-read: (groupid=0, jobs=1): err= 0: pid=30792: Wed Jan 27 14:19:04 2016
read : io=1024.0MB, bw=241942KB/s, iops=60485, runt= 4334msec
seq-read: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
rand-read: (g=1): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
seq-write: (g=2): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
rand-write: (g=3): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
fio-2.1.11
Starting 4 processes
seq-read: Laying out IO file(s) (1 file(s) / 1024MB)
Jobs: 1 (f=1): [_(3),w(1)] [64.0% done] [0KB/92KB/0KB /s] [0/23/0 iops] [eta 01m:20s]
seq-read: (groupid=0, jobs=1): err= 0: pid=12612: Wed Jan 27 14:22:12 2016
read : io=1024.0MB, bw=118416KB/s, iops=29604, runt= 8855msec
seq-read: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
rand-read: (g=1): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
seq-write: (g=2): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
rand-write: (g=3): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=4
fio-2.1.11
Starting 4 processes
seq-read: Laying out IO file(s) (1 file(s) / 1024MB)
Jobs: 1 (f=1): [_(3),w(1)] [100.0% done] [0KB/117.2MB/0KB /s] [0/30.2K/0 iops] [eta 00m:00s]
seq-read: (groupid=0, jobs=1): err= 0: pid=8407: Wed Jan 27 14:23:29 2016
read : io=1024.0MB, bw=194685KB/s, iops=48671, runt= 5386msec
kedz@kedz-i7s850:~$ cat ~/.config/roxterm.sourceforge.net/Colours/xterm-gnome-terminal
[roxterm colour scheme]
0=#000000000000
1=#CDCB00000000
2=#0000CDCB0000
3=#CDCBCDCB0000
4=#1E1A908FFFFF
5=#CDCB0000CDCB
6=#0000CDCBCDCB
# create a new directory chroot:
rinse --distribution centos-6 --arch amd64 --directory /mnt/data/rootstraps/centos6/
# schroot configuration up, put this to /etc/schroot/schroot.conf :
[centos6]
description=CentOS6 chroot
type=directory
directory=/mnt/data/rootstraps/centos6
$ cat ft_install_suite.sh
#!/bin/bash
OSES="centos66 centos70 debian7 debian8 ubuntu1204 ubuntu1404"
for os in $OSES; do
ft_install/ft_install --mysql-version=5.6 --vendor=percona --os=$os
ft_install/ft_install --mysql-version=10.1 --vendor=mariadb --os=$os
ft_install/ft_install --mysql-version=5.6 --vendor=codership --os=$os
done
@kedazo
kedazo / example.ino
Created November 24, 2016 13:09
WeMos D1 wifi scan example
/*
* ESP8266 CheckFlashConfig by Markus Sattler
*
* This sketch tests if the EEPROM settings of the IDE match to the Hardware
*
* https://github.com/esp8266/Arduino/blob/master/libraries/esp8266/examples/CheckFlashConfig/CheckFlashConfig.ino
*/
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
root@ubuntu-xenial:~# apt-get install percona-xtrabackup
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl libterm-readkey-perl
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libdbd-mysql-perl libmysqlclient20 mysql-common
The following NEW packages will be installed: