Skip to content

Instantly share code, notes, and snippets.

View jamieastley's full-sized avatar
Working from home

jamieastley

Working from home
View GitHub Profile
@ashtonqlb
ashtonqlb / vnv-steamos-guide.md
Last active January 10, 2026 02:53
Viva New Vegas on SteamOS installation guide

Intro & Disclaimers

Important

I am a bit of a madman and already rewrote this entire thing again, and it outgrew the format of this Gist. If you want to go check out the latest version of this guide, check out my repository here

This guide will help guide you the installation of Fallout: New Vegas, Mod Organizer 2 and Viva New Vegas on your SteamOS 3 device.

Before we begin, please take the time to read the following disclaimers.

This guide assumes you have completed the following prerequisites.

@richardgaywood
richardgaywood / vnv_on_steam_deck.md
Last active January 30, 2026 05:08
An incomplete guide to installing Fallout: Viva New Vegas on the Steam Deck

¡This guide is outdated!

Caution

I wrote this guide in April 2024 and it was - IMO - the best way to get VNV onto a Steam Deck at that time. But things have changed since (one obvious example is that VNV has a Wabbajack script again), but I haven't been able to find the time to update it.

Enter our hero - afterimages. They've written a whole new guide, updated & rewritten to be clearer than ever. And much, much prettier! So you probably don't want to read this. You want to read the new guide instead.

Once more with feeling: this guide is outdated, you should go read afterimages' guide here.

That said, I will leave this up as an archive, and/or historical curiosity. See y'all in the Wasteland! \

@birkanozer
birkanozer / traefik.yaml
Created January 6, 2024 13:26
Valheim Docker + Traefik
version: '3.8'
services:
traefik:
image: traefik:latest
restart: always
environment:
- DO_AUTH_TOKEN=/run/secrets/do_auth_token_ro
ports:
- target: 80 # <== http
@mjohnsullivan
mjohnsullivan / draggable_custom_painter.dart
Created November 26, 2019 21:32
Handling draggable areas or elements drawn on a Flutter CustomPainter
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Draggable Custom Painter',
home: Scaffold(
@tarek360
tarek360 / CurvedShape.dart
Last active January 8, 2026 15:18
Draw a curved shape in Flutter
import "package:flutter/material.dart";
import 'package:flutter/services.dart';
import 'dart:math';
const CURVE_HEIGHT = 160.0;
const AVATAR_RADIUS = CURVE_HEIGHT * 0.28;
const AVATAR_DIAMETER = AVATAR_RADIUS * 2;
void main() => runApp(new MyApp());
@almeidx
almeidx / markdown-text-101.md
Last active August 18, 2025 13:08 — forked from matthewzring/markdown-text-101.md
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

Sweet Styles

Italics *italics* or _italics_

Underline italics __*underline italics*__

@aloisdeniel
aloisdeniel / flutter_spanablegrid.dart
Last active May 30, 2025 12:17
Custom GridView with various cell sizes in Flutter
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter/src/rendering/sliver.dart';
import 'package:flutter/src/rendering/sliver_grid.dart';
class _CoordinateOffset {
final double main, cross;
_CoordinateOffset(this.main, this.cross);
}
@barbietunnie
barbietunnie / udemy-courses-download-using-cookies.md
Last active January 8, 2026 15:21
Downloading Udemy videos with youtube-dl

How to download your Udemy course videos using youtube-dl

$ youtube-dl --list-extractors | grep udemy

Steps

  1. Get link to the course to download. e.g. https://www.udemy.com/course-name/
  2. Login into udemy website, save the cookie from chrome using Chrome (Cookie.txt)[1] export extension. Save it to file udemy-cookies.txt
  3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.
$ youtube-dl {course_link} --cookies {path_to_cookies_file}
@a-h
a-h / setup.tf
Last active October 9, 2024 03:11
Terraform - Creating an Instance with an S3 Bucket Policy
# Create an IAM role for the Web Servers.
resource "aws_iam_role" "web_iam_role" {
name = "web_iam_role"
assume_role_policy = <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
"Action": "sts:AssumeRole",
"Principal": {
@Topener
Topener / index.js
Last active June 13, 2019 06:53
Simple example how to work with collections data-binding in Alloy, including filter, sorting, data transform and manual refresh
$.Departures.comparator = sortDepartures;
$.Departures.reset([]);
var sortByName = true;
function transformDeparture(model){
if (!model || !model.get('destination')){
console.warn(model.toJSON());
}
var time = require('Date').formatTime(model.get('time'));