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
version: '3.9' | |
services: | |
dotnet-nginx: | |
container_name: dotnet-nginx | |
image: nginx:stable-alpine | |
volumes: | |
- ./nginx/templates:/etc/nginx/templates | |
- ./certbot/conf:/etc/letsencrypt | |
- ./certbot/www:/var/www/certbot | |
ports: |
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
# The full public facing url | |
#root_url = %(protocol)s://%(domain)s:%(http_port)s/ | |
root_url = http://localhost:80/grafana/ |
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
# The full public facing url | |
#root_url = %(protocol)s://%(domain)s:%(http_port)s/ | |
root_url = http://localhost:80/grafana/ |
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
using System; | |
using System.Globalization; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using System.Threading; | |
namespace CSharpBattles | |
{ | |
class Program1 |
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/csharp | |
LoadAssembly ("System.Xml.Linq.dll"); | |
using System.Xml.Linq; | |
using System.IO; | |
var files = Environment.GetEnvironmentVariable ("FILES").Split ().Where (f => File.Exists (f)); | |
var mainFile = files.First (); | |
var main = XDocument.Load (mainFile); | |
foreach (var other in files.Skip (1).Select (d => XDocument.Load (d))) { |
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/csharp | |
LoadAssembly ("System.Xml.Linq.dll"); | |
using System.Xml.Linq; | |
using System.IO; | |
var files = Environment.GetEnvironmentVariable ("FILES").Split ().Where (f => File.Exists (f)); | |
var mainFile = files.First (); | |
var main = XDocument.Load (mainFile); | |
foreach (var other in files.Skip (1).Select (d => XDocument.Load (d))) { |
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
Show hidden characters
{ | |
"cmd": ["pandoc.exe", "--to=html", "--output=$file.html", "$file"], | |
"selector": "source.md" | |
} |
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
{ | |
"cmd": ["g++", "$file", "-o", "$file_base_name", "-I/usr/local/include"], | |
"selector": "source.c++", | |
"windows": | |
{ | |
"cmd": ["cl", "/Fo${file_path}", "/O2", "$file"] | |
} | |
} |
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
{ | |
"cmd": ["sbt-no-color compile"], | |
"file_regex": "^\\[error\\] ([.a-zA-Z0-9/-]+[.]scala):([0-9]+):", | |
"selector": "source.scala", | |
"working_dir": "${project_path:${folder}}", | |
"shell": "true" | |
} |
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
def + + [B>: A, That] (that: TraversableOnce [B]) (implicit bf: CanBuildFrom [List [A], B, That]): That |
NewerOlder