Skip to content

Instantly share code, notes, and snippets.

View Jickelsen's full-sized avatar

Jacob Michelsen Jickelsen

View GitHub Profile
@Jickelsen
Jickelsen / .gitignore
Created January 14, 2014 14:18
Fairly comprehensive .gitignore file for Unity 3D.
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Cc]lient_Data/
[Ss]erver_Data/
[Bb]uilds/
*.csproj
*.unityproj
*.sln
{
"total": 3,
"adventures": [
{
"id": "aa",
"title": "10000 Leagues of Space Ghost",
"players": 4,
"thumbnail": "https://media1.giphy.com/media/iWpIIG5aVgcEg/200_s.gif"
},
{
@Jickelsen
Jickelsen / privacy_policy.html
Created August 9, 2017 18:14
Next to You at Korsvägen Privacy Policy
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>Privacy Policy</title> <style>body{font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; padding:1em;}</style></head> <body><h2>Privacy Policy</h2> <p> RISE Interactive Institute AB built the Next to You at Korsvägen app as a Free app. This SERVICE is provided by RISE Interactive Institute AB at no cost and is intended for use as is.
</p> <p>This page is used to inform website visitors regarding our policies with the collection, use, and
disclosure of Personal Information if anyone decided to use our Service.
</p> <p>If you choose to use our Service, then you agree to the collection and use of information in relation
to this policy. The Personal Information that we collect is used for providing and improving the
Service. We will not use or share your information with anyone except as described
@Jickelsen
Jickelsen / forgejs-editor-schema.json
Last active October 18, 2017 12:44
ForgeJS schema for jdorn/json-editor. Try it at http://jeremydorn.com/json-editor/ Fields marked with a leading X will requires third party ForgeJS plugins that may not yet be available.
{
"type": "object",
"properties": {
"camera": {
"type": "object",
"properties": {
"fov": {
"type": "object",
"properties": {
"default": {
@Jickelsen
Jickelsen / function.yml
Created March 31, 2018 17:06
Markdown function
apiVersion: v1
kind: Service
metadata:
name: markdownrender
labels:
app: markdownrender
spec:
type: NodePort
ports:
- port: 8080
@Jickelsen
Jickelsen / dashboard-admin.yml
Created March 31, 2018 17:39
dashboard admin role
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: kubernetes-dashboard
labels:
k8s-app: kubernetes-dashboard
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
######## Jickel's devboxstarter script ########
###############
#### notes ####
###############
# Test-Admin is not available yet, so use...
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {
Start-Process powershell -ArgumentList "-noprofile -NoExit -file `"$PSCommandPath`"" -Verb RunAs
Exit
######## Jickel's devboxstarter script ########
Update-ExecutionPolicy Unrestricted
###############################
#### Windows Configuration ####
###############################
# Configure Windows (Boxstarter.WinConfig cmdlets)
Set-WindowsExplorerOptions `
/*
______ _ _______ _______
| ____| | / ____\ \ / / ____|
| |__ | | | (___ \ \_/ / (___
| __| | | \___ \ \ / \___ \
| |____| |____ ____) | | | ____) |
|______|______|_____/ |_| |_____/
ELSYS simple payload decoder.
Use it as it is or remove the bugs :)
#!/bin/bash
if [ $1 = "connect" ]; then
#turn off WiFi
/sbin/ifconfig wlan0 down
sleep 5
#connect 4g
nmcli device connect cdc-wdm0