Skip to content

Instantly share code, notes, and snippets.

View JrogeT's full-sized avatar
🏕️
Working from Home

Jorge Rodrigo Torrez Aramayo JrogeT

🏕️
Working from Home
View GitHub Profile
@JrogeT
JrogeT / History\-5f207763\Dltn.json
Last active July 25, 2022 14:56
Visual Studio Code Settings Sync Gist
{
"sync.gist": "1f7965c87413a729594603c81033da43",
"editor.inlineSuggest.enabled": true,
"workbench.iconTheme": "eq-material-theme-icons",
"workbench.colorTheme": "Default Light+",
"terminal.integrated.defaultProfile.windows": "Git Bash"
}
@JrogeT
JrogeT / ubuntu-xampp
Last active April 17, 2025 22:22
Ubuntu command lines to install xampp
sudo -s
apt update
apt upgrade
wget https://linktodownloadxamppxampp-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
sudo ln -s /opt/lampp/bin/php /usr/bin/php
#In order to start all the xampp services, we need to run the following command in the terminal:
@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-composer
Last active June 26, 2024 10:43
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 / 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 / .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 / laravel in apache(xampp)
Last active June 5, 2024 15:04
xampp windows configuration to host php project
# "xampp/apache/conf/extra/httpd-vhosts.conf"
# "/opt/lampp/etc/extra"
<VirtualHost *:80>
DocumentRoot "C:/Projects/Php/Test/public"
ServerName test.localhost
</VirtualHost>
in ubuntu:
@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```
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 / 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",