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": { | |
"distinguishedName": "CN=hr1,CN=Users", | |
"name": "hr1", | |
"certificateSerialNumber": null, | |
"companyName": "Apple Inc", | |
"secretAnswer": null, | |
"sendNewsLetter": null, | |
"unlockEmailCheckId": null, | |
"emergencyEmail": "2", |
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
# connect to mongodb with db name is xdsb | |
mongo xdsb | |
# show all collections | |
show collections() | |
# find by id | |
db.collection_name.find({_id:'id'}) |
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
ducnguyen@asus-K42JE:~/Downloads$ sudo /opt/lampp/lampp security | |
XAMPP: Quick security check... | |
XAMPP: Your XAMPP pages are NOT secured by a password. | |
XAMPP: Do you want to set a password? [yes] yes | |
XAMPP: Password: | |
XAMPP: Password (again): | |
/opt/lampp/share/xampp/checkapache: line 41: /opt/lampp/htdocs/xampp/.htaccess: No such file or directory | |
cp: cannot stat ‘/opt/lampp/htdocs/xampp/.htaccess’: No such file or directory | |
cp: cannot stat ‘/opt/lampp/htdocs/xampp/.htaccess’: No such file or directory | |
chmod: cannot access ‘/opt/lampp/htdocs/xampp/.htaccess’: No such file or directory |
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
@Test | |
public void calendarSelectionTest() throws InterruptedException { | |
WebDriverWait wait = new WebDriverWait(driver, 10); | |
// Open first selectBox | |
WebElement checkBoxElement = driver.findElement(By.id("list_plans_1SelectBoxItContainer")); | |
checkBoxElement.click(); | |
// select 3 people | |
WebElement itemElement3 = driver | |
.findElement(By.xpath(".//*[@id='list_plans_1SelectBoxItOptions']/li[4]/a/span[2]")); |
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
==============Check the tower config ======================================== | |
xhrc-pro - ch.xpertline.xhrc.pro.configuration.getScoreBoardUrl - http://chtiws12:8084/ivy/pro/XIVYDTACS001/CheckService$4/cstart_ManageScoreBoard/startGetScoreBoard.ivp | |
==============Put externalRef correspondence with companyId==================== | |
https://192.168.73.37:8443/xhrc-pro-web/xhrc-pro-app/#/pro-dashboard?externalId=[{"name":"PRO","externalRef":"12"}] | |
https://192.168.73.37:8443/xhrc-pro-web/xhrc-pro-app/#/pro-widget?externalId=[{"name":"PRO","externalRef":"12"}] |
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
package com.examples.seleniumrc.util; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
public class ElementHelperSingleton { | |
private WebDriver driver; | |
private static ElementHelperSingleton elementHelperSingleton; |
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
{"id":6190,"name":"ductest-vethoi","currency":{"code":"CHF"},"branchs":[{"description":"ductest-vethoi","currency":{"code":"CHF"},"isMainBranch":true,"contactTitle":{"code":""},"contactFirstName":"","contactLastName":"","professionals":[]}],"numberOfHours":12,"trialPeriodDuration":12,"hasThirteenthPayment":false,"numberOfHoursFrequency":{"code":"H"},"hiddenFilters":[],"insurances":[],"identifiers":[],"chargeCenters":[],"externalRefs":[],"companySecurityExceptions":[],"affectedEmployee":0,"bankRelFinancialEntity":{},"bankRelAccountHolder":"","bankRelReferenceType":{"code":""},"bankRelReferenceValue":"","accountingPlan":{"code":"C1"}} |
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
set NODEJ_HOME="C:\Program Files (x86)\nodejs" | |
set PATH=%PATH%;%NODEJ_HOME% | |
call npm install | |
call node.exe |
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
{ | |
"person": { | |
"id": 43569, | |
"guid": "14E43E6D9151B7A7", | |
"number": "321412341234", | |
"validFrom": "2016-01-28T16:02:29.350+07:00", | |
"civility": { | |
"code": "M" | |
}, | |
"title": { |
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
{ | |
"id": 43569, | |
"guid": "14E43E6D9151B7A7", | |
"number": "321412341234", | |
"validFrom": "2016-01-28T16:02:29.350+07:00", | |
"validTo": null, | |
"picture": null, | |
"civility": { | |
"id": null, | |
"code": "M", |