Skip to content

Instantly share code, notes, and snippets.

View Programazing's full-sized avatar
🏳️‍⚧️

Christopher C. Johnson Programazing

🏳️‍⚧️
View GitHub Profile
@jogleasonjr
jogleasonjr / SlackClient.cs
Last active October 20, 2023 15:54
A simple C# class to post messages to a Slack channel. You must have the Incoming WebHooks Integration enabled. This class uses the Newtonsoft Json.NET serializer available via NuGet. Scroll down for an example test method and a LinqPad snippet. Enjoy!
using Newtonsoft.Json;
using System;
using System.Collections.Specialized;
using System.Net;
using System.Text;
//A simple C# class to post messages to a Slack channel
//Note: This class uses the Newtonsoft Json.NET serializer available via NuGet
public class SlackClient
{

Seeking a member of an underrepresented community in tech to mentor

One of my goals in 2016 is to develop a mentorship with a person from an underrepresented community in tech. To that end, I’m opening up office hours. Here’s what that will look like.

I’m looking for someone who could use a mentor in programming or software engineering. Ideally, this person would be looking to get into web development (or related technologies) or just starting their career. This relationship would ideally last from the end of January 2016 for a 4-6 month period. To this bourgeoning developer, I’ll be available – completely free of cost – for a 1-1.5 hour period each week to look over code samples, pair program, give practical programming advice, do mock interviews, or whatever they believe they need the most help with. (Ideally, this schedule would be somewhat flexible, given that I have a 10-month-old at home.)

Here are a list of ideas to get you thinking, separated by topic. This list is by no means exhaustive. If you’

@olitreadwell
olitreadwell / bash-profile-alias.md
Last active April 28, 2017 19:33
Installing ESlint in your JavaScript Application

Include the following within your Bash Profile to make it simple to install eslint in one step.

Warning: this bash command curl's a gist and runs a command without further security checks.

You include this command without further security measures as your own discretion

Add to your Bash Profile

@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active June 18, 2024 16:46
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();
@bradtraversy
bradtraversy / ssh.md
Last active June 10, 2024 20:31
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh brad@192.168.1.29

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@noopkat
noopkat / mech-keyboard-questions.md
Last active July 31, 2019 08:35
Mech Keyboard Questions to ask yourself
  1. How many keys do you want ie. do you need function keys / cursor arrow keys / numpad?
  2. Do you like loud clicky keys, bumpy tactile, or linear fast to hit keys?
  3. Do you want to be able to swap out switches for different ones or mix / match your switches?
  4. Do you need it to be portable?
  5. Do you want LED lighting?
  6. Do you want to program it with macros to be highly custom?
  7. Do you want USB-c?
  8. Windows or Mac?
  9. Do you want split / ergonomic / ortholinear?
  10. Do you want to use custom / creative keycap sets or keep it OEM?
@mihaiserban
mihaiserban / sync_fork.md
Created March 1, 2019 11:42
Sync a github repo from the original fork
  1. Clone your favorite project:

git clone https://github.com/teleporthq/teleport-code-generators.git

  1. Add remonte branch:

git remote add --track master teleporthq https://github.com/teleporthq/teleport-code-generators.git

  1. Verify if the remote was added:
@stepney141
stepney141 / BookmarkAPI_en.md
Last active April 4, 2023 01:45
(DEPRECATED) Twitter Undocumented Endpoints for Bookmark
@IanColdwater
IanColdwater / twittermute.txt
Last active May 23, 2024 18:37
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@Drarig29
Drarig29 / SilentWallpaper.cs
Last active March 4, 2024 12:29
Temporarily set a desktop wallpaper without polluting the Windows settings history
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32;
public enum WallpaperStyle
{
Fill,
Fit,
Stretch,
Tile,