public marks

PUBLIC MARKS with search gist

This year

mattapperson's gist: 1621570 — Gist

by Xavier Lacot
An android layout for having the tabs at the bottom of the screen. The ciontent of this file has to be put in platform/android/res/layout/titanium_tabgroup.xml

2011

mikeal's gist: 1389627 — Gist

by karlcow

While the channel is public, it is not published. It's the difference between doing a podcast, and chatting with your friends at the pub. Both are fine, and both are essentially public, but they come with different assumptions about privacy.

Selenium with Python — Gist

by karlcow

Selenium Python bindings provide a convenient API to access Selenium WebDrivers like Firefox, Ie and Chrome. The current supported Python versions are Python 2.6 and Python 2.7. Python 3 is not yet supported.

2010

gist: 370230 - A list of Gist clients.- GitHub

by ghis (via)
Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

gist: 330963 - Test for browser redirection handling WRT URI fragments, quick and dirty.- GitHub

by karlcow

Test for browser redirection handling WRT URI fragments, quick and dirty.

2009

gist: 255687 - GitHub

by karlcow

# FlickrTouchr - a simple python script to grab all your photos from flickr, dump into a directory - organised into folders by set - along with any favourites you have saved. You can then sync the photos to an iPod touch.

Actionscript 3 Layout Organizers Examples and Source Code — Some Random Dude

by ronpish
I believe that is now the case. You will find examples, the basic gist on how it works and some possible reasons why layout organizers may just make your life easier.

2008

Gist — GitHub

by philippej & 1 other (via)

"... great-looking ways to display code on your blog."

Peut-être pratique pour afficher du code dans un blog ou sur un site.

Récapituler le profil d'un contatct email et prolonger les informations avec celles du Web

by Giraultises & 1 other, 1 comment (via)
Gist est un service qui vous permet d'établir un récapitulatif de vos contacts disponible dans votre boite email. Ainsi, vous accédez à une page par contact avec un accès vers les différents emails que vous avez échangé ensemble, les pièces jointes, ses article de blogs, ... En bref une véritable gestion de contact entre email et Web. A tester...

2007

Python instead of Matlab for plotting?

by pvergain
A few years ago I «fell in love» with Python , which is a dynamically typed interactive, object oriented scripting language. With a few extensions I found it very suitable for efficient visualization and problem solving in Scientific computing. So can it replace Matlab? For me its pretty close! For you? It depends on your needs, but have a look! Why I use Python * Python is a small, high level scripting language that sits on top of a efficient C library. Because of this, Python code is compact, and the resulting code can run at a speed close to C if the computationally intensive parts are done via library calls. * Short learning curve - I was almost instantly productive. * Python can be used interactively (like matlab), and documentation for most functions can be accessed via a built in help facility. * It is free (also in this regard) * The syntax invites you to write clean code. No ;'s at the end of lines, the block structure is described by indentation instead of Begin-End or {..}. Through the Numeric/numarray modules one gets powerful array syntax - inspired by languages such as Fortran 90, Matlab, Octave, Yorick etc. Python itself has also borrowed features from e.g. Lisp, with its interactivity and built in support for list manipulation. * Python has many other useful modules built in, one may for instance write a web server in just a few lines of code or work transparently with gzipped files (handy for analyzing large ascii data files) * Linking in and reusing Fortran subroutines is very easy using e.g. f2py mentioned below, or the Pyfort module found on www.python.org. Integration with C is of course even tighter since the most popular python is written in C. (yes. there is a java python...) * It is possible to work in single precision, which is sufficient for most scientific purposes. This makes it easier to work with large datasets/arrays using only half the memory compared to e.g. matlab. As my basic setup I use Python with the following extensions: Numpy: a.k.a. Numeric python, contain the advanced array syntax, as well as powerful and commonly used functions that can be applied to the multi dimensional arrays. Pygist: Gist is a very fast graphics library for 2D and 3D plots written directly for X11, but also ported to Mac and Windows. Gist is a part of the Yorick language. Pygist contain the Python bindings, read about it here. A recent version of Pygist can be found here. Pygist is currently also a part of a distribution of Python packages called Scipy, that can be found here. f2py: Makes connecting Fortran subroutines a breeze! Also a part of Scipy. A complete example: wrap this subroutine in a Python function returning "dist": [avle@tindved test]$ cat r1.f90 subroutine r1(x,y,n,dist) real x(n),y(n) !f2py intent(out) dist xl=0.0 ; yl=0.0 ; vp=0.0 do i=1,n xl=xl + x(i)**2 ; yl=yl + y(i)**2 vp=vp + x(i)*y(i) end do if(vp>=0.0)then dist = acos(sqrt(vp/(xl*yl))) else dist = 4*atan(1.0)-acos(sqrt(-vp/(xl*yl))) end if end subroutine r1 [avle@tindved test]$ ls r1.f90 [avle@tindved test]$ f2py -c -m r1 --fcompiler=g95 r1.f90 ..lots of output... [avle@tindved test]$ ls r1.f90 r1.so* [avle@tindved test]$ python2 Python 2.2.3 (#1, Feb 15 2005, 02:41:06) [GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import Numeric as nx, r1 >>> a=nx.array((2.3,2.2)) ; b=nx.array((3.2,2.1)) >>> r1.r1(a,b) 1.2827057838439941 >>>

Tumblelogs (kottke.org)

by sbrothier & 2 others
On my web travels the other day, I came across a new (to me) kind of weblog, the tumblelog. Here are a few examples to get the gist of what a tumblelog is: hit projectionist first and then Anarchaia (which seems to have been the first one), Church Burning tumblelog, Mikael's Tumblelog, and ones zeros majors and minors.

2006

Abortion Chic

by jasontromm
As public relations campaigns go, proudly proclaiming "We Had Abortions'" probably isn't going to win any Addy awards. Such is the gist of Ms. Magazine's current campaign to thwart trends toward curtailment of abortion. The Oct. 10 issue of the feminist magazine features a cover story titled "We Had Abortions," as well as a petition signed by thousands of women who, well, have had abortions. And who are not one bit sorry. ()() Bragging about having an abortion is just sick. Women used to be ashamed when they were forced to wear a scarlet letter on their chest.

Active users

Xavier Lacot
last mark : 10/02/2012 15:57

grav
last mark : 27/01/2012 13:32

karlcow
last mark : 24/11/2011 15:00

ronpish
last mark : 21/11/2011 04:25

Nissone
last mark : 13/09/2011 14:41

ronan
last mark : 26/04/2010 19:12

ghis
last mark : 22/04/2010 11:51

webs
last mark : 07/01/2010 18:27

sansonnet
last mark : 02/01/2010 16:45

ycc2106
last mark : 08/10/2009 07:33

talou
last mark : 05/10/2009 08:02

encore_lui
last mark : 18/09/2009 18:42

nhoizey
last mark : 29/07/2009 08:02

philippej
last mark : 15/11/2008 20:26

Giraultises
last mark : 24/10/2008 07:28

tadeufilippini
last mark : 23/07/2008 19:32

pvergain
last mark : 11/08/2007 20:30

sbrothier
last mark : 23/02/2007 17:57

jasontromm
last mark : 06/10/2006 13:45

marcaprice
last mark : 19/01/2006 12:58