Skip to content

Instantly share code, notes, and snippets.

View lqdev's full-sized avatar

Luis Quintanilla lqdev

View GitHub Profile
@lqdev
lqdev / GetProgrammingFS16TryThis.fsx
Created July 1, 2018 01:59
Solution to Try This Exercise in Get Programming with F# Lesson 16
//Try this
type Folder = {
Name:string
Size:int64
NumFiles:int64
AvgSize:float
DistinctExt:string list
}
open System.IO
@lqdev
lqdev / ubuntu_wifi_adapter_fix.sh
Created September 18, 2018 16:38
Ubuntu 18.04 HP Laptop WiFi Adapter Fix
sudo apt update && sudo apt install git dkms
cd Downloads
git clone -b extended --single-branch https://github.com/lwfinger/rtlwifi_new.git
unofficial
cd rtlwifi_new
make
sudo make install
@lqdev
lqdev / main.js
Created January 3, 2018 04:56
Largest Unique Set of Characters
/*
write a program that outputs the largest unique set of characters that can be removed
from this paragraph without letting its length drop below 50.
For example: [‘H’, ‘i’, ‘!’, ‘ ’]
*/
//Exception based on paragraph length
function ParagraphLengthException(message){
this.name = "ParagraphLengthException"
this.message = message;
@lqdev
lqdev / DotnetDsML.md
Last active December 1, 2020 02:12
List of Data Science & ML Projects in .NET

Data loading

  • IDataView (ML.NET)
  • .NET for Apache Spark
  • FSharp.Data
  • Deedle

Data wrangling

  • Deedle
@lqdev
lqdev / ImageClassifierFsAdvent2020.fsx
Created December 14, 2020 01:18
Code from F# Advent 2020 Image Classifier
#r "nuget:Microsoft.ML"
#r "nuget:Microsoft.ML.Vision"
#r "nuget:Microsoft.ML.ImageAnalytics"
#r "nuget:SciSharp.TensorFlow.Redist"
open System
open System.IO
open Microsoft.ML
open Microsoft.ML.Data
open Microsoft.ML.Vision
@lqdev
lqdev / AccessToken.cs
Last active January 5, 2021 17:33
Client Credentials Authorization Flow in C# (Spotify API)
using System;
namespace authtest
{
class AccessToken
{
public string access_token { get; set; }
public string token_type { get; set; }
public long expires_in { get; set; }
}
@lqdev
lqdev / Data-Viz.ipynb
Last active June 28, 2022 02:49
Plotly.NET C#
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.