# Anchor
click_link 'Save'
# Button
click_button 'awesome'
# Both above
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
# Ask for the user password | |
# Script only works if sudo caches the password for a few minutes | |
sudo true | |
# Install kernel extra's to enable docker aufs support | |
# sudo apt-get -y install linux-image-extra-$(uname -r) | |
# Add Docker PPA and install latest version | |
# sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9 | |
# sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" |
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
curl -X POST -F "id=http://your.url/to/scrap" -F "scrape=true" "https://graph.facebook.com" |
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
#!/bin/bash | |
git archive -o $(git rev-parse HEAD).zip HEAD $(git diff --name-only HEAD^) |
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 nocompatible | |
set nowrap | |
set autoread | |
filetype off | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'majutsushi/tagbar' |
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
ctags -f vendortags --verbose --languages=PHP -R vendor --php-kinds=cdfi | |
ctags -f tags --verbose --languages=PHP -R app --php-kinds=cdfi |
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
<leader>eb - Evaluates the whole buffer | |
<leader>ls - Open log buffer horizontally | |
<leader>lv - Open log buffer vertically | |
<leader>lt - Open log buffer in a new tab | |
<leader>lq - Closes all visible log windows | |
<leader>lr - Reset log buffer leaving windows open | |
<leader>lR - Closes windows, deletes the buffer | |
<leader>ee - Evaluates the form where under cursor | |
<leader>er - Evaluates the outermost form under cursor | |
<leader>e! - Replaces the evaluated form with the result of the evaluation |
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
(ns app.motion | |
(:require | |
[framer-motion :refer (motion AnimatePresence useSpring useMotionValue useTransform useViewportScroll) :as motion] | |
[cljs-bean.core :refer [bean ->clj ->js]])) | |
(def div | |
(.-div motion)) | |
(def span | |
(.-span motion)) | |
(def li | |
(.-li motion)) |