This file contains hidden or 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 requests | |
| import json | |
| import subprocess | |
| import os | |
| digits = lambda string: int("".join(list(filter(str.isdigit, string)))) | |
| flatten = lambda l: [item for sublist in l for item in sublist] | |
| CH_API_TOKEN = os.getenv("CH_API_TOKEN", None) | |
| if not CH_API_TOKEN: |
This file contains hidden or 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 requests | |
| import json | |
| import os | |
| import sys | |
| url = "https://sentry.io/api/0/projects/neo-financial/android/events/" | |
| AUTH_TOKEN = os.getenv('SENTRY_TOKEN', None) | |
| if not AUTH_TOKEN: |
This file contains hidden or 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
| Rails: | |
| Enabled: true | |
| # Commonly used screens these days easily fit more than 80 characters. | |
| Metrics/LineLength: | |
| Max: 120 | |
| # Too short methods lead to extraction of single-use methods, which can make | |
| # the code easier to read (by naming things), but can also clutter the class | |
| Metrics/MethodLength: |
This file contains hidden or 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
| #!/bin/bash | |
| #install gstreamer | |
| wget http://gstreamer.freedesktop.org/data/pkg/osx/1.0.10/gstreamer-1.0-1.0.10-universal-packages.dmg | |
| hdiutil mount gstreamer-1.0-1.0.10-universal-packages.dmg -mountpoint /Volumes/gstreamer | |
| find /Volumes/gstreamer -maxdepth 1 -type f -exec sudo installer -pkg {} -target / \; | |
| hdiutil unmount /Volumes/gstreamer/ | |
| rm gstreamer-1.0-1.0.10-universal-packages.dmg | |
| #install gstreamer dev |