Skip to content

Instantly share code, notes, and snippets.

View felixkiss's full-sized avatar

Felix Kiss felixkiss

View GitHub Profile
@felixkiss
felixkiss / xbl_oauth2.py
Created February 5, 2022 08:24 — forked from tuxuser/xbl_oauth2.py
Sign in to Xbox Live with OAUTH2
"""
Sign in to Xbox Live with OAUTH2
1. Go to https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade
2. Register new app ("+ New registration")
2.1. Enter a name for your app
2.2. Set "Supported account types" to "Personal Microsoft accounts only"
2.3. Click register
2.4. Choose "Redirect URIs" -> "Add a Redirect URI"
2.5. Click "Add a platform" -> "Mobile and desktop applications"
PROPFIND /caldav/calendars/felixkiss/c-felixkiss/ HTTP/1.1
Host: api.ultimed.dev
Accept: */*
Brief: t
Authorization: Basic ZmVsaXhraXNzOnBhc3N3b3J0
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Content-Type: text/xml
Content-Length: 145
Depth: 1
@felixkiss
felixkiss / controllers.application.js
Created October 29, 2016 19:29
Action Bubble Test
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle',
counter: 0,
actions: {
trClick() {
this.incrementProperty('counter');
},
import DS from "ember-data";
export default DS.JSONAPIAdapter.extend();
@felixkiss
felixkiss / application.controller.js
Last active November 5, 2015 15:23
ember-filter-async-relationship
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
});
@felixkiss
felixkiss / example_Author.php
Last active August 30, 2015 12:33
Example usage of Fractal with objects instead of arrays
<?php namespace Example;
class Author
{
private $id;
private $name;
private $publishedBooks;
public function __construct($id, $name)
@felixkiss
felixkiss / input.haml
Created August 6, 2014 05:34
How should input.haml be changed to get the wanted result? (No space between the closing anchor tag and '.', I don't care about other whitespace)
%p
This is very
%a{href: "#"}= "interesting"
.
@felixkiss
felixkiss / keybase.md
Created March 6, 2014 00:32
keybase.md

Keybase proof

I hereby claim:

  • I am felixkiss on github.
  • I am felixkiss (https://keybase.io/felixkiss) on keybase.
  • I have a public key whose fingerprint is 49D5 19D4 9911 464D 2BBD A5A2 D992 9B05 8B84 9EFF

To claim this, I am signing this object:

'core':
'ignoredNames': [
'.git'
'.svn'
'.DS_Store'
'.vagrant'
'.sass-cache'
]
echo "sterreich"
echo "sterreich""