These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
These are my notes on instaling NixOS 16.03 on a Lenovo ThinkPad X1 Carbon (4th generation) with an encrypted root file system using UEFI.
Most of this is scrambled from the following pages:
| https://code.google.com/p/android/issues/detail?id=32696#c5 | |
| If you have a certificate that is not | |
| trusted by Android, when you add it, it goes in the personal cert store. | |
| When you add a cert in this personal cert store, the system requires a | |
| higher security level to unlock the device. But if you manage to add your | |
| cert to the system store then you don't have this requirement. Obviously, | |
| root is required to add a certificate to the system store, but it is quiet | |
| easy. |
| license: gpl-3.0 | |
| height: 960 |
| # Run a subprocess and parse output line-by-line in real-time | |
| # Note: if running Python in Bash file, use unbuffered mode (python -u). | |
| proc = subprocess.Popen(['bash', 'my_file.bsh'], bufsize=0, stdout=subprocess.PIPE) | |
| for line in iter(process.stdout.readline, b''): | |
| log.info(line.decode('utf-8')[:-1]) # [:-1] to cut off newline char | |
| proc.stdout.close() | |
| proc.wait() | |
| result = proc.returncode |
| // Updated example from http://rosettacode.org/wiki/Hello_world/Web_server#Rust | |
| // to work with Rust 1.0 beta | |
| use std::net::{TcpStream, TcpListener}; | |
| use std::io::{Read, Write}; | |
| use std::thread; | |
| fn handle_read(mut stream: &TcpStream) { | |
| let mut buf = [0u8 ;4096]; |
There are two ways - the first way is just one command run plainly in front of you; the second one runs in the background and in a different instance so you can get out of your ssh session and it will continue.
First make a folder to download the websites to and begin your downloading: (note if downloading www.SOME_WEBSITE.com, you will get a folder like this: /websitedl/www.SOME_WEBSITE.com/)
First, install arch-install-scripts:
sudo pacman -S --needed arch-install-scriptsSecondly, mount your partitions in all the internal hard drives.
Thirdly, generate and validate your config by piping it out to stdout:
deprecated
for_window [class="^.*"] border pixel 1
new_window 1pixel
thanks to deviatorslegacy's comment
Document here:
https://i3wm.org/docs/userguide.html#_default_border_style_for_new_windows
| #!/usr/bin/env python | |
| import os | |
| import requests | |
| import libxml2 | |
| import time | |
| import phue | |
| import daemon | |
| import lockfile | |
| import signal |