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
create table "Tickers_Data" | |
( | |
ticker integer not null | |
constraint tickers_data_ticker_foreign | |
references "Tickers", | |
time date not null, | |
low double precision not null, | |
high double precision not null, | |
open double precision not null, | |
close double precision not null, |
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
;@echo off &title Files.html listing from directory context-menu by AveYo v1.0 | |
;if not exist "%~1" ( goto :setup ) else pushd "%~1\.." &echo Listing "%~1" - please wait... &set "fn=%~nx1 Files.html" | |
;del /f/q "%fn%" >nul 2>nul &cd.>"%fn%" 2>nul | |
;if exist "%fn%" ( set "files=%CD%\%fn%" ) else set "files=%USERPROFILE%\Desktop\%fn%" | |
;pushd "%~1" | |
;set "ampersand=&" &set "escape=&" | |
;> "%files%" findstr -bv ; "%~f0" | |
;>>"%files%" echo ^<p^>%DATE%, %TIME%^</p^>^<div class="filetree"^> | |
;>>"%files%" <nul set/p="<ul class="main-tree"><li class="tree-title">%~1</li>" | |
;>>"%files%" echo. |
DEPRECATED: Refer to delphi-ppl
A long running task may cause the application runtime become unresponsive and lead perception of application halt or hang during the operation.
For example:
- A database backup operation spend 10 minutes to finish.
- Perform length report calculation
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
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 eu.janbednar.stackoverflow.camelTest; | |
import org.apache.camel.Exchange; | |
import org.apache.camel.Processor; | |
import org.apache.camel.RoutesBuilder; | |
import org.apache.camel.builder.RouteBuilder; | |
import org.apache.camel.test.junit4.CamelTestSupport; | |
import org.junit.Assert; | |
import org.junit.Test; |
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
variables: | |
NEXUS_URL: XXX | |
NEXUS_USER: XXX | |
NEXUS_PWD: XXX | |
SNAPSHOT_DEPLOYMENT_REPOSITORY: ${NEXUS_URL}/repository/maven-snapshots/ | |
RELEASE_DEPLOYMENT_REPOSITORY: ${NEXUS_URL}/repository/maven-releases/ | |
MAVEN_CLI_OPTS: "-s .m2/settings.xml --batch-mode --errors --fail-at-end --show-version" | |
MAVEN_CLI_POST_OPTS: "-Dnexus.url=${NEXUS_URL} -Dmaven.repo.local=.m2" | |
deploy: |
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
# Create test VM with Vagrant. | |
mkdir testvm && cd testvm | |
vagrant init geerlingguy/ubuntu1804 | |
# (Edit created Vagrantfile and uncomment `config.vm.network "private_network"` line) | |
# Start the VM and log in. | |
vagrant up | |
vagrant ssh | |
# Flush iptables rules (allow access to any port). |
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/sh | |
# source https://community.synology.com/enu/forum/1/post/131600 | |
echo "-- START ($(date +%Y%m%d_%H%M%S)) --" | |
#### TO UPDATE BEFORE RUN #### | |
DOCKER_BIN_VERSION=19.03.8 | |
DOCKER_COMPOSE_VERSION=1.25.5 | |
############################## |
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
# Requires -RunAsAdministrator | |
# Only works for WSL v2, this is completely not needed for WSL v1 where u always can use 127.0.0.1 in hosts file | |
Clear-Host | |
if ((Get-InstalledModule "Carbon" -ErrorAction SilentlyContinue) -eq $null) { | |
Install-Module -Name 'Carbon' -AllowClobber | |
} | |
Import-Module 'Carbon' |