Skip to content

Instantly share code, notes, and snippets.

View ToughCrab24's full-sized avatar
🏠
Working from home

Shane Daly ToughCrab24

🏠
Working from home
View GitHub Profile
@ToughCrab24
ToughCrab24 / 0_reuse_code.js
Created January 27, 2017 16:38
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ToughCrab24
ToughCrab24 / bash & nc chat
Created February 7, 2017 16:31 — forked from wrfly/bash & nc chat
A simple chat script
#!/bin/bash
# A little chat progream via ncat
# Author:wrfly Date:2015.7
# Usage:
# Server: ncat -e chat.sh -lk &
# Client: ncat server_ip
#config
db_users=user_lists
db_rooms=db_rooms
@ToughCrab24
ToughCrab24 / README.md
Last active September 1, 2017 18:57 — forked from anonymous/README.md

Handy terminal commands

Basic Terminal Commands

Navigation

  • pwd shows which folder you are currently in

  • cd change directory(folder)

    • cd ~ goes to the home folder i.e /home/shane on mac /Users/shane
  • ls list the contents of the current folder