Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View cjdenio's full-sized avatar
🐢
look a turtle

Caleb Denio cjdenio

🐢
look a turtle
View GitHub Profile
@garyhtou
garyhtou / README.md
Last active February 27, 2024 02:57
Creating Hack Club Bank gource

Creating Hack Club Bank gource

  1. Install gource and ffmpeg
    brew install gource
    brew install ffmpeg
  2. Place bank-bg-dark.png in the root of your local copy of the Bank repo
  3. cd /your/bank/repo/location
@zfogg
zfogg / 0.README.follow-github-org-members.md
Last active October 11, 2021 14:45
Follow everyone in a GitHub Organization

GitHub Org - Follow Members

How to use it

Manually

  1. Navigate to a GitHub organization's member page.
  2. Open your browser devtools and go to the JavaScript console tab.
  3. Copy 1.follow-github-org-members.js to your clipboard.
  4. Paste the script into the JavaScript console and run it, once per page of organization members.
moved to
https://github.com/aaronpk/youtube-chat-overlay
@RISCfuture
RISCfuture / typescript-vue.md
Last active June 3, 2023 05:48
Adding TypeScript to a Rails + Webpacker + Vue project

Adding TypeScript to a Rails + Webpacker + Vue project

These instructions assume you already have a Rails 5.2 project using Webpacker 4 with Vue 2 and Vuex 3. I'll show you how to add TypeScript to the project, and type-safe your Vue components, including single-file components (SFCs). This document will not teach you TypeScript syntax or type theory. It also assumes your code already works without TypeScript. You shouldn't use this article to, for example, get started with Vuex, because I'm leaving out lots of necessary boilerplate code and focusing just on TypeScript changes.

If you want to see a commit on a project accomplishing this migration, visit https://github.com/RISCfuture/AvFacts/commit/666a02e58b4626a074a03812ccdd193a3891a954.

Setup

  1. Run rails webpacker:install:typescript. This should modify config/webpacker.yml and config/webpack/environment.js (leave those changes), add tsconfig.json and config/webpack/loaders/typescript.js (leave those files), and add some other files in `a
@ClintonLang
ClintonLang / fortune_funnyloadingmsgs.txt
Last active November 16, 2020 20:09
Funny Slack loading messages
......... Oh shit, you were waiting for me to do something? Oh okay, well then.
%
Not panicking...totally not panicking...er...everything's fine...
%
Following the white rabbit....
%
"Going the distance..."
%
The Elders of the Internet are contemplating your request...
%
@msuchodolski
msuchodolski / electron_drag_disable.css
Last active July 19, 2023 13:08
Disable dragging and selecting html elements (like links, images etc...) in Electron
/**
* MAKE ELECTRON APP FEEL MORE NATIVE
*
* * Prevent dragging all HTML elements, specially:
* - images
* - links (anchors)
*
* * Prevent text selection
*/
@mattetti
mattetti / multipart_upload.go
Last active April 22, 2024 05:24
Example of doing a multipart upload in Go (golang)
package main
import (
"bytes"
"fmt"
"io"
"log"
"mime/multipart"
"net/http"
"os"