This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Caveats | |
// #1 - This is reading the DOM, not the storage, so only visible messages are accounted - YES, you need to scroll up to get more data | |
// DONE | |
// #2 - Still didn't get the message content, really wanted that for the chars / hour ranking | |
// Impossible, encrypted | |
// #3 - I stripped out the the date time, but that could be useful to actually compile amount of messages / hour | |
// the message store doesn't seem to have the datetime, or maybe the princess is in another castle. Would need to check the other tables | |
// found on message-info, still need to merge in the data | |
// #4 - There's probably a way to retrieve the names instead of phone numbers | |
// maybe encrypted as well, need to check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"uuid": "{11B70AAF-B455-42AB-90A5-D995DFFD0810}", | |
"name": "CX48 Layout", | |
"type": "grid", | |
"info": { | |
"rows": 4, | |
"columns": 11, | |
"rows-percentage": [ | |
2208, | |
1181, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module posh-git | |
Import-Module -Name Terminal-Icons | |
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\takuya.omp.json" | Invoke-Expression |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace ConexiomInterviewTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
a = add --all | |
ai = add -i | |
############# | |
ap = apply | |
as = apply --stat | |
ac = apply --check | |
############# | |
ama = am --abort | |
amr = am --resolved |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class IdentityExtensions | |
{ | |
public static string GetEmail(this ClaimsPrincipal current) | |
{ | |
return GetClaimValue(current, "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"); | |
} | |
public static string GetName(this ClaimsPrincipal current) | |
{ | |
return GetClaimValue(current, "name"); |