Skip to content

Instantly share code, notes, and snippets.

View snow's full-sized avatar

Snow Helsing snow

View GitHub Profile
@snow
snow / sentry-alert.py
Created October 17, 2022 05:51 — forked from nikolaik/sentry-alert.py
Sentry: Automate setup of alerting rules for a project
import argparse
import json
import os
import requests
ORG_SLUG = "..."
SLACK_WORKSPACE_ID = "..."
OWNER_TEAM = "..."
SLACK_RULES = {
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Luigi Montanez's Ruby Feeds</title>
</head>
<body>
<outline title="ruby" text="ruby">
<outline text="Aaron Patterson" title="Aaron Patterson"
type="rss" xmlUrl="http://tenderlovemaking.com/feed/" htmlUrl="http://tenderlovemaking.com"/>
<outline text="Aaron Quint" title="Aaron Quint" type="rss"
@snow
snow / deploy.rb
Last active August 29, 2015 14:24 — forked from twetzel/deploy.rb
# Clear existing task so we can replace it rather than "add" to it.
Rake::Task["deploy:compile_assets"].clear
namespace :deploy do
desc 'Compile assets'
task :compile_assets => [:set_rails_env] do
# invoke 'deploy:assets:precompile'
invoke 'deploy:assets:precompile_local'
invoke 'deploy:assets:backup_manifest'