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
{***** INTESTAZIONE *****} | |
{***** Autore: Rex Romae *****} | |
Program Azzard1; | |
uses crt; | |
{***** VARIABILI *****} | |
VAR inizio:string[255]; | |
risposta,uscita:char; | |
scelta,puntata,numero,numero2,I,estratto,estratto2,colore,colores:integer; | |
flag,flag2,estratti,estratti2:boolean; |
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
services: | |
movies: | |
image: okteto/movies-with-compose:proxy | |
ports: | |
- 80:80 | |
depends_on: | |
- api | |
- frontend |
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 ( | |
"errors" | |
"fmt" | |
go_errors "github.com/go-errors/errors" | |
) | |
func main() { |
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
apiVersion: backstage.io/v1beta2 | |
kind: Template | |
# some metadata about the template itself | |
metadata: | |
name: v1beta2-demo | |
title: Test Action template | |
description: scaffolder v1beta2 template demo | |
spec: | |
owner: backstage/techdocs-core | |
type: service |
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
const http = require('http'); | |
const https = require('https'); | |
const AWSXRay = require('aws-xray-sdk-core'); | |
const AWS = AWSXRay.captureAWS(require('aws-sdk')); | |
const needle = require('needle'); | |
AWSXRay.captureHTTPsGlobal(http); | |
AWSXRay.captureHTTPsGlobal(https); | |
const fetchUserDetails = (username, segment) => { |
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
/** | |
* Node.js Script to Download Lingoda Teaching Material | |
*/ | |
const fs = require('fs'); | |
const needle = require('needle'); | |
const { promisify } = require('util'); | |
const { stringify } = require('query-string'); | |
const mkdir = require('mkdirp-promise'); | |
const writeFileAsync = promisify(fs.writeFile); |
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
const PerformanceProfiler = () => { | |
const performance = {}; | |
const start = metricName => { | |
if (!performance[metricName]) { | |
performance[metricName] = {}; | |
} | |
performance[metricName].startAt = process.hrtime(); | |
}; |
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 bash | |
# Simple bash script to download and bundle an s3 bucket | |
# Usage: | |
# AWS_PROFILE=... S3_BUCKET_NAME=... ./s3bucket-to-tar | |
# Requires: | |
# aws cli, tar | |
set -euo pipefail |
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
find . -name "nodemodules" -type d -prune -exec rm -rf '{}' + |
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 bash | |
set -eu -o pipefail | |
# Usage: | |
# ./create-url-parameter /dev/projectName/API_BASE_URL https://api.example.com | |
name="$1" | |
value="$2" | |
description="$3" |
NewerOlder