Skip to content

Instantly share code, notes, and snippets.

View jkone27's full-sized avatar
🌴
On vacation

gparmigiani jkone27

🌴
On vacation
View GitHub Profile
@jkone27
jkone27 / The Technical Interview Cheat Sheet.md
Created August 1, 2016 22:32 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@jkone27
jkone27 / Working Effectively with Legacy Code.md
Last active August 8, 2019 09:15 — forked from birdofpray70/Working Effectively with Legacy Code.md
Notes on Michael Feathers' *Working Effectively with Legacy Code*.

Working Effectively with Legacy Code

Notes by Jeremy W. Sherman, October 2013, based on:

Feathers, Michael. Working Effectively with Legacy Code. Sixth printing, July 2007.

Foreword:

  • Software systems degrade into a mess.
  • Requirements ALWAYS change.
  • Your goal as a software developer: Create designs that tolerate change.
@jkone27
jkone27 / resume.json
Created March 7, 2020 21:16
resume.json
{
"basics": {
"name": "Giacomo Parmigiani",
"label": "Senior .NET software developer at Travix International - fulfilment area",
"picture": "",
"email": "giacomo.parmigiani@protonmail.com",
"phone": "",
"website": "",
"summary": "Information Technology & Services",
"location": {
@jkone27
jkone27 / hosting-on-github.md
Created March 7, 2020 22:24 — forked from TylerFisher/hosting-on-github.md
Basic steps for hosting on Github

Hey there, apparently people are still using this Gist from 2013! It's out of date! Consult the Github docs.

Steps for Hosting a Website on GitHub

  1. Create a GitHub account on github.com.
  2. Download either [GitHub for Mac][1] or [GitHub for Windows][2], depending on your operating system. Open the app and log in using the account you just created.
  3. (On Mac): After you login, click advanced and make sure that your name and email are correct. Then, click "Install Command Line Tools", just in case you want to start using the command line later in life.
  4. Create a new repository in your GitHub application. Name it your-username.github.io. The name is very important. Note the folder that GitHub is saving the repository to. Make sure the "Push to GitHub?" box is checked.
  5. Move your website's files into the folder that GitHub just created when you made the repository. IMPORTANT: Your homepage HTML file must be called "index.html", and it must exist in the top-level
@jkone27
jkone27 / WebApiComparisonStartupCsharp.cs
Created November 3, 2020 15:46
WebApiComparisonStartupCsharp
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = configuration;
}
public IConfiguration Configuration { get; }
// This method gets called by the runtime. Use this method to add services to the container.
@jkone27
jkone27 / WebApiComparisonStartupCsharp.fsx
Created November 3, 2020 15:49
WebApiComparisonStartupFsharp
module TerseIgnore =
//readability trick
let (!) a = a |> ignore
open TerseIgnore
type Startup(configuration: IConfiguration) =
member _.ConfigureServices(services: IServiceCollection) =
@jkone27
jkone27 / FelizViewEngineMvc.fs
Created March 25, 2021 13:09
Feliz.ViewEngine in F# aspnetcore MVC and NET5
//useful links for F# FE stuff
//https://github.com/dbrattli/Feliz.ViewEngine
//https://dzoukr.github.io/Feliz.Bulma/
//https://github.com/zanaptak/TypedCssClasses
//https://www.w3schools.com/css/css_howto.asp
open Microsoft.AspNetCore.Mvc
open Feliz.ViewEngine
open Zanaptak.TypedCssClasses
open Microsoft.AspNetCore.Hosting
@jkone27
jkone27 / FSharpDataJsonValueMutation.fsx
Last active May 5, 2021 13:35
Mutating FSharp.Data JsonProvider types
#r "nuget: FSharp.Data"
#r "nuget: Newtonsoft.Json"
open System
open System.Reflection
open FSharp.Data
open Newtonsoft.Json.Linq
open Microsoft.FSharp.Quotations
open System.Linq.Expressions
open FSharp.Linq.RuntimeHelpers
@jkone27
jkone27 / addendum_aoc_2021_day_one.py
Last active December 30, 2021 17:55
aoc 2021 day one in python
#extras...
# why no Linq / extension methods in python?
# even if we wrap the nativ list in an object, we cannot chain methods vertically...
# so .map.map.map only works on one line :(
class List:
# is not private
# workarounds ... _ ..
# https://stackoverflow.com/questions/1641219/does-python-have-private-variables-in-classes
@jkone27
jkone27 / RecordProvider.fs
Created January 24, 2022 19:50 — forked from odytrice/RecordProvider.fs
Simple F# Type Provider for Mutable Records
namespace TestProvider.Provided
open System.Reflection
open FSharp.Core.CompilerServices
open ProviderImplementation.ProvidedTypes
open System.Collections.Generic
open Microsoft.FSharp.Quotations
[<TypeProvider>]
type SampleProvider(config) as this =