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
[PARAMS] | |
GUID={C137CF51-CBEF-4267-80EA-DF88C157D0C5} | |
ParentSubMenu=SatMap Cache | |
name=Google Sat | |
NameInCache=satmap.sat | |
DefURLBase=http://localhost:8080/satmap/0/{z}/{x}/{y} | |
ContentType=image/jpeg | |
Ext=.jpg | |
EPSG=3785 |
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
// Android 4.1+ | |
dependencies { | |
implementation 'com.squareup.okhttp3:okhttp:3.12.13' | |
implementation 'org.conscrypt:conscrypt-android:2.5.2' | |
} | |
// Android 5.0+ | |
dependencies { | |
implementation 'com.squareup.okhttp3:okhttp:4.10.0' | |
implementation 'org.conscrypt:conscrypt-android:2.5.2' |
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
program Project1; | |
{$APPTYPE CONSOLE} | |
{$R *.res} | |
uses | |
System.Classes, | |
System.SysUtils; |
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
$ go build -gcflags "-m" main.go | |
# command-line-arguments | |
.main.go:8:6: can inline f | |
.main.go:13:6: can inline main | |
.main.go:16:16: inlining call to f | |
.main.go:9:27: &Person literal escapes to heap | |
.main.go:14:27: &Person literal does not escape | |
.main.go:16:16: &Person literal does not escape |
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
re1.Lines.BeginUpdate; | |
try | |
re1.Lines.Assign(sl2); | |
finally | |
re1.Lines.EndUpdate; | |
end; |
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 | |
SETLOCAL ENABLEEXTENSIONS | |
rem attion variable scope is lost when nesting if's | |
rem helpfull for string http://www.dostips.com/DtTipsStringManipulation.php | |
set arg1=%1 | |
set dir=%1 | |
set found=0 | |
set search=%1 |
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
uses | |
SysUtils, | |
SynCommons; | |
{$A8} | |
type | |
TRec = record | |
f1: Word; | |
f2: Byte; |
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
program MouseClickFix; | |
uses | |
Windows, | |
Classes, | |
SysUtils, | |
Messages; | |
var | |
mHook: HHook = 0; |
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
program FastDigitCount; | |
{$APPTYPE CONSOLE} | |
uses | |
System.SysUtils, | |
System.Diagnostics; | |
function Digits_1(const S: string): Integer; | |
var |
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
#!/usr/bin/perl -w | |
# act as a KSysGuard sensor | |
# provides NVIDIA GPU info via `nvidia-settings` | |
# Usage (e.g. add gpu temperature sensor) | |
# 1. save this file, make sure it has a exec permission | |
# 2. in KSysGuard's menu, open `File` -> `Monitor Remote Machine` | |
# 3.1 in new dialog, type `Host` whatever you want | |
# 3.2 set `Connection Type` to `Custom command` |