@Composable
fun CustomTextField(
modifier: Modifier = Modifier,
header: String? = "header",
value: String = "",
onValueChange: (String) -> Unit = {},
headerTextStyle: TextStyle = TextStyle.Default,
enabled: Boolean = true,
(myvenv) ~/djangogirls$ python manage.py shell
close >>> exit()
$ myvenv\Scripts\activate
Windows
$ source myvenv/bin/activate
(myvenv) ~/djangogirls$ python manage.py runserver
Go to browser http://127.0.0.1:8000/
Written by Asta Bevainyte, @astux7
This exercise is intended to teach how to use twitter widget and how to add it to the http://localhost:3000/pages/info
Where is 2 ways to do it, if you want to do it quick just adding a prepared code, go to paragraph 2.
Coach explain what is widget.
DuplicateMethodCall
https://github.com/troessner/reek/blob/master/docs/Duplicate-Method-Call.md Duplication occurs when two fragments of code look nearly identical, or when two fragments of code have nearly identical effects at some conceptual level.
example:
def double_thing()
@other.thing + @other.thing
end
sudo apt-get install git-gui gitk
gitk filename
[include] - makes the modules methods available to the instance of a class. It takes all the methods from another module and includes them into the current module. This is a language-level thing. The include method is the primary way to "extend" classes with other modules (usually referred to as mix-ins).
module After
end