Skip to content

Instantly share code, notes, and snippets.

Ruskin jonnyparris

View GitHub Profile
willurd /
Last active Aug 5, 2020
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
View capybara cheat sheet
=Clicking links and buttons=
click_link('Link Text')
click('Link Text') # Click either a link or a button
click('Button Value')
ryanoglesby08 / server.js
Created May 31, 2017
A node.js SPA server that serves static files and an index.html file for all other routes.
View server.js
Incredibly simple Node.js and Express application server for serving static assets.
Given as an example from the React Router documentation (along with examples
using nginx and Apache):
const express = require('express');
const path = require('path');
View 5-ts-composition-api.ts
// ====== tests
import { nextTick } from 'vue'
import { mount } from '../framework'
import { FilterPosts } from '../app/FilterPosts'
describe('FilterPosts', () => {
it('renders today posts by default', async () => {
const wrapper = mount(FilterPosts)
renancouto /
Last active Apr 26, 2020
A collection of weird URLs that I think are used to exploit security vulnerabilities on web apps
  • /manager/html (Apache Tomcat)
  • /tmUnblock.cgi
  • /HNAP1/
  • /phpMyAdmin/scripts/setup.php (PHPMyAdmin)
  • /pma/scripts/setup.php
  • /myadmin/scripts/setup.php
  • /MyAdmin/scripts/setup.php
  • /vyvy/vyv/vy.php
  • /cgi-sys/php5
You can’t perform that action at this time.