Skip to content

Instantly share code, notes, and snippets.

View KiaArmani's full-sized avatar

Kia Armani KiaArmani

View GitHub Profile
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace TimelostReveal
{
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: gitlab-cluster-admin
subjects:
- kind: ServiceAccount
name: gitlab
namespace: default
roleRef:
kind: ClusterRole
apiVersion: v1
kind: ServiceAccount
metadata:
name: gitlab
namespace: default
apiVersion: v1
kind: ServiceAccount
metadata:
name: gitlab
namespace: default
apiVersion: v1
kind: ServiceAccount
metadata:
name: gitlab
namespace: default
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: gitlab-admin
apiVersion: v1
kind: Namespace
metadata:
name: gitlab-managed-apps
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: gitlab-cluster-role
roleRef:
@KiaArmani
KiaArmani / SteamHelper.cpp
Created August 27, 2017 10:09
UE4 Blueprint Library containing function to get Steam Session Ticket for use with Third-Party services like playfab or GameSparks
// Fill out your copyright notice in the Description page of Project Settings.
// Replace YOURGAME with the projectname of your game
#include "YOURGAME.h"
#include "Online.h"
#include "OnlineSubsystem.h"
#include "SteamHelper.h"
USteamHelper::USteamHelper(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer)
@KiaArmani
KiaArmani / UpdateDynHost.sh
Last active June 30, 2017 10:44
Script to update OVH DynHost via Commandline using wget
#!/bin/bash
PUBLICIP="$(curl ipinfo.io/ip)"
wget -q "http://user:pw%@www.ovh.com/nic/update?system=dyndns&hostname=sub.host.tld&myip="${PUBLICIP}"" -O /dev/null

Keybase proof

I hereby claim:

  • I am KiaArmani on github.
  • I am xi4 (https://keybase.io/xi4) on keybase.
  • I have a public key whose fingerprint is 9777 CD24 EC7D 3843 CB0E 4CFD 7A87 E562 2165 B80D

To claim this, I am signing this object: