On RPi
sudo apt-get install usbmuxd
- connect iPhone
On iPhone
-
Trust
// This is a documented version of the build.gradle file from RemotePreferences: | |
// https://github.com/apsun/RemotePreferences/blob/master/library/build.gradle.kts | |
// | |
// It aims to explain exactly WTF is going on when you inevitably copy-paste | |
// someone's build.gradle from the internet and can't figure out why it's not | |
// working. | |
// | |
// It contains, to the best of my knowledge, the best practices as of Oct 2023 for | |
// building an Android library and publishing it to OSSRH (Maven Central). | |
// |
using System; | |
using System.Net; | |
using System.Net.Sockets; | |
using System.Text; | |
namespace UDP | |
{ | |
public class UDPSocket | |
{ | |
private Socket _socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); |
height: 800 |
#!/usr/bin/env bash | |
set -eu | |
# mark a few packages as explicitly installed | |
mark-wanted() { | |
apt install -y \ | |
bash git tmux vim htop \ | |
unattended-upgrades \ | |
software-properties-common; | |
} |
<h2>All Product Images</h2> | |
{% for product in collections['all'].products %} | |
<p><a href="/admin/products/{{product.id}}" target="_blank">{{product.title}}</a></p> | |
{% for image in product.images %} | |
<p><img src="{{ image.src | product_img_url: "large" }}"></p> | |
{% endfor %} | |
{% endfor %} |
" vim rc | |
set nocompatible | |
filetype on | |
filetype plugin on | |
filetype indent on | |
syntax on | |
set relativenumber | |
set cursorline | |
set history=10000 | |
set wildmenu |
import axios, { AxiosError, AxiosResponse } from 'axios'; | |
import token from './somewhere'; | |
interface Todo { | |
id: string; | |
title: string; | |
} | |
interface User { | |
id: string; |