Skip to content

Instantly share code, notes, and snippets.

Avatar

Marcus Efraimsson marefr

View GitHub Profile
@marefr
marefr / run-arm-images-using-docker-on-ubuntu-16.04.md
Last active Aug 28, 2019
Run arm images using docker on ubuntu 16.04
View run-arm-images-using-docker-on-ubuntu-16.04.md

Had some issues running arm-based docker images on my Ubuntu 16.04 box. This solved my problem

https://hub.docker.com/r/multiarch/qemu-user-static/

binfmt_misc register

Register qemu-*-static for all supported processors except the current one. Removes all registered binfmt_misc before

docker run --rm --privileged multiarch/qemu-user-static:register --reset

Run a compatible image

View my_github_filters.xml
<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
<title>Mail Filters</title>
<id>tag:mail.google.com,2008:filters:1523526662853,1523526694769,1523538108832,1523538108832</id>
<updated>2018-07-04T08:23:30Z</updated>
<author>
<name>YOUR_FULL_NAME</name>
<email>YOUR_EMAIL</email>
</author>
<entry>
<category term='filter'></category>
@marefr
marefr / time_regions.json
Last active Aug 8, 2018
Grafana dashboard showcases Time regions support (https://github.com/grafana/grafana/pull/12371)
View time_regions.json
{
"__inputs": [
{
"name": "DS_GRAFANA_TESTDATA",
"label": "Grafana TestData",
"description": "",
"type": "datasource",
"pluginId": "testdata",
"pluginName": "TestData DB"
}
View Boxstarter.ps1
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowFileExtensions
Set-StartScreenOptions -EnableBootToDesktop
#.NET
cinst DotNet3.5 DotNet4.0 DotNet4.5 DotNet4.5.1 webpi
#IIS setup and url rewrite module
cinst -source windowsfeatures IIS-WebServerRole IIS-WebServer IIS-ApplicationDevelopment IIS-ManagementScriptingTools IIS-ASPNET IIS-ASPNET45 IIS-ASP IIS-WebSockets IIS-ApplicationInit IIS-HttpTracing IIS-DefaultDocument IIS-CommonHttpFeatures IIS-ISAPIFilter IIS-ISAPIExtensions IIS-NetFxExtensibility IIS-NetFxExtensibility45 IIS-RequestFiltering IIS-Security IIS-WindowsAuthentication IIS-HttpCompressionDynamic
cinst UrlRewrite
You can’t perform that action at this time.