Skip to content

Instantly share code, notes, and snippets.

View Ghostglass's full-sized avatar
🏠
Haunting from home

Kimberly Thach [Ghostglass] Ghostglass

🏠
Haunting from home
View GitHub Profile
@Ghostglass
Ghostglass / capybara cheat sheet
Created January 18, 2021 03:27 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
@noob-master147
noob-master147 / script.sh
Last active September 26, 2022 06:33
Setup Docker and Docker-Compose on AWS EC2
#!/bin/bash
# Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y docker-ce -y
# Docker Compose
sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
@Ghostglass
Ghostglass / index.pug
Last active January 18, 2021 17:05
A Taurid Meteorite New Year
div.starfield
div.static
div.moving-1
div.moving-2
div.moving-3
-
var words = [
{ pos: 23.755, text: 'Space:' },
{ pos: 25.267, text: 'the final' },
@lukas-h
lukas-h / license-badges.md
Last active June 18, 2024 08:05
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@willurd
willurd / web-servers.md
Last active June 21, 2024 13:36
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000