- Held on Valencia on 06-02-2020
- The speaker Debbie O'Brien is a developer and Nuxt evangelist, so to speak
- She has a nice boilerplate in GH: https://github.com/debs-obrien/nuxt-boilerplate-project (reviewed by Nuxt experts)
- As well, she has some courses in https://vueschool.io/ (alongside Alex and Sebastien, creators of Vuex). There are some interesing introductory free courses there as well.
- Big performance improvements when using Nuxt+API vs traditional FE+BE mixed apps
- As an example, Louis Vuitton uses Nuxt https://en.louisvuitton.com/eng-nl/homepage?dispatchCountry=NL
- Most performant option: generate static page, but not suitable for all use cases
- As well, using lazy component loading, components can be generated in separate bundles (pages are automatically). Good practice for components that are shown below the fold or on user actions.ç
I hereby claim:
- I am mcliment on github.
- I am mcliment (https://keybase.io/mcliment) on keybase.
- I have a public key whose fingerprint is 112B DC2C 1FC3 7413 972A F92E 2177 6BE5 B1E2 D4C4
To claim this, I am signing this object:
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
Nested Container: DEFAULT - Nested | |
========================================================================================================================================================================================================================================================================================================================== | |
PluginType Namespace Lifecycle Description Name | |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
ActionConstraintCache |
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 AutoMapper; | |
namespace SMBugSample | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var workingConfig = new MapperConfiguration(cfg => |
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 http = require("https"); | |
var openUrl = "/search/issues?q=user:aspnet+is:open+milestone:1.0.0-rc2"; | |
var closedUrl = "/search/issues?q=user:aspnet+is:closed+milestone:1.0.0-rc2"; | |
function getCount(url) { | |
return new Promise((resolve, reject) => { | |
var req = http.request({ | |
hostname: "api.github.com", | |
path: url, |
This simple program just demonstrates that you can even redefine singletons in nested containers and they are destroyed when the nested container is disposed.
It just prints the HashCode of the instances twice -to ensure that they are defined as singletons-.
But this only works in StructureMap 2.6.x -actually because of a design flaw-, in 3.x branch throws a InvalidOperationException with the message:
Additional information: Only registrations of the default Transient, UniquePerRequest, and prebuilt objects are valid for nested containers. Remember that 'Transient' instances will be built once per nested container. If you need this functionality, try using a Child/Profile container instead
NestedContainerSingletons.Singleton or plugin type NestedContainerSingletons.ISingleton has lifecycle Singleton
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
<# | |
.SYNOPSIS | |
Find and process files in a project folder that are not included in the project. | |
.DESCRIPTION | |
Find and process files in a project folder that are not included in the project. | |
Options to delete the files. | |
.PARAMETER Project | |
The path/name for the project 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace KataGasolinera | |
{ | |
public class Point | |
{ | |
public Point(int x, int 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
#!/usr/bin/python | |
# -*- coding: utf-8-1 -*- | |
import random, math | |
size = 1000 | |
numOfStations = 10 | |
minStationDistance = 5 | |
minPointDistance = 200 |
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.Collections.Generic; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Attributes.Jobs; | |
namespace ForEachVsAddRange | |
{ | |
[MemoryDiagnoser] | |
public class Benchmark | |
{ |
NewerOlder