- login to 'AWS Management Console' (https://aws.amazon.com/console/)
- from 'Services'(in navbar) choose 'EC2'
- from 'Create Instance' section, click on 'Launch Instance'
- then select 'AMI' (Amazon Machine Image), we will be using 'Ubuntu Server 16.04 LTS (HVM)' as example
- select 'Instance Type' as per your requirement
- then click 'Next:Configure Instance Details' to continue
change 'Configure Instance Details' or used as default settings
Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import androidx.compose.ui.draw.drawWithCache | |
import androidx.compose.ui.geometry.CornerRadius | |
import androidx.compose.ui.geometry.Offset | |
import androidx.compose.ui.geometry.Rect | |
import androidx.compose.ui.geometry.Size | |
import androidx.compose.ui.graphics.BlendMode | |
import androidx.compose.ui.graphics.Brush | |
import androidx.compose.ui.graphics.Color | |
import androidx.compose.ui.graphics.ColorFilter | |
import androidx.compose.ui.graphics.ImageBitmap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note: I don't know where does this thread belongs. If I'm on the incorrect section, move it to the correct one. | |
Many people are literally just selling this method and I feel like sharing this out so that you don't have to pay because the seller just don't do a minute of work to get you the drive. | |
So moving straight towards the method: | |
Step I: | |
Go to this link: https://td.fastio.me/ (mirrors to be left at the last) | |
Step II: | |
Type your desired drive's name at the first field and your Gmail on the bottom field. |
https://www.youtube.com/watch?v=QlzoegSuIzg
To build a minimal linux distro, we need three parts:
- The Kernel
- Userspace (busybox)
- Bootloader (syslinux)
When the system boots, it loads the kernel, which loads busybox.
https://gist.github.com/raphaelbruno/bd26cc0e90d77b0a0e0c84dca82ba61d
- If you have tried before, cleanup by using the command bellow and try again
rm -rf ~/.steam/root/steamapps/compatdata/244210
- Change proton version to
Proton 5.0-x
, and try to run, it will fail.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check for required command line arguments | |
if [ $# -ne 2 ]; then | |
echo "Usage: $0 <input_file> <output_dir>" | |
exit 1 | |
fi | |
input_file=$1 | |
output_dir=$2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
import torch.optim as optim | |
import matplotlib.pyplot as plt | |
# 2d Rosenbrock function | |
def f(x): | |
return (1 - x[0])**2 + 100 * (x[1] - x[0]**2)**2 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uci set ddns.myddns.enabled=1 | |
uci set ddns.myddns.service_name=duckdns.org | |
uci set ddns.myddns.domain=gate | |
uci set ddns.myddns.username=NA | |
uci set ddns.myddns.password=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | |
uci set ddns.myddns.ip_source=network | |
uci set ddns.myddns.ip_network=wan | |
uci set ddns.myddns.force_interval=72 | |
uci set ddns.myddns.force_unit=hours | |
uci set ddns.myddns.check_interval=10 |