-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
308 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
let numClicks = [numClicksMath, numClicksMathFM, numClicksMathLA, numClicksMathRVF, numClicksMathAS, numClicksMathDM, numClicksMathFSV, numClicksMathLG, numClicksMathMA, numClicksMathNM, numClicksMathCA, numClicksMathDE, numClicksMathDG, numClicksMathGT, numClicksMathP, numClicksMathS, numClicksMathTOP, numClicksMathAT, numClicksMathA, numClicksMathCAL, numClicksMathDS, numClicksMathHA, numClicksMathLM, numClicksMathNC, numClicksMathNIPDE, numClicksMathPDE, numClicksMathRFA, numClicksMathSP]; | ||
|
||
for (let i = 0; i < numClicks.length; i++) { | ||
numClicks[i] = localStorage.getItem(numClicks[i] + "_counter"); | ||
if (numClicks[i] == null) { | ||
numClicks[i] = 0; | ||
localStorage.setItem(numClicks[i] + "_counter", numClicks[i]); | ||
} | ||
numClicks[i] = parseInt(numClicks[i]); | ||
updateCount(i, numClicks[i]); | ||
} | ||
|
||
// function clickFunction(numClick) { | ||
// switch (numClick) { | ||
// case "MATH": | ||
// numClicks = numClicksMath++; | ||
// break; | ||
// case "LG": | ||
// break; | ||
// // default: | ||
// // // code block | ||
// } | ||
// print("hem entrat"); | ||
// document.getElementById(numClick).innerHTML = numClicks; | ||
// return false; | ||
// } | ||
|
||
function incrementCounter(text) { | ||
let i = parseInt(text); | ||
let count = parseInt(localStorage.getItem(numClicks[i] + "_counter")); | ||
count = count + 1; | ||
localStorage.setItem(numClicks[i] + "_counter", count); | ||
updateCount(text, count); | ||
return true; | ||
} | ||
function updateCount(code, count) { | ||
document.getElementById(code).innerHTML = "Clicked " + count + " times!"; | ||
} | ||
|
||
// window.onload = function () { | ||
// // make an AJAX request to the hitcounter.php script | ||
// var xhr = new XMLHttpRequest(); | ||
// xhr.open("GET", "hitcount.txt", true); | ||
// xhr.send(); | ||
|
||
// // when the AJAX request is complete, update the hit count display | ||
// xhr.onreadystatechange = function () { | ||
// if (xhr.readyState == 4 && xhr.status == 200) { | ||
// var count = xhr.responseText; | ||
// document.getElementById("hitcount").innerHTML = count; | ||
// } | ||
// }; | ||
// }; | ||
// var button = document.getElementById("clickme"), count = 0; | ||
// button.onclick = function() { | ||
// count += 1; | ||
// button.innerHTML = "Click me: " + count; | ||
// }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
$filename = "hitcount.txt"; // file to store hit count | ||
|
||
// check if the file exists, if not create it and set hit count to 0 | ||
if (!file_exists($filename)) { | ||
file_put_contents($filename, "0"); | ||
} | ||
|
||
// read the hit count from the file and increment it | ||
$count = file_get_contents($filename); | ||
$count++; | ||
file_put_contents($filename, $count); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
<!DOCTYPE html> | ||
|
||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Complete summaries</title> | ||
<link rel="stylesheet" href="style.css"> | ||
</head> | ||
|
||
<body> | ||
<div class="header"> | ||
<h1 class="special-color">Mathematics and Physics notes</h1> | ||
<br> | ||
<p>This website intends to summarize some notes about each <q>important</q> subject in Mathematics and Physics degree at Autonomous University of Barcelona (UAB) and at Paris Dauphine - PSL University.</p> | ||
<p>You can download the sections separately as you like or the whole file of Mathematics or Physics (better in order to avoid linking errors).</p> | ||
</div> | ||
<div class="row"> | ||
<div class="column vertical-divider"> | ||
<h2 class="special-color">Mathematics</h2> | ||
<!-- <h3>Mathematics:</h3> --> | ||
<p>Full summaries of <button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/main_math.pdf' ;" target="_top">Mathematics</button></p> | ||
<!-- <p>Full summaries of <a href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/main_math.pdf' onclick="hitcounter.php" id="hitcountlink" target="_top">Mathematics</a>. <span id="hitcount" class="clickBox">0</span></p> --> | ||
<!-- Add Bachelor level with underline --> | ||
<p><u>Bachelor level</u></p> | ||
<ul> | ||
<li>1st year:</li> | ||
<ul> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Fundamentals_of_mathematics.pdf';">Fundamentals of mathematics</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Linear_algebra.pdf';" target="_top">Linear algebra</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Real-valued_functions.pdf';" target="_top">Real-valued functions</button></li> | ||
</ul> | ||
<li>2nd year:</li> | ||
<ul> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Algebraic_structures.pdf';" target="_top">Algebraic structures</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Discrete_mathematics.pdf';" target="_top">Discrete mathematics</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Functions_of_several_variables.pdf';" target="_top">Functions of several variables</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Linear_geometry.pdf';" target="_top">Linear geometry</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Mathematical_analysis.pdf';" target="_top">Mathematical analysis</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Numerical_methods.pdf';" target="_top">Numerical methods</button></li> | ||
</ul> | ||
<li>3rd year:</li> | ||
<ul> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Complex_analysis.pdf';" target="_top">Complex analysis</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Differential_equations.pdf';" target="_top">Differential equations</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Differential_geometry.pdf';" target="_top">Differential geometry</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Galois_theory.pdf';" target="_top">Galois theory</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Probability.pdf';" target="_top">Probability</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Statistics.pdf';" target="_top">Statistics</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Topology.pdf';" target="_top">Topology</button></li> | ||
</ul> | ||
<li>4th year:</li> | ||
<ul> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Algebraic_topology.pdf';" target="_top">Algebraic topology</button></li> | ||
<!-- <li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Arithmetic.pdf';" target="_top">Arithmetic</button></li> | ||
</li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Commutative_algebra.pdf';" target="_top">Commutative algebra</button></li> --> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Dynamical_systems.pdf';" target="_top">Dynamical systems</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Harmonic_analysis.pdf';" target="_top">Harmonic analysis</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Linear_models.pdf';" target="_top">Linear models</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Numerical_calculus.pdf';" target="_top">Numerical calculus</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Numerical_integration_of_partial_differential_equations.pdf';" target="_top">Numerical integration of partial differential equations</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Partial_differential_equations.pdf';" target="_top">Partial differential equations</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Real_and_functional_analysis.pdf';" target="_top">Real and functional analysis</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Stochastic_processes.pdf';" target="_top">Stochastic processes</button></li> | ||
</ul> | ||
</ul> | ||
<p><u>Master level</u></p> | ||
<ul> | ||
<li>1st year:</li> | ||
<ul> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Advanced_dynamical_systems.pdf';" target="_top">Advanced dynamic systems</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Advanced_probability.pdf';" target="_top">Advanced probability</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Advanced_topics_in_functional_analysis_and_PDEs.pdf';" target="_top">Advanced topics in functional analysis and PDEs</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Continuous_optimization.pdf';" target="_top">Continuous optimization</button></li> | ||
<!-- <li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Introduction_to_evolution_PDEs.pdf';" target="_top">Introduction to evolution PDEs</button></li> --> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Introduction_to_nonlinear_elliptic_PDEs.pdf';" target="_top">Introduction to nonlinear elliptic PDEs</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Montecarlo_methods.pdf';" target="_top">Montecarlo methods</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Numerical_methods_for_PDEs.pdf';" target="_top">Numerical methods for PDEs</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Stochastic_calculus.pdf';" target="_top">Stochastic calculus</button></li> | ||
</ul> | ||
</ul> | ||
</div> | ||
<div class="column"> | ||
<h2 class="special-color">Topics on Physics</h2> | ||
<!-- <p>Full summaries of <button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/main_physics.pdf';" target="_top">Physics</button></p> --> | ||
<br> | ||
<ul> | ||
<li>Basic:</li> | ||
<ul> | ||
<!--<li> | ||
<a href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Chemistry.pdf';" target="_top">Chemistry</a>Chemistry--> | ||
</li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Electricity_and_magnetism.pdf';" target="_top">Electricity and magnetism</button></li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Mechanics_and_special_relativity.pdf';" target="_top">Mechanics and special relativity</button></li> | ||
<!-- <li> | ||
<a href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Waves_and_optics.pdf';" target="_top">Waves and optics</a>Waves | ||
and optics--> | ||
</li> | ||
<!--<li> | ||
<a href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Classical_mechanics.pdf';" target="_top">Classical mechanics</a>Classical | ||
mechanics--> | ||
</li> | ||
<!--<li> | ||
<a href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Electromagnetism.pdf';" target="_top">Electromagnetism</a>Electromagnetism--> | ||
</li> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Structure_of_matter_and_thermodynamics.pdf';" target="_top">Structure of matter and thermodynamics</button></li> | ||
<!-- <li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Quantum_physics.pdf';" target="_top">Quantum physics</button></li> --> | ||
</ul> | ||
<li>Advanced:</li> | ||
<ul> | ||
<li><button class="button" onclick="window.location.href='https://github.com/victorballester7/Complete-summaries/releases/latest/download/Fluid_mechanics.pdf';" target="_top">Fluid mechanics</button></li> | ||
</ul> | ||
</ul> | ||
</div> | ||
</div> | ||
<div class="footer"> | ||
<p>If you notice some concept is missing or you find some typo or math error, please contact me! <a href="https://github.com/victorballester7" target="_top">Github</a></p> | ||
<p>Thanks to all people who helped me with these summaries.</p> | ||
<img alt="hitcounter" src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fvictorballester7.github.io%2Fcomplete-summaries%2F&count_bg=%23549c1c&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" width="100px" height="20px" /> | ||
</div> | ||
<!-- <script src="./click.js"></script> --> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
* { | ||
background-color: var(--background_color); | ||
/* text-align: center; */ | ||
font-family: Helvetica, Arial, sans-serif; | ||
} | ||
|
||
:root { | ||
--general_color: #549c1c; | ||
--background_color: #eaeaea; | ||
/* --background_second_color: #8b8a84; */ | ||
} | ||
|
||
.header { | ||
padding: 20px; | ||
text-align: center; | ||
} | ||
|
||
.button { | ||
border: 2px solid var(--background_color); | ||
border-radius: 10px; | ||
background-color: var(--background_color); | ||
color: var(--general_color); | ||
/* padding: 16px 25px; */ | ||
text-align: left; | ||
text-decoration: none; | ||
display: inline-block; | ||
font-size: 16px; | ||
font-weight: normal; | ||
/* margin: 4px 2px; */ | ||
transition-duration: 0.4s; | ||
cursor: pointer; | ||
} | ||
|
||
.button:hover { | ||
background-color: var(--general_color); | ||
color: var(--background_color); | ||
} | ||
|
||
.footer { | ||
padding: 20px; | ||
text-align: center; | ||
} | ||
|
||
.column { | ||
float: left; | ||
column-count: 1; | ||
padding: 20px; | ||
} | ||
|
||
.row { | ||
content: ""; | ||
display: table; | ||
clear: both; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
.special-color { | ||
color: var(--general_color); | ||
} | ||
|
||
/* .clickBox { | ||
font-weight: normal; | ||
background-color: var(--primary-low); | ||
top: -1px; | ||
color: var(--primary-medium); | ||
position: relative; | ||
border: none; | ||
border-top-color: currentcolor; | ||
border-top-style: none; | ||
border-top-width: medium; | ||
border-right-color: currentcolor; | ||
border-right-style: none; | ||
border-right-width: medium; | ||
border-bottom-color: currentcolor; | ||
border-bottom-style: none; | ||
border-bottom-width: medium; | ||
border-left-color: currentcolor; | ||
border-left-style: none; | ||
border-left-width: medium; | ||
border-image-outset: 0; | ||
border-image-repeat: stretch; | ||
border-image-slice: 100%; | ||
border-image-source: none; | ||
border-image-width: 1; | ||
} */ | ||
|
||
.clickBox { | ||
padding: 0.21em 0.42em; | ||
min-width: 0.5em; | ||
color: #8b8a84; | ||
font-size: 10px; | ||
/* line-height: 5px; */ | ||
text-align: center; | ||
vertical-align: middle; | ||
background-color: #d7d7d7; | ||
display: inline-block; | ||
font-weight: normal; | ||
white-space: nowrap; | ||
border-radius: 10px; | ||
} | ||
|
||
/* .vertical-divider { | ||
border-right: 5px solid #549c1c; | ||
} */ | ||
|
||
/* @media screen and (max-width:600px) { | ||
.column { | ||
width: 100%; | ||
} | ||
} */ |