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
// react-app that uses chart.js + axios to fetch project coverage over the last 14 days from Codecov and visualize/display | |
// src/components/CoverageChartComponent.js | |
import React, { useState, useEffect } from 'react'; | |
import axios from 'axios'; | |
import { Line } from 'react-chartjs-2'; | |
const CoverageChartComponent = () => { | |
const [coverageData, setCoverageData] = useState(null); |
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
var validate = require('sourcemap-validator') | |
, fs = require('fs') | |
, assert = require('assert') | |
, myArgs = process.argv.slice(2) | |
, min = fs.readFileSync(myArgs[0], 'utf-8') | |
, map = fs.readFileSync(myArgs[1], 'utf-8'); | |
// Browserify bundles have inline sourceContent in their maps | |
// so no need to pass a `sourceContent` object. | |
assert.doesNotThrow(function () { |
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
(flask) [neilmanvar@MacBook-Pro flask (master)]$ make | |
sentry-cli releases -o testorg-az new -p flask `sentry-cli releases propose-version` | |
Created release 7156b23a40f3b1ff40217d7bedf4353024eda215. | |
sentry-cli --log-level debug releases -o testorg-az -p flask set-commits --auto `sentry-cli releases propose-version` | |
INFO 2019-09-23 12:41:27.416327 -07:00 Loaded config from /Users/neilmanvar/.sentryclirc | |
DEBUG 2019-09-23 12:41:27.416813 -07:00 sentry-cli version: 1.47.2, platform: "darwin", architecture: "x86_64" | |
INFO 2019-09-23 12:41:27.416827 -07:00 sentry-cli was invoked with the following command line: "sentry-cli" "--log-level" "debug" "releases" "-o" "testorg-az" "-p" "flask" "set-commits" "--auto" "7156b23a40f3b1ff40217d7bedf4353024eda215" | |
DEBUG 2019-09-23 12:41:27.418708 -07:00 request GET https://sentry.io/api/0/organizations/testorg-az/repos/?cursor= | |
DEBUG 2019-09-23 12:41:27.418733 -07:00 using token authentication | |
DEBUG 2019-09-23 12:41:27.418743 -07:00 retry number 0, max re |
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
{'UWSGI_THREADS': u'4', 'REPOSITORY': 'sentry-onpremise', 'rvm_version': '1.29.7 (latest)', 'NVM_CD_FLAGS': '', 'SAUCE_USERNAME': 'sentry-se', 'UWSGI_POST_BUFFERING': u'65536', 'UWSGI_THUNDER_LOCK': 'true', 'rvm_path': '/Users/neilmanvar/.rvm', 'TERM_PROGRAM_VERSION': '3.2.9', 'UWSGI_DISABLE_LOGGING': 'false', 'SENTRY_SKIP_BACKEND_VALIDATION': '1', 'RUST_BACKTRACE': '1', 'UWSGI_VACUUM': 'true', 'LOGNAME': 'neilmanvar', 'USER': 'neilmanvar', 'NVM_DIR': '/Users/neilmanvar/.nvm', 'SENTRY_AUTH_TOKEN': '5ea15f88b22240dea79de3aa7f23a0cc1c6da30ac8a845ad9b07049e70436bcb', 'PATH': '/Users/neilmanvar/.virtualenvs/sentry/bin:/usr/local/opt/icu4c/sbin:/usr/local/opt/icu4c/bin:/usr/local/opt/libxml2/bin:/usr/local/bin:/Users/neilmanvar/.nvm/versions/node/v8.15.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Users/neilmanvar/.rvm/bin:/Users/neilmanvar/L |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" ID="_8e843b0b-c296-4e57-a7d7-4ec6ddc1f724" entityID="https://sts.windows.net/7caf3409-bef6-4552-b9e8-27bfaf66eb0c/"> | |
<RoleDescriptor xmlns:fed="http://docs.oasis-open.org/wsfed/federation/200706" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="fed:SecurityTokenServiceType" protocolSupportEnumeration="http://docs.oasis-open.org/wsfed/federation/200706"> | |
<KeyDescriptor use="signing"> | |
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> | |
<X509Data> | |
<X509Certificate>MIIC8DCCAdigAwIBAgIQOqpXXX/WqqRK2f2fwUSQ3TANBgkqhkiG9w0BAQsFADA0MTIwMAYDVQQDEylNaWNyb3NvZnQgQXp1cmUgRmVkZXJhdGVkIFNTTyBDZXJ0aWZpY2F0ZTAeFw0xODA1MjMxNjQxMzVaFw0yMTA1MjMxNjQxMzVaMDQxMjAwBgNVBAMTKU1pY3Jvc29mdCBBenVyZSBGZWRlcmF0ZWQgU1NPIENlcnRpZmljYXRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqYy3nufhxToFxt98nkNZyYNwX6nymBaja4zr3V4jlhnrf6C75omOwRYcs7MR3ENeFexudasXqernoKodHgl+/HFpFXL1uputm4ouYIN |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" ID="_8e843b0b-c296-4e57-a7d7-4ec6ddc1f724" entityID="https://sts.windows.net/7caf3409-bef6-4552-b9e8-27bfaf66eb0c/"> | |
<RoleDescriptor xmlns:fed="http://docs.oasis-open.org/wsfed/federation/200706" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="fed:SecurityTokenServiceType" protocolSupportEnumeration="http://docs.oasis-open.org/wsfed/federation/200706"> | |
<KeyDescriptor use="signing"> | |
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#"> | |
<X509Data> | |
<X509Certificate>MIIC8DCCAdigAwIBAgIQOqpXXX/WqqRK2f2fwUSQ3TANBgkqhkiG9w0BAQsFADA0MTIwMAYDVQQDEylNaWNyb3NvZnQgQXp1cmUgRmVkZXJhdGVkIFNTTyBDZXJ0aWZpY2F0ZTAeFw0xODA1MjMxNjQxMzVaFw0yMTA1MjMxNjQxMzVaMDQxMjAwBgNVBAMTKU1pY3Jvc29mdCBBenVyZSBGZWRlcmF0ZWQgU1NPIENlcnRpZmljYXRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqYy3nufhxToFxt98nkNZyYNwX6nymBaja4zr3V4jlhnrf6C75omOwRYcs7MR3ENeFexudasXqernoKodHgl+/HFpFXL1uputm4ouYIN |
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
#! /usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
import fileinput | |
import binascii | |
import re | |
import json | |
import six | |
import zlib |
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
[neilmanvar@Neils-MacBook-Pro ~]$ nc -l 9001 | |
POST /api/2/store/?sentry_version=7&sentry_client=raven-js%2F3.22.1&sentry_key=79d5b2ca3792415da40d03780fd50115 HTTP/1.1 | |
Host: :9001 | |
Connection: keep-alive | |
Content-Length: 3632 | |
Pragma: no-cache | |
Cache-Control: no-cache | |
Origin: http://localhost:3000 | |
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 | |
Content-Type: text/plain;charset=UTF-8 |
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
#!/usr/bin/env python | |
import SimpleHTTPServer | |
class MyHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
def end_headers(self): | |
self.send_my_headers() | |
SimpleHTTPServer.SimpleHTTPRequestHandler.end_headers(self) | |
def send_my_headers(self): | |
self.send_header("Access-Control-Allow-Origin", "*") |
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
#!/usr/bin/env python | |
import SimpleHTTPServer | |
class MyHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
def end_headers(self): | |
self.send_my_headers() | |
SimpleHTTPServer.SimpleHTTPRequestHandler.end_headers(self) | |
def send_my_headers(self): | |
self.send_header("Access-Control-Allow-Origin", "*") |
NewerOlder