Skip to content

Instantly share code, notes, and snippets.

View iamricard's full-sized avatar
🐕‍🦺

Ricard Solé iamricard

🐕‍🦺
View GitHub Profile
@iamricard
iamricard / error.md
Created June 7, 2021 10:36
Error LaMevaSalut

Server Error in '/VisitesIServeis' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
</head>
<body>
<div class="container" style="margin-top: 50px;">
<button class="btn btn-primary hello-button">Do Something</button>
</div>

Keybase proof

I hereby claim:

  • I am rcsole on github.
  • I am ricardsole (https://keybase.io/ricardsole) on keybase.
  • I have a public key ASCHwXCmbvSR8zpyKLQ3LVIcv1GiGQDgk-oqXzXxe3c2Ywo

To claim this, I am signing this object:

@iamricard
iamricard / mdSenderServer
Created March 9, 2013 14:21
Server version
#!/bin/bash
#SERVER FILE
#Copyright 2013 Ricard Solé
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.
@iamricard
iamricard / mdSenderClient
Created March 9, 2013 15:06
Client file
#!/bin/bash
#SERVER FILE
#Copyright 2013 Ricard Solé
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.
@iamricard
iamricard / README.md
Last active May 31, 2016 07:52
DOM Manipulation exercise

Make the card

When the user clicks “Submit”, their input should display on the card

  • Get the value of each input field
  • Add it as HTML to the correct element in the business card template

Change the color

When the user clicks “Submit”, their input should display on the card

  • Get the value of each input field
  • Add it as HTML to the correct element in the business card template
@iamricard
iamricard / main.lua
Created January 17, 2014 12:04
facebook
MOAISim.openWindow ( "Test Menu", 960, 640 )
MOAIGfxDevice.getFrameBuffer():setClearColor ( 1, 1, 1, 1 )
-- VIEWPORT
viewport = MOAIViewport.new ()
viewport:setSize ( 960, 640 )
viewport:setScale ( 960, 640 )
-- LAYER
partition = MOAIPartition.new ()
def update_stock(movements, stock, reference, min_stock):
if not stock:
stock = 0
if not min_stock:
min_stock = 0
output_string = ''
import java.util.*;
import java.io.*;
class Ejercicio4 {
public static BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
// public static String[][] peliculas = new String[5][2];
public static final byte director = 2;
public static final byte genero = 1;
public static final byte titulo = 0;
// Crea una clase Finanzas que convierta dólares a euros y viceversa.
// Codifica los métodos de instancia dolaresToEuros y eurosToDolares.
// Prueba que la clase Finanzas funciona correctamente haciendo conversiones
// entre euros y dólares. Como requisitos la clase Finanzas tiene que tener:
// * Un constructor sin parámetros Finanzas(), que establecerá el cambio
// Dólar - Euro en 1.36
// * Un constructor Finanzas (double cambio), que permitirá configurar el
// cambio dólar - euro