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 16:58:41 +00:00
|
|
|
|
img(
|
|
|
|
|
src="/images/common/logo.png"
|
|
|
|
|
srcset="/images/common/logo@2x.png"
|
|
|
|
|
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. 👩💻👨💻
|
|
|
|
|
|
|
|
|
|
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-09 21:05:03 +00:00
|
|
|
|
// PROJECT
|
2018-09-09 17:46:23 +00:00
|
|
|
|
import BaseCheatsheet from "@/components/BaseCheatsheet";
|
2018-09-09 17:18:40 +00:00
|
|
|
|
import BaseDivider from "@/components/BaseDivider";
|
|
|
|
|
|
2018-09-09 15:26:24 +00:00
|
|
|
|
export default {
|
2018-09-09 17:18:40 +00:00
|
|
|
|
components: {
|
2018-09-09 17:46:23 +00:00
|
|
|
|
BaseCheatsheet,
|
2018-09-09 17:18:40 +00:00
|
|
|
|
BaseDivider
|
|
|
|
|
},
|
|
|
|
|
|
2018-09-09 15:26:24 +00:00
|
|
|
|
data() {
|
|
|
|
|
return {
|
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-09 18:07:59 +00:00
|
|
|
|
margin: 30px 0 40px;
|
2018-09-09 21:05:03 +00:00
|
|
|
|
font-size: 22px;
|
|
|
|
|
line-height: 32px;
|
2018-09-09 16:58:41 +00:00
|
|
|
|
}
|
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
|
|
|
|
}
|
|
|
|
|
</style>
|