-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample_command.txt
116 lines (77 loc) · 2.72 KB
/
sample_command.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
http://scotch.io/tutorials/php/create-a-laravel-and-angular-single-page-comment-application#testing-the-application
cd /path/to/my/repo
git remote add origin git@bitbucket.org:aladine/godevgo.git
git push -u origin --all # pushes up the repo and its refs for the first time
git push -u origin --tags # pushes up any tags
curl -i --user firstuser:first_password -d 'question=what&description=herer' localhost:8000/api/v1/question
curl --user firstuser:first_password localhost:8000/api/v1/question
curl --user firstuser:first_password localhost:8000/api/v1/question
curl -i --user firstuser:first_password -d 'question=What' localhost:8000/api/\\
curl -i -X PUT --user seconduser:second_password -d 'question=thiisnewqiz&description=hoho' localhost:8000/api/v1/question/5
curl -i --user firstuser:first_password -d 'question=thiisnewqiz&description=hoho' localhost:8000/api/v1/question
curl -i --user seconduser:second_password -d 'question=thiisnewqiz&description=hoho' localhost:8000/api/v1/question
$file = Input::file('file');
$destinationPath = 'uploads';
// If the uploads fail due to file system, you can try doing public_path().'/uploads'
$filename = str_random(12);
//$filename = $file->getClientOriginalName();
//$extension =$file->getClientOriginalExtension();
$upload_success = Input::file('file')->move($destinationPath, $filename);
if( $upload_success ) {
return Response::json('success', 200);
} else {
return Response::json('error', 400);
}
User
role
name
username
avatar_url
UserInfo
resume_url
github_url
website
UserSkill
skill_id
user_id
rating
Skill
name
Company
name
website
Job
name
description
deadline
language
UserJob
user_id
job_id
total_score
status
Question
job_id
question
description
duration
Answer
user_id
question_id
answer
score
<!-- Placed at the end of the document so the pages load faster -->
<script src='/lib/jquery/jquery.js'></script>
<script src='/lib/jquery/jquery-migrate.min.js'></script>
<script src='/lib/underscore-min.js'></script>
<script src='/lib/backbone.js'></script>
<!-- JAVASCRIPT -->
<script src="/js/utils.js"></script>
<script src="/js/models/model.js"></script>
<script src="/js/bundle_views.js"></script>
<script src="/js/app.js"></script>
<script src="/js/main.js"></script>
<script src="/js/common.js"></script>
uglifyjs -b -o bundle_views.js views/*
uglifyjs -o js/bundle.js lib/jquery/jquery.js lib/jquery/jquery-migrate.min.js lib/underscore-min.js lib/backbone.js js/utils.js js/models/model.js js/bundle_views.js js/app.js js/main.js js/common.js
"lib/jquery/jquery.js ","lib/jquery/jquery-migrate.min.js ","lib/underscore-min.js ","lib/backbone.js ","js/utils.js ","js/models/model.js ","js/bundle_views.js ","js/app.js ","js/main.js ","js/common.js"