Skip to content

Instantly share code, notes, and snippets.

View mkturner's full-sized avatar
👋
Looking for work

Marvin K. Turner mkturner

👋
Looking for work
View GitHub Profile
@mysteriouss
mysteriouss / key-remap.md
Last active December 7, 2023 18:58
M1 MacBook Air F5 & F6 KeyRemap
#!/bin/sh

## xref: https://www.reddit.com/r/MacOS/comments/jy5ry8/m1_macbook_air_keysshortcut_for_keyboard/ghryk3j/?utm_source=reddit&utm_medium=web2x&context=3

cat > ~/Library/LaunchAgents/com.local.KeyRemapping.plist << EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
@runlevl4
runlevl4 / ckad-bookmarks.html
Last active February 27, 2023 08:55
CKAD Bookmarks (** indicates example source) [originally sourced from https://github.com/nikhilagrawal577/ckad-notes]
<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
It will be read and overwritten.
DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
<DT><H3 ADD_DATE="1576816453" LAST_MODIFIED="1578776782">CKAD</H3>
<DL><p>

Office Hours

I have benefited greatly in my career from the help of others (and implicitly from being a white man). At this point, I would like to find more ways to contribute back to the community. I'm trying an "Office Hours" model where I spend several hours a week advising on any topic I feel competent to help with.

In general, I’m willing to help anyone who could use support in programming or software engineering. My skills are probably best suited to supporting mid-stage career software engineers, who are past the "student" phase but want help developing their skills or career (either by increasing impact or depth). I'm also happy to try my best to help people who are trying to land their first tech job.

Below is a list of areas I feel (somewhat) competent to mentor on, or at least discuss.

Languages

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 24, 2024 13:02
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@suissa
suissa / watermark.js
Last active June 12, 2023 10:07
Add watermark with Node.js and ffmpeg
var ffmpeg = require('ffmpeg');
try {
var process = new ffmpeg('example.mp4');
process.then(function (video) {
console.log('The video is ready to be processed');
var watermarkPath = 'watermark-suissa.png',
newFilepath = './video-com-watermark.mp4',
settings = {
position : "SE" // Position: NE NC NW SE SC SW C CE CW
@johntitus
johntitus / nodeWatermark.js
Created November 5, 2012 18:16
(Node.js) Watermark an image using ImageMagick from two streams.
/**
* Dependencies
*/
var fs = require('fs'),
request = require('request'),
cp = require('child_process'),
spawn = cp.spawn;
var image = request("http://medpreps.com/wp-content/uploads/2012/05/cma-practice-test.jpg");
var wm = request("https://github.com/linse/Gibberbot/diff_blob/f096f6d94b3fb745975ea5f61f5a43b47098598b/res/drawable/droid_watermark.png?raw=true");