Skip to content

Instantly share code, notes, and snippets.

View charlesroper's full-sized avatar
🌱

Charles Roper charlesroper

🌱
View GitHub Profile
@charlesroper
charlesroper / More scientific name examples.md
Last active February 21, 2023 13:03
More scientific name examples.md

More scientific name examples

  1. Lutra Lutra
    <span class="name">Lutra lutra</span>
    Source: NBN Atlas

  2. Bombus ruderarius
    <em>Bombus ruderarius</em>
    Source: Biological Records Centre

@charlesroper
charlesroper / How to find what's using storage space in Linux.md
Last active January 20, 2023 00:47
How to find what's using storage space in Linux.md

How to find what's using storage space in Linux

#linux #bash #cli #filesystem

See this post on GitHub for context.

We can use the du command to determine disk usage. We need to combine it with the find command to check only file sizes and exclude directory sizes.

Manual pages:

@charlesroper
charlesroper / Test.cs
Last active October 16, 2022 13:28
Screenpresso TEST.cs
// Version: 1
// ScriptName: TEST
// Compiler: C#
// References: System.dll;System.Xml.dll;System.Windows.Forms.dll;CloudinaryDotNet.dll; CloudinaryDotNet.Actions.dll; dotenv.net
// SupportedMedias: Image, AcceptsMultipleFiles
// AutoRun: False
// MaxExecutionTime: 180
namespace Script
{
@charlesroper
charlesroper / Program.cs
Last active October 16, 2022 13:24
Program.cs
namespace HelloWorld
{
using CloudinaryDotNet;
using CloudinaryDotNet.Actions;
using dotenv.net;
class Program
{
static void Main()
{

Inclusive fonts

Accessible, inclusive fonts have been playing on my mind lately. So I've spent some time researching options for a workhorse body font.

I've considered a few things:

  1. Font must be highly legible and practical in a wide variety of formats. This includes print, digital, signs, TV, smartboard, soggy paper, laminated sheets, etc. Digital alone has a whole array of sub-categories to consider, including good quality screen, poor quality, low resolution, small screen, large screen, e-ink, etc.
  2. Should come in many weights and styles and be feature rich (at least of regular + bold + italic)
  3. Should be free or inexpensive.
@charlesroper
charlesroper / strengths.md
Last active May 24, 2022 12:10
Build on strengths not weaknesses.md

A passage from The Happy Manifesto by Henry Stewart

Build on strengths not weaknesses

Here’s a challenge. Let us say that you have two salespeople but you can only afford to send one on a course. Both have been with you for ten years. One brings in £200,000 a year and the other brings in just £50,000. If the aim is to bring the maximum benefit to the company, who do you send on the course?

Your first impulse may have been to send the person selling just £50,000. They clearly need help and development. But, if you want the most return on your investment in training, you are likely to get a far bigger increase in sales from the one already performing well.

The concept behind this comes from Marcus Buckingham and his StrengthsFinder analysis with Gallup. In many of their surveys they ask the question, ‘At work today, did you get to do what you do best?’ They have asked this of over a million people. Only around 20% say yes[^1].

# PowerShell 7 Profile
# Load Scripts
$env:Path += ";$(Split-Path $profile)\Scripts"
# Load posh-git
Import-Module posh-git
$env:POSH_GIT_ENABLED = $true
# Load posh-sshell
@charlesroper
charlesroper / 5-fonts.md
Last active February 4, 2022 02:56
5 fonts

Keybase proof

I hereby claim:

  • I am charlesroper on github.
  • I am charlesroper (https://keybase.io/charlesroper) on keybase.
  • I have a public key ASAx0GqnbXcxHEViHChTFGcyC3VZQvY_I5PCB2NPL6PQogo

To claim this, I am signing this object:

@charlesroper
charlesroper / inclusive-fonts.md
Last active September 3, 2024 01:49
Inclusive fonts

Inclusive fonts

Accessible, inclusive fonts have been playing on my mind lately. So I've spent some time researching options for a workhorse body font.

I've considered a few things:

  1. Font must be highly legible and practical in a wide variety of formats. This includes print, digital, signs, TV, smartboard, soggy paper, laminated sheets, etc. Digital alone has a whole array of sub-categories to consider, including good quality screen, poor quality, low resolution, small screen, large screen, e-ink, etc.
  2. Should come in many weights and styles and be feature rich (at least of regular + bold + italic)
  3. Should be free or inexpensive.