Skip to content

Instantly share code, notes, and snippets.

View RandyKdev's full-sized avatar
👨‍💻
Building

Randy Kwalar RandyKdev

👨‍💻
Building
View GitHub Profile
@slightfoot
slightfoot / humpday_stack_theming.dart
Created April 27, 2022 18:04
Humpday Stack Themeing - by Simon Lightfoot - 27/04/2022
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
enum AppThemeType {
darkTheme,
lightTheme,
}
extension AppThemeTypeExt on AppThemeType {
ThemeData get theme {
@nicknapoli82
nicknapoli82 / cs50_Tideman_cycle-explanation.md
Last active May 5, 2024 07:02
My attempt at clarifying how cycles work for the Tideman algorithm

A Way to Look at Tideman Lock Pairs

I've observed that there is a little bit of a disconnect in understanding what it is that needs to be done to properly implement the lock_pairs function for cs50 Tideman. The goal of this little write-up is simply an attempt at explaining what the problem actually is, and why a cycle imposes a problem.

First:
If you are unfamiliar with the actual problem, or have not read through the entire cs50 Tideman problem description. Then I think you should start there.
cs50 Tideman

Second:
This little write-up is only narrowing in on the idea of cycles, and a way to think about what a cycle is and determine if locking a pair in the pairs array would create that cycle. This does not talk about any other part of the Tideman problem.

@berkorbay
berkorbay / github_desktop_ubuntu.md
Last active May 7, 2024 08:11
To install Github Desktop for Ubuntu

IMPORTANT

See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)

For the sake of "maintaining the tradition" here is the updated version.