On RPi
- sudo apt-get install usbmuxd
- connect iPhone
On iPhone
- 
Trust 
| " Ollama Plugin: Send selected text or the whole buffer to Ollama | |
| " Escape the input | |
| function! EscapeSingleQuotes(input) | |
| " Escape single quotes for safe use in shell commands | |
| return substitute(a:input, "'", "'\"'\"'", "g") | |
| endfunction | |
| " Ensure the Command-Result (CR) window exists | |
| function! EnsureCRWindow() | 
This is a tutorial for building and installing the latest release version (0.7.3 as of writing) of "ZFS on Linux" on a Raspberry Pi 3 running Raspbian Stretch. Specifically, we'll be building the dkms version of ZoL, which saves you the hassle of re-compiling the kernel modules after every kernel update. Even though ZoL added support for building dkms packages for debian in version 0.7.3, the build process on a Raspberry Pi 3 is not quite straight-forward. Hopefully, these instructions will make it easier.
$ sudo apt-get update
$ sudo apt-get install build-essential autoconf libtool gawk alien fakeroot
$ sudo apt-get install dkms zlib1g-dev uuid-dev libattr1-dev libblkid-dev libselinux-dev libudev-dev libssl-dev parted lsscsi wget ksh| /** | |
| * Example to refresh tokens using https://github.com/auth0/node-jsonwebtoken | |
| * It was requested to be introduced at as part of the jsonwebtoken library, | |
| * since we feel it does not add too much value but it will add code to mantain | |
| * we won't include it. | |
| * | |
| * I create this gist just to help those who want to auto-refresh JWTs. | |
| */ | |
| const jwt = require('jsonwebtoken'); | 
| //----------------------------------*\ | |
| // TRIGONOMETRY FUNCTIONS | |
| //----------------------------------*/ | |
| // # Trigonometry in CSS | |
| // | |
| // - Through Taylor/Maclaurin polynomial representation: http://people.math.sc.edu/girardi/m142/handouts/10sTaylorPolySeries.pdf | |
| // - Useful if you don't want to use JS. | |
| // - With CSS Variables. | |
| // - `calc()` can't do power (x ^ y) so I used multiplication instead. | 
Download mssql from the microsoft website.
wget https://packages.microsoft.com/ubuntu/16.04/mssql-server/pool/main/m/mssql-server/mssql-server_14.0.1.246-6_amd64.deb
dpkg -i mssql-server_14.0.1.246-6_amd64.deb 
The next command will install dependancies.
sudo apt-get -f install 
Y = Base64URLEncode(Header) + ‘.’ + Base64URLEncode(Payload)
JWT = Y + ‘.’ + Base64URLEncode(HMACSHA256(Y))
The steps called out here should work on a Mac as well. The only thing that might be different is the
sedcommand used below. Instead of using-E, you will have to use-rto runsedwith extended regular expression support
printf "$USER:$(openssl passwd -crypt $PASSWORD)\n" >> .htpasswd| #!/bin/bash | |
| # Raspberry Pi ZRAM script | |
| # Tuned for quad core, 1 GB RAM models | |
| # put me in /etc/init.d/zram.sh and make me executable | |
| # then run "sudo update-rc.d zram.sh defaults" | |
| modprobe zram | |
| echo 3 >/sys/devices/virtual/block/zram0/max_comp_streams | |
| echo lz4 >/sys/devices/virtual/block/zram0/comp_algorithm | 
Google has currently available a DNS over HTTPS service in beta. source: https://developers.google.com/speed/public-dns/docs/dns-over-https
I couldn't find any api endpoint to make calls. But looking arround, I found a repository at github with some code to use such api. source: https://github.com/learnaddict/dnsoverhttps/blob/7bec8802fe8e85d31f75e74d46f57e7880e09e9f/dnsoverhttps.go#L12
With this I could make a request and get some result: