gmad
This commit is contained in:
parent
0f2ae5e017
commit
dcb4710d88
_posts
_site
29
_posts/2019-07-13-Lookback-GMAD.md
Normal file
29
_posts/2019-07-13-Lookback-GMAD.md
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
layout: post
|
||||
title: "Taking a look back at GMAD"
|
||||
description: "Fun, Simple, and Quick"
|
||||
date: 2019-07-13 14:43:00
|
||||
categories: projects
|
||||
---
|
||||
|
||||
One day, back in June of 2018, I was both looking for a new project to work on, and trying to decide which Linux distro to install on one of my computers. From this, a little project was born. [Give Me a Distro](/gmad) (or, GMAD, as I like to call it) is a little website that chooses a random distribution of Linux and shows a description of what you are about to get yourself into, and a download link for the latest ISO.
|
||||
|
||||
## Backend tech
|
||||
This is one of the simplest projects I have ever made. All the backend does is:
|
||||
- Select a random number (n)
|
||||
- Fetch the nth item from a list of distros
|
||||
- Push the selected data to the user via DOM
|
||||
|
||||
## Frontend
|
||||
This website is just plain HTML and CSS3, built without any CSS framework.
|
||||
|
||||
## My regrets
|
||||
There are two things I do not like about this project. Firstly, on load, the site breifly suggests Arch Linux before flashing to the random selection. This is due to the fact that Arch is the default for people with Javascript disabled. Some kind of loading animation would fix this.
|
||||
|
||||
Secondly, the version of the site hosted on [retrylife.ca](https://retrylife.ca/gmad) is actually just an iframe to [ewpratten.github.io](https://ewpratten.github.io/GiveMeADistro) due to some CNAME issues.
|
||||
|
||||
## Contributing
|
||||
If you would like to add a distro or three to the website, feel free to make a pull request over on [GitHub](https://github.com/Ewpratten/GiveMeADistro).
|
||||
|
||||
## Why make a post about it a year later?
|
||||
I just really enjoyed working with the project and sharing it with friends, so I figured I should mention it here too. Maybe it will inspire someone to make something cool!
|
@ -96,6 +96,13 @@
|
||||
<ul>
|
||||
|
||||
|
||||
<!-- <header class="major"> -->
|
||||
<li><h3><a href="/projects/2019/07/13/Lookback-GMAD.html" class="link" title="2019-07-13 10:43:00 -0400">Taking a look back at GMAD</a></h3></li>
|
||||
<!-- </header> -->
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- <header class="major"> -->
|
||||
<li><h3><a href="/frc/2019/07/06/ScrapingFRCGithub.html" class="link" title="2019-07-06 11:08:00 -0400">Scraping FRC team's GitHub accounts to gather large amounts of data</a></h3></li>
|
||||
<!-- </header> -->
|
||||
|
@ -1,4 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-07-13T14:37:15-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, <a href="https://github.com/frc5024">@frc5024</a> programming team lead, and radio enthusiast.</subtitle><entry><title type="html">Scraping FRC team’s GitHub accounts to gather large amounts of data</title><link href="http://0.0.0.0:4000/frc/2019/07/06/ScrapingFRCGithub.html" rel="alternate" type="text/html" title="Scraping FRC team's GitHub accounts to gather large amounts of data" /><published>2019-07-06T11:08:00-04:00</published><updated>2019-07-06T11:08:00-04:00</updated><id>http://0.0.0.0:4000/frc/2019/07/06/ScrapingFRCGithub</id><content type="html" xml:base="http://0.0.0.0:4000/frc/2019/07/06/ScrapingFRCGithub.html"><p>I was curious about the most used languages for FRC, so I build a Python script to find out what they where.</p>
|
||||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.5">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-07-13T14:57:51-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, <a href="https://github.com/frc5024">@frc5024</a> programming team lead, and radio enthusiast.</subtitle><entry><title type="html">Taking a look back at GMAD</title><link href="http://0.0.0.0:4000/projects/2019/07/13/Lookback-GMAD.html" rel="alternate" type="text/html" title="Taking a look back at GMAD" /><published>2019-07-13T10:43:00-04:00</published><updated>2019-07-13T10:43:00-04:00</updated><id>http://0.0.0.0:4000/projects/2019/07/13/Lookback-GMAD</id><content type="html" xml:base="http://0.0.0.0:4000/projects/2019/07/13/Lookback-GMAD.html"><p>One day, back in June of 2018, I was both looking for a new project to work on, and trying to decide which Linux distro to install on one of my computers. From this, a little project was born. <a href="/gmad">Give Me a Distro</a> (or, GMAD, as I like to call it) is a little website that chooses a random distribution of Linux and shows a description of what you are about to get yourself into, and a download link for the latest ISO.</p>
|
||||
|
||||
<h2 id="backend-tech">Backend tech</h2>
|
||||
<p>This is one of the simplest projects I have ever made. All the backend does is:</p>
|
||||
<ul>
|
||||
<li>Select a random number (n)</li>
|
||||
<li>Fetch the nth item from a list of distros</li>
|
||||
<li>Push the selected data to the user via DOM</li>
|
||||
</ul>
|
||||
|
||||
<h2 id="frontend">Frontend</h2>
|
||||
<p>This website is just plain HTML and CSS3, built without any CSS framework.</p>
|
||||
|
||||
<h2 id="my-regrets">My regrets</h2>
|
||||
<p>There are two things I do not like about this project. Firstly, on load, the site breifly suggests Arch Linux before flashing to the random selection. This is due to the fact that Arch is the default for people with Javascript disabled. Some kind of loading animation would fix this.</p>
|
||||
|
||||
<p>Secondly, the version of the site hosted on <a href="https://retrylife.ca/gmad">retrylife.ca</a> is actually just an iframe to <a href="https://ewpratten.github.io/GiveMeADistro">ewpratten.github.io</a> due to some CNAME issues.</p>
|
||||
|
||||
<h2 id="contributing">Contributing</h2>
|
||||
<p>If you would like to add a distro or three to the website, feel free to make a pull request over on <a href="https://github.com/Ewpratten/GiveMeADistro">GitHub</a>.</p>
|
||||
|
||||
<h2 id="why-make-a-post-about-it-a-year-later">Why make a post about it a year later?</h2>
|
||||
<p>I just really enjoyed working with the project and sharing it with friends, so I figured I should mention it here too. Maybe it will inspire someone to make something cool!</p></content><author><name></name></author><summary type="html">One day, back in June of 2018, I was both looking for a new project to work on, and trying to decide which Linux distro to install on one of my computers. From this, a little project was born. Give Me a Distro (or, GMAD, as I like to call it) is a little website that chooses a random distribution of Linux and shows a description of what you are about to get yourself into, and a download link for the latest ISO.</summary></entry><entry><title type="html">Scraping FRC team’s GitHub accounts to gather large amounts of data</title><link href="http://0.0.0.0:4000/frc/2019/07/06/ScrapingFRCGithub.html" rel="alternate" type="text/html" title="Scraping FRC team's GitHub accounts to gather large amounts of data" /><published>2019-07-06T11:08:00-04:00</published><updated>2019-07-06T11:08:00-04:00</updated><id>http://0.0.0.0:4000/frc/2019/07/06/ScrapingFRCGithub</id><content type="html" xml:base="http://0.0.0.0:4000/frc/2019/07/06/ScrapingFRCGithub.html"><p>I was curious about the most used languages for FRC, so I build a Python script to find out what they where.</p>
|
||||
|
||||
<h2 id="some-basic-data">Some basic data</h2>
|
||||
<p>Before we get to the heavy work done by my script, let’s start with some general data.</p>
|
||||
@ -470,56 +492,4 @@ __<span class="o">()</span> <span class="o"&g
|
||||
<audio controls="">
|
||||
<source src="/assets/audio/SpamPhoneCalls.mp3" type="audio/mpeg" />
|
||||
Your browser does not support audio players
|
||||
</audio></content><author><name></name></author><summary type="html">I am currently taking a class in school called Music and computers (AMM2M), where as part of the class, whe get together into bands, and produce a song. After taking a break from music production for over a year, we have released our song for the class (we do two songs, but the second is not finished yet).</summary></entry><entry><title type="html">Graphing the relation between wheels and awards for FRC</title><link href="http://0.0.0.0:4000/frc/2019/06/16/Graphing-w2a.html" rel="alternate" type="text/html" title="Graphing the relation between wheels and awards for FRC" /><published>2019-06-16T11:51:00-04:00</published><updated>2019-06-16T11:51:00-04:00</updated><id>http://0.0.0.0:4000/frc/2019/06/16/Graphing-w2a</id><content type="html" xml:base="http://0.0.0.0:4000/frc/2019/06/16/Graphing-w2a.html"><p>I was scrolling through reddit the other day, and came across <a href="https://www.reddit.com/r/FRC/comments/byzv5q/i_know_what_im_doing/">this great post</a> by u/<a href="https://www.reddit.com/user/MasterQuacks/">MasterQuacks</a>.</p>
|
||||
|
||||
<p><img src="/assets/images/w2ainspo.jpg" alt="My insporation" /></p>
|
||||
|
||||
<p>I thought to myself “ha. Thats funny”, and moved on. But that thought had stuck with me.</p>
|
||||
|
||||
<p>So here I am, bored on a sunday afternoon, staring at the matplotlib documentation.</p>
|
||||
|
||||
<h2 id="my-creation">My creation</h2>
|
||||
<p>In only a few lines of python, I have a program that will (badly) graph the number of awards per wheel for any team, or set of teams.</p>
|
||||
|
||||
<p>As always, feel free to tinker with the code. This one is not published anywhere, so if you want to share it, I would appreciate a mention.</p>
|
||||
|
||||
<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kn">import</span> <span class="nn">requests</span>
|
||||
<span class="kn">import</span> <span class="nn">matplotlib.pyplot</span> <span class="k">as</span> <span class="n">plt</span>
|
||||
|
||||
<span class="k">class</span> <span class="nc">Team</span><span class="p">:</span>
|
||||
<span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="nb">id</span><span class="p">,</span> <span class="n">wheels</span><span class="p">):</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="nb">id</span> <span class="o">=</span> <span class="nb">id</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">wheels</span> <span class="o">=</span> <span class="n">wheels</span> <span class="o">*</span> <span class="mi">2</span>
|
||||
|
||||
<span class="c1">### CONFIG ###
|
||||
</span>
|
||||
<span class="n">teams</span> <span class="o">=</span> <span class="p">[</span><span class="n">Team</span><span class="p">(</span><span class="mi">5024</span><span class="p">,</span> <span class="mi">3</span><span class="p">),</span> <span class="n">Team</span><span class="p">(</span><span class="mi">254</span><span class="p">,</span> <span class="mi">4</span><span class="p">),</span> <span class="n">Team</span><span class="p">(</span><span class="mi">1114</span><span class="p">,</span> <span class="mi">3</span><span class="p">),</span> <span class="n">Team</span><span class="p">(</span><span class="mi">5406</span><span class="p">,</span> <span class="mi">3</span><span class="p">),</span> <span class="n">Team</span><span class="p">(</span><span class="mi">2056</span><span class="p">,</span> <span class="mi">4</span><span class="p">)]</span>
|
||||
<span class="n">year</span> <span class="o">=</span> <span class="mi">2019</span>
|
||||
|
||||
<span class="c1">##############
|
||||
</span>
|
||||
|
||||
<span class="k">for</span> <span class="n">i</span><span class="p">,</span> <span class="n">team</span> <span class="ow">in</span> <span class="nb">enumerate</span><span class="p">(</span><span class="n">teams</span><span class="p">):</span>
|
||||
<span class="n">award_data</span> <span class="o">=</span> <span class="n">requests</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="s">"https://www.thebluealliance.com/api/v3/team/frc"</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="n">team</span><span class="o">.</span><span class="nb">id</span><span class="p">)</span> <span class="o">+</span> <span class="s">"/awards/"</span> <span class="o">+</span> <span class="nb">str</span><span class="p">(</span><span class="n">year</span><span class="p">),</span> <span class="n">params</span><span class="o">=</span><span class="p">{</span><span class="s">"X-TBA-Auth-Key"</span><span class="p">:</span> <span class="s">"mz0VWTNtXTDV8NNOz3dYg9fHOZw8UYek270gynLQ4v9veaaUJEPvJFCZRmte7AUN"</span><span class="p">})</span><span class="o">.</span><span class="n">json</span><span class="p">()</span>
|
||||
|
||||
<span class="n">awards_count</span> <span class="o">=</span> <span class="nb">len</span><span class="p">(</span><span class="n">award_data</span><span class="p">)</span>
|
||||
|
||||
<span class="n">team</span><span class="o">.</span><span class="n">w2a</span> <span class="o">=</span> <span class="n">awards_count</span> <span class="o">/</span> <span class="n">team</span><span class="o">.</span><span class="n">wheels</span>
|
||||
<span class="k">print</span><span class="p">(</span><span class="n">team</span><span class="o">.</span><span class="nb">id</span><span class="p">,</span> <span class="n">team</span><span class="o">.</span><span class="n">w2a</span><span class="p">)</span>
|
||||
|
||||
<span class="n">plt</span><span class="o">.</span><span class="n">bar</span><span class="p">(</span><span class="n">i</span> <span class="o">+</span> <span class="mi">1</span><span class="p">,</span> <span class="n">team</span><span class="o">.</span><span class="n">w2a</span><span class="p">,</span> <span class="n">tick_label</span><span class="o">=</span><span class="nb">str</span><span class="p">(</span><span class="n">team</span><span class="o">.</span><span class="nb">id</span><span class="p">))</span>
|
||||
|
||||
<span class="c1"># Plot
|
||||
</span><span class="n">x_lables</span> <span class="o">=</span> <span class="p">[</span><span class="n">team</span><span class="o">.</span><span class="nb">id</span> <span class="k">for</span> <span class="n">team</span> <span class="ow">in</span> <span class="n">teams</span><span class="p">]</span>
|
||||
<span class="c1"># plt.set_xticklabels(x_lables)
|
||||
</span>
|
||||
<span class="k">with</span> <span class="n">plt</span><span class="o">.</span><span class="n">xkcd</span><span class="p">():</span>
|
||||
<span class="n">plt</span><span class="o">.</span><span class="n">title</span><span class="p">(</span><span class="s">'Awards per wheel'</span><span class="p">)</span>
|
||||
<span class="n">plt</span><span class="o">.</span><span class="n">show</span><span class="p">()</span>
|
||||
|
||||
</code></pre></div></div>
|
||||
|
||||
<h2 id="the-result">The result</h2>
|
||||
<p>Here is the resulting image. From left, to right: 5024, 254, 2224, 5406, 2056</p>
|
||||
|
||||
<p><img src="/assets/images/w2a.png" alt="Thr result" /></p></content><author><name></name></author><summary type="html">I was scrolling through reddit the other day, and came across this great post by u/MasterQuacks.</summary></entry></feed>
|
||||
</audio></content><author><name></name></author><summary type="html">I am currently taking a class in school called Music and computers (AMM2M), where as part of the class, whe get together into bands, and produce a song. After taking a break from music production for over a year, we have released our song for the class (we do two songs, but the second is not finished yet).</summary></entry></feed>
|
@ -127,12 +127,12 @@
|
||||
|
||||
<ul>
|
||||
|
||||
<li><h3><a href="/projects/2019/07/13/Lookback-GMAD.html" class="link" title="2019-07-13 10:43:00 -0400">Taking a look back at GMAD</a></h3></li>
|
||||
|
||||
<li><h3><a href="/frc/2019/07/06/ScrapingFRCGithub.html" class="link" title="2019-07-06 11:08:00 -0400">Scraping FRC team's GitHub accounts to gather large amounts of data</a></h3></li>
|
||||
|
||||
<li><h3><a href="/projects/2019/07/01/devDNS.html" class="link" title="2019-07-01 18:13:00 -0400">devDNS</a></h3></li>
|
||||
|
||||
<li><h3><a href="/projects/2019/06/27/PWNlink.html" class="link" title="2019-06-27 13:16:00 -0400">I had some fun with a router</a></h3></li>
|
||||
|
||||
</ul>
|
||||
<a href="all_posts.html" class="button next">View All</a>
|
||||
|
||||
|
172
_site/projects/2019/07/13/Lookback-GMAD.html
Normal file
172
_site/projects/2019/07/13/Lookback-GMAD.html
Normal file
@ -0,0 +1,172 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Evan Pratten</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
<!--[if lte IE 8]><script src="/assets/js/ie/html5shiv.js"></script><![endif]-->
|
||||
<link rel="stylesheet" href="/assets/css/main.css" />
|
||||
<!-- <link rel="stylesheet" href="/assets/css/custom.css" /> -->
|
||||
<!--[if lte IE 9]><link rel="stylesheet" href="/assets/css/ie9.css" /><![endif]-->
|
||||
<!--[if lte IE 8]><link rel="stylesheet" href="/assets/css/ie8.css" /><![endif]-->
|
||||
|
||||
<!-- Syntax highlight -->
|
||||
<link rel="stylesheet" href="/assets/css/vs.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- Wrapper -->
|
||||
<div id="wrapper">
|
||||
|
||||
<!-- Header -->
|
||||
<header id="header" >
|
||||
<a href="http://0.0.0.0:4000//" class="logo"><strong>Evan Pratten</strong> <span>retrylife</span></a>
|
||||
<nav>
|
||||
<!-- <a href="#menu">Menu</a> -->
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<!-- Menu -->
|
||||
<!-- <nav id="menu">
|
||||
<ul class="links">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><a href="http://0.0.0.0:4000//">Home</a></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li><a href="http://0.0.0.0:4000/all_posts.html">All posts</a></li>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
<ul class="actions vertical">
|
||||
<li><a href="#" class="button special fit">Get Started</a></li>
|
||||
<li><a href="#" class="button fit">Log In</a></li>
|
||||
</ul>
|
||||
</nav> -->
|
||||
|
||||
<section id="banner" class="major" style="height:40vh">
|
||||
<div class="inner">
|
||||
<header class="major">
|
||||
<h1>Taking a look back at GMAD</h1>
|
||||
</header>
|
||||
<div class="content">
|
||||
<p >Fun, Simple, and Quick</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- Main -->
|
||||
<div id="main" class="alt">
|
||||
|
||||
<!-- One -->
|
||||
<section id="one">
|
||||
<div class="inner">
|
||||
|
||||
<p><p>One day, back in June of 2018, I was both looking for a new project to work on, and trying to decide which Linux distro to install on one of my computers. From this, a little project was born. <a href="/gmad">Give Me a Distro</a> (or, GMAD, as I like to call it) is a little website that chooses a random distribution of Linux and shows a description of what you are about to get yourself into, and a download link for the latest ISO.</p>
|
||||
|
||||
<h2 id="backend-tech">Backend tech</h2>
|
||||
<p>This is one of the simplest projects I have ever made. All the backend does is:</p>
|
||||
<ul>
|
||||
<li>Select a random number (n)</li>
|
||||
<li>Fetch the nth item from a list of distros</li>
|
||||
<li>Push the selected data to the user via DOM</li>
|
||||
</ul>
|
||||
|
||||
<h2 id="frontend">Frontend</h2>
|
||||
<p>This website is just plain HTML and CSS3, built without any CSS framework.</p>
|
||||
|
||||
<h2 id="my-regrets">My regrets</h2>
|
||||
<p>There are two things I do not like about this project. Firstly, on load, the site breifly suggests Arch Linux before flashing to the random selection. This is due to the fact that Arch is the default for people with Javascript disabled. Some kind of loading animation would fix this.</p>
|
||||
|
||||
<p>Secondly, the version of the site hosted on <a href="https://retrylife.ca/gmad">retrylife.ca</a> is actually just an iframe to <a href="https://ewpratten.github.io/GiveMeADistro">ewpratten.github.io</a> due to some CNAME issues.</p>
|
||||
|
||||
<h2 id="contributing">Contributing</h2>
|
||||
<p>If you would like to add a distro or three to the website, feel free to make a pull request over on <a href="https://github.com/Ewpratten/GiveMeADistro">GitHub</a>.</p>
|
||||
|
||||
<h2 id="why-make-a-post-about-it-a-year-later">Why make a post about it a year later?</h2>
|
||||
<p>I just really enjoyed working with the project and sharing it with friends, so I figured I should mention it here too. Maybe it will inspire someone to make something cool!</p>
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
<footer id="footer">
|
||||
<div class="inner">
|
||||
<ul class="icons">
|
||||
|
||||
<li><a href="https://twitter.com/ewpratten" class="icon alt fa-twitter" target="_blank"><span class="label">Twitter</span></a></li>
|
||||
|
||||
<li><a href="https://gitlab.com/u/ewpratten" class="icon alt fa-gitlab" target="_blank"><span class="label">GitLab</span></a></li>
|
||||
|
||||
<li><a href="https://github.com/ewpratten" class="icon alt fa-github" target="_blank"><span class="label">GitHub</span></a></li>
|
||||
|
||||
|
||||
<li><a href="/feed.xml" class="icon alt fa-rss" target="_blank"><span class="label">RSS</span></a></li>
|
||||
</ul>
|
||||
<ul class="copyright">
|
||||
<li>© Evan Pratten</li>
|
||||
<li>Design based from: <a href="https://html5up.net" target="_blank">HTML5 UP</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script src="http://0.0.0.0:4000/assets/js/jquery.min.js"></script>
|
||||
<script src="http://0.0.0.0:4000/assets/js/jquery.scrolly.min.js"></script>
|
||||
<script src="http://0.0.0.0:4000/assets/js/jquery.scrollex.min.js"></script>
|
||||
<script src="http://0.0.0.0:4000/assets/js/skel.min.js"></script>
|
||||
<script src="http://0.0.0.0:4000/assets/js/util.js"></script>
|
||||
<!--[if lte IE 8]><script src="http://0.0.0.0:4000/assets/js/ie/respond.min.js"></script><![endif]-->
|
||||
<script src="http://0.0.0.0:4000/assets/js/main.js"></script>
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-74118570-2"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-74118570-2');
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user