Skip to content

Instantly share code, notes, and snippets.

@t-chab
t-chab / TVHeadend frequencies.md
Last active May 8, 2018 14:39
TVHeadend french frequencies for Toulouse city

Here's the french DVB-T Multiplex frequencies for using with Tvheadend software in Toulouse city.

In Tvheadend, go to Configuration tab, DVB Inputs, then Muxes. Click on Add button, choose network, then set the frequency to one of the values below, set Bandwidth to 8Mhz, and everything else to AUTO

  • R1 : 506.166 Mhz (25H - 3.3kW)
  • R2 : 610.166 Mhz (38H - 4kW)
  • R3 : 498.166 Mhz (24H - 4kW)
  • R4 : 522.166 Mhz (27H - 3.2kW)
  • R5 : 506.166 Mhz stopped on April, 5th 2016
  • R6 : 594.166 Mhz (36H - 3.6kW)
@t-chab
t-chab / retroarch.cfg
Last active December 31, 2016 09:46
Retroarch setup utility script and config files
config_save_on_exit = "true"
input_max_users = "15"
input_menu_toggle_gamepad_combo = "0"
input_axis_threshold = "0.500000"
ui_companion_start_on_boot = "true"
video_gpu_record = "false"
input_remap_binds_enable = "true"
back_as_menu_toggle_enable = "true"
netplay_client_swap_input = "true"
input_descriptor_label_show = "true"
prefix=/home/username/.npm_globals
https-proxy=http://proxy-host:proxyport/
proxy=http://proxy-host:proxy-port
@t-chab
t-chab / Vagrantfile
Created December 17, 2015 14:06
Vagrantfile to propagate http_proxy config to guest
Vagrant.configure("2") do |config|
puts "proxyconf..."
if Vagrant.has_plugin?("vagrant-proxyconf")
puts "find proxyconf plugin !"
if ENV["http_proxy"]
puts "http_proxy: " + ENV["http_proxy"]
config.proxy.http = ENV["http_proxy"]
end
if ENV["https_proxy"]
puts "https_proxy: " + ENV["https_proxy"]
ip ro change default via GATEWAY_IP dev eth0 src IFACE_IP
@t-chab
t-chab / private.xml
Last active January 31, 2017 10:56
Karabiner french mapping for use with Remote Desktop
<?xml version="1.0"?>
<root>
<appdef>
<appname>Microsoft Remote Desktop</appname>
<equal>com.microsoft.rdc.mac</equal>
</appdef>
<item>
<name>French Mac keyboard A1314 using the Microsoft Remote Desktop App</name>
<appendix>Assure all keys written on the keyboard to be the same on the remote server.</appendix>
<appendix>Done for Version 8.0.12 (Build 25282)</appendix>
{
"version": "0.9.17.2.2159-2bd156c"
}
#!/usr/bin/env sh
ffmpeg -i "$1" -vcodec libx264 -vprofile high -preset slower -b:v 3500k -vf scale=-1:720 -threads 0 -acodec libvo_aacenc -ab 256k /tmp/mobile_devices_converted.mp4
@t-chab
t-chab / chmod.sh
Created June 22, 2016 12:04
Recursive chmod 755-644
chmod -R u+rwX,g+rwX,o-w /path
{
"scenarios": [{
"period": {
"start": 2015,
"unit": "year"
},
"test_case": {
"individus": [{
"id": "Personne 1"
}],