Skip to content

Instantly share code, notes, and snippets.

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

Christopher C. Johnson Programazing

🏳️‍⚧️
View GitHub Profile
@jsliang
jsliang / yearlyMoc.js
Last active May 8, 2024 19:05
Yearly MOC Generator - Obsidian Templater User Script
/**
* @author Jui-Shan (Jenny) Liang <jsliang.tw@gmail.com>
* @param {Object} tp the `tp` object of the Templater plugin
* @param {Object} options options for configuring the year to generate the MOC and the file name format
* @param {string} options.YEAR what year to generate the MOC; default to the current year
* @param {string} options.YEARLY_FORMAT filename format of yearly notes; format reference: https://momentjs.com/docs/#/displaying/format/
* @param {string} options.QUARTER_FORMAT filename format of quarterly notes; format reference: https://momentjs.com/docs/#/displaying/format/
* @param {string} options.MONTH_FORMAT filename format of monthly notes; format reference: https://momentjs.com/docs/#/displaying/format/
* @param {string} options.WEEK_FORMAT filename format of weekly notes; format reference: https://momentjs.com/docs/#/displaying/format/
* @param {string} options.DAY_FORMAT filename format of daily notes; format reference: https://momentjs.com/docs/#/displaying/format/
@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,
@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
@stepney141
stepney141 / BookmarkAPI_en.md
Last active April 4, 2023 01:45
(DEPRECATED) Twitter Undocumented Endpoints for Bookmark
@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:
@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?
@bradtraversy
bradtraversy / ssh.md
Last active May 8, 2024 23:05
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

@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active May 19, 2024 11:51
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();
@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

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’