Skip to content

Instantly share code, notes, and snippets.

View meoooh's full-sized avatar

han meoooh

  • 뉴비 주식회사
View GitHub Profile
function twinkle(target){
var opa = $(target).css("opacity");
if(twinkleSwitch){
$(target).css("opacity", parseFloat(opa) - 0.1);
if($(target).css("opacity") < 0.1){
twinkleSwitch = false;
}
}
$ ./manage.py shell
/home/vom/.virtualenvs/vom/local/lib/python2.7/site-packages/IPython/terminal/embed.py:254: DeprecationWarning: With-statements now directly support multiple context managers
with nested(self.builtin_trap, self.display_trap):
Python 2.7.3 (default, Sep 26 2012, 21:51:14)
Type "copyright", "credits" or "license" for more information.
IPython 1.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
class Test(models.Model):
s = models.BooleanField()
class TestForm(ModelForm):
class Meta:
model = Test
####
------------------------------------------------------------
/home/meoooh/.virtualenvs/myCrm/bin/pip run on Fri Sep 27 00:54:51 2013
Downloading/unpacking django
Getting page https://pypi.python.org/simple/django/
URLs to search for versions for django:
* https://pypi.python.org/simple/django/
Analyzing links from page https://pypi.python.org/simple/Django/
Skipping link https://pypi.python.org/packages/any/D/Django/Django-1.5.2-py2.py3-none-any.whl#md5=07f0d2d42162945d0ad031fc9737847d (from https://pypi.python.org/simple/Django/); unknown archive format: .whl
Found link https://pypi.python.org/packages/source/D/Django/Django-1.1.3.tar.gz#md5=52848c23dbc120fe0b2a8e7189b20306 (from https://pypi.python.org/simple/Django/), version: 1.1.3
------------------------------------------------------------
/home/meoooh/.virtualenvs/myCrm/bin/pip run on Fri Sep 27 00:54:51 2013
Downloading/unpacking django
Getting page https://pypi.python.org/simple/django/
URLs to search for versions for django:
* https://pypi.python.org/simple/django/
Analyzing links from page https://pypi.python.org/simple/Django/
Skipping link https://pypi.python.org/packages/any/D/Django/Django-1.5.2-py2.py3-none-any.whl#md5=07f0d2d42162945d0ad031fc9737847d (from https://pypi.python.org/simple/Django/); unknown archive format: .whl
Found link https://pypi.python.org/packages/source/D/Django/Django-1.1.3.tar.gz#md5=52848c23dbc120fe0b2a8e7189b20306 (from https://pypi.python.org/simple/Django/), version: 1.1.3
meoooh@vm-3:~/rails/fpage$ bundle
Using rake (10.1.0) 
Using i18n (0.6.5) 
Using minitest (4.7.5) 
Using multi_json (1.8.0) 
Using atomic (1.1.14) 
Using thread_safe (0.1.3) 
Using tzinfo (0.3.37) 
Using activesupport (4.0.0) 
Using builder (3.1.4) 
meoooh@vm-3:~/rails/fpage$ rails c                                                                           
Loading development environment (Rails 4.0.0)
irb(main):001:0> Page.create_or_update_page_list("CAAERdn67ktcBADjQ2qIiZCzimr1iqrj1ofMZBZCfE673y7IP5ZAsWognVz
2qQHVhOTznQTqghwjxDxApnaMoPJVDCrfru4aZCDFZAcBtcyEg8N9okv9qRWDDl3A1UygxYC8VcMxtxAZBRXp1SeiUcJy")
NoMethodError: undefined method `future' for #<Class:0x007f0140c01078>
        from /home/meoooh/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_r
ecord/dynamic_matchers.rb:22:in `method_missing'
        from /home/meoooh/rails/fpage/app/models/page.rb:14:in `block in create_or_update_page_list'
        from /home/meoooh/rails/fpage/app/models/page.rb:13:in `each'
        from /home/meoooh/rails/fpage/app/models/page.rb:13:in `create_or_update_page_list'
meoooh@vm-3:~/rails/fpage$ guard
15:26:17 - INFO - Guard here! It looks like your project has a Gemfile, yet you are running
> [#] `guard` outside of Bundler. If this is your intent, feel free to ignore this
> [#] message. Otherwise, consider using `bundle exec guard` to ensure your
> [#] dependencies are loaded correctly.
> [#] (You can run `guard` with --no-bundler-warning to get rid of this message.)
15:26:18 - INFO - Guard is using TerminalTitle to send notifications.
15:26:18 - INFO - Guard::RSpec is running
15:26:18 - INFO - Guard is now watching at '/home/meoooh/rails/fpage'
 
This file has been truncated, but you can view the full file.
Downloading/unpacking django
Getting page https://pypi.python.org/simple/django/
URLs to search for versions for django:
* https://pypi.python.org/simple/django/
Analyzing links from page https://pypi.python.org/simple/Django/
Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.1.tar.gz#md5=2351efb20f6b7b5d9ce80fa4cb1bd9ca (from https://pypi.python.org/simple/Django/), version: 1.2.1
Found link https://pypi.python.org/packages/source/D/Django/Django-1.2.7.tar.gz#md5=902fe294a2f7b16e5e1dee42d458c2ba (from https://pypi.python.org/simple/Django/), version: 1.2.7
Found link https://pypi.python.org/packages/source/D/Django/Django-1.3.4.tar.gz#md5=9a610a40ee5fcc4ca283fb499e265936 (from https://pypi.python.org/simple/Django/), version: 1.3.4
Skipping link https://pypi.python.org/packages/any/D/Django/Django-1.5.2-py2.py3-none-any.whl#md5=07f0d2d42162945d0ad031fc9737847d (from https://pypi.python.org/simple/Django/); unknown archive format: .whl
han@meoooh:~/rails$ git clone git@github.com:doohee323/vsns.git myproject
Cloning into 'myproject'...
remote: Counting objects: 2206, done.
remote: Compressing objects: 100% (1207/1207), done.
remote: Total 2206 (delta 994), reused 2145 (delta 946)
Receiving objects: 100% (2206/2206), 5.92 MiB | 2.32 MiB/s, done.
Resolving deltas: 100% (994/994), done.
han@meoooh:~/rails$ cd myproject/
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with 'rvm rvmrc warning ignore /home/han/rails/myproject/Gemfile'.