- Click on Project root and Add Framework Support... or download Hibernate_release.zip(ORM) from http://hibernate.org
- Click Hibernate from list and Select download and ok
- Open Module Setting and inside Modules select hibernate and add configuration file "hibernate.cfg.xml"
- The hibernate configuration file will be added to
src > resources. Open the file and paste the following codes if you are using MYSQL database<session-factory> <!-- Database connection settings --> <property name="connection.driver_class">com.mysql.cj.jdbc.Driver</property>
This file contains hidden or 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
| server { | |
| listen 80; | |
| server_name localhost; | |
| root /Users/YOUR_USERNAME/Sites; | |
| access_log /Library/Logs/default.access.log main; | |
| location / { | |
| include /usr/local/etc/nginx/conf.d/php-fpm; | |
| } |
This file contains hidden or 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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase /codeigniter/ | |
| RewriteCond %{REQUEST_URI} ^system.* | |
| RewriteRule ^(.*)$ /index.php?/$1 [L] | |
| RewriteCond %{REQUEST_URI} ^application.* | |
| RewriteRule ^(.*)$ /index.php?/$1 [L] |
This file contains hidden or 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
| #!/data/data/com.termux/files/usr/bin/zsh | |
| # | |
| # This is a termux-url-opener script to do diffrent tasks on my Android phone | |
| # | |
| url=$1 | |
| echo "What should I do with $url ?" | |
| echo "y) download youtube video to movies-folder" | |
| echo "u) download youtube video and convert it to mp3 (music-folder)" | |
| echo "s) download with scdl (soundcloud)" |
OlderNewer