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
import { | |
CountryResources, | |
ResourceDefinitions, | |
} from './models/country-resources.interface'; | |
import { PEOPLE_PER_HOUSE } from './transformation-templates/transformation-templates'; | |
export const stateQuality = ( | |
country: CountryResources, | |
resourceDefinitions: ResourceDefinitions | |
) => { |
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
import { readFileSync } from 'fs'; | |
export interface WorldResource { | |
name: string; | |
weight: number; | |
notes: string; | |
} | |
export const parseResourceFile = (fileName: string): { [key: string]: WorldResource } => { | |
const result: { [key: string]: WorldResource } = {}; | |
const fileText = readFileSync(fileName, { encoding: 'utf-8' }); | |
const lines = fileText.split('\n').map(x => x.trim()); |
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
/* override video player width */ | |
.diIHwN { | |
width: 90%; | |
max-width: none; | |
} | |
.video-js .vjs-control.vjs-button.vjs-control-skip-forward::before { | |
content: "⏩️ 15s"; | |
font-size: 1em; | |
margin-top: 0.7em; |
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
public class RequestDataSpyAttribute : RequestFilterAttribute | |
{ | |
// gets injected by ServiceStack | |
public ILog Log { get; set; } | |
private readonly string _logMessage; | |
public RequestDataSpyAttribute(string logMessage) | |
{ | |
_logMessage = logMessage; |
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
version: '2.2' | |
services: | |
es01: | |
image: elasticsearch:7.10.1 | |
container_name: es01 | |
environment: | |
- discovery.type=single-node | |
volumes: | |
- data01:/usr/share/elasticsearch/data | |
ports: |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadDescription</key> | |
<string>Configures proxy settings to use Charles Proxy</string> | |
<key>PayloadDisplayName</key> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadDescription</key> | |
<string>Configures proxy settings to use Charles Proxy</string> | |
<key>PayloadDisplayName</key> |
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
/* override video player width */ | |
.diIHwN { | |
width: 90%; | |
max-width: none; | |
} | |
.video-js .vjs-control.vjs-button.vjs-control-skip-forward::before { | |
content: "⏩️ 15s"; | |
font-size: 1em; | |
margin-top: 0.7em; |
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
// Client script Merge clicked fragment | |
MergeClicked = function () { | |
var id = document.getElementById('id').value; | |
window.location.href = '/app/site/hosting/scriptlet.nl?script=customscript_customer_merge_page&deploy=1&customerid=' + id; | |
}; |
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
[Rainmeter] | |
Update=1000 | |
[Metadata] | |
Author=DD.921 | |
Version=1.2 | |
License=Creative Commons: Attribution-Noncommercial-ShareAlike 4.0 | |
Description=Displays the weather | |
Instructions= |
NewerOlder