Skip to content

Instantly share code, notes, and snippets.

View Alkimisti's full-sized avatar

Tahir Hoxha Alkimisti

View GitHub Profile
@Alkimisti
Alkimisti / 001_hello_world.dart
Created August 16, 2020 19:03
Hello World in Dart
void main(List<String> arguments) {
print('Hello world!');
}
@Alkimisti
Alkimisti / 002_conversion_string_int_double.dart
Created August 16, 2020 20:16
Conversion int, String, double
// Conversions int <-> String, double <-> String
void main() {
// Convert String to double
var s = '12.95';
var d = double.parse(s);
print('${d.runtimeType} $d');
// Convert double to String
@Alkimisti
Alkimisti / text-decoration.html
Created October 12, 2020 11:04
text-decoration-style
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS: text-decoration-style</title>
<style>
p {
text-decoration: underline;
text-decoration-color: red;
@Alkimisti
Alkimisti / text-indent.html
Created October 12, 2020 11:21
text-indent
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS: text-indent</title>
<style>
#container {
width: 400px;
padding-left: 40px;
margin: 0 auto;
@Alkimisti
Alkimisti / text-transform.html
Created October 12, 2020 11:32
text-transform text-transform
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSS: text-transform</title>
<style>
#container {
width: 400px;
padding-left: 40px;
margin: 0 auto;
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>rect</title>
<style>
#katrori {
fill: red;
stroke: black;
stroke-width: 5;
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>ellipse</title>
<style>
#elipsa {
fill: orange;
stroke: red;
stroke-width: 3;
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>line</title>
<style>
#vija1 {
stroke: rgb(255, 0, 0);
stroke-width: 2;
}
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>polygon</title>
<style>
#poligoni {
fill: yellow;
stroke: #C83436;
stroke-width: 5;
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>polyline</title>
<style>
#poli {
fill: none;
stroke: black;
stroke-width: 3;