Setup an alias
git config --global alias.serve "daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/"
Run the alias
git serve
# download | |
wget https://dist.ipfs.io/go-ipfs/v0.4.17/go-ipfs_v0.4.17_linux-amd64.tar.gz | |
# install | |
tar xvfz go-ipfs_v0.4.17_linux-amd64.tar.gz | |
sudo mv go-ipfs/ipfs /usr/local/bin/ipfs | |
# start | |
ipfs daemon & | |
ipfs swarm peers |
pragma solidity ^0.5; | |
contract owned { | |
constructor() public { owner = msg.sender; } | |
address payable owner; | |
modifier onlyOwner { | |
require( | |
msg.sender == owner, | |
"Only owner can call this function." |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
############################################### | |
#### Run this as a regular cron, and #### | |
#### you will always have the latest #### | |
#### copy of websites stored locally! #### | |
############################################### | |
# add domains you care about pinning | |
DOMAINS[0]=craig.mayhew.io | |
DOMAINS[1]=bigprimes.net |
A windows 10 to 11 upgrade will not be allowed to begin until this is solved. You can convert MBR to GPT using mbr2gpt built right into windows
Get to to the directory with mbrgpt.exe in
cd C:\Windows\system32\
First we will validate the boot volume. i.e. the C drive
mbr2gpt /validate /allowFullOS
if validation looked successful then move on to the conversion
mbr2gpt /convert /allowFullOS
# docker run -it -v "$PWD":/stable-diffusion/models/ldm/stable-diffusion-v1 ml | |
FROM ubuntu:22.04 | |
# Updating Ubuntu packages | |
RUN apt-get update && yes|apt-get upgrade | |
# Adding git, bzip2 and wget | |
RUN apt-get install -y bzip2 git wget | |
# Install stable diffusion | |
RUN git clone https://github.com/basujindal/stable-diffusion.git && cd stable-diffusion |