Skip to content

Instantly share code, notes, and snippets.

View jampow's full-sized avatar
🏠
Working from home

Gianpaulo M. Soares jampow

🏠
Working from home
  • Levva
  • SP - Brasil
  • 11:55 (UTC -03:00)
View GitHub Profile
@jampow
jampow / README.md
Last active May 29, 2019 17:21
akamai debug with curl

Akamai debug with curl

Install

Paste the aliases inside your ~/.bashrc, reload your terminal.

Usage

akamai https://yoursite.com

host: 000.000.000.000
port: 0000
send
cat file.txt > /dev/tcp/000.000.000.000/0000
receive
nc -lkvv 4444 > file.txt
@jampow
jampow / .gitconfig
Last active December 14, 2015 04:49
.gitconfig color and aliases
[color]
ui = auto
[user]
name = Gianpaulo
email = jam_pow@hotmail.com
[alias]
st = status
ci = commit
br = branch
co = checkout
@jampow
jampow / index.html
Created November 14, 2012 18:11
special character dictionary
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>special character dictionary - by Jam-Pow!</title>
<link rel="StyleSheet" href="style.css" type="text/css" media="screen" />
<script type="text/javascript" src="script.js" charset="utf-8"></script>
</head>
<body>
<!-- http://cssdeck.com/labs/full/sxnoqvcr/0 -->
@jampow
jampow / index.html
Created November 10, 2012 12:31
CSS icons framework
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>CSS Icons framework</title>
</head>
<body>
<!-- http://cssdeck.com/labs/full/wejziql0/0 -->
<div class="triangle white-right small"></div>
@jampow
jampow / application.js
Created June 2, 2011 20:32
jquery busca ajax
$(function(){
$('#botao_busca').click(function(){
$.ajax({
url: "/buscador/por_nome",
method: "POST",
data: "name=" + $('#campo_busca').attr('value'), //pode passar vários parâmetros como numa url(chave=valor&outrachave=outrovalor)
success: function(data){
//coloca o retorno dentro do elemento com id="resultado"
$('#resultado').append(data);
# Colorize SVN
# ------------
# Adds color to the output of commands like svn status and svn update.
# The original version of the script was posted by Ash_ on Stackoverflow
# Source: http://stackoverflow.com/questions/8786400/svn-add-colors-on-command-line-svn-with-awk-in-bash
function svn {
# Skip the color script when running an svn commit.
if [ "x$1" = "xci" ] || [ "x$1" = "xcommit" ] || [ "x$1" = "xadd" ]
then
command svn "$@";

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname