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
# Might be needed from a fresh install | |
sudo apt update | |
sudo apt upgrade | |
sudo apt install gcc | |
# Might be needed, per: https://docs.nvidia.com/cuda/wsl-user-guide/index.html#cuda-support-for-wsl-2 | |
sudo apt-key del 7fa2af80 |
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
SonarQube does currently not support Raspberry PI. | |
This is a workaround. It compiles a armv6 compatible version of the java-wrapper and configures sonarqube to use it. | |
(Testet with Raspbian, wheezy, 3.6) | |
CHRIS: Also, start here: https://computingforgeeks.com/install-node-js-14-on-ubuntu-debian-linux/ (and carry on below when sonar fails to start) | |
Compile java-wrapper for ARMv6 | |
============================ |
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
import 'package:di/di.dart'; | |
import 'package:di/dynamic_injector.dart'; | |
void main() { | |
var modules = [new SimpleModule(), new EnterpriseModule()]; // last one wins! | |
var di = new DynamicInjector(modules:modules); | |
var foo = di.get(Foo); | |
var bar = di.get(Bar); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Sample app</title> | |
<link rel="stylesheet" href="words.css"> | |
<!-- This is the bootstrap script for Polymer. | |
Use this INSTEAD of dart.js --> |
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
import 'dart:html'; | |
void main() { | |
var carousel = query(".carousel"); | |
var classList = []; | |
carousel.children.forEach((childElement) => classList.addAll(childElement.classes)); | |
print(classList); | |
} |
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
body { | |
background-color: #F8F8F8; | |
font-family: 'Open Sans', sans-serif; | |
font-size: 14px; | |
font-weight: normal; | |
line-height: 1.2em; | |
margin: 15px; | |
} | |
h1, p { |
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
Coverage target process (pid 6476) found listening on port 51189. | |
Debuggee isolate id 7114 created. | |
Debuggee isolate id 7114 shut down. | |
Sending kill signal to process 6476. | |
Connection closed by coverage target | |
Process 6476 terminated with exit code 0. | |
Coverage info collected from 42 breakpoints: | |
file:///c:/Work/dart/projects/test.dart | |
|library mytest; | |
| |
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
try { | |
// try and write to the stream | |
} | |
on StreamException { | |
// handle the exception | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>AsyncTest</title> | |
<link rel="stylesheet" href="AsyncTest.css"> | |
</head> | |
<body> | |
<h1>AsyncTest</h1> |
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
#import('dart:html'); | |
#import("lib/unittest/unittest.dart"); | |
#import("lib/unittest/html_config.dart"); | |
void main() { | |
useHtmlConfiguration(); | |
test('aync test', () { |