Skip to content

Instantly share code, notes, and snippets.

@tomasgreen
tomasgreen / hbglexicon.xml
Last active March 12, 2021 11:37
hbglexicon
<?xml version="1.0" encoding="UTF-8"?>
<lexicon version="1.0"
xmlns="http://www.w3.org/2005/01/pronunciation-lexicon"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2005/01/pronunciation-lexicon
http://www.w3.org/TR/2007/CR-pronunciation-lexicon-20071212/pls.xsd"
alphabet="ipa" xml:lang="sv-SE">
<lexeme>
<grapheme>pedagogen</grapheme>
<alias>pedagog-en</alias>
@tomasgreen
tomasgreen / articlesWithComments.json
Last active October 14, 2019 13:26
articlesWithComments
[{
"id": "1507B534-CA5F-4B6D-97D5-B5B5194710FE",
"title": "Nihil explicabo animi maiores necessitatibus et non eveniet.",
"body": "Dolorum illum voluptatem labore totam. Est aperiam est et hic. Autem in perspiciatis sed dolorem qui consectetur hic ut officia. Nisi aliquid alias et tempora vero. Fugiat et debitis consequatur officia consequatur iste facere impedit aut. Nihil illum commodi consequatur delectus commodi accusantium laboriosam in nihil.",
"image": "https://images.unsplash.com/photo-1571030692815-cd433bb2657d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60",
"created": "2018-03-15T17:03:27",
"user": {
"id": "492208F5-C6AB-4267-B8ED-8B2E57C3A2B2",
"name": "Autumn Pouros",
"email": "Dina_Fisher1@yahoo.com",
function Get-AuthToken {
<#
.SYNOPSIS
This function is used to authenticate with the Graph API REST interface
.DESCRIPTION
The function authenticate with the Graph API Interface with the tenant name
.EXAMPLE
Get-AuthToken
Authenticates you with the Graph API interface
@tomasgreen
tomasgreen / status.json
Created October 30, 2018 14:02
status.json
{
"description": "All servies operational"
}
@tomasgreen
tomasgreen / lmdb.json
Last active October 22, 2018 20:15
LMDB
This file has been truncated, but you can view the full file.
[{"id":1,"name":"Talg nöt","weight":"100","nutrients":[{"name":"Summa mättade fettsyror","value":"35.80","unit":"g","id":"Mfet"},{"name":"Summa enkelomättade fettsyror","value":"28.80","unit":"g","id":"Mone"},{"name":"Summa fleromättade fettsyror","value":"2.76","unit":"g","id":"Pole"},{"name":"Fettsyra 4:0-10:0","value":"0.00","unit":"g","id":"C4:0-C10:0"},{"name":"Fettsyra 12:0","value":"0.07","unit":"g","id":"C12:0"},{"name":"Fettsyra 14:0","value":"3.17","unit":"g","id":"C14:0"},{"name":"Fettsyra 16:0","value":"20.20","unit":"g","id":"C16:0"},{"name":"Fettsyra 18:0","value":"10.80","unit":"g","id":"C18:0"},{"name":"Fettsyra 20:0","value":"0.47","unit":"g","id":"C20:0"},{"name":"Fettsyra 16:1","value":"2.56","unit":"g","id":"C16:1"},{"name":"Fettsyra 18:1","value":"25.30","unit":"g","id":"C18:1"},{"name":"Fettsyra 18:2","value":"2.43","unit":"g","id":"C18:2"},{"name":"Fettsyra 18:3","value":"0.27","unit":"g","id":"C18:3"},{"name":"Fettsyra 20:4","value":"0.00","unit":"g","id":"C20:4"},{"name":"EPA (Fettsyr
@tomasgreen
tomasgreen / latest-lmdb.json
Last active October 21, 2018 17:58
LMDB Latest
{
"version": "1527864569703",
"date": "2018-10-21T19:56:00",
"url": "https://gist.githubusercontent.com/tomasgreen/fc721fb4eda12fe343ec7c1322f8fb54/raw"
}
@tomasgreen
tomasgreen / ChangeDeviceOwnership.ps1
Last active November 22, 2018 18:10
Update device ownership on Intune managed devices
function Get-AuthToken {
<#
.SYNOPSIS
This function is used to authenticate with the Graph API REST interface
.DESCRIPTION
The function authenticate with the Graph API Interface with the tenant name
.EXAMPLE
Get-AuthToken
Authenticates you with the Graph API interface
@tomasgreen
tomasgreen / vsts-testarticles.json
Last active June 8, 2018 12:05
VSTS testarticles
[{
"id": "1507B534-CA5F-4B6D-97D5-B5B5194710FE",
"title": "Nihil explicabo animi maiores necessitatibus et non eveniet.",
"body": "Dolorum illum voluptatem labore totam. Est aperiam est et hic. Autem in perspiciatis sed dolorem qui consectetur hic ut officia. Nisi aliquid alias et tempora vero. Fugiat et debitis consequatur officia consequatur iste facere impedit aut. Nihil illum commodi consequatur delectus commodi accusantium laboriosam in nihil.",
"created": "2018-03-15T17:03:27",
"user": {
"id": "492208F5-C6AB-4267-B8ED-8B2E57C3A2B2",
"name": "Autumn Pouros",
"email": "Dina_Fisher1@yahoo.com"
}
@tomasgreen
tomasgreen / accesstoken.json
Last active November 2, 2017 10:17
test accestoken
{
"accessToken":"nemuHiGezkQMMLgQigFmUvHkHaCd7tIrLcGSQwcxN2AbUpzeurIie1XOGtQhkraF",
"refreshToken":"jPv66wZnJVEugcYyrQtEi3GKRyCE6c7K",
"displayName": "Tomas Green",
"expires": "2017-06-21T15:29:32Z"
}
@tomasgreen
tomasgreen / openratio.json
Last active August 17, 2016 13:25
openratio.json
[{
"titel": "This is a title",
"description": "This is not a title",
"url": "https://www.google.se"
},{
"titel": "This is a new title",
"description": "This is not a new title",
"url": "https://www.microsoft.com"
}]