Skip to content

Commit b4fbcc2

Browse files
committed
Some more stuff
1 parent 29df391 commit b4fbcc2

File tree

82 files changed

+4477
-621
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+4477
-621
lines changed

app-config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"highlight-js-theme" : "nord",
3+
"main-left-panel-width" : "0"
4+
}"
5+
}81"
6+
}

build.gradle

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ version = '0.0.1-SNAPSHOT'
1010

1111
java {
1212
toolchain {
13-
languageVersion = JavaLanguageVersion.of(21)
13+
languageVersion = JavaLanguageVersion.of(24)
1414
}
1515
}
1616

@@ -24,6 +24,7 @@ dependencies {
2424
implementation 'org.springframework.boot:spring-boot-starter-webflux'
2525
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
2626
implementation 'org.projectlombok:lombok'
27+
implementation 'org.xerial:sqlite-jdbc'
2728
implementation 'org.springframework.boot:spring-boot-starter-test'
2829
implementation 'org.rocksdb:rocksdbjni:10.4.2'
2930
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
@@ -32,3 +33,34 @@ dependencies {
3233
tasks.named('test') {
3334
useJUnitPlatform()
3435
}
36+
37+
tasks.register('compileCSS', Exec) {
38+
group = "Other"
39+
description = "Compiles Sass CSS files"
40+
onlyIf {
41+
project.findProperty("springProfile") == "dev"
42+
}
43+
44+
def cssDirectory = "$projectDir/src/main/resources/static/css/"
45+
46+
doFirst {
47+
def oldCSSFile = file "$cssDirectory/style.css"
48+
if (oldCSSFile.exists()) {
49+
println "Deleting ${oldCSSFile}"
50+
oldCSSFile.delete()
51+
}
52+
53+
file(cssDirectory).mkdirs()
54+
}
55+
56+
workingDir = file("$cssDirectory")
57+
58+
commandLine 'dart-sass', '--no-source-map', 'style.scss', 'style.css'
59+
}
60+
61+
tasks.named('bootRun') {
62+
dependsOn tasks.named('compileCSS')
63+
}
64+
tasks.named('build') {
65+
dependsOn tasks.named('compileCSS')
66+
}

concat

754 KB
Binary file not shown.
176 KB
Loading
235 KB
Loading

dev/JS/es6_function_proxy.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>ES6 Proxy</title>
6+
</head>
7+
<body>
8+
<script>
9+
function sayHello(msg, number) {
10+
return `Hello ${msg}[${number}]`;
11+
}
12+
13+
let functionProxy = new Proxy(sayHello, {
14+
apply(target, thisArg, argumentsList) {
15+
console.log(`Saying hello before calling function: ${argumentsList}`);
16+
return target(...argumentsList);
17+
},
18+
});
19+
20+
console.log(`Function call result: ${functionProxy('area', 52)}!`);
21+
</script>
22+
</body>
23+
</html>

dev/Kompilera zmq_send.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
make CFLAGS+="-I.." LDFLAGS+="-L/home/erik/ffmpeg/libavcodec -L/home/erik/ffmpeg/libavdevice -L/home/erik/ffmpeg/libavfilter -L/home/erik/ffmpeg/libavformat -L/home/erik/ffmpeg/libavutil" LDLIBS="-lavcodec -lavdevice -lavfilter -lavformat -lavutil -lzmq" zmqsend
57.3 KB
Loading
32.2 KB
Loading

dev/dvb-fe-tool, output.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Device Silicon Labs Si2168 (/dev/dvb/adapter0/frontend0) capabilities:
2+
CAN_2G_MODULATION
3+
CAN_FEC_1_2
4+
CAN_FEC_2_3
5+
CAN_FEC_3_4
6+
CAN_FEC_5_6
7+
CAN_FEC_7_8
8+
CAN_FEC_AUTO
9+
CAN_GUARD_INTERVAL_AUTO
10+
CAN_HIERARCHY_AUTO
11+
CAN_INVERSION_AUTO
12+
CAN_MULTISTREAM
13+
CAN_MUTE_TS
14+
CAN_QAM_16
15+
CAN_QAM_32
16+
CAN_QAM_64
17+
CAN_QAM_128
18+
CAN_QAM_256
19+
CAN_QAM_AUTO
20+
CAN_QPSK
21+
CAN_TRANSMISSION_MODE_AUTO
22+
DVB API Version 5.12, Current v5 delivery system: DVBT
23+
Supported delivery systems:
24+
[DVBT]
25+
DVBT2
26+
DVBC/ANNEX_A
27+
Frequency range for the current standard:
28+
From: 48.0 MHz
29+
To: 870 MHz
30+
Step: 62.5 kHz

0 commit comments

Comments
 (0)