Skip to content

Instantly share code, notes, and snippets.

View uranio-235's full-sized avatar
🐚
C# Developer at Work

Lázaro Armando uranio-235

🐚
C# Developer at Work
  • ChipojoSoft
  • Portugal
  • 21:28 (UTC +01:00)
View GitHub Profile
@uranio-235
uranio-235 / tilda.strace
Created October 17, 2016 19:50
tilda strace
/*
[lazaro@artema ~]$ tilda
[xcb] Extra reply data still left in queue
[xcb] This is most likely caused by a broken X extension library
[xcb] Aborting, sorry about that.
tilda: xcb_io.c:568: _XReply: Assertion `!xcb_xlib_extra_reply_data_left'
failed.
Aborted (core dumped)
[lazaro@artema ~]$ tilda
Segmentation fault (core dumped)
# Format: 'protocol::agent'
DLAGENTS=('ftp::/usr/bin/wget --limit-rate 90K -c -O %o %u'
'http::/usr/bin/wget --limit-rate 90K -c -O %o %u'
'https::/usr/bin/wget --limit-rate 90K -c -O %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o')
[lazaro@artema ~]$ su
Password:
[root@artema lazaro]# libinput-list-devices
Device: Power Button
Kernel: /dev/input/event4
Group: 1
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
[root@artema lazaro]# udevadm info /dev/input/event10
P: /devices/platform/i8042/serio1/input/input11/event10
N: input/event10
E: DEVNAME=/dev/input/event10
E: DEVPATH=/devices/platform/i8042/serio1/input/input11/event10
E: ID_BUS=i8042
E: ID_INPUT=1
E: ID_INPUT_HEIGHT_MM=16
E: ID_INPUT_TOUCHPAD=1
E: ID_INPUT_TOUCHPAD_INTEGRATION=internal
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (II) LoadModule: "libinput"
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (WW) Warning, couldn't open module libinput
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (II) UnloadModule: "libinput"
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (II) Unloading libinput
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (EE) Failed to load module "libinput" (module does not exist, 0)
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (EE) No input driver matching `libinput'
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mou
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (**) ETPS/2 Elantech Touchpad: Applying InputClass "ETPS/2 Elantech Touchpad"
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (II) LoadModule: "libinput"
oct 31 01:09:44 artema /usr/lib/gdm/gdm-x-session[3901]: (WW) Warning, couldn't open module li
@uranio-235
uranio-235 / gist:8de5fbb0ed5f84012a4f3e39dccd509a
Last active November 24, 2016 21:47
carreta de picadillo para CONNECT
#!/bin/bash
tc qdisc add dev eth0 parent root handle 1: hfsc default 11
tc class add dev eth0 parent 1: classid 1:1 hfsc sc rate 128mbit ul rate 128mbit
tc class add dev eth0 parent 1:1 classid 1:11 hfsc sc rate 99999kbit ul rate 100000kbit
tc class add dev eth0 parent 1:1 classid 1:12 hfsc sc rate 80kbit ul rate 80kbit
tc qdisc add dev eth0 parent 1:11 handle 11:1 pfifo
[root@leviatan ~]# cat /etc/nginx/sites-enabled/rails
server {
# en que ip debe escuchar
listen 10.1.1.4:80;
# cual es el nombre del virutalhost
server_name rails.hcg.sld.cu;
# has proxy inverso para todo hacia 127.0.0.1 puerto 400
location / {
proxy_pass http://192.168.0.10:3000;
proxy_set_header Host $host;
}
@uranio-235
uranio-235 / gist:e44cf156c0c3c2cedcb03c618407a973
Last active November 30, 2016 22:47
~/.local/share/Steam/config/loginusers.vdf
"users"
{
"76561198309924420"
{
"AccountName" "fulanito"
"PersonaName" "Fulano de Tal"
"RememberPassword" "1"
"Timestamp" "1480539910"
"WantsOfflineMode" "0"
"SkipOfflineModeWarning" "0"
npm ERR! h5ai@0.29.0 build: `node ghu release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the h5ai@0.29.0 build script.
npm ERR! This is most likely a problem with the h5ai package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ghu release
npm ERR! You can get their info via:
npm ERR! npm owner ls h5ai