alias: pixelclock_spotify | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: media_player.spotify_vistagamer | |
condition: [] | |
action: | |
- choose: | |
- conditions: | |
- condition: state |
alias: pixelclock_spotify | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: media_player.spotify_vistagamer | |
condition: [] | |
action: | |
- choose: | |
- conditions: | |
- condition: state |
[Desktop Entry] | |
Comment[en_US]= | |
Comment= | |
Exec=bash $HOME/xone_install_or_update.sh | |
GenericName[en_US]= | |
GenericName= | |
Icon=preferences-desktop-gaming | |
MimeType= | |
Name[en_US]=Install⁄Update Xone | |
Name=Install⁄Update Xone |
import pandas as pd | |
from math import sqrt | |
from manim import * | |
def create_model() -> tuple: | |
data = list(pd.read_csv("https://bit.ly/2KF29Bd").itertuples()) | |
m = ValueTracker(1.93939) | |
b = ValueTracker(4.73333) | |
ax = Axes( |
For KOReader (or any other APK) to be installed on a Tolino device, the debug menu has to be enabled:
- if the tolino is on system version 14, search for code
124816
source - if the tolino is on system version 15, search for code
1123581321
source - if the tolino is on system version 16, search for code
112358132fb
source
Note: "searching" as in the search for books on the tolino itself (the magnifying glass in the top bar)
#!/bin/bash | |
#--------------------------------------------------------------------------------# | |
# # | |
# Fix WSL DNS resolution with Cisco AnyConnect # | |
# # | |
# ! Don't forget to set this configuration in /etc/wsl.conf: # | |
# [network] # | |
# generateResolvConf = false # | |
# # | |
# Based on: # |
More recent resolution: | |
1. cd ~/../../etc (go to etc folder in WSL). | |
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line). | |
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line). | |
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian). | |
5. cd ~/../../etc (go to etc folder in WSL). | |
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file). | |
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and | |
secondary. |
For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.
After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft