Skip to content

Instantly share code, notes, and snippets.

View thetilliwilli's full-sized avatar

TilliWilli thetilliwilli

View GitHub Profile
@thetilliwilli
thetilliwilli / how to disable rounded corners in context menu chrome browser.md
Created August 14, 2023 07:53
how to disable rounded corners in context menu chrome browser
  1. goto chrome://flags/
  2. find settings "Chrome Refresh 2023"
  3. disable it image
  4. be happy
alert(1)
class CreateOperation {
static OrderBy(getter: (element: any) => any) {
return function (arr: any[]): any[] {
return arr.sort((a, b) => getter(a) - getter(b));
};
}
static OrderByDesc(getter: (element: any) => any) {
return function (arr: any[]): any[] {
return arr.sort((a, b) => getter(b) - getter(a));
@thetilliwilli
thetilliwilli / Wikidata Query with Linq C sharp.cs
Created February 9, 2019 17:37
How to get dataset for LINQ from wikipedia
using LinqToWiki.Generated;
using Newtonsoft.Json;
using RestSharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
@thetilliwilli
thetilliwilli / json
Created April 23, 2018 12:29
personDto
{
"id":1,
"firstName": "name",
"lastName": "lastName"
}
"2017-11-30T12:25:00.000z".toString()