Skip to content

Instantly share code, notes, and snippets.

@futurepastori
futurepastori / package-lock.json
Created November 16, 2021 10:26
Issue #31471 (vercel/next.js)
{
"name": "web",
"version": "1.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@apollo/client": {
"version": "3.4.12",
"resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.4.12.tgz",
"integrity": "sha512-k4Hsl+4zhqruKnI7iFIYzi7JGZgodrUEF/XF9gXde3blxMwID2zKj+pKB8vQ8MWEbfRMeuEno+PZkatR2nE8Mw==",
@futurepastori
futurepastori / _document.js
Created November 16, 2021 10:12
Issue #31471 (vercel/next.js)
import React from "react";
import Document, { Html, Head, Main, NextScript } from "next/document";
export default class MyDocument extends Document {
render() {
return (
<Html className="h" lang="es">
<Head>
<meta name="theme-color" content="#049169" />
<script
dangerouslySetInnerHTML={{
#include "application.h"
#include "utils.h"
#include "mesh.h"
#include "texture.h"
#include "light.h"
#include "volume.h"
#include "fbo.h"
#include "shader.h"
#include "input.h"
#include "animation.h"
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2010 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@futurepastori
futurepastori / layers.m
Last active November 16, 2021 10:13
Layers and options for CNN
% He intentat fotre aquestes dues una darrere laltra but boy que malament va
% conv1 = convolution2dLayer(2,48,'Padding',1,'BiasLearnRateFactor',2);
% conv2 = convolution2dLayer(3,128,'Padding',2,'BiasLearnRateFactor',2);
% [ AQUESTA ] %
% + filtres (encara q tardi més), padding baix i mida del filtre relativament petita
conv3 = convolution2dLayer(5,128,'Padding',2,'BiasLearnRateFactor',2);
% Les fcl estan intactes
fc1 = fullyConnectedLayer(128,'BiasLearnRateFactor',2);
{
"status": "success",
"result": ""
}