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": "http://json-schema.org/draft-07/schema#", | |
"title": "Roo Code MCP Settings", | |
"description": "Roo Code Configuration for MCP (Model Context Protocol) servers", | |
"type": "object", | |
"properties": { | |
"mcpServers": { | |
"description": "A collection of MCP server configurations, keyed by server name.", | |
"type": "object", | |
"additionalProperties": { |
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
[{ | |
"Note": "The first two digits (ranging from 10–43) correspond to the province, while the last two digits correspond either to the city/delivery zone (range 01–50) or to the district/delivery zone (range 51–99). Afghanistan Postal code lookup", | |
"Country": "Afghanistan", | |
"ISO": "AF", | |
"Format": "NNNN", | |
"Regex": "^\\d{4}$" | |
}, { | |
"Note": "With Finland, first two numbers are 22.", | |
"Country": "Åland Islands", | |
"ISO": "AX", |
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
SELECT | |
t.NAME AS TableName, | |
SUM(a.used_pages) * 8 AS UsedSpaceKB, | |
SUM(a.total_pages) * 8 AS TotalSpaceKB, | |
(SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB, | |
p.rows AS RowCounts | |
FROM | |
sys.tables t | |
INNER JOIN | |
sys.indexes i ON t.OBJECT_ID = i.object_id |
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
""" | |
This script reads the .gitignore file from the current directory, finds all ignored directories, | |
then adds them to the IntelliJ .idea/*.iml file. IntelliJ applies these changes automatically without restarting. | |
""" | |
# https://youtrack.jetbrains.com/issue/IDEA-140714#focus=Comments-27-4851651.0-0 | |
import glob | |
import os | |
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
$scriptpath = $MyInvocation.MyCommand.Path | |
$dir = Split-Path $scriptpath | |
$jvmopts = '-XX:+UseG1GC', '-XX:+ExplicitGCInvokesConcurrent' | |
if (Test-Path -Path ".jvmopts") { | |
#Write-host "using .jvmopts in local path" | |
$jvmopts = [string[]](Get-Content ".jvmopts" | Select-Object) | Foreach { $_.Trim() } | |
} elseif (Test-Path -Path "${dir}/.jvmopts") { | |
#Write-host "using default .jvmopts in ${dir}/.jvmopts" | |
$jvmopts = [string[]](Get-Content "${dir}/.jvmopts" | Select-Object) | Foreach { $_.Trim() } | |
} |
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 printtextlocations; | |
/* | |
<dependency> | |
<groupId>org.apache.pdfbox</groupId> | |
<artifactId>pdfbox</artifactId> | |
<version>2.0.11</version> | |
</dependency> | |
*/ |
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 spray.json | |
import spray.json.{DefaultJsonProtocol, RootJsonFormat} | |
import scala.reflect.macros.blackbox.Context | |
trait AutoProductFormat extends DefaultJsonProtocol { | |
implicit def jsonFormat[T <: Product]: RootJsonFormat[T] = macro AutoProductFormatMacro.autoProductFormatMacro[T] | |
} |
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
# Container running Event Store | |
# | |
# VERSION 0.1 | |
FROM ubuntu | |
MAINTAINER Alexander "iam.asm89@gmail.com" | |
# make sure the package repository is up to date | |
RUN apt-get update | |
# install packages required to build mono and the eventstore |
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
AED | |
("United Arab Emirates", "Dirhams"), | |
AFN | |
("Afghanistan", "Afghanis"), | |
ALL | |
("Albania", "Leke"), | |
AMD | |
("Armenia", "Drams"), | |
ANG | |
("Netherlands Antilles", "Guilders (also called Florins)"), |