Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View seigel's full-sized avatar

James Seigel seigel

View GitHub Profile
@seigel
seigel / example.md
Created March 13, 2022 03:51
Sidekiq Multiple Queues

Command to start the sidekiq worker for multiple queues

sidekiq -q critical,2 -q default

... In a Procfile

worker: sidekiq -q critical,2 -q default
BEGIN MESSAGE.
GUnTSqSK8R3fpxz m2TUhKCbIvYnIMV rtQgJBRIuHLfwgS 8y8w6ZHOxwag5RL
Z64IaD4inHxEmY9 5MFG9NX6YoUTCKq 6Xr2MZHgg6y62EG w6nQlwX56GfsCHQ
e7Dooe6GLSyXYlD qFBGpRjxTnGXj5x lnpKBXIeRijXEis wRO01dWSK6kZJx1
JVRTMWY5zT6ZOch 8IECPI8b3eJdmbr JqSAM21.
END MESSAGE.
@seigel
seigel / Info.md
Last active May 12, 2020 19:35
Nanoleaf / atVenu Working together Exploration

Is there an interesting opportunity?

I am going to tell you about some of the things that we are working on and how a partnership with Nanoleaf is interesting.

We are currently working on ways to help people at large gatherings, festivals, events, and concerts be able to safely get connected with merchandise they wish to purchase.

One of the problems we are looking at engineering a solution to, is to guide people to different locations to get what they are looking for without having to read small signs or follow a map. Imagine if you were to order food or merchandise on your phone and then when the items were ready, it sent you a notification which sent you a simple message of "Please proceed to...." and a lovely shade of blue showed up on your phone. This shade also shows at a booth or cart somewhere nearby indicating that this place is a match to where you need to go. Maybe it is even pulsing in synchronicty to the blue on your phone confirm the correct location to go to to acquire what you are lo

Gladiators Cup

Details

  • When: March 7th and 8th, 2020
  • What: Provincial level Fencing Tournament
  • Where: Bowness Community Centre

Overview

The Gladiator Cup, hosted by the Gladiators Fencing Club of Calgary is an event that draws fencers from the top fencing clubs in the province. It is an event that is for the fencers just getting started as well as the more seasoned competitors. The event is an important component of the season for fencers in this province.

It is hosted twice a year, once in the fall, and once in the first third of the year.

Gladiators Cup

Details

  • When: March 7th and 8th, 2020
  • What: Provincial level Fencing Tournament
  • Where: Bowness Community Centre

Overview

The Gladiator Cup, hosted by the Gladiators Fencing Club of Calgary is an event that draws fencers from the top fencing clubs in the province. It is an event that is for the fencers just getting started as well as the more seasoned competitors.

Invitation

@seigel
seigel / Brewfile
Created December 25, 2019 21:04 — forked from miry/Brewfile
MacOS Brewfile to install default applications. https://github.com/Homebrew/homebrew-bundle
cask_args appdir: "~/Applications"
tap "caskroom/cask"
cask 'sqleditor'
cask 'google-chrome'
cask 'homebrew/cask-versions/firefox-developer-edition'
# cask 'resilio-sync'
cask 'keybase'
# cask 'dashlane'
cask 'visual-studio-code'
@seigel
seigel / GladiatorsCup.md
Last active January 8, 2020 18:37
info

Gladiators Cup

Details

  • When: March 7th and 8th, 2020
  • What: Provincial level Fencing Tournament
  • Where: Bowness Community Centre

Overview

The Gladiator Cup, hosted by the Gladiators Fencing Club of Calgary is an event that draws fencers from the top fencing clubs in the province. It is an event that is for the fencers just getting started as well as the more seasoned competitors. The event is an important component of the season for fencers in this province.

It is hosted twice a year, once in the fall, and once in the first third of the year.

var brain = require('brain.js')
var fs = require('fs')
// configuration to be used in the brain
const config = {
binaryThresh: 0.5, // arbitary value
hiddenLayers: [3], // the size of the hidden layers in the network
activation: 'sigmoid' // activation function
}
@seigel
seigel / nodebot.js
Created October 25, 2018 21:08 — forked from Rup1/nodebot.js
Preliminary script. File-watching specific folder using Chokidar, and automating Apple Mail using JXA.
var osa = require('osa2');
var fs = require('fs');
var chokidar = require('chokidar');
var watcher = chokidar.watch('/Users/rup/Desktop/trolls', {
ignored: /(^|[\/\\])\../,
ignoreInitial: true,
persistent: true,
});
@seigel
seigel / application_helper.rb
Created October 1, 2018 19:21 — forked from exocode/application_helper.rb
Render with ``render_to_string`` a complete page within a sidekiq worker including current_user
module ApplicationHelper
def current_user
@current_user ||= warden.authenticate(:scope => :user)
end
end