This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
from django.contrib import admin | |
from .models import AccountModel | |
#class AccountAdmin(admin.ModelAdmin): | |
#account_id = models.CharField(max_length=10) | |
class AccountAdmin(admin.ModelAdmin): | |
search_fields = ['account_id'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* homebrew_cask[virtualbox] action install | |
================================================================================ | |
Error executing action `install` on resource 'homebrew_cask[virtualbox]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of /usr/local/bin/brew cask install virtualbox ---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
driver: | |
name: docker | |
use_sudo: false | |
provisioner: | |
name: chef_zero | |
data_bags_path: data_bags | |
environments_path: 'environments' | |
client_rb: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DesiredCapabilities cap = DesiredCapabilities.chrome() | |
cap.setBrowserName("googlechrome") | |
cap.setVersion('65.0.3325.181') | |
cap.setPlatform(Platform.ANY) | |
cap.setAcceptInsecureCerts(true) | |
driver = new RemoteWebDriver(new URL(Node), cap) | |
driver.manage().window().fullscreen() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
driver: | |
name: vagrant | |
provisioner: | |
name: chef_zero | |
data_bags_path: data_bags | |
always_update_cookbooks: true | |
verifier: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ knife cookbook site install homebrew 5.0.1 10 ↵ | |
Installing homebrew to /Users/btaylor/Development/osx-chef-solo/chef-repo/cookbooks | |
Checking out the master branch. | |
Pristine copy branch (chef-vendor-homebrew) exists, switching to it. | |
Downloading homebrew from Supermarket at version 5.0.1 to /Users/btaylor/Development/osx-chef-solo/chef-repo/cookbooks/homebrew.tar.gz | |
Cookbook saved: /Users/btaylor/Development/osx-chef-solo/chef-repo/cookbooks/homebrew.tar.gz | |
Removing pre-existing version. | |
Uncompressing homebrew version 5.0.1. | |
Removing downloaded tarball | |
6 files updated, committing changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ chef-solo -j workstation.rb -c solo.rb 130 ↵ | |
Starting Chef Client, version 13.8.5 | |
resolving cookbooks for run list: ["workstation"] | |
Synchronizing Cookbooks: | |
- homebrew (5.0.2) | |
- workstation (0.1.0) | |
Installing Cookbook Gems: | |
Compiling Cookbooks... | |
Converging 6 resources | |
Recipe: workstation::default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm ERR! TypeError: Cannot read property 'latest' of undefined | |
npm ERR! at next (/usr/share/npm/lib/cache.js:687:35) | |
npm ERR! at /usr/share/npm/lib/cache.js:675:5 | |
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7) | |
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7 | |
npm ERR! at Object.oncomplete (fs.js:107:15) | |
npm ERR! If you need help, you may report this log at: | |
npm ERR! <http://github.com/isaacs/npm/issues> | |
npm ERR! or email it to: | |
npm ERR! <npm-@googlegroups.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db: | |
image: mysql:5.6 | |
environment: | |
MYSQL_DATABASE: ralph_ng | |
MYSQL_ROOT_PASSWORD: ralph_ng | |
MYSQL_USER: ralph_ng | |
MYSQL_PASSWORD: ralph_ng | |
volumes_from: | |
- data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.3.1 | |
COPY . /app/ | |
RUN gem install bundler --no-ri --no-rdoc && \ | |
cd /app; bundle install --without development test | |
RUN apt-get update && apt-get -y install vim sqlite3 | |
RUN chown -R nobody:nogroup /app | |
USER nobody | |
EXPOSE 9292 | |
WORKDIR /app | |
RUN /app/runbot.sh |
NewerOlder