Skip to content

Instantly share code, notes, and snippets.

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

Abhinav Kaushlya abhishalya

🏠
Working from home
View GitHub Profile
#############################
# Tic-tac-toe game in Julia #
#############################
wins = [[[1, 1], [1, 2], [1, 3]],
[[2, 1], [2, 2], [2, 3]],
[[3, 1], [3, 2], [3, 3]],
[[1, 1], [2, 1], [3, 1]],
[[1, 2], [2, 2], [3, 2]],
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# This script will create a new directory if it doesn't exist already and
# initialize it with a default index.jl file (if it doesn't exist) and
# add Manifest.toml and Project.toml files along with a Procfile to
# to initialize a heroku repository for the user and will deploy the app.
# This requires to login install and login to heroku-cli and should also
# have git installed.
index_template = """
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#########################################
# Minesweeper Game in Julia #
# This was quite demotivating :( #
#########################################
# Function to generate random mine positions
function get_mines(dimension)
mines = []
mx = (dimension == 8) ? 9 : 20
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Executing section all...
Executing section all.javascript...
Executing section all.html...
Executing section all.css...
Executing section all.json...
Executing section all.yaml...
Executing section cli...
============================================================================================================ test session starts =============================================================================================================
platform linux -- Python 3.6.6, pytest-3.6.4, py-1.7.0, pluggy-0.7.1
rootdir: /home/abhishalya/coala_developement/coala-bears, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.24.0, travis-fold-1.3.0, timeout-1.3.2, reqs-0.2.0, reorder-0.1.1, pythonpath-0.7.3, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, env-0.6.2, cov-2.6.0
timeout: 35.0s
timeout method: signal
timeout func_only: False
collected 944 items / 943 deselected / 1 skipped
tests/general/LineContinuationBearTest.py F
(coalabearsenv) abhishalya@R556UR:~/coala_developement/coala-bears$ pytest
================================================ test session starts =================================================
platform linux -- Python 3.6.6, pytest-3.6.4, py-1.7.0, pluggy-0.7.1
rootdir: /home/abhishalya/coala_developement/coala-bears, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.24.0, travis-fold-1.3.0, timeout-1.3.2, reqs-0.2.0, reorder-0.1.1, pythonpath-0.7.3, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, env-0.6.2, cov-2.6.0
timeout: 35.0s
timeout method: signal
timeout func_only: False
collected 786 items / 16 errors / 1 skipped