Skip to content

Instantly share code, notes, and snippets.

View fvnilo's full-sized avatar

Ny Fanilo Andrianjafy fvnilo

View GitHub Profile
@fvnilo
fvnilo / .gitconfig
Last active August 5, 2019 15:00
git aliases
[alias]
tidy = "!f() { \
git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done; \
}; f"
lga = "log --oneline --all --decorate --graph"
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
le = log --oneline --decorate
filelog = log -u
fl = log -u
f = "!git ls-files | grep -i"
@fvnilo
fvnilo / basic.aiml
Created November 1, 2012 23:54
PyAIML basis
<?xml version="1.0" encoding="utf-8"?>
<aiml version="1.0.1">
<category>
<pattern>HELLO</pattern>
<template>
<random>
<li>Hi, human !</li>
<li>Hello to you, good person</li>
<li>Hello there !</li>
<li>Ah finally a friend to talk to ! Hello !</li>