Skip to content

Instantly share code, notes, and snippets.

View LeCoupa's full-sized avatar
:octocat:
Keep pushing ⚡️

Julien Le Coupanec LeCoupa

:octocat:
Keep pushing ⚡️
View GitHub Profile
@LeCoupa
LeCoupa / cofounder-cto.md
Last active November 27, 2023 11:40
Trouver un cofounder ou CTO

Trouver un cofounder ou CTO

1/ Concepts de base à avoir en tête

  • Un SaaS c'est du long terme. Quand tu cherches un cofounder il faut trouver quelqu'un avec qui tu vas aimer travailler et qui est prêt à s'investir avec toi sur le 5, 10, 20 ans. (The Companies API - Julien Le Coupanec)

  • Avant de s'associer il est important deja de travailler ensemble sur des petites choses histoire de voir si cela fit. (Trustt - Nadia Gabriel)

@LeCoupa
LeCoupa / shell_aliases
Last active August 22, 2023 13:49
Shell Aliases
##############################################################################
# SHELL ALIASES
# ADD TO .bashrc OR .zshrc
##############################################################################
# Capacitor
alias csync="npx cap sync"
alias cios="npx cap open ios"
alias cand="npx cap open android"
@LeCoupa
LeCoupa / deploy.yml
Created October 31, 2020 16:58
Github Action Deploy Script For Nuxt.js
name: Deploy
on:
push:
branches:
- production
jobs:
deploy:
runs-on: ubuntu-latest
@LeCoupa
LeCoupa / tailwind_cheatsheet.css
Last active March 15, 2024 05:29
Tailwind CSS CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* TAILWIND.CSS
* DOCUMENTATION: https://tailwindcss.com/
* ******************************************************************************************* */
/*
* Available breakpoints
* --------------------
* sm: min-width: 640px;
* md: min-width: 768px;
/* *******************************************************************************************
* PUPPETEER
* https://pptr.dev/
* ******************************************************************************************* */
// When you install Puppeteer, it downloads a recent version of Chromium (~170MB Mac, ~282MB Linux, ~280MB Win)
// that is guaranteed to work with the API.
npm install puppeteer
@LeCoupa
LeCoupa / vue_js_cheatsheet.js
Last active October 23, 2023 10:38
Vue js Cheatsheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* GLOBAL CONFIG
* Vue.config is an object containing Vue’s global configurations.
* You can modify its properties listed below before bootstrapping your application.
* https://vuejs.org/v2/api/#Global-Config
* ******************************************************************************************* */
// Configure whether to allow vue-devtools inspection
Vue.config.devtools = true
/* *******************************************************************************************
* GLOBAL OBJECTS > ARRAY
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
* ******************************************************************************************* */
// Global object: properties
Array.length // Reflects the number of elements in an array
// Global object: methods
@LeCoupa
LeCoupa / 1_nanobox_cli.sh
Last active October 22, 2023 12:09
Nanobox Cheatsheet: CLI commands and Boxfile --> https://github.com/LeCoupa/awesome-cheatsheets
# *****************************************************************************
# UPDATED VERSION AVAILABLE HERE:
# https://github.com/LeCoupa/awesome-cheatsheets/blob/master/tools/nanobox_cli.sh
# *****************************************************************************
# *****************************************************************************
# LOCAL ENVIRONMENT
# *****************************************************************************
@LeCoupa
LeCoupa / 1_vsc_settings.js
Last active April 1, 2022 18:39
User settings and key bindings for Visual Studio Code
{
// Controls the font size in pixels
"editor.fontSize": 14,
// The number of spaces a tab is equal to
"editor.tabSize": 2,
"[python]": {
"editor.tabSize": 4
},
@LeCoupa
LeCoupa / cli.docker.sh
Last active November 21, 2023 07:33
Docker Cheatsheet + Tips & Tricks --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
docker build -t friendlyname . # Create image using this directory's Dockerfile
docker run -p 4000:80 friendlyname # Run "friendlyname" mapping port 4000 to 80
docker run -d -p 4000:80 friendlyname # Same thing, but in detached mode
docker exec -it [container-id] bash # Enter a running container
docker ps # See a list of all running containers
docker stop <hash> # Gracefully stop the specified container
docker ps -a # See a list of all containers, even the ones not running
docker kill <hash> # Force shutdown of the specified container
docker rm <hash> # Remove the specified container from this machine
docker rm $(docker ps -a -q) # Remove all containers from this machine