Skip to content

Instantly share code, notes, and snippets.

Gianpaulo M. Soares jampow

Block or report user

Report or block jampow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jampow
jampow / README.md
Last active May 29, 2019
akamai debug with curl
View README.md

Akamai debug with curl

Install

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

Usage

akamai https://yoursite.com

View gist:a2a70c95c7bca022230292ef48eff1cc
host: 000.000.000.000
port: 0000
send
cat file.txt > /dev/tcp/000.000.000.000/0000
receive
nc -lkvv 4444 > file.txt
View colorize-svn.sh
# 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 "$@";
View tmux-cheatsheet.markdown

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@jampow
jampow / .gitconfig
Last active Dec 14, 2015
.gitconfig color and aliases
View .gitconfig
[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 Nov 14, 2012
special character dictionary
View index.html
<!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 Nov 10, 2012
CSS icons framework
View index.html
<!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>
View application.js
$(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);
You can’t perform that action at this time.