Skip to content

Instantly share code, notes, and snippets.

View bayleedev's full-sized avatar
🍿

Baylee Schmeisser bayleedev

🍿
View GitHub Profile
on alfred_script(q)
set theName to (q)
set isRunning to false
tell application "System Events"
if exists process "OmniFocus" then
set isRunning to true
end if
end tell
function snakeToCamel (word, upperCamelCase) {
const sections = word.split('_')
return sections.map((section, i) => {
if (upperCamelCase || i > 0) {
return section[0].toUpperCase() + section.slice(1).toLowerCase()
}
return section.toLowerCase()
}).join('')
}
const urls = [
'https://google.com',
'http://blainesch.com',
'https://github.com',
]
let follower = Promise.resolve()
for (let currentUrl of urls) {
follower = follower.then(() => {
diff --git a/sass/main.scss b/sass/main.scss
index bed1fa2..00bb466 100644
--- a/sass/main.scss
+++ b/sass/main.scss
@@ -74,7 +74,7 @@ section#zazu {
padding: 0;
margin: 0;
max-height: 310px;
- overflow-y: scroll;
+ overflow-y: hidden;
Scenario 1: happy path
git clone is successful
npm install is successful
restart zazu
next:
no action - be fast!

Intro

Zazu is a fully extensible open source launcher. There are binaries that can be downloaded for Windows, Linux and Mac. I'm going to show you how to get started on a mac, but the steps are almost identical on other operating systems.

Download

To download Zazu, go to 'zazuapp.org' and click 'download', then select your operating system. Walk through the steps to install it on your computer, then launch the application for the first time. You'll soon be greeted with a notification telling you that your plugins have finished installing.

# FAQ

## Core vision

A fully extensible and open source app launcher for hackers, creators and dabblers. It comes with sane defaults to make it useful out of the box. But everything can be changed to fit your needs. Don't let others tell you the best way to be productive, configure it to be perfect for you.

## How do you compare to alternatives?

Zazu is the first launcher to treat plugins as first class citizens. Even the app finder is built as a plugin which can be replaced (if desired). This means plugins are designed as natural extensions of Zazu and they don't require a special trigger such as '/' or ','. This allows a more intuitive plugin API that doesn't hamper discoverability.

~/.gitconfig

[core]
  editor = nvim

~/.zshrc

Make symlinks to the correct directories:

Open Questions

  • Setup let's encrypt via a script
  • How do we have a consistent salt on the servers?

Types of servers

Servers need to be created in this order:

  • master database
@bayleedev
bayleedev / bind.js
Last active December 4, 2016 02:49
function list() {
return Array.prototype.slice.call(arguments);
}
function bind(thisArg, arg1) {
return function() {
return thisArg(...[arg1, ...arguments])
};
}