Skip to content

Instantly share code, notes, and snippets.

@yarko
yarko / droplinks.py
Last active August 29, 2015 14:07
Find & fix bad Symlinks in Dropbox folder
@yarko
yarko / console output.txt
Last active August 29, 2015 14:04
paper-in-dart example
# This from:
# Dart Editor version 1.6.0.dev_04_00 (DEV)
# Dart SDK version 1.6.0-dev.4.0
#
# Run on https://github.com/zoechi/so_question_24723315
# (modernizer-2.6.2 line commented out in index.html)
#
--- 1:25:04 PM Running pub upgrade on /Users/yak007/workspace/Angular/angular-dart/paper-in-dart-example ... ---
Resolving dependencies...
@yarko
yarko / build-version.yml
Last active April 9, 2020 15:51
edx injera theming test-kit
---
## build-version.yml
#
# Use with ansible bringup;
# - *_version specs can be branches, tags, or commits
# - you can comment out any items you do not want to override;
# they will retain their settings as in ansible playbooks
# for those items.
#
@yarko
yarko / Vagrantfile
Last active August 29, 2015 13:59
edx-platform#3094 test methods
VAGRANTFILE_API_VERSION = "2"
MEMORY = 2048
CPU_COUNT = 2
$script = <<SCRIPT
if [ ! -d /edx/app/edx_ansible ]; then
echo "Error: Base box is missing provisioning scripts." 1>&2
exit 1
fi
@yarko
yarko / envs.py.patch
Created February 13, 2014 22:54
patch for #2520, pavelib/utils/envs.py
diff --git a/pavelib/utils/envs.py b/pavelib/utils/envs.py
index 798cb3c..e120ba8 100644
--- a/pavelib/utils/envs.py
+++ b/pavelib/utils/envs.py
@@ -4,6 +4,7 @@ Helper functions for loading environment settings.
import os
import sys
import json
+import re
from lazy import lazy
@yarko
yarko / assets.py.patch
Created February 13, 2014 22:47
patch for #2520, pavelib/assets.py
diff --git a/pavelib/assets.py b/pavelib/assets.py
index 3f1064e..a2022f2 100644
--- a/pavelib/assets.py
+++ b/pavelib/assets.py
@@ -7,33 +7,35 @@ from .utils.envs import Env
from .utils.cmd import cmd, django_cmd
-COFFEE_DIRS = ['lms', 'cms', 'common']
+COFFEE_DIRS = ['lms', 'cms', 'common'] # baseline paths;
@yarko
yarko / Vagrantfile
Created February 7, 2014 15:55
W.I.P. edx configuration/vagrant/release/devstack Vagrantfile
MEMORY = 2048
CPU_COUNT = 2
$script = <<SCRIPT
if [ ! -d /edx/app/edx_ansible ]; then
echo "Error: Base box is missing provisioning scripts." 1>&2
exit 1
fi
export PYTHONUNBUFFERED=1
source /edx/app/edx_ansible/venvs/edx_ansible/bin/activate
@yarko
yarko / build-version.yml
Last active August 29, 2015 13:56
edx devstack bug report - bringup error, theme feature off - https://github.com/edx/configuration/issues/744
---
## build-version.yml
#
# Use with ansible bringup;
# - *_version specs can be branches, tags, or commits
# - you can comment out any items you do not want to override;
# they will retain their settings as in ansible playbooks
# for those items.
#
@yarko
yarko / Screenshot
Created January 31, 2014 06:25
edx-configuration release-2014-01-30 bug
PLAY RECAP ********************************************************************
localhost : ok=195 changed=59 unreachable=0 failed=0
[default] Checking for host entries
(Vedxdev)Yarko-Tymciuraks-MacBook-Pro-2:devstack yak007$ vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)
* Documentation: https://help.ubuntu.com/
Welcome to your Vagrant-built virtual machine.
Last login: Fri Jan 31 04:29:30 2014 from 10.0.2.2
@yarko
yarko / README.md
Created January 31, 2014 06:16
edx vagrant provisioning for ansibl

Baseline Vagrant Development

To develop a product from Open edX, you will want to accomplish a couple of things:

  • select a stable starting point;
  • fork to your product directory;
  • package a starting point vagrant box to ease development;
  • add product specific theme(s);
  • add product specific environment;
  • triage against a known system;