sudo -s
cat /proc/sys/fs/inotify/max_user_watches
8192
echo 524288 > /proc/sys/fs/inotify/max_user_watches
This file contains hidden or 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
| { | |
| "ASP.NET Core MVC Controller": { | |
| "prefix": "controller", | |
| "description": "A minimal ASP.NET Core MVC controller.", | |
| "body": [ | |
| "using System;", | |
| "using System.Collections.Generic;", | |
| "using System.Linq;", | |
| "using System.Threading.Tasks;", | |
| "using Microsoft.AspNetCore.Mvc;", |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "github.com/samonzeweb/godb" | |
| "github.com/samonzeweb/godb/adapters/mssql" | |
| "github.com/samonzeweb/godb/dbreflect" | |
| "github.com/shopspring/decimal" | |
| ) |
This file contains hidden or 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/env ruby | |
| # Parse all NuGet packages under the package directory and print | |
| # all packages names followeb by its dependencies. The format | |
| # is not pretty, but useful combined with 'grep'. | |
| require 'zip' # rubyzip | |
| require 'rexml/document' | |
| Dir.glob("packages/**/*.nupkg").each do |nupkg| |
This file contains hidden or 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
| // This exemple shows : | |
| // * how to start an app with a free local port | |
| // * how to find urls used and open a brower | |
| // * how to stop the server | |
| // | |
| // Of course it's not production ready, it's a simple howto/reminder. | |
| // | |
| // Some part are come from : | |
| // https://andrewlock.net/how-to-automatically-choose-a-free-port-in-asp-net-core/ |
OlderNewer