Skip to content

Instantly share code, notes, and snippets.

View diegopacheco's full-sized avatar

Diego Pacheco diegopacheco

View GitHub Profile
@diegopacheco
diegopacheco / branch-git
Created July 30, 2015 18:24
How to Create a Branch in GitHub?
$ git checkout -b [name_of_your_new_branch]
$ git push origin [name_of_your_new_branch]
$ git branch
@diegopacheco
diegopacheco / remote-branch-push
Created July 30, 2015 18:16
How to PUSH a remote branch in GitHub?
$ git push <REMOTENAME> <BRANCHNAME>
@diegopacheco
diegopacheco / tuning-linux.sh
Created June 1, 2015 18:07
linux os wire tuning
#!bin/bash
ulimit -n 65536
sudo sysctl -w net.ipv4.ip_local_port_range="1025 65535"
echo 300000 | sudo tee /proc/sys/fs/nr_open
echo 300000 | sudo tee /proc/sys/fs/file-max
@diegopacheco
diegopacheco / FRP.md
Last active August 8, 2017 12:26
Functional Reactive Streams | FRP | Akka | Streams
@diegopacheco
diegopacheco / .bashrc
Created February 10, 2013 19:41
~/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
@diegopacheco
diegopacheco / regions.xml
Created February 8, 2013 02:58
Unlock all regions on SC2 - Wings of Liberty
<regions>
<region displayname="AUTHENTICATION_SG_REGION" hostname="sg"
allowedProductLocales="all" localesThatDefaultToThisRegion="enSG"/>
<region displayname="AUTHENTICATION_US_REGION" hostname="us"
allowedProductLocales="all" localesThatDefaultToThisRegion="enUS"/>
<region displayname="AUTHENTICATION_EU_REGION" hostname="eu"
allowedProductLocales="all" localesThatDefaultToThisRegion="enGB"/>
<region displayname="AUTHENTICATION_KR_REGION" hostname="kr"
allowedProductLocales="all" localesThatDefaultToThisRegion="koKR"/>
</regions>

Hierarchical data structure in database

Definition

Taxonomy: the conception, naming, and classification of organism groups.

Ontology: ontology formally represents knowledge as a set of concepts within a domain, and the relationships between pairs of concepts. It can be used to model a domain and support reasoning about entities. Ontologies are the structural frameworks for organizing information

Relational Database

@diegopacheco
diegopacheco / sc2.coaching.md
Last active December 11, 2015 07:18
Why SC2 is good for you

Why SC2 is good for you

This are the 7 things IMHO the game make you pracitce/learn/develop/train/do:

  • System Thinking / Patterns / Readings
  • Improve your Response Time / Multi-tasking
  • Work on presure and Problem management
  • Focus on Learning / Education
  • Practice Discipline / Driven