Works fine for Xorg and I think partially for Wayland (not all application).
Source: https://askubuntu.com/a/1305020/224204
Actions to do as ROOT
Works fine for Xorg and I think partially for Wayland (not all application).
Source: https://askubuntu.com/a/1305020/224204
Actions to do as ROOT
define([ | |
'base/js/namespace', | |
'notebook/js/codecell' | |
], function ( | |
Jupyter, | |
codecell | |
) { | |
"use strict"; | |
return { |
Source: https://www.reddit.com/r/Fedora/comments/4mcya9/no_mouse_sensitivity_slider_in_fedora_23/ | |
xinput --list | |
xinput --list-props 16 | |
xinput --set-prop 16 284 0.30000 |
package main | |
// #cgo LDFLAGS: --static | |
// #cgo CPPFLAGS: -L/usr/lib/x86_64-linux-gnu/ -I/usr/include/opencv | |
// #cgo CXXFLAGS: -L/usr/lib/x86_64-linux-gnu/ -I/usr/include/opencv | |
// #cgo LDFLAGS: -L/usr/lib/x86_64-linux-gnu/ -I/usr/include/opencv | |
// #cgo LDFLAGS: -lopencv_imgproc -lopencv_core | |
// #cgo LDFLAGS: -lopencv_calib3d -lopencv_contrib -lopencv_features2d -lopencv_flann -lopencv_gpu -lopencv_highgui -lopencv_legacy -lopencv_ml -lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching -lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab | |
// #cgo LDFLAGS: -lm -lstdc++ |
The only reason coders' computers work better than non-coders' computers is coders know computers are schizophrenic little children with auto-immune diseases and we don't beat them when they're bad.
from: programming-sucks
#!/usr/bin/env python | |
import requests | |
import urllib | |
import time | |
import webbrowser | |
import json | |
AUTH_JSON = { | |
"installed": { |
package main //this is important | |
inst, err = aetest.NewInstance(options) | |
if err != nil { | |
panic(err) | |
} | |
req, err = inst.NewRequest("GET", "/", nil) | |
if err != nil { | |
panic(err) |
xmodmap -e "keycode 12=3 numbersign" |
#include <sys/time.h> | |
struct timeval t0; | |
gettimeofday(&t0, NULL); | |
// Do stuff | |
struct timeval t1; | |
gettimeofday(&t1, NULL); |