Skip to content

Instantly share code, notes, and snippets.

View sebug's full-sized avatar
🐒
trying to code his way out of it

Sebastian Gfeller sebug

🐒
trying to code his way out of it
View GitHub Profile

Sample ASP.NET Core app

This is a small, container-ready version of an API consumer

export API_CONSUMER_BaseUrl=...
export API_CONSUMER_ExternalApplicationCode=...
export API_CONSUMER_PreSharedKey=...
export API_CONSUMER_EventCode=...

You can run the container locally to test:

https://www.nuget.org/packages/SQLite.Net.Platform.XamarinAndroidN/
Install-Package SQLite.Net.Platform.XamarinAndroidN -Version 3.1.1
Because libsqlite.so no longer works
FROM ubuntu:18.04
# To make it easier for build and release pipelines to run apt-get,
# configure apt to not require confirmation (assume the -y argument by default)
ENV DEBIAN_FRONTEND=noninteractive
RUN echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
from selenium.webdriver.common.by import By
from selenium import webdriver
import unittest
import time
class WebKitFeatureStatusTest(unittest.TestCase):
def test_feature_status_page_search(self):
self.driver.get("https://webkit.org/status/")
#!/usr/local/bin/python
from subprocess import call
from subprocess import Popen
from subprocess import PIPE
import re
import winrm
import sys
import time
settings = {