-
Create a new user on the system:
sudo adduser --system --group --shell /bin/bash --home /opt/sentry sentry
-
Create the virualenv and install the required packages:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2018 Jameel Al-Aziz | |
# Modified for simplicification and use within CoreOS. | |
# | |
# Copyright (C) 2006-2016 Amazon.com, Inc. or its affiliates. | |
# All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"). | |
# You may not use this file except in compliance with the License. | |
# A copy of the License is located at | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2006-2016 Amazon.com, Inc. or its affiliates. | |
# All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"). | |
# You may not use this file except in compliance with the License. | |
# A copy of the License is located at | |
# | |
# http://aws.amazon.com/apache2.0/ | |
# | |
# or in the "license" file accompanying this file. This file is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var root = this; | |
// embed: dataset, util, browser, mobilephone, crawler, appliance, misc, woothee | |
// GENERATED from dataset.yaml at Wed Mar 21 22:09:34 PDT 2018 by jalaziz | |
// Snapshot from package.json | |
var package_info = {"name":"woothee","version":"1.7.0","description":"User-Agent string parser (js implementation)","main":"./release/woothee","devDependencies":{"mocha":">= 1.7.0","chai":">= 1.3.0","js-yaml":">= 1.0.3","should":"~1.2.2"},"scripts":{"test":"make test"},"repository":{"type":"git","url":"https://github.com/woothee/woothee-js"},"author":"tagomoris","license":"Apache v2"}; | |
var dataset = {}; | |
(function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
export_file = 'tree-exported-Sat-Apr-09-2016.tree' | |
backup_export_file = '{}.bak'.format(export_file) | |
new_tree = [] | |
seen_urls = set() | |
os.rename(export_file, backup_export_file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# ~/.osx — https://mths.be/osx | |
# Ask for the administrator password upfront | |
sudo -v | |
# Keep-alive: update existing `sudo` time stamp until `.osx` has finished | |
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "marathon" | |
# Start just after the System-V jobs (rc) to ensure networking and zookeeper | |
# are started. This is as simple as possible to ensure compatibility with | |
# Ubuntu, Debian, CentOS, and RHEL distros. See: | |
# http://upstart.ubuntu.com/cookbook/#standard-idioms | |
start on stopped rc RUNLEVEL=[2345] | |
respawn | |
script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "chronos" | |
# Start just after the System-V jobs (rc) to ensure networking and zookeeper | |
# are started. This is as simple as possible to ensure compatibility with | |
# Ubuntu, Debian, CentOS, and RHEL distros. See: | |
# http://upstart.ubuntu.com/cookbook/#standard-idioms | |
start on stopped rc RUNLEVEL=[2345] | |
respawn | |
script |
I hereby claim:
- I am jalaziz on github.
- I am jameel (https://keybase.io/jameel) on keybase.
- I have a public key whose fingerprint is E20B F064 79B1 DCF5 5CC2 3D73 612B BCA5 D882 1231
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using BookSleeve; | |
namespace Redis | |
{ | |
public class RedisConnectionManager : IDisposable | |
{ |
NewerOlder