Skip to content

Instantly share code, notes, and snippets.

View tangzero's full-sized avatar

Jairinho tangzero

View GitHub Profile

Psicologia Social

Conceptos

  • Percepción social
    • Estereotipo
    • Prejuicio
    • Discriminación
  • Actitudes
  • cognitiva

Caso 2

Eth Trunk

[SW1] port-group group-member gi 0/0/23 0/0/24
[SW1-port-group] no shutdown
[SW1-port-group] exit
[SW1] interface Eth-Trunk 1
[SW1-Eth-Trunk1] mode lacp-static

[SW1-Eth-Trunk1] trunkport gi 0/0/23 0/0/24

Caso 1

SW1, SW2, SW3

basic config

<HUAWEI> sys
[HUAWEI] undo terminal monitor
[HUAWEI] sysname SW_

Keybase proof

I hereby claim:

  • I am tangzero on github.
  • I am jairosilvatw (https://keybase.io/jairosilvatw) on keybase.
  • I have a public key ASAtUW-tu3eu9uvwlstx_RkturJj8pgRTbnpvWDGxqkD4Qo

To claim this, I am signing this object:

@tangzero
tangzero / lestcache.go
Created January 20, 2016 19:18
Simple HTTP cache proxy
package main
import (
"crypto/md5"
"flag"
"fmt"
"io/ioutil"
"net/http"
"os"
install PostgreSQL 9 in Mac OSX via Homebrew
Mac OS X Snow Leopard
System Version: Mac OS X 10.6.5
Kernel Version: Darwin 10.5.0
Install notes for PostgreSQL 9.0.1 install using Homebrew:
sh-3.2# brew install postgresql
@tangzero
tangzero / gist:8657281
Created January 27, 2014 21:05
Android Libs Size
APP_CPPFLAGS := -ffunction-sections -fdata-sections -fvisibility=hidden -frtti
APP_CFLAGS := -ffunction-sections -fdata-sections
APP_LDFLAGS := -Wl,--gc-sections
from:
libSDL2.so 661K
libgnustl_shared.so 758K
liblove.so 3.9M
to:
libSDL2.so 661K
Function::property = (prop, desc) ->
Object.defineProperty @prototype, prop, desc
class Person
constructor: (@firstName, @lastName) ->
@property 'fullName',
get: -> "#{@firstName} #{@lastName}"
set: (name) -> [@firstName, @lastName] = name.split ' '
p = new Person 'Leroy', 'Jenkins'
@tangzero
tangzero / gideroscc.lua
Last active December 28, 2015 17:09
Gideros Class-Commons interface. see https://github.com/bartbes/Class-Commons
-- Interface for cross class-system compatibility
-- see https://github.com/bartbes/Class-Commons.
if common_class ~= false then
common = {}
function common.class(name, prototype, parent)
local class = parent and Core.class(parent) or Core.class()
local class.__name = name
if prototype then
package.preload['hp/core/Application'] = (function (...)
--------------------------------------------------------------------------------
-- Module for the start of the application.<br>
--
-- @class table
-- @name Application
--------------------------------------------------------------------------------
-- import
local Event = require "hp/event/Event"