Skip to content

Instantly share code, notes, and snippets.

View charlesroper's full-sized avatar
🌱

Charles Roper charlesroper

🌱
View GitHub Profile
@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 January 16, 2022 15:02
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.
@charlesroper
charlesroper / codeswing.json
Last active April 12, 2021 01:36
Vanilla JS Accordion
{
"scripts": [],
"styles": []
}
@charlesroper
charlesroper / ruleset.xml
Last active March 13, 2021 21:12
CodeIgniter 4 coding standard for ShropBotSoc project #CodeIgniter #PHPCS
<?xml version="1.0" encoding="UTF-8" ?>
<ruleset name="CodeIgniter4">
<description>CodeIgniter 4 coding standard for PHP_CodeSniffer</description>
<!--
* CodeIgniter 4 coding standard for PHP_CodeSniffer
*
* @author Louis Linehan <louis.linehan@gmail.com>
* @copyright 2017 British Columbia Institute of Technology
* @license https://github.com/bcit-ci/CodeIgniter4-Standard/blob/master/LICENSE MIT License
-->