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
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"startingDirectory": null, | |
"defaultProfile": "{14ad203f-52cc-4110-90d6-d96e0f41b64d}", | |
"profiles": { | |
"padding": { | |
"default": "8, 8, 8, 8", | |
"description": "Sets the padding around the text within the window. Can have three different formats: \"#\" sets the same padding for all sides, \"#, #\" sets the same padding for left-right and top-bottom, and \"#, #, #, #\" sets the padding individually for left, top, right, and bottom.", | |
"pattern": "^-?[0-9]+(\\.[0-9]+)?( *, *-?[0-9]+(\\.[0-9]+)?|( *, *-?[0-9]+(\\.[0-9]+)?){3})?$", |
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.1" | |
services: | |
adminer: | |
image: dockette/adminer:full-php5 | |
restart: always | |
ports: | |
- 8001:8001 |
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.1' | |
services: | |
db: | |
container_name: postgres_container | |
image: postgres | |
restart: always | |
ports: | |
- 5432:5432 | |
environment: |
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
import socketserver | |
from http.server import HTTPServer, BaseHTTPRequestHandler | |
from urllib.parse import parse_qs | |
import requests | |
from bs4 import BeautifulSoup | |
import urllib3 | |
import codecs | |
import sys |
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
#!/bin/bash | |
path=/mnt/c/lib/sqlite | |
unixPath=/mnt/c/lib/sqlite/unix | |
java=/usr/lib/jvm/java-11-openjdk-amd64 | |
linking() { | |
gcc -O3 -shared -Wall \ | |
sqlite.c \ | |
-g -fPIC -Wl,-Bdynamic \ |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
struct Student { | |
char name[20]; | |
int noteOne; | |
int noteTwo; | |
int noteThree; | |
int noteFour; |
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
#!/bin/bash | |
run() { | |
tsc $1 --target es2015 && node $2 | |
} | |
file=$(ls -1v *.js | tail -1) | |
filets=$(ls -1v *.ts | tail -1) | |
run $filets $file |
NewerOlder