- Everything needs to be run in Terminal
- Check your man search path using manpath
- Type manpath to see available locations
- Use share for pages accessible to all users
- Some versions of man epect to see gzipped files
- Check the folders of existing man pages to view file formats expected
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
// source/exampple @ https://jsfiddle.net/mingsai/jqt0732k/2/ | |
<!DOCTYPE html> | |
<html> | |
<title>W3.CSS</title> | |
<style> | |
#thumbwrap { | |
position:relative; | |
margin:75px auto; |
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
--- References | |
https://jsfiddle.net/mingsai/ybt5pdg4/39/ | |
(original article) https://designshack.net/articles/css/use-pseudo-elements-to-create-an-image-stack-illusion/ | |
--- HTML | |
<a class='featured-img-box'> | |
<img src="https://st2.depositphotos.com/1653909/8228/i/950/depositphotos_82284502-stock-photo-magician-hands-with-magic-wand.jpg" height=100% width=100% /> | |
</a> | |
--CSS |
tldr; We have to turn our thinking on its head a bit. Data can be passed to the called widget when you navigate to it by using final arguments with default values in the destination widget. Using an optional function you can get data back from the 'child' (destination) widget.
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
/* | |
Super Constructor in Dart | |
In dart, the subclass can inherit all the variables and methods of the parent class, with the use of extends keyword but it can’t inherit constructor of the parent class. To do so we make use of super constructor in the dart. There are two ways to call super constructor: | |
Implicitly | |
Explicitly | |
When calling explicitly we make use of super constructor as: | |
*/ |
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
//wrap the layout widget for the screen with a Gesture detector having this function | |
GestureDetector( | |
onTap: () { | |
FocusScopeNode currentFocus = FocusScope.of(context); | |
if (!currentFocus.hasPrimaryFocus) { | |
currentFocus.unfocus(); | |
} | |
}, |
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
//View #1 Pass any object as an argument in the Navigator as part of a Map: | |
void _editItem(BuildContext context, int index, Box<ChecklistItem> box) { | |
ChecklistItem _selectedItem = box.getAt(index) as ChecklistItem; | |
Navigator.pushNamed(context, ChecklistEditScreen.id, | |
arguments: {'item': _selectedItem}); | |
} | |
//View #2 Extract passed flutter arguments without passing them as parameters: | |
Widget build(BuildContext context) { |
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 _rebuildAllChildren(BuildContext context) { | |
void rebuild(Element el) { | |
el.markNeedsBuild(); | |
el.visitChildren(rebuild); | |
} | |
(context as Element).visitChildren(rebuild); | |
} |
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
return Dismissible( | |
key: Key(index.toString()), | |
onDismissed: (direction) { | |
showDialog( | |
context: context, | |
barrierDismissible: false, | |
builder: (_) => AlertDialog( | |
content: Text( | |
"Do you want to delete task ${currentItem.title}?", | |
), |
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
# Miscellaneous | |
*.class | |
*.log | |
*.pyc | |
*.swp | |
.DS_Store | |
.atom/ | |
.buildlog/ | |
.history | |
.svn/ |