Skip to content

Instantly share code, notes, and snippets.

@negamorgan
negamorgan / .finnicky.js
Last active June 18, 2024 14:31 — forked from TravisCarden/.finnicky.js
Open ClickUp links from anywhere in the desktop app
module.exports = {
defaultBrowser: "Choosy",
options: { hideIcon: true },
rewrite: [
{
// Change the protocol to the one the desktop app recognizes.
match: finicky.matchHostnames(["app.clickup.com"]),
url: { protocol: "clickup" }
}
],

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).

on run {}
activate application "Microsoft Outlook"
tell application "Microsoft Outlook"
set selected folder to folder "Archive"
end tell
tell application "System Events"
keystroke "f" using {option down, command down}
end tell
end run

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.