Skip to content

Instantly share code, notes, and snippets.

View JrogeT's full-sized avatar
🏦
Working from Office

Jorge Rodrigo Torrez Aramayo JrogeT

🏦
Working from Office
View GitHub Profile
- Activating wsl:
https://techcommunity.microsoft.com/t5/windows-11/how-to-install-the-linux-windows-subsystem-in-windows-11/td-p/2701207/page/2
-----------INSIDE WSL-------------
- Installing Docker engine:
https://docs.docker.com/engine/install/ubuntu/
**problem related to "sudo apt-get update: jammy-security InRelease" -> https://stackoverflow.com/questions/62314789/no-internet-connection-on-wsl-ubuntu-windows-subsystem-for-linux
/etc/resolv.conf -> nameserver 8.8.8.8
@JrogeT
JrogeT / NodeTs deploy heroku
Last active September 27, 2022 00:08
steps
Procfile:
web: npm start
package.json:
"start": "node /dist/project/abc.js"
"build": "tsc"
"dependencies":[
..
"tslint": "x.x.xx",
1. slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
2. slmgr /skms kms8.msguides.com
3. slmgr /ato
Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99
@JrogeT
JrogeT / steps
Created January 23, 2022 20:23
Flutter Google Login
check if all your current project dependencies support null safety by using:
```dart pub outdated --mode=null-safety```
Then, run the following command to migrate:
```dart migrate```
@JrogeT
JrogeT / laravel in apache(xampp)
Last active January 23, 2022 06:02
xampp windows configuration to host php project
# "xampp/apache/conf/extra/httpd-vhosts.conf"
<VirtualHost *:80>
DocumentRoot "C:/Projects/Php/Test/public"
ServerName test.localhost
</VirtualHost>
@JrogeT
JrogeT / .gitpod.yml.example
Last active November 18, 2021 15:23
Gitpod configuration file for a new workspace
tasks:
- name: Configuring Wakatime
command: |
echo "[settings]" >> /home/gitpod/.wakatime.cfg
echo "api_key = $WAKATIME_API_KEY" >> /home/gitpod/.wakatime.cfg
exit
- name: Configuring Laravel Project
command: |
@JrogeT
JrogeT / config
Last active October 20, 2022 12:51
shh configuration host names
# file ~/.ssh/config
# JrogeT
Host github.com
HostName github.com
User jroget
IdentitiesOnly=yes
PreferredAuthentications publickey
PasswordAuthentication no
IdentityFile ~/.ssh/jroget_github
@JrogeT
JrogeT / ubuntu-composer
Created July 27, 2021 12:26
install composer
sudo apt update
sudo apt install php-cli unzip
cd ~
curl -sS https://getcomposer.org/installer -o composer-setup.php
HASH=`curl -sS https://composer.github.io/installer.sig`
echo $HASH
php -r "if (hash_file('SHA384', 'composer-setup.php') === '$HASH') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer
composer
@JrogeT
JrogeT / emberjs-heroku
Last active March 6, 2021 18:42
Deploy EmberJs to heroku
https://github.com/heroku/heroku-buildpack-nodejs
https://github.com/heroku/heroku-buildpack-ember-cli
https://github.com/hone/heroku-buildpack-static
NPM_CONFIG_PRODUCTION=false
@JrogeT
JrogeT / ubuntu-xampp
Last active May 15, 2024 12:25
Ubuntu command lines to install xampp
sudo -s
apt update
apt upgrade
wget chmod +x xampp-linux-x64-7.1.10-0-installer.run
chmod +x xampp-linux-x64-7.1.10-0-installer.run
./xampp-linux-x64-7.1.10-0-installer.run
#In order to start all the xampp services, we need to run the following command in the terminal:
/opt/lampp/xampp start
/opt/lampp/xampp stop