Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am hkim823 on github.
  • I am han (https://keybase.io/han) on keybase.
  • I have a public key whose fingerprint is 8092 45CE A4FA 8C88 DE78 0392 61B7 B85A 0A2F DB89

To claim this, I am signing this object:

homebrew_apps:
- git
- go
- gpg
- hub
- iperf
- mysql
- nmap
- npm
- python
- name: Install Homebrew applications
homebrew:
name: "{{ homebrew_apps }}"
- name: Tap Homebrew casks
homebrew_tap:
name: "{{ homebrew_taps }}"
- name: Install Homebrew cask applications
homebrew_cask:
### Keybase proof
I hereby claim:
* I am hkim823 on github.
* I am han (https://keybase.io/han) on keybase.
* I have a public key whose fingerprint is 4099 74D1 D505 EEBD ABE2 825A 7A07 3E5B FBF6 B720
To claim this, I am signing this object:
@hkim823
hkim823 / gist:526bc2f4962c90f649df
Created August 19, 2014 14:56
Change edx-platform from edx to outside fork
CAPS = fill in your values
sudo rm -rf /edx/app/edxapp/edx-platform
cd /edx/app/edx_ansible/edx_ansible/playbooks/edx-east
sudo /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -i localhost, -c local -e@/edx/app/edx_ansible/server-vars.yml -e edx_platform_repo='https://github.com/NAMEOFYOURGITHUBACCOUNT/edx-platform' -e edx_platform_version='BRANCH' edxapp.yml
### Keybase proof
I hereby claim:
* I am hkim823 on github.
* I am han (https://keybase.io/han) on keybase.
* I have a public key whose fingerprint is F3BE AF03 C3D3 03AD 61A1 CF2E E63F C9AA AADE 9BF4
To claim this, I am signing this object:
TASK: [edxapp | install system packages on which LMS and CMS rely] ************
failed: [localhost] => {"failed": true, "item": ""}
stderr: E: Unable to correct problems, you have held broken packages.
stdout: Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
In [4]: for i in revoked:
...: revoked_students = User.objects.get(email=i, courseenrollment__course_id="University_of_TorontoX/LA101x/1T2014")
...: print(revoked_students)
...:
Deniserq
Mehak1
Any9
CalifornianPrince
Tejavvadi
TomPeeters
[program:lms]
command=/edx/app/edxapp/venvs/edxapp/bin/gunicorn --preload -b 127.0.0.1:8000 -w 8 --timeout=300 --pythonpath=/edx/app/edxapp/edx-platform lms.wsgi
user=www-data
directory=/edx/app/edxapp/edx-platform
environment=PORT=8000,ADDRESS=127.0.0.1,LANG=en_US.UTF-8,DJANGO_SETTINGS_MODULE=lms.envs.aws,SERVICE_VARIANT="lms"
stdout_logfile=/edx/var/log/supervisor/%(program_name)-stdout.log
stderr_logfile=/edx/var/log/supervisor/%(program_name)-stderr.log
killasgroup=true
stopasgroup=true
Last login: Thu Mar 27 10:12:34 on ttys002
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
han@Hans-edX-MBPr ~> ls
Applications Movies
Box Sync Music
Desktop Pictures
Documents Public
Downloads Sites
Dropbox SkyDrive