Skip to content

Instantly share code, notes, and snippets.

View holocronweaver's full-sized avatar

Jesse Johnson holocronweaver

  • Seattle, Washington
View GitHub Profile
@tunabrain
tunabrain / Range.hpp
Last active August 1, 2019 08:30
Python ranges in C++
#ifndef RANGE_HPP_
#define RANGE_HPP_
template<typename T> class RangeIterator;
template<typename T>
class Range
{
T _start, _end, _step;
@ChantalDemissie
ChantalDemissie / chantal-resume.md
Last active November 15, 2019 06:20
2019 resume
@Edu4rdSHL
Edu4rdSHL / luks-upgrade.md
Last active August 23, 2024 06:39 — forked from kravietz/luks-upgrade.md
Ubuntu LUKS cryptsetup upgrade

If you installed your #ubuntu with full-disk #encryption a while, you may want to upgrade your #luks header version to enjoy improved #security and stronger password hashing algorithms.

Boot from USB

You can't change LUKS header from a live system - you need to boot a live Ubuntu USB to be able to access the encrypted partition. First, create a bootable USB stick using a regular Ubuntu installer image.

  • Just get the latest installer ISO available
  • You need the full installer, the mini network installer won't work
  • You may need to disable Secure Boot in BIOS temporarily to boot from USB
import 'package:flutter/material.dart';
///////////////////////////////
void main() => runApp(MyApp());
///////////////////////////////
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(theme: ThemeData(), home: MyHomePage());
@Blackshome
Blackshome / low-battery-notifications-and-actions.yaml
Last active September 5, 2026 17:40
low-battery-notifications-and-actions.yaml
blueprint:
name: Low Battery Notifications & Actions
description: >
# 🪫 Low Battery Notifications & Actions
**Version: 3.5**
🚀 Stay Charged, Stay Smart! Let's automate and take charge of your battery maintenance!🔋⚡