In many tech conferences, attendees are invited to rate the talk and/or the speaker from 1 to 5 stars. This type of ratings is interesting but has a few drawbacks.
The discussion started as a twitter thread with this french proposition.
In many tech conferences, attendees are invited to rate the talk and/or the speaker from 1 to 5 stars. This type of ratings is interesting but has a few drawbacks.
The discussion started as a twitter thread with this french proposition.
| ID=`xinput list | grep TypeMatrix | grep keyboard | sed 's/.*id=\([0-9]*\).*/\1/'` && setxkbmap -device $ID dvorak -option compose:ralt | |
| # mapping insert on mail key | |
| xmodmap -e 'keycode 163=Insert' |
| ## Acer | |
| #SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0600", OWNER="<username>" | |
| ## ASUS | |
| #SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0600", OWNER="<username>" | |
| ## Dell | |
| #SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0600", OWNER="<username>" | |
| ## Foxconn |
| #!/bin/sh | |
| baseurl=http://mygitlaburl | |
| usermail=adminuser@mymailserver | |
| userpass=adminpassword | |
| repo_access=2 #0=denied 1=read 2=read&write | |
| project_access=2 #0=deined 1=read 2=report 3=admin | |
| # login | |
| curl -s -I -c cookies.txt -d "utf8=✓&user[email]=$usermail&user[password]=$userpass&commit=Sign+in" $baseurl/users/sign_in |
| # Setup a PPA repo, where the name is "user/ppaname", e.g. "blueyed/ppa" ("ppa" being the default) | |
| define pparepo($apt_key = "", $dist = $ppa_default_name, $supported = ["lucid", "hardy"], $ensure = present, $keyserver = "keyserver.ubuntu.com") { | |
| $name_for_file = regsubst($name, '/', '-', 'G') | |
| $file = "/etc/apt/sources.list.d/pparepo-${name_for_file}.list" | |
| file { "$file": } | |
| case $ensure { | |
| present: { | |
| if ($dist) and ($dist in $supported) { | |
| File["$file"] { |