ir-keytable -c -p rc-6
ir-keytable -t
vi /etc/rc_keymap/rc_philips
# sudo ir-keytable -c -p RC6 -w /home/d3trax/Docker/media_center/remote_keymap | |
# cp /usr/share/kodi/system/Lircmap.xml ~/.kodi/userdata/ | |
# sudo apt install lirc | |
# irw #- For testing | |
# sudo ir-keytable -t #- For testing low level | |
# sudo systemctl disable lircd-uinput.service #- Fix repeated keys confilct | |
# Rename Lircmap.xml device to lirc device name | |
# | |
# | |
0x270c KEY_STOP |
#!/usr/bin/env python3 | |
import concurrent | |
import csv | |
import hashlib | |
import os | |
import sys | |
import time | |
from concurrent.futures import ThreadPoolExecutor, _base | |
from contextlib import closing |
sudo apt-get install libevent-extra-2.0-5 libevent-dev libevent-core-2.0-5 libevent-2.0-5 libssl-dev | |
git clone https://bitbucket.org/osmanov/pecl-event/ | |
cd pecl-event/ | |
sudo pecl install package.xml | |
sudo bash -c 'echo "extension=event.so" > /etc/php/7.2/mods-available/pecl-event.ini' | |
sudo ln -s /etc/php/7.2/mods-available/pecl-event.ini /etc/php/7.1/cli/conf.d/20-pecl-event.ini | |
sudo ln -s /etc/php/7.2/mods-available/pecl-event.ini /etc/php/7.1/fpm/conf.d/20-pecl-event.ini | |
php -i | grep 20-pecl-event.ini | |
sudo apt-get install -y git python-pip make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev | |
# optional scientific package headers (for Numpy, Matplotlib, SciPy, etc.) | |
sudo apt-get install -y libpng-dev libfreetype6-dev | |
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash | |
# the following to ~/.bashrc: | |
export PATH="~/.pyenv/bin:$PATH" |
#!/bin/bash | |
FOLDER_NAME="GnuParallel" | |
try() | |
{ | |
local BG= | |
local QU= | |
local TITLE=$1 | |
shift |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
package main | |
import ( | |
"fmt" | |
"log" | |
"strconv" | |
"github.com/miekg/dns" | |
) |
Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.
I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.
This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.
You are encouraged to fork this and modify it to your heart's content to match your o
[ | |
{"city" : "Bab Ezzouar", "country":"Algeria"}, | |
{"city" : "Babol", "country":"Iran"}, | |
{"city" : "Babruysk", "country":"Belarus"}, | |
{"city" : "Bacău", "country":"Romania"}, | |
{"city" : "Bacolod", "country":"Philippines"}, | |
{"city" : "Bacoor", "country":"Philippines"}, | |
{"city" : "Badajoz", "country":"Spain"}, | |
{"city" : "Badalona", "country":"Spain"}, | |
{"city" : "Bafoussam", "country":"Cameroon"}, |