This file contains 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
<settings> | |
<profiles> | |
<profile> | |
<id>projectares</id> | |
<repositories> | |
<repository> | |
<id>freundtech</id> | |
<name>freundTech</name> | |
<url>https://repo.freundTech.com</url> | |
</repository> |
This file contains 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
-- What we did to fix this bug, | |
-- https://hcmc.uvic.ca/blogs/index.php?blog=22&p=8105&more=1&c=1&tb=1&pb=1 | |
--SELECT MAX(id) FROM pilot; | |
--SELECT nextval('public.pilot_id_seq'); | |
--SELECT pg_get_serial_sequence('pilot', 'id') | |
--SELECT nextval('public.pilot_id_seq'); | |
--SELECT setval('public.pilot_id_seq', 13833); |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.dot { | |
position: absolute; | |
height: 10px; | |
width: 10px; | |
display: block; | |
background: #000; |
This file contains 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
'use strict' | |
// Import the script from the url | |
function importScript(url) { | |
const request = new XMLHttpRequest() | |
request.onload = () => eval(request.responseText) | |
request.open('GET', url, true) | |
request.send() | |
} |
This file contains 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 red = (text) => ({ color: '31', text }) | |
const green = (text) => ({ color: '32', text }) | |
const white = (text) => ({ color: '0', text }) | |
const color = (strings, ...args) => { | |
const colorize = args.map(({ color, text }) => `\x1b[${color}m${text}`) | |
return strings.reduce((acc, item) => `${acc}${item}${colorize.shift() ?? ''}`, '') | |
} | |
console.log(color`${red`FAIL`} ${white`foobar`} ${green`pass`}`) |
OlderNewer