Skip to content

Instantly share code, notes, and snippets.

View ilyar's full-sized avatar
🖖
this is the way

ilyar

🖖
this is the way
View GitHub Profile
@ziadoz
ziadoz / install.sh
Last active May 18, 2026 22:13
Install Chrome, ChromeDriver and Selenium on Ubuntu 16.04
#!/usr/bin/env bash
# https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/
# https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c
# https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver
# https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception
# https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal
# https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04
# Versions
CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE`
@knazarov
knazarov / README.md
Last active September 27, 2020 17:54
Building a PaaS with Docker, Consul and Python

Turning Off Github Issues

My friend Michael Jackson turned off github issues on one of his smaller projects. It got me thinking...

Maintainers getting burned out is a problem. Not just for the users of a project but the mental health of the maintainer. It's a big deal for both parties. Consumers want great tools, maintainers want to create them, but maintainers don't want to be L1 tech support, that's why they

Install:

npm install

Run:

gulp

@trinitronx
trinitronx / README.md
Last active March 3, 2022 07:29
A shell script to install latest Ansible via pip + dependencies

omnibus-ansible

This script has moved to: neillturner/omnibus-ansible

This is the original version of the Ansible install script. If you want the latest, please see the above link!

Install latest Ansible via pip + dependencies via a shell script

This file is used to install ansible in test kitchen when you set in the kitchen.yaml file

@narqo
narqo / 0-bem-core-es6.md
Last active August 29, 2015 14:25
How bem-core + ES6 may looks like
@hiasinho
hiasinho / modernie.md
Last active September 1, 2021 22:23
Internet Explorer on Vagrant

The Modern.ie Virtual Machine Images – VMs used for testing several versions of IE – are now also available as vagrant boxes. Here’s the list:

@rain1024
rain1024 / tut.md
Last active September 10, 2026 14:13
Install pdflatex ubuntu

PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.

  • Install the TexLive base
sudo apt-get install texlive-latex-base
  • Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
@varya
varya / gist:84058c775f9725bbdb23
Last active August 29, 2015 14:09
Kss parser

Есть CSS/SASS/LESS код с KSS-комеентариями. KSS-комментарий — это блок комментариев, заканчивающийся строкой "Styleguide n", где n — номер параграфа (1, 2.5, 334.5.7.1). Блоком KSS разметки может быть как многострочный комментарий, так и группа инлайновых комментариев, идуших друг за другом. Блок KSS-разметки документирует код, следующий за ним. Все комментарии, которые не являются KSS-блоками, относятся к коду и должны быть включены в него. Может быть код без документации (в начале файла). И может быть документация без кода, если 2 блока KSS-разметки идут друг за другом, и между ними нет кода. Задача: распарсить документ на массив пар kss - код.

На данный момент есть 2 незаконченных решения.

  1. Жутко медленное на Ometa: https://github.com/varya/sc5-styleguide/blob/47ab9e1e0f9248304a704e7c20c8fb78837ae593/lib/modules/kss-blocks-parser.ometajs

  2. На регэкспах: https://github.com/varya/sc5-styleguide/blob/98079f4fe512eceb7ff537313536a2c1b0edc1e0/lib/modules/kss-splitter.js

@mimopo
mimopo / install.sh
Last active January 12, 2016 09:57
Install development software on Linux Mint Debian (Cinnamon)
#!/bin/bash
# Create tmp dir
echo "Creating temporal dir..."
mkdir ~/installation-dev
cd ~/installation-dev
# Add Google Chrome to APT
echo "Adding Google Chrome to APT..."
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -