Skip to content

Instantly share code, notes, and snippets.

View Eseperio's full-sized avatar

E.Alamo Eseperio

View GitHub Profile

Markdown sample

This is a sample file created to fit my needs in development.

Sometimes

Sometimes you need some words with a different format, like italic or bold, like the first word.

Third header, and overline

Some people think a blockquote is enough to tell something important.

@Eseperio
Eseperio / bullying-php.md
Last active May 4, 2018 11:11
Stop bullying PHP

PHP is good, and let me tell you why.

  • PHP is easy to understand for a newbie. Thanks to that many people that have never been in programming can make real their ideas, and thanks to this you have a lot of services on internet.
  • PHP is getting better everyday and have one of the largest pools of users in the world.
  • Often i heard people talk about how many bugs have, but the reality is that you cannot use only the numbers of bugs as a reference. Other less buggy languages are not. They have not been tested enough to find all the hidden bugs, because the amount of applications that use them is lower.
  • PHP is open source and does not deppend on a corporate that one day can disappear (don´t believe me? Remember Lehman Brothers)

Using a common comparison: Compare a car with a jet. Jet can travel faster, further, but requires a lot of knowledge.

@Eseperio
Eseperio / formFixtureGeneratorTool.js
Last active February 13, 2018 17:14
Creates I->submitForm method from existing form.
/**
* Parse all forms and returns a valid PHP code to use with codeception acceptance tests.
*/
var formFixtureGenerator = {
init: function () {
if (typeof jQuery !== "function") {
console.error("Jquery required");
}
let data = this.extract();
@Eseperio
Eseperio / browser-backward-compatibility.md
Created October 12, 2017 16:53
How to enable browser backward compatibility with three words

DON'T DO IT

Making your project browser backward compatible is a big mistake.

Is a big problem for:

Users

They will keep old software running with all security issues that this involve

Developers

They will spend a lot of time and money trying to make something work for a few number of users that does not care about secutity and updates (remember WannaCry and all those XP os running after product EOL ?)

Helpdesk departments

If you accustom to people that even in a IE8 internet works then, when something does not work they will ask the corresponding IT department complaining about why it does not work, spending a lot of human resources and money.