Facebook
Twitter
LinkedIn
YouTube
GitHub
Hasan's Blog
  • Home
    • About me
  • Hashicorp
  • Ansible
  • CI/CD
  • DevOps

Year: 2014

Home 2014

fill form using xpath in casperjs

2014/10/09UncategorizedNo commentsHasan Naqvi

fill form using xpath in casperjs  

Read More

java.lang.IllegalArgumentException: Object: myjpaapp.entities.Staff@b524a9d is not a known entity type.

2014/09/27ProgrammingNo commentscasperjs, JAVA, JPA, MYSQL, xpathHasan Yousuf
The code below was missing from the persistance unit. false <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> <persistence-unit name="MyJPAAppPU" transaction-type="RESOURCE_LOCAL"> <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> <class>mymyjpaapp.entities.Staff</class> <properties> <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/dbname?zeroDateTimeBehavior=convertToNull"/> <property name="javax.persistence.jdbc.password" value="xxxxx"/> <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/> <property name="javax.persistence.jdbc.user" value="xxxxx"/> </properties> </persistence-unit> </persistence>
Read More

Error message when I run sudo: unable to resolve host

2014/09/20UncategorizedLinux, mint, UbuntuHasan Naqvi
The reason for this error is the conflict of hostname in two files check the hostname in /etc/hosts /etc/hostname
Read More

JAVA environment settings

2014/09/12UncategorizedNo commentsJAVA, Maven, TomcatHasan Naqvi
export JAVA_HOME=/usr/lib/jvm/java-7-oracle export PATH=$JAVA_HOME/bin:$PATH export M2_HOME=/usr/local/src/apache-maven-3.2.2 export PATH=$M2_HOME/bin:$PATH export CATALINA_HOME=/usr/local/src/apache-tomcat-7.0.55 export PATH=$CATALINA_HOME/bin:$PATH
Read More

how to kill kate process in mint linux

2014/09/01UncategorizedNo commentslinux mintHasan Naqvi
Use the xkill feature to kill a program you click on 1. Press Alt+F2 and type in gnome-terminal to open a terminal session. 2. Inside of the terminal type in sudo xkill; then click on any window to kill it. This command makes your cursor act like a terminator, deadly.
Read More

fatal error unable to find local grunt. jenkins

2014/09/01GruntjsNo commentsgruntjs, jenkinsHasan Yousuf
Have you installed grunt in your Jenkins server? npm install grunt
Read More

How to import data in couchdb using JSON file

2014/08/29UncategorizedCouchdb, Curl, JsonHasan Naqvi

curl -X POST http://***.***.***.***:5984/database/ -d @sample.json -H “Content-Type:application/json”

Read More

Categories

  • Casperjs (1)
  • CI/CD (4)
  • DevOps (6)
  • Gruntjs (2)
  • Jira (1)
  • Linux (1)
  • Programming (1)
  • Uncategorized (14)
  • VMware (1)

Archives

  • May 2020 (1)
  • April 2020 (1)
  • March 2020 (2)
  • September 2019 (2)
  • May 2018 (1)
  • September 2017 (3)
  • July 2017 (1)
  • June 2017 (4)
  • May 2017 (1)
  • July 2015 (2)
  • January 2015 (1)
  • October 2014 (1)
  • September 2014 (5)
  • August 2014 (1)

Tags

Arduino Arduino sketch Arduino sketch upload bash shell casperjs Couchdb Curl docker container docker images github Gitlab gnu Parallel gruntjs JAVA JAVA jenkins Jira JPA Json Linux linux mint Maven mint MYSQL Tomcat Ubuntu Version Control xpath
  • Home
    • About me
  • Hashicorp
  • Ansible
  • CI/CD
  • DevOps
@2017
Manage Cookie Consent
We use cookies to optimize our website and our service.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Preferences
{title} {title} {title}