- Akzidenz Grotesque
- Apparently, it has been rebranded as Helvetica.
- Avenir
- Avant Garde
- Bell Gothic
- Bodoni
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
# This is part of a custom mono repo setup I have. | |
# The folder structure is basically divided into an `app` and a `packages` folders. | |
# Codecov logging to codecov.io should be improved. Right now, it overwrites the previous one. | |
# Everything works except for the last stage, the Android Integration Tests. | |
# Working to make the Android tests work seems like a nightmare because of different | |
# versions incompatibility, something Apple does much better. | |
language: dart | |
env: |
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
<!-- Doesn't work for GMAIL sadly... | |
<script | |
type="text/javascript" | |
src="https://platform.linkedin.com/badges/js/profile.js" | |
async | |
defer> | |
</script> --> | |
<!-- Doesn't work for GMAIL either; no JS will work apparently | |
<script> |
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
MaterialApp( | |
builder: (BuildContext context, Widget child){ | |
final MediaQueryData data = MediaQuery.of(context); | |
return MediaQuery( | |
data: data.copyWith( | |
textScaleFactor: 1.0, // hard-coding the accessibility factor | |
), | |
child: child, | |
); | |
}, |
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
main() { | |
print(ClassWithInheritance is BaseClass); // gives `false` | |
print(InterfaceImplementer is InterfaceExample); // gives `false` | |
} | |
class BaseClass {} | |
class ClassWithInheritance extends BaseClass {} | |
abstract class InterfaceExample {} |
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
// `const factory` basically only redirects the construction of the object. | |
// A `const` redirecting constructor must redirect to a `const` constructor. | |
main() { | |
const A a1 = A('hello'); | |
print(a1); | |
const A a2 = A.redirected2('hello'); | |
print(a2); | |
final A a3 = A('hello'); |
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 'package:meta/meta.dart'; | |
// import 'package:flutter/foundation.dart'; // Alternative for Flutter | |
@immutable | |
abstract class CustomizableException implements Exception { | |
static const String blankMsg = ''; | |
static const String divider = ': '; | |
final String msg; | |
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
#!/bin/bash | |
KEYCODE="keycode" | |
xmodmap -e "${KEYCODE} 83 = Left" # KP_4 | |
xmodmap -e "${KEYCODE} 80 = Up" # KP_8 | |
xmodmap -e "${KEYCODE} 85 = Right" # KP_6 | |
xmodmap -e "${KEYCODE} 84 = Down" # KP_5 | |
xmodmap -e "${KEYCODE} 88 = Down" # KP_2 |
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
void main() { | |
final B b1 = B(); | |
final C c1 = C(); | |
} | |
abstract class A { | |
A(){ | |
print('hello from A'); | |
} | |
} |
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
{ | |
"editor.tokenColorCustomizations": { | |
"[One Dark Pro]": { | |
"types": "#7BC374" | |
} | |
} | |
} |
OlderNewer