Skip to content

Instantly share code, notes, and snippets.

View idooo's full-sized avatar
🇺🇦
...

Alex Shteinikov idooo

🇺🇦
...
View GitHub Profile
@idooo
idooo / cypress_AMI_dependencies_install.sh
Created March 13, 2018 05:27 — forked from rsudip90/cypress_AMI_dependencies_install.sh
Bash script to install cypress.io tool dependencies on ec2 instance (AMI)
#!/bin/bash
# This script installs the dependencies required by cypress.io tool
# on amazon linux AMI as the required dependencies are not easily available.
# e.g., NODE_MODULES_PATH="/home/ec2-user/cypress-example-kitchensink/node_modules"
NODE_MODULES_PATH="{{PLACE_YOUR_NODE_MODULES_PATH_HERE}}"
CYPRESS_DIST_DIR="$NODE_MODULES_PATH/cypress/dist/Cypress"
exitError() {
@idooo
idooo / xvfb
Last active August 29, 2015 14:18 — forked from dmitriy-kiriyenko/console
export DISPLAY=:99
/etc/init.d/xvfb start
# do your selenium tests here
/etc/init.d/xvfb stop
@idooo
idooo / README.md
Last active August 29, 2015 14:11 — forked from rderoldan1/README.md

Add rpmforge as a repository

  1. Create a repo file in /etc/yum.repos.d/rpmforge.repo, you need to be an admin
  2. Copy the following text.
#Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag
#URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag