to twitter python by saghul , 0 comments
#!/usr/bin/python # -*- coding: utf-8 -*- import urllib import urllib2 import httplib
to twitter python by saghul , 1 comments
to bash pdftk pdf by nando.quintana , 0 comments
#!/bin/bash pdftk uno.pdf dos.pdf tres.pdf cuatro.pdf cinco.pdf cat output definitivo.pdf
to dibi stuff by cheVron , 0 comments
http://www.imagingbook.com/index.php?id=98
to icontains django by kere , 0 comments
icontains Case-insensitive containment test. Example:
to java lucene by anonymous , 0 comments
import java.io.StringReader; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.apache.lucene.index.IndexWriter;
public static void main (String ... args) throws Exception{ IndexWriter iw_temp = new IndexWriter("i.temp",new StandardAnalyzer()); IndexWriter iw = new IndexWriter("i",new StandardAnalyzer());
to sql mysql by aitzol , 0 comments
create database database_name; grant all on database_name.* to 'user_name'@'host_name' [identified by 'user_password']
to forms widget by kere , 0 comments
class selectHomeForm(forms.Form): title = forms.CharField(max_length=50, label = 'Select homes:') def __init__ (self, *args, **kwargs): super(selectHomeForm, self).__init__(*args, **kwargs) homes = homeMap.objects.all()
to random django by kere , 0 comments
# filter elements by selected and randomize that list and take the first one. cover_values = CoverMap.objects.filter(selected = True).order_by('?')[0]