Skip to content

Instantly share code, notes, and snippets.

View Doggie52's full-sized avatar
📈

Douglas Stridsberg Doggie52

📈
View GitHub Profile
@riyadparvez
riyadparvez / CsvUtils.cs
Created January 6, 2013 14:48
DataTable to CSV extension methods. Export to CSV file, CSV string
public static class CSV
{
public static string ToCSV(this DataTable table)
{
var columnHeaders = (from DataColumn x in table.Columns
select x.ColumnName).ToArray();
StringBuilder builder = new StringBuilder(String.Join(",", columnHeaders));
builder.Append("\n");
foreach (DataRow row in table.Rows)
@WillianTomaz
WillianTomaz / wsl2-with-1password-info.md
Last active May 18, 2024 11:44
Instructions for using 1Password SSH Agent with WSL2 (on Windows 11)

Saturday, April 22, 2023

How to Use 1Password SSH Agent with WSL2 (on Windows 11)

  • Note:

    • Always look for the official documentation, this tutorial may not suit you as there are new updates to the installation process.
    • References are at the end of the document.
  • Was used:

    • Windows 11 (x64)
    • WSL 2 (Ubuntu 22.04.2 LTS)