Skip to content

Instantly share code, notes, and snippets.

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
@marefr
marefr / time_regions.json
Last active August 8, 2018 10:09
Grafana dashboard showcases Time regions support (https://github.com/grafana/grafana/pull/12371)
{
"__inputs": [
{
"name": "DS_GRAFANA_TESTDATA",
"label": "Grafana TestData",
"description": "",
"type": "datasource",
"pluginId": "testdata",
"pluginName": "TestData DB"
}
@marefr
marefr / my_github_filters.xml
Last active July 4, 2018 09:02
Gmail filters
<?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 / run-arm-images-using-docker-on-ubuntu-16.04.md
Last active August 28, 2019 22:26
Run arm images using docker on ubuntu 16.04

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

{
"__inputs": [
{
"name": "DS_INFINITY",
"label": "Infinity",
"description": "",
"type": "datasource",
"pluginId": "yesoreyeram-infinity-datasource",
"pluginName": "Infinity"
}