Skip to content

Instantly share code, notes, and snippets.

View sammerry's full-sized avatar

Sam Merry sammerry

  • AdsNative
  • Oakland, Ca
View GitHub Profile
@sammerry
sammerry / config
Last active December 29, 2023 16:54
Mopidy + Polybar
modules-center = mopidy
################################################################################
[module/mopidy]
type = custom/script
exec = ~/.config/polybar/scripts/mopidy.sh
interval = 2

Cloning An Org

Occasionally you may need to clone a full organization including hidden repositories. This bash one liner will allow a full clone in batches related to page size.

<api token>: Your git api token
<org name>: The name of the organization your cloning
--[[
#=====================================================================================
# ArcoLinuxD
#
# Author : Erik Dubois at http://www.erikdubois.be
# License : Distributed under the terms of GNU GPL version 2 or later
# Documentation : http://erikdubois.be/category/linux/aureola/
#======================================================================================
@sammerry
sammerry / readme.md
Last active July 26, 2018 04:59
Polymorph ML Challenge

Polymorph ML Challenge

Challenge: https://www.kaggle.com/deepmatrix/imdb-5000-movie-dataset

Answer the following question: "Can you predict the movie IMDB rating"

Grading

You will be expected to explain why you used a specific tool set like SparkML, ScikitLearn, Keras or XGBoost to name a few. Tools below are suggested, but feel free to use any method.

Polymorph: Devops Coding Challenge

Get this simple Flask app up and running on a Vagrant VM using your known best devops practices as well as the instructions in the guidelines below. You must use Ansible as your provisioner to install and configure everything. When you're done, we should be able to type vagrant up and our app will be running and reachable on http port 80 at http://192.168.33.15 and http://devops.adsnative.com

Guidelines:

  • The provisioner should clone this github repo into the VM under /webapps/adsnative
  • You should be able to find what system packages are needed by looking through the app
  • You should not need to change the app code in any way
  • The app should be running as a non-privileged user
  • The app should be automatically restarted if crashes or is killed