Skip to content

Instantly share code, notes, and snippets.

View wzalazar's full-sized avatar
😎
Looking new Job, new challenge ;)

Walter Zalazar wzalazar

😎
Looking new Job, new challenge ;)
  • SecurityScorecard
  • Argentina
  • 02:55 (UTC -03:00)
  • LinkedIn in/wzalazar
View GitHub Profile
@wzalazar
wzalazar / introspection-query.graphql
Created July 8, 2017 22:54 — forked from craigbeck/introspection-query.graphql
Introspection query for GraphQL
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
@wzalazar
wzalazar / 0_reuse_code.js
Created September 14, 2016 18:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@wzalazar
wzalazar / git aliases
Last active September 13, 2016 18:55
nano cd ~/.gitconfig and put this file
[alias]
tree1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
tree2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
tree = !"git tree1"
@wzalazar
wzalazar / install-comodo-ssl-cert-for-nginx.rst
Last active August 29, 2015 14:27 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

@wzalazar
wzalazar / README.md
Last active August 29, 2015 14:19 — forked from gpittau/README.md
<script type="text/template"> #Reduciendo la complejidad con un Motor de Reglas de Negocio

##Complejidad Ciclomática La complejidad ciclomática es una medida de las bifurcaciones de control producidas por un código en cuestión. Cada punto de complejidad, representa un caso de testing, un riesgo de ocurrencia de bugs, un punto extra de costo de desarrollo y mantenimiento.

La reducción de la complejidad es una cualidad de un buen enfoque de programación, sin embargo, las técnicas y patrones para lograrla son escasos y constituyen más un arte que una práctica formal. </script>

@wzalazar
wzalazar / gist:9b6a02dc6e4ec4ac1daa
Created April 21, 2015 15:56
reveal presentation

Reveal.js

The HTML Presentation Framework

var prototypeEmployed = {
toString: function () {
return "Name:" + this.name + ", Salary:" + this.salary;
}
};
function newEmployed(name, salary) {
var employed = Object.create(prototypeEmployed);
employed.name = name;
employed.salary = salary;