With ubuntu 15.10, full clickpad support is provided by xserver-xorg-input-libinput. No further configuration needed. Tested with a T440s. (According to this)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function()%7Bwindow.addEventListener(%20'scroll'%2C%20(e)%20%3D%3E%20%7B%20localStorage.setItem('scrollY'%2C%20scrollY)%3B%20localStorage.setItem('zoom'%2C%20document.body.style.zoom)%3B%20%7D%20)%3Bwindow.addEventListener(%20'storage'%2C%20(e)%20%3D%3E%20%7B%20if%20(e.key%20%3D%3D%3D%20%22scrollY%22)%20%7B%20y%3DparseInt(e.newValue)%3B%20window.scrollTo(0%2C%20y)%3B%20%7D%3B%20if%20(e.key%20%3D%3D%3D%20%22zoom%22)%20%7B%20document.body.style.zoom%3De.newValue%3B%20%7D%3B%20%7D%20)%7D)() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image, ImageEnhance | |
import os | |
import subprocess | |
import sys | |
# Requires ffmpeg https://www.ffmpeg.org/ffmpeg.html | |
# Run script as | |
# python movie_color_bar.py input_video output_frame_folder output_image |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
lsusb
lists the fingerprint reader in the x240 as follows:
Bus 002 Device 003: ID 138a:0017 Validity Sensors, Inc.
There exists experimental driver support for this in a fork of libfprint for vfs5011 sensors, however you'll need to compile the driver yourself. To get the fingerprint sensor to work for lightdm login, su etc, follow these steps.
-
Install fingerprint-gui:
sudo add-apt-repository ppa:fingerprint/fingerprint-gui
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use this to block Spotify ad servers | |
# sources: | |
# https://www.reddit.com/r/Piracy/comments/4kn6rq/comprehensive_guide_to_blocking_ads_on_spotify/ | |
# https://gist.github.com/teomaragakis/cb187d880c9a3ca2c8a2 | |
# https://gist.github.com/Shujito/b7a8f8f971b22f49b4313d7d3e8e6931 | |
# https://gist.github.com/rifkyekayama/f7c43e470f23878b20416e68f73829dc | |
# https://gist.github.com/shokoylele/8f4160a102480471cb946fbd800bc86a | |
############## Begin manual list | |
# 127.0.0.1 spclient.wg.spotify.com # might block the entire Spotify app from working too |
This is code to convert a string to a type based on discussions here:
https://groups.google.com/d/msg/julia-dev/q9lG55PMdlc/C3IRKbKXcpoJ
type UnsupportedType
end
is_valid_type_ex(s::Symbol) = true
is_valid_type_ex(x::Int) = true
This is code to convert a string to a type based on discussions here:
https://groups.google.com/d/msg/julia-dev/q9lG55PMdlc/C3IRKbKXcpoJ
type UnsupportedType
end
is_valid_type_ex(s::Symbol) = true
is_valid_type_ex(x::Int) = true
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Documenter | |
using Documenter: Selectors, Expanders, Markdown | |
using Documenter.Markdown: Link, Paragraph | |
struct DatabaseLookup <: Expanders.ExpanderPipeline end | |
Selectors.order(::Type{DatabaseLookup}) = 0.5 | |
Selectors.matcher(::Type{DatabaseLookup}, node, page, doc) = false | |
match_kw(x::String) = ismatch(r"\@library\[example\] \"(.*)\"", x) | |
match_kw(x::Paragraph) = any(match_kw, x.content) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
custom_replacements = Dict{Regex, Function}( | |
r"@fetch_sample_from_database: \"(.*)\"" => function (match)::String | |
database_key = match.captures[1] | |
source = find_source(global_database, database_key) | |
# return a String with any markdown accepted by Documenter: | |
""" | |
```@example | |
$source | |
``` | |
""" |
NewerOlder