Skip to content

Instantly share code, notes, and snippets.

View projectoperations's full-sized avatar
💭
building learning and connections

projectoperations projectoperations

💭
building learning and connections
View GitHub Profile
#!/bin/bash
set -e
set -o pipefail
sudo dnf install -y jq fuse fuse-libs
curl -sL \
$(curl -s 'https://data.services.jetbrains.com/products/releases?code=TBA&latest=true&type=release' \
| jq -r '.TBA[0].downloads.linux.link') \
@projectoperations
projectoperations / Instructions.md
Created May 5, 2025 18:10 — forked from OlsenSM91/Instructions.md
How to Configure Ubuntu 22.04.03 LTS as a PXE Server

Setup and Configuration of an Ubuntu 22.04.3 LTS PXE Server

Utilizing dnsmasq and netbootxyz docker container to become a PXE server to deploy various images over a local network. This setup will configure a TFTP server, a DHCP server, a DNS server and iPXE firmware boot files to utilize PXE booting for known or custom boot image resources

Install Dependancies

I'm going to assume that you already have a fresh copy of Ubuntu Server 22.04.3 LTS with no current packages installed other than SSH

SSH into server

ssh user@ip.ad.dr.ess

Terraform

tfbackend.config

To make files with the .tfbackend.config extension use the same icons as .tf files in VS Code, you need to update the vsicons.associations.files entry in your user settings. Here’s how you can do it:

Steps:

  1. Open VS Code Settings:
  • Go to File > Preferences > Settings (or press Ctrl+,).
  1. Edit the Settings JSON:
@projectoperations
projectoperations / docker-compose.yaml
Created April 24, 2025 12:38 — forked from natcl/docker-compose.yaml
docker-compose static IP example
version: '3'
networks:
mynetwork:
ipam:
config:
- subnet: 172.20.0.0/24
services:
nodered1:
image: nodered/node-red-docker
ports:
@projectoperations
projectoperations / cloud-gpus.md
Created February 27, 2025 19:05 — forked from devinschumacher/cloud-gpus.md
Cloud GPUs // The Best Servers, Services & Providers [RANKED!]

Cloud GPUs: Servers, Providers & Everything You Would Ever Need

Your company's GPU computing strategy is essential whether you engage in 3D visualization, machine learning, AI, or any other form of intensive computing.

There was a time when businesses had to wait for long periods of time while deep learning models were being trained and processed. Because it was time-consuming, costly, and created space and organization problems, it reduced their output.

This problem has been resolved in the most recent GPU designs. Because of their high parallel processing efficiency, they are well-suited for handling large calculations and speeding up the training of your AI models.

When it comes to deep learning, good Cloud GPUs can speed up the training of neural networks by a factor of 250 compared to CPUs, and the latest generation of cloud GPUs is reshaping data science and other emerging technologies by delivering even greater performance

@projectoperations
projectoperations / qemu_optionrom.md
Created January 30, 2025 20:29 — forked from mcastelino/qemu_optionrom.md
QEMU Option ROMS and booting from option rom

With seabios

  1. QEMU includes bundled option ROMs which are loaded by default unless a device is specifically setup with --romfile="".
  2. These options roms are bundled as binaries. The source code for the same can be found at http://ipxe.org/
  3. These options roms are useful for example when you want to PXE boot over a virtio-net device.

Here is an example of booting via Network PXE using the option ROM

qemu-system-x86_64 \
@projectoperations
projectoperations / dynamodb.md
Created January 26, 2025 17:14 — forked from narainsagar/dynamodb.md
An Introduction to Amazon's DynamoDB

An introduction to DynamoDB

DynamoDB is a powerful, fully managed, low latency, NoSQL database service provided by Amazon. DynamoDB allows you to pay for dedicated throughput, with predictable performance for "any level of request traffic". Scalability is handled for you, and data is replicated across multiple availability zones automatically. Amazon handles all of the pain points associated with managing a distributed datastore for you, including replication, load balancing, provisioning, and backups. All that is left is for you to take your data, and its access patterns, and make it work in the denormalized world of NoSQL.

Modeling your data

The single most important part of using DynamoDB begins before you ever put data into it: designing the table(s) and keys. Keys (Amazon calls them primary keys) can be composed of one attribute, called a hash key, or a compound key called the hash and range key. The key is used to uniquely identify an item in a table. The choice of the primary key is particularl

@projectoperations
projectoperations / README.md
Created January 26, 2025 13:58 — forked from Potherca/README.md
BASH scripts to go through all the steps to make a (VPS) server more secure.

Ubuntu 20.04 Web Server Setup Instructions

!!! Work in progress, use at your own risk. !!!

  • nginx
  • certbot
  • iptables

Updates

@projectoperations
projectoperations / web.config
Created January 17, 2025 11:35 — forked from themorgantown/web.config
Web.config sample for HTML5 support. This can be replaced with the current content of a web.config file in IIS environments.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<configSections>
</configSections>
<connectionStrings />
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this