Skip to content

Instantly share code, notes, and snippets.

View luislard's full-sized avatar
🐼
Kung Fu Code

Luis Rosales luislard

🐼
Kung Fu Code
View GitHub Profile
@luislard
luislard / _s_generator.sh
Last active February 22, 2019 11:44
underscores generator
#!/bin/bash
echo We are going to generate a new _s theme, but first give me some info:
read -p 'THEME_NAME: ' THEME_NAME
read -p 'THEME_SLUG: ' THEME_SLUG
read -p 'AUTHOR: ' AUTHOR
@luislard
luislard / docker-win-32.md
Last active June 9, 2023 06:20
How to install Docker on Windows 32 bits (DOCKER-COMPOSE IS NOT INCLUDED)

How to set up Docker on Windows 32 bits from scratch. Docker-compose is not included.

Install Chocolatey (package manager for Windows)

Note: Open a powershell bash as an administrator

# Run this:
Get-ExecutionPolicy
# If returns Restricted run 
Set-ExecutionPolicy Bypass -Scope Process
@luislard
luislard / create-symfony-project-from-composer-container.md
Last active March 27, 2018 06:08
Create new Symfony project using composer from docker-container.

Installing a fresh new Symfony Project without having to install PHP on your host.

To achive our goal we will use composer from official docker container.

Of course using docker image will require us to write very long shell commands, but that can be avoid adding the following snippet to our .bashrc or .zshrc*.

  1. Go to your .bashrc and copy paste the following function at the end of the file.
~ $ nano ~/.bashrc