Skip to content

Instantly share code, notes, and snippets.

View andresmgsl's full-sized avatar
🔥
Building things

Andres Guerrero andresmgsl

🔥
Building things
View GitHub Profile
@andresmgsl
andresmgsl / .htaccess
Created July 23, 2018 01:46 — forked from julianpoemp/.angular-htaccess.md
Optimal .htaccess configuration for an Angular 5 App in production
# place this file in the same folder as your index.html on your server
# make sure to set the right base href attribute in your index.html
# this file ist hosted on GithubGist:
# https://gist.github.com/julianpoemp/bcf277cb56d2420cc53ec630a04a3566
# REDIRECTION
# to index.html to make routing work in production
<IfModule mod_rewrite.c>
RewriteEngine on
nmap -A -v -Pn xx.xxx.xx.xx
@andresmgsl
andresmgsl / timeout.html
Created October 19, 2019 12:26 — forked from kumikoda/timeout.html
A simple example demonstrating how setTimeout(fn, 0) can be useful. This gist illustrates the answer given by DVK's on stackoverflow. http://stackoverflow.com/a/4575011/783478
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<button id='do'> Do long calc!</button>
<div id='status'></div>
<div id='result'></div>
<script>
$('#do').on('click', function(){
@andresmgsl
andresmgsl / emoji_sheet_code.md
Last active June 21, 2020 10:50 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@andresmgsl
andresmgsl / README.md
Last active October 22, 2021 01:26
Create new monorepo

Nx Monorepo PlayBook

In this short tutorial we'll create a simple monorepo workspace using Nx, with two (2) apps, the first in angular an the other in react, also, there'll be two (2) APIs, NestJS and Django. The code of this would be later added here, in a github repo.

I strongly recommend you to use VSCode and install the NX Console Extention Its just my opinion, any other editor or extention could be used 👍

without furthermore words, lets start.

Creating the workspace

@andresmgsl
andresmgsl / README.md
Last active October 6, 2021 17:06
Dapps Playbook

Creating a Dapp using Ehtereum 🚧

In this tutorial I'll show you how to create a basic Etherium Dapp. Keep in mind that it's important to have a previews look to this file

Now, lets get started with this. As always, Im using Nx, creating and initial angular app using the following command:

npx nx generate @nrwl/angular:application --name='Ethereum Dapp Example' --style=scss --directory=blockchain --port=7100 --inlineTemplate --routing --skipTests --tags='ethereum dapp' --no-interactive
@andresmgsl
andresmgsl / README.md
Last active October 9, 2021 20:17
Arweave Upload Text - Example

Arweave Upload Text - Example

First you have to install arweave (look in google who to do that). Remember there's not arweave TestNet or DevNet, so you have to use this https://github.com/ArweaveTeam/testweave-sdk

Moving on. Once you have testweave-docker cloned and ready to use, run the command

docker-compose up