Django User List
Here is a very basic example to show you how to use ModelForm in Django to list and create user data. Let’s start from creating Django app and MySQL Database.
An interface variable can store any non-interface concrete value, which is really useful when you are not sure about your variable type.
Because interface variable can be any kind of concrete value, we need a good way to determine the REAL value type of interface variable is to use Type Assertions from Go.
In Go, you can use append to insert the item into slice.
func append(slice Type, elems ...Type) Type
append(sliceA, sliceB) function will append sliceB to sliceA and return a new slice, which means you can decide prepend/append by changing these two parameters.
If you want to know the logic of the tower of Hanoi, please refer to this article Python recursion – The Tower of Hanoi. They are exactly the same, just using different language.
I always need to rethink again whenever I need to deal with Twitter OAuth, which annoys me a lot. Therefore I decided to put it in here as a simple article, so I can easily find the information I need in the future.
Before testing Twitter OAuth, you will need to create your application in here. If you have any question about creating Twitter application, please follow this good article How to register a Twitter APP in 8 easy steps to create the app step by step.
ECMAScript6 supports a new
for...of loop, and there are couple reasons to have this new loop in next version of ECMAScript.
You can start testing those
for...of loop on FireFox because it has better support for ECMAScript6.