Skip to content

Instantly share code, notes, and snippets.

Alexis Metaireau almet

Block or report user

Report or block almet

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
View dropit-updatedoc.php
<?php
echo '<pre>';
exec('./dropit-updatedoc.sh', $output);
echo print_r($output).'</pre>';
?>
View .vimrc
" My .vimrc configuration file.
" =============================
"
" Plugins
" -------
" Comes with a set of utilities to enhance the user experience.
" Django and python snippets are possible thanks to the snipmate
" plugin.
"
" A also uses taglist and NERDTree vim plugins.
We couldn’t find that file to show.
View gist:467129
"""Mocked PyPI Server implementation, to use in tests.
This module also provides a simple test case to extend if you need to use
the PyPIServer all along your test case. Be sure to read the documentation
before any use.
"""
import Queue
import threading
import time
View pypi_server.py
"""Mocked PyPI Server implementation, to use in tests.
This module also provides a simple test case to extend if you need to use
the PyPIServer all along your test case. Be sure to read the documentation
before any use.
"""
import Queue
import threading
import time
View dist.py
"""distutils2.pypi.dist
Provides the PyPIDistribution class thats represents a distribution retrieved
on PyPI.
"""
import re
import urlparse
import urllib
import tempfile
from operator import attrgetter
View screenutils.py
#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Author: Christophe Narbonne
# Contrib: Alexis Metaireau
from commands import getoutput
from multiprocessing import Process
from os import system
from time import sleep
View gist:472910
=== modified file 'MANIFEST.in'
--- MANIFEST.in 2010-04-25 15:33:06 +0000
+++ MANIFEST.in 2010-07-12 17:54:54 +0000
@@ -1,7 +1,7 @@
include AUTHORS
include CHANGELOG
include COPYING
-include INSTALL
+include INSTALL.rst
include README.rst
View send_twitter.py
#! /usr/bin/env python
# coding:utf-8
import twitter_oauth
# write your oauth token and oauth token secret
consumer_key = 'cBqPWLkLtTRM2wbCqH9rIw'
consumer_secret = 'mnHm5WBv7ZAOlxKga16dRoouTA2Df9HJmtSO1H0'
# create GetOauth instance
View .PKGINFO
# Generated by makepkg 3.4.1
# using fakeroot version 1.14.4
# Fri Oct 8 19:14:17 UTC 2010
pkgname = rasqal
pkgver = 0.9.20-1
pkgdesc = a free C library that handles Resource Description Framework (RDF) query syntaxes, query construction and query execution returning result bindings
url = http://librdf.org/rasqal
builddate = 1286565257
packager = Andreas Radke <andyrtr@archlinux.org>
size = 1348608
You can’t perform that action at this time.