Category Archives: Programming
Android Studio – tools and features – part 003
This is another tutorial about Android Studio features. Today I will show you how to use git, GitHub and using git AndEngine. First, go to VCS menu -> Checkout from Version Control. You will see GitHub and Git. See the next image and start Git to clone the source files. The next image will start… Read More »
Android Studio – tools and features – part 002
This is another tutorial about Android Studio features and tools. Today I will show you how to create screenshots for your application. This can help you to promote your Android work. First, you need to connect your device. You can read my tutorial about how to do that from here. Start the Android Studio IDE… Read More »
Android Studio – tools and features – part 001
The new Android Studio comes with many tools and features. Today I will show something new about this great IDE. First, the simple way to add your Android Studio to your Linux distro. You can open Android Studio, click on Tools > Create Desktop Entry. The Android Studio will notify you about the result. This… Read More »
First look about Android Studio 1.0.5 running with Fedora distro.
Google just announced Android Studio, an integrated development environment for building apps. This IDE is based on IntelliJ IDEA and works as a WYSIWYG for creating Android applications. You can get this IDE from here. It’s working under OS platforms: Windows, Linux, and Mac OS X. I used under Fedora and this is my short… Read More »
Working with node.js and nodemon – part 001
Node.js is a platform for easily building fast, scalable network applications. Download the archive from here. Unarchive and you can use it.
1 2 3 | [free-tutorials@free-tutorials ~]$ cd node-v0.10.10-linux-x86/ [free-tutorials@free-tutorials node-v0.10.10-linux-x86]$ ls bin ChangeLog lib LICENSE README.md share |
The nodemon can be used during the development of a node.js based application. How? will watch the files in the directory that nodemon was started. Also, it will automatically restart your node… Read More »
Export your project from Netbeans like RPM package.
I told you in this tutorial about how to make an RPM package. Also, I told you how to use Netbeans IDE. Today I will show how to make these settings. First, you will need to make the application working well. Then you need to go on to project and press click right with your… Read More »
How to reset django or create another superuser.
If you know your username (for example admin) then use this:
1 | manage.py changepassword admin |
Also, You may try through the console to see and change the password: Use the shell console and start the Django shell:
1 | python manage.py shell |
Now use this Django script:
1 2 3 4 5 | from django.contrib.auth.models import User User.objects.filter(is_superuser=True) u = User.objects.get(username='your username') u.set_password('raw password') u.save() |
If you need to create another superuser.
1 2 3 4 5 6 | 13:56 ~/mysite $ python manage.py createsuperuser Username: testsuper E-mail address: testsuper@mail.com Password: Password (again): Superuser created successfully. |