Skip to content

Instantly share code, notes, and snippets.

@goldsamantha
goldsamantha / README
Last active October 17, 2020 08:18
An implementation of Depth First Search in Python
This is a search algorithm implementation.
It takes a text file used to construct the tree
(use the example one exampletree.txt or your own)
To run:
$ python search.py <textfile.txt>
@ostinelli
ostinelli / jenkins_ci_on_osx.md
Last active February 28, 2023 02:38
Setup Jenkins CI on OSX.

Jenkins CI on OSX

Instructions on how to setup a secured Jenkins CI on a Mac.

Download & Install dependencies

All of these operations are done with your admin user.

Developer tools

Install the command line developer tools.

@eaorak
eaorak / tictactoe.py
Created October 27, 2012 21:18
Python - TicTacToe Game
#!/usr/bin/python3
# Simple TicTacToe game in Python - EAO
import random
import sys
board=[i for i in range(0,9)]
player, computer = '',''
# Corners, Center and Others, respectively
moves=((1,7,3,9),(5,),(2,4,6,8))