(this is an old example that illustrates how I introduced a a team to the process of RFCs, my understanding of how to deploy this process well has evolved since then)
- Main Author: @buritica
- Backers: n/a
import sys | |
from http.server import HTTPServer, SimpleHTTPRequestHandler, test | |
class CORSRequestHandler (SimpleHTTPRequestHandler): | |
def end_headers (self): | |
self.send_header('Access-Control-Allow-Origin', '*') | |
self.send_header('Cross-Origin-Opener-Policy','same-origin') | |
self.send_header('Cross-Origin-Embedder-Policy','require-corp') | |
SimpleHTTPRequestHandler.end_headers(self) |
#!/bin/bash | |
## TEXT MANIPULATION ## | |
### CUT ### | |
# print the fields from second fields to last. | |
echo 'a\tb\tc' | cut -d$'\t' -f 2- | |
# b c |
resource "helm_release" "mysql-db" { | |
name = "mysql-db" | |
repository = "https://charts.bitnami.com/bitnami" | |
chart = "mysql" | |
values = [ | |
file("${path.module}/helmfiles/mysql-values.yaml") | |
] | |
} |
<!-- | |
---Created by Gumpanat Keardkeawfa on 2022Feb13.--- | |
---Copyright © 2022 Auycro. All rights reserved.--- | |
--> | |
<script> | |
import cytoscape from 'cytoscape' | |
import { onMount } from 'svelte'; | |
const endpoint = "https://js.cytoscape.org/demos/grid-layout/data.json"; | |
let data = []; |
// Sample vision-quickstart uses the Google Cloud Vision API to label an image. | |
// https://cloud.google.com/vision/docs/ocr | |
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"os" |
function printLatLng(input){ | |
var r = Maps.newGeocoder().geocode(input); | |
for (var i = 0; i < r.results.length; i++) { | |
var res = r.results[i]; | |
console.log(input, res.geometry.location.lat + ", " + res.geometry.location.lng); | |
} | |
} | |
function myFunction() { | |
/** @OnlyCurrentDoc */ |
Try build with gradlew
# ./gradlew build --stacktrace
Get this Error
A problem occurred configuring project ':app'.
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using LanguageExt; | |
using static LanguageExt.Prelude; | |
namespace lang_ext | |
{ | |
class Program |
using System.Collections.Generic; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
var test_data = Init(); | |
test_data.ForEach((x)=>{ | |
if (IsBothConditions(x)){ | |
System.Console.WriteLine("baz"); |