- 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 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)" |
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
<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 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; | |
} |
- Create New Project > Spring Initializer
- Set Initializer Service URL to https://start.spring.io
- Enter Group, Artifact and Type -> Gradle Project
- Select Required Dependencies
- AOP
- Web
- JDBC
- JPA
- Import Module dialog will appear check auto-import, use default gradle wrapper then click ok
- Install Chocolatey
[Chocloaty Installation Guide] (https://gist.github.com/somecuitears/254957f11e458f9de2bf659301fc09c7) 2. On Powershell once chocolatey has been installed, paste following code
choco install gradle
- Type Y then press enter
NewerOlder