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
--list input devices | |
ffmpeg -list_devices true -f dshow -i dummy | |
--to record microphone to mp3 | |
ffmpeg -f dshow -i audio="Microphone (Logitech USB Headset H340)" -c:a libmp3lame -ar 44100 -b:a 320k -ac 1 output1.mp3 | |
--send mic to rtp multicast g.711 | |
ffmpeg -f dshow -i audio="Microphone (Logitech USB Headset H340)" -ac 1 -ar 8000 -ab 64 -acodec pcm_mulaw -f rtp rtp://239.0.0.1:5656 | |
--play received audio |
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
var columnFilters = new[] | |
{ | |
new {SheetName = "Sheet1", ColumnName = "FirstName", Values = new [] { "Bob", "John"}}, | |
new {SheetName = "Sheet1", ColumnName = "Age", Values = new [] { 30"}}, | |
}.ToList(); | |
//Apply filters | |
using (var pck = new ExcelPackage(new FileInfo(parametricsLogFilename))) | |
{ | |
columnFilters.ForEach(columnFilter => |
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 sysinternals | |
handle.exe -p notepad.exe -nobanner -a \Sessions\1\BaseNamedObjects\SessionImmersiveColorMutex | |
handle.exe -p 40012 -c 21C -nobanner -y | |
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
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#AutoIt3Wrapper_Change2CUI=y | |
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#include <AutoItConstants.au3> | |
#include <StringConstants.au3> | |
#include <Array.au3> | |
Local $processOrPid | |
Local $mutantName |
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
#Region ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#AutoIt3Wrapper_Change2CUI=y | |
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** | |
#include <WinAPI.au3> | |
;~ #include <WinAPIInternals.au3> | |
#include <Array.au3> | |
Main() |
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.IO; | |
using System.Linq; | |
using System.Windows.Forms; | |
namespace EnableNullableReferenceTypes | |
{ | |
/* | |
Add the following to the .csproj file: |
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 IEnumerable<T> MaskToList<T>(this Enum mask) | |
{ | |
if (typeof(T).IsSubclassOf(typeof(Enum)) == false) | |
throw new ArgumentException(); | |
return Enum.GetValues(typeof(T)) | |
.Cast<Enum>() | |
.Where(m => mask.HasFlag(m)) | |
.Cast<T>(); | |
} |
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
net use \\YOURCOMPUTERNAMEHERE | |
QWINSTA /server:YOURCOMPUTERNAMEHERE | |
LOGOFF YOURSESSIONIDHERE /server:YOURCOMPUTERNAMEHERE |
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
https://geo-matching.com/uploads/default/m/i/migrationpggxej.pdf | |
https://www.omnistar.com/Portals/0/downloads/receivers/omnistar/5000%20series/5220HP/5220HP-doc-user_manual.pdf | |
http://www.canalgeomatics.com/product_files/CrescentIntegratorsManual_45.pdf |
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 string FormatUsingRoslyn(string csCode) | |
{ | |
var tree = CSharpSyntaxTree.ParseText(csCode); | |
var root = tree.GetRoot().NormalizeWhitespace(); | |
var result = root.ToFullString(); | |
return result; | |
} |
OlderNewer