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
/// DISCLAIMER: This is a hacky reverse engineering, I have no idea what the actual syntax is or how it works | |
/// will probably break in some cases, but so far has worked for a couple hundred different files for me | |
/// Line 27 is a sanity check for this hack, if you use special characters in your tags it will alert you | |
using System; | |
using System.Linq; | |
using System.Collections.Generic; | |
using TagLib; | |
static class AudioFileTagReader |
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
javascript:location.href='https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&prodversion='+(navigator.appVersion.match(/Chrome\/(\S+)/)[1])+'&x=id%'+'3D'+(document.querySelector('a[href^="https://chrome.google.com/webstore/report/"]').pathname.match(/[^\/]+\/*$/)[0])+'%'+'26installsource%'+'3Dondemand%'+'26uc'; |
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
<configuration> | |
<runtime> | |
<appDomainManagerType value="LauncherPatcher" /> | |
<appDomainManagerAssembly value="LauncherPatcher, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> | |
</runtime> | |
</configuration> |
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
ls -recurse *.flac | % {ffmpeg -i "$_" -c:a aac -b:a 320k -y -c:v copy "$($_.Directory.FullName + "\" + $_.BaseName).m4a" } |
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.Linq.Expressions; | |
using System.Reflection; | |
using WebApi.Delta; | |
namespace Hst.Deals.API.Infrastructure | |
{ | |
internal class CompiledPropertyAccessor<TEntityType> : PropertyAccessor<TEntityType> where TEntityType : class | |
{ | |
private Action<TEntityType, object> _setter; |
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.Runtime.CompilerServices; | |
public class Program | |
{ | |
public static readonly string IdString = CallerName(); | |
public static readonly string IdString2 = CallerName(); | |
public static string CallerName([CallerMemberName]string name = default) | |
=> name; |
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
\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere | |
\PassOptionsToPackage{hyphens}{url} | |
\pdfstringdefDisableCommands{% | |
\def\\{}% | |
\def\newline{}% | |
\def\texttt#1{<#1>}% | |
} | |
\newcounter{MarkdownId} |
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.Threading.Tasks; | |
using System.IO.MemoryMappedFiles; | |
using System.Runtime.InteropServices; | |
using System.Security.Cryptography; | |
using System.Runtime.Serialization; | |
using System.Runtime.Serialization.Formatters.Binary; | |
async Task Main() | |
{ | |
using (var channel = DemoServer()) |
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
// Copyright 2017 Jon Skeet. All rights reserved. Use of this source code is governed by the Apache License 2.0, as found in the LICENSE.txt file. | |
using System; | |
using System.Data; | |
using System.Data.SqlClient; | |
using System.Linq; | |
using static System.FormattableString; | |
namespace StringInterpolation | |
{ | |
class ParameterizedSql |
NewerOlder