Skip to content

Instantly share code, notes, and snippets.

View ifedyukin's full-sized avatar
👨‍💻
WIP

Igor Fedyukin ifedyukin

👨‍💻
WIP
View GitHub Profile
@ifedyukin
ifedyukin / getUrlParams.js
Last active September 26, 2017 06:30
Get params from url - javascript - ES6
window.document.location.search
.slice(1)
.split('&')
.reduce((acc, param) => {
const [name, value] = param.split('=');
acc[name] = value;
return acc;
}, {});
module.exports = function (config) {
var configuration = {
// configs
browsers: ['Chrome'],
customLaunchers: {
Chrome_travis_ci: {
base: 'Chrome',
flags: ['--no-sandbox']
}
language: node_js
node_js:
- '6.2'
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script:
- npm install
- npm test
@ifedyukin
ifedyukin / keybase.md
Created April 9, 2015 13:05
keybase.md

Keybase proof

I hereby claim:

  • I am ifedyukin on github.
  • I am ifedyukin (https://keybase.io/ifedyukin) on keybase.
  • I have a public key whose fingerprint is 0E63 AF92 4E6F 1851 C82C D1DE 62AF E5F4 81F0 BF34

To claim this, I am signing this object: