Programming Tips

JS Yang's Blog


git configby reneezll

$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
$ git config --global core.editor vi
Read More

MinGW (linux emulator for windows)by reneezll

MinGW (linux emulator for windows) - 32, 64 bit

윈도우즈에서 리눅스 쉘 처럼 사용할 수 있는 프로그램.

Download:

MinGW

참고로,

터미널 접속 프로그램 으로는 putty , poerosa 등 괜찮은 듯.

http://neoray.org/335#.VeqSSZPf3zb

Read More

django rest framework- 2.3.13 serializer bugby reneezll

django rest framework blog example

django rest framework 2.3.13 serializer에서

다음과 같은 bug 발생

Error message:


Internal Server Error: /api/posts
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/rest_framework/serializers.py", line 939, in restore_object
    for field in meta.many_to_many + meta.virtual_fields:
TypeError: can only concatenate tuple (not "list") to tuple

다음과 같이 해결:

$sudo pip install djangorestframework==2.4.8
Read More

angularjs - dashboard 설치하기by JS Yang

github 에 나와있는 대로 설치시, 웹브라우저에 빈화면만 나와서 설치법 정리.

SB Admin Angluar

https://github.com/start-angular/sb-admin-angular

Installation

  1. Clone this project or Download that ZIP file
$git clone git@github.com:start-angular/sb-admin-angular.git
  1. Make sure you have bower, grunt-cli and npm installed globally
$sudo npm install -g bower
$sudo npm install -g grunt-cli
  1. On the command prompt run the following commands
  • npm install - bower install is ran from the postinstall
$cd project-directory
$npm install
$bower install
$grunt serve:dist --force 

If you want to run the development version and skip throught the minification process ,

$grunt serve --force

웹 브라우저에서 다음과 같이 띄운다.

http://localhost:9000/

Read More

jekyll blog 셋업by JS Yang

ruby 및 jekyll 설치

  • github 에서 `[자신의아이디]/[자신의아이디].github.io 저장소 만들기.

link: web page

  • 아래 저장소 소스를 자신의 github.io 에 push

예쁜 테마 github

Read More
Load More…