Skip to content

Instantly share code, notes, and snippets.

Michael Seiwald mseiwald

View GitHub Profile
View hw-tracing-app1-dd
apiVersion: apps/v1
kind: Deployment
metadata:
name: hw-tracing-app1-dd
spec:
replicas: 1
selector:
matchLabels:
app: hw-tracing-app1-dd
template:
View cluster-proportional-autoscaler.yaml
---
kind: ConfigMap
apiVersion: v1
metadata:
name: overprovisioning
namespace: kube-system
data:
linear: |-
{
"coresPerReplica": 40
View k8s-overprovisioning.yaml
---
apiVersion: scheduling.k8s.io/v1beta1
kind: PriorityClass
metadata:
name: overprovisioning
value: -1
globalDefault: false
description: "Priority class used by overprovisioning."
---
apiVersion: apps/v1
@mseiwald
mseiwald / asw-csgo.yaml
Last active Oct 23, 2018 — forked from pkazmierczak/asw-csgo.yaml
CounterStrike Global Offensive linux server AWS CF template
View asw-csgo.yaml
---
AWSTemplateFormatVersion: '2010-09-09'
Description: CounterStrike Global Offensive linux server template
Mappings:
AWSRegion2AMI:
eu-central-1:
AMI: ami-26c43149
eu-west-1:
AMI: ami-ed82e39e
Parameters:
View gist:5559666
diff --git a/include/commands.h b/include/commands.h
index a517d83..6894afb 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -103,6 +103,8 @@ void cmd_workspace_number(I3_CMD, char *which);
*/
void cmd_workspace_back_and_forth(I3_CMD);
+void cmd_focus_back_and_forth(I3_CMD);
+
View i3_window_switcher.py
#!/usr/bin/env python2
import re
import subprocess
import json
def get_windows(node):
windows = []
for n in node['nodes']:
View gist:1919437
This file has been truncated, but you can view the full file.
02/27/2012 12:33:43 AM - Enabling debug loglevel all
02/27/2012 12:33:43 AM - i3 (tree) version 4.1.2 (2012-01-27, branch "release-4.1.2") starting
02/27/2012 12:33:43 AM - src/config.c:parse_configuration:251 - Parsing configfile /home/michael/.i3/config
02/27/2012 12:33:43 AM - src/cfgparse.y:parse_file:489 - Got new variable $mod = Mod4
deciding for version 4 due to this line: # i3 config file (v4)
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
02/27/2012 12:33:43 AM - src/cfgparse.y:yyparse:1211 - floating modifier = 64
Found keysym binding mod64 with key Return and command exec terminal
Found keysym binding mod64 with key q and command kill
View kause_courses.rst

Data Structures and Algorithms

  • Tutor: Donald F Ross
  • ECTS: 7.5
  • Education level: Undergraduate level
  • Study period: week 45-03
  • Language: English (***if so required by international students or teachers)
  • Prerequisites: 30 credits in Computer Science, including 7,5 hp in basic programming.
View getFHCal.py
import mechanize
br = mechanize.Browser()
br.open('https://levis.fh-ooe.at/Schedule/MySchedule.aspx')
br.select_form(name='aspnetForm')
br['ctl00$loginContent$tbUsername'] = 's1110304016'
br['ctl00$loginContent$tbPassword'] = 'PASSWORD'
br['ctl00$loginContent$ddlDomain'] = ['Hagenberg']
br.submit()
br.select_form(name='aspnetForm')
You can’t perform that action at this time.