2018-09-09 15:06:11 +00:00
|
|
|
|
<!-- *************************************************************************
|
|
|
|
|
TEMPLATE
|
|
|
|
|
************************************************************************* -->
|
2018-09-09 14:50:38 +00:00
|
|
|
|
|
2018-09-09 15:06:11 +00:00
|
|
|
|
<template lang="pug">
|
2018-09-09 15:26:24 +00:00
|
|
|
|
.c-index
|
2018-09-09 21:28:16 +00:00
|
|
|
|
a(
|
|
|
|
|
class="c-index__link"
|
|
|
|
|
href="https://github.com/LeCoupa/awesome-cheatsheets"
|
|
|
|
|
target="_blank"
|
2018-09-09 16:58:41 +00:00
|
|
|
|
)
|
2018-09-09 21:28:16 +00:00
|
|
|
|
img(
|
2018-09-09 21:57:04 +00:00
|
|
|
|
:src="baseUrl + '/images/common/logo.png'"
|
|
|
|
|
:srcset="baseUrl + '/images/common/logo@2x.png'"
|
2018-09-09 21:28:16 +00:00
|
|
|
|
class="c-index__logo"
|
|
|
|
|
)
|
|
|
|
|
|
2018-09-09 17:18:40 +00:00
|
|
|
|
p.c-index__description
|
|
|
|
|
| Awesome cheatsheets for popular programming languages, frameworks and development tools.<br/>
|
|
|
|
|
| They include everything you should know in one single file. 👩💻👨💻
|
|
|
|
|
|
2018-09-10 08:14:05 +00:00
|
|
|
|
the-github-buttons(
|
|
|
|
|
repo="awesome-cheatsheets"
|
|
|
|
|
user="LeCoupa"
|
|
|
|
|
class="c-index__github-buttons"
|
|
|
|
|
)
|
|
|
|
|
|
2018-09-09 17:18:40 +00:00
|
|
|
|
section(
|
|
|
|
|
v-for="(category, index) in categories"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
:key="category.name"
|
2018-09-09 17:18:40 +00:00
|
|
|
|
class="c-index__category"
|
2018-09-09 15:26:24 +00:00
|
|
|
|
)
|
2018-09-09 17:18:40 +00:00
|
|
|
|
base-divider(
|
|
|
|
|
:category="'0' + (index + 1) + '. ' + category.name"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
class="c-index__divider"
|
2018-09-09 17:18:40 +00:00
|
|
|
|
)
|
2018-09-09 17:46:23 +00:00
|
|
|
|
.c-index__cheatsheets
|
|
|
|
|
base-cheatsheet(
|
|
|
|
|
v-for="cheatsheet in category.cheatsheets"
|
|
|
|
|
:key="cheatsheet.name"
|
2018-09-09 21:05:03 +00:00
|
|
|
|
:link="cheatsheet.link"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
:name="cheatsheet.name"
|
|
|
|
|
:thumbnail="cheatsheet.thumbnail"
|
|
|
|
|
)
|
2018-09-09 15:06:11 +00:00
|
|
|
|
</template>
|
2018-09-09 14:50:38 +00:00
|
|
|
|
|
2018-09-09 15:06:11 +00:00
|
|
|
|
<!-- *************************************************************************
|
|
|
|
|
SCRIPT
|
|
|
|
|
************************************************************************* -->
|
2018-09-09 14:50:38 +00:00
|
|
|
|
|
2018-09-09 15:06:11 +00:00
|
|
|
|
<script>
|
2018-09-10 08:14:05 +00:00
|
|
|
|
// PROJECT
|
|
|
|
|
import TheGithubButtons from "@/components/TheGithubButtons";
|
|
|
|
|
|
2018-09-09 15:26:24 +00:00
|
|
|
|
export default {
|
2018-09-10 08:14:05 +00:00
|
|
|
|
components: {
|
|
|
|
|
TheGithubButtons
|
|
|
|
|
},
|
|
|
|
|
|
2018-09-09 15:26:24 +00:00
|
|
|
|
data() {
|
|
|
|
|
return {
|
2018-09-09 21:57:04 +00:00
|
|
|
|
// --> STATE <--
|
|
|
|
|
baseUrl: process.env.baseUrl,
|
|
|
|
|
|
2018-09-09 18:07:59 +00:00
|
|
|
|
// --> COMPONENTS <--
|
2018-09-09 17:18:40 +00:00
|
|
|
|
categories: [
|
|
|
|
|
{
|
2018-09-09 17:46:23 +00:00
|
|
|
|
name: "Languages",
|
|
|
|
|
cheatsheets: [
|
|
|
|
|
{
|
|
|
|
|
name: "Bash",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "bash.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/languages/bash.sh"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "C",
|
|
|
|
|
thumbnail: "c.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/languages/C.txt"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "C#",
|
|
|
|
|
thumbnail: "c-sharp.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/languages/C%23.txt"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "JavaScript",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "javascript.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/languages/javascript.js"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "PHP",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "php.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/languages/php.php"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
}
|
|
|
|
|
]
|
2018-09-09 17:18:40 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2018-09-09 17:46:23 +00:00
|
|
|
|
name: "Backend",
|
|
|
|
|
cheatsheets: [
|
|
|
|
|
{
|
|
|
|
|
name: "Django",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "django.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/backend/django.py"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "Feathers.js",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "feathers.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/backend/feathers.js"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "Moleculer",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "moleculer.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/backend/moleculer.js"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "Node.js",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "node.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/backend/node.js"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "Sails.js",
|
|
|
|
|
thumbnail: "sails.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/backend/sails.js"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
}
|
|
|
|
|
]
|
2018-09-09 17:18:40 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2018-09-09 17:46:23 +00:00
|
|
|
|
name: "Frontend",
|
|
|
|
|
cheatsheets: [
|
|
|
|
|
{
|
|
|
|
|
name: "Angular.js",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "angularjs.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/frontend/angularjs.js"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "Angular 2+",
|
|
|
|
|
thumbnail: "angular.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/frontend/angular.js"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "Ember.js",
|
|
|
|
|
thumbnail: "ember.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/frontend/ember.js"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "HTML5",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "html5.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/frontend/html5.html"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "React.js",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "react.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/frontend/react.js"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "Vue.js",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "vue.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/frontend/vue.js"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
}
|
|
|
|
|
]
|
2018-09-09 17:18:40 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2018-09-09 17:46:23 +00:00
|
|
|
|
name: "Databases",
|
|
|
|
|
cheatsheets: [
|
|
|
|
|
{
|
|
|
|
|
name: "Redis",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "redis.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/databases/redis.sh"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
}
|
|
|
|
|
]
|
2018-09-09 17:18:40 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
2018-09-09 17:46:23 +00:00
|
|
|
|
name: "Tools",
|
|
|
|
|
cheatsheets: [
|
|
|
|
|
{
|
|
|
|
|
name: "Docker",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "docker.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/tools/docker.sh"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "Kubernetes",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "kubernetes.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/tools/kubernetes.sh"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "VIM",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "vim.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/tools/vim.txt"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: "Xcode",
|
2018-09-09 21:05:03 +00:00
|
|
|
|
thumbnail: "xcode.jpg",
|
|
|
|
|
link:
|
|
|
|
|
"https://github.com/LeCoupa/awesome-cheatsheets/blob/master/tools/xcode.txt"
|
2018-09-09 17:46:23 +00:00
|
|
|
|
}
|
|
|
|
|
]
|
2018-09-09 17:18:40 +00:00
|
|
|
|
}
|
|
|
|
|
]
|
2018-09-09 15:26:24 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
};
|
2018-09-09 15:06:11 +00:00
|
|
|
|
</script>
|
2018-09-09 14:50:38 +00:00
|
|
|
|
|
2018-09-09 15:06:11 +00:00
|
|
|
|
<!-- *************************************************************************
|
|
|
|
|
STYLE
|
|
|
|
|
************************************************************************* -->
|
2018-09-09 14:50:38 +00:00
|
|
|
|
|
2018-09-09 16:58:41 +00:00
|
|
|
|
<style lang="scss">
|
|
|
|
|
$c: ".c-index";
|
|
|
|
|
|
|
|
|
|
#{$c} {
|
|
|
|
|
#{$c}__logo {
|
|
|
|
|
width: 245px;
|
|
|
|
|
height: 165px;
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#{$c}__description {
|
|
|
|
|
margin: 0;
|
2018-09-10 08:14:05 +00:00
|
|
|
|
margin: 30px 0;
|
|
|
|
|
font-size: 18px;
|
2018-09-09 21:05:03 +00:00
|
|
|
|
line-height: 32px;
|
2018-09-09 16:58:41 +00:00
|
|
|
|
}
|
2018-09-09 17:18:40 +00:00
|
|
|
|
|
2018-09-10 08:14:05 +00:00
|
|
|
|
#{$c}__github-buttons {
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
2018-09-09 17:18:40 +00:00
|
|
|
|
#{$c}__category {
|
2018-09-09 17:46:23 +00:00
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#{$c}__divider {
|
|
|
|
|
margin-bottom: 40px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#{$c}__cheatsheets {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-gap: 20px;
|
|
|
|
|
grid-template-columns: repeat(auto-fill, 270px);
|
|
|
|
|
justify-content: center;
|
|
|
|
|
}
|
2018-09-09 17:18:40 +00:00
|
|
|
|
}
|
2018-09-09 16:58:41 +00:00
|
|
|
|
}
|
2018-09-10 08:14:05 +00:00
|
|
|
|
|
|
|
|
|
@include mq($from: tablet) {
|
|
|
|
|
#{$c} {
|
|
|
|
|
#{$c}__description {
|
|
|
|
|
font-size: 22px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#{$c}__github-buttons {
|
|
|
|
|
margin-bottom: 60px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-09-09 16:58:41 +00:00
|
|
|
|
</style>
|