Skip to content

Instantly share code, notes, and snippets.

View SerhiiSS's full-sized avatar

Serhii Salii SerhiiSS

View GitHub Profile
@SerhiiSS
SerhiiSS / install-command-line-tools-for-xcode.sh
Created October 25, 2022 07:48 — forked from tomohiro/install-command-line-tools-for-xcode.sh
A shell script for installing some applications on OS X
#!/bin/sh
# This script will install Command Line Tools for Xcode on a fresh installation of OS X.
# Usage: curl https://raw.github.com/gist/3053979/install-command-line-tools-for-xcode.sh | sh
DMG='command_line_tools_for_xcode_june_2012.dmg'
cd $HOME/Downloads
if [ ! -f ./$DMG ]; then
echo 'Command Line Tools for Xcode not downloaded.'
@SerhiiSS
SerhiiSS / web-servers.md
Created April 25, 2021 15:54 — forked from willurd/web-servers.md
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