public marks

PUBLIC MARKS with search string

This year

Facebook: Upgrading to OAuth 2.0 | Straylight Run

by nicmae & 1 other (via)
nger passed back to your callback URL in the query string upon authentication.  Now, an encoded signed_request is passed back in the query string, which contains the same info (user ID, access token, expiration time, etc.)

jQuery HTML5 Uploader

by srcmax
jQuery HTML5 Uploader is a lightweight jQuery plugin that lets you to quickly add an upload system a-la-Gmail into your web app. You only need to create a dropbox element (i.e. a div) and jQuery HTML5 Uploader will do the rest. Then you can drag & drop one or more files on the element and the files will be uploaded. It also works with the multiple input file element. The upload function is divided into two asynchronous operations: client side, the file is loaded in the browser memory with a FileReader object. Useful if you want, for example, to show the image preview while uploading a picture. The server side operation consists in sending the binary file string to the postUrl (see settings).

2011

schema.org - Getting Started

by oseres
Most webmasters are familiar with HTML tags on their pages. Usually, HTML tags tell the browser how to display the information included in the tag. For example,tells the browser to display the text string "Avatar" in a heading 1 format. However, the HTML tag doesn't give any information about what that text string means—"Avatar" could refer to the a hugely successful 3D movie, or it could refer to a type of profile picture—and this can make it more difficult for search engines to intelligently display relevant content to a user. Schema.org provides a collection of shared vocabularies webmasters can use to mark up their pages in ways that can be understood by the major search engines: Google, Microsoft, and Yahoo!

Code Sign error: The identity 'iPhone Developer: x Xxxxx' doesn't match any identity in any profile - Stack Overflow

by oseres (via)
I get this build error when I build my iPhone project to run on my device: Code Sign error: The identity 'iPhone Developer: x Xxxxx' doesn't match any identity in any profile My development code signing certificate expired so I got a new one. On my first attempt I created a new CSR and got the message above. The second time I reused my original CSR and got the same result. Another strange thing is the new certificate has an extra string with brackets after my name in the "common name" when I look at it using Keychain Access like this:

Broken Links

by marco
Before events took this bad turn, the contract represented by a link was simple: “Here’s a string, send it off to a server and the server will figure out what it identifies and send you back a representation.”

Music Made with NYC Subway Schedules; HTML5+Flash, Q+A with Artist-Developer

by karlcow

steady pulse of the (actual) New York City subway system into gentle, generative string plucks in his new interactive piece “Conductor.” The visual effect as well as the musical one is mesmerizing, as the subway is viewed in the abstract, sparse geometries of designed Massimo Vignelli’s 1972 diagram.

Pythonic string formatting in Javascript

by marco
Ce mec a bien lu la doc de string.replace() :)

2010

The Definitive Guide to HTML, URL and Javascript Escaping | jehiah.cz

by karlcow

This means you should always, and I mean ALWAYS, find yourself escaping for XHTML context, escaping for including a string in a URL, and escaping for a javascript context. Any time you output the contents of a variable, escape it.

Datejs - An open-source JavaScript Date Library

by eledo34 & 11 others (via)
Cette librairie offre une multitude de fonction. Vous pourrez aussi bien “formater” les dates mais également demander à calculer le “samedi suivant”, le “jour dans le mois”, “comparer des dates”, etc. Le seul bemol est que cette bibliothèque n’est fournie qu’en anglais… pour insérer ces fonctions dans nos sites web, il sera donc nécessaire de franciser DateJs. Quelques méthodes publiques : * Date.today () : Date * Date.compare ( Date date1, Date date2 ) : Number * Date.equals ( Date date1, Date date2 ) : Boolean * Date.getDayNumberFromName ( String dayName ) : Number * Date.getDaysInMonth ( Number year, Number month ) : Number * Date.getTimezoneAbbreviation ( Number timezoneOffset, Boolean isDayLightSavingsTime ) : String

Undelete! | Atomic Object, Software Design & Development

by ghis
How to undelete a file deleted using rm : search for a string that was in the file and recover line before and after using grep : grep -a -B 25 -A 100 'some string in the file' /dev/sda1 > results.txt

Ben Alman » jQuery Misc plugins

by Krome
Execute any jQuery method or arbitrary function in the animation queue. The first argument is either a function reference or the string name of a jQuery method, like “css” or “remove”. Any additional arguments will be passed into the specified method or function when it is executed. All queued functions execute, in order, in the default jQuery “fx” animation queue.

:.. Portal Aprendendo Linux ..: » Ubuntu 10.4 – Trocando a ordem dos botões das janelas!

by tadeufilippini
Ubuntu 10.4 – Trocando a ordem dos botões das janelas! Amigos, Parece uma coisa simples, mas nas listas de discussão muita gente tá questionando como mudar o lado desses botões nos títulos da janela que agora aparecem do lado esquerdo (até que eu gostei) ao invés do lado direito como sempre foi. Assim vou deixar essa dica na esperança de que usem o Google para chegar até essa página. Mas você não me ouviu e agora não está se acostumando com os botões “Fechar”, “Minimizar” e “Maximizar” do lado esquerdo. Ainda bem que você tem internet e vai ver essa dica. Para restaurar esses botões no local direito, igual ao que era antes execute no terminal : $ gconftool-2 --type string --set "/apps/metacity/general/button_layout" "menu:minimize,maximize,close" Se você desejar que todos os novos usuários criados em seu sistema também tenham essa modificação, execute também : $ sudo gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set "/apps/metacity/general/button_layout" "menu:minimize,maximize,close" Assim novos usuários já terão o novo layout dos botões. Espero que tenha contribuído! Arquivo de: Textos Postados Comente Este Post

Principles for Standardized REST Authentication - O'Reilly Broadcast

by karlcow

a set of standards that I think should be in place for any REST authentication scheme.

Here's the summary:

1. All REST API calls must take place over HTTPS with a certificate signed by a trusted CA. All clients must validate the certificate before interacting with the server.

2. All REST API calls should occur through dedicated API keys consisting of an identifying component and a shared, private secret. Systems must allow a given customer to have multiple active API keys and de-activate individual keys easily.

3. All REST queries must be authenticated by signing the query parameters sorted in lower-case, alphabetical order using the private credential as the signing token. Signing should occur before URL encoding the query string.

Table Wizard | drupal.org

by claire_
The Table Wizard facilitates dealing with database tables: It allows surfacing any table in the Drupal default database through Views 2. Relationships between the tables it manages can be defined, so views combining data in the tables can be constructed. It performs analysis of the tables it manages, reporting on empty fields, data ranges, ranges of string lengths, etc. It provides an API for other modules to views-enable their tables. It provides an API for importing data into tables in the Drupal default database (automatically doing the views integration above). It is bundled with an implementation of this API, for importing comma- and tab-delimited files.

Frankie Roberto – Pragmatism in URL design

by karlcow

karl says:

March 2, 2010 at 11:07 am

In your paragraph

“one of the axioms of the web that URIs are opaque, and that machines “should not look at the contents of the URI string to gain other information”, but there are lots of ways in which humans don’t follow this principle”

Not only humans in fact. The first item in your list is talking about Google and it has changed a lot the way the Web is made. In commercial environments (aka Web Agencies), SEO (capacity of having a better findability) touches the content organization but also the words in URIs. So often the SEO person will not only recommend the way to architect content in the page, but also the words that must be in the URI. It is basically an additional constraint to the list you created.

* Persistence

* Readability

* Findability

Bug #292504 in gnome-exe-thumbnailer (Ubuntu): “Use embedded icons for executable files”

by sylvainulg (via)
* gnome-exe-thumbnailer (5.3 KiB, text/plain) And here's the script itself (public domain, by qaaq on Ubuntu Brainstorm). It doesn't seem to work on most icons. I changed the install instructions a little to re-use the built-in MIME type: ---- sudo apt-get install sharutils icoutils sudo cp gnome-exe-thumbnailer /usr/local/bin sudo chmod a rx /usr/local/bin/gnome-exe-thumbnailer gconftool-2 --set /desktop/gnome/thumbnailers/application@x-ms-dos-executable/command --type string "/usr/local/bin/gnome-exe-thumbnailer %i %o" gconftool-2 --set /desktop/gnome/thumbnailers/application@x-ms-dos-executable/enable --type boolean true

Faviki: social bookmarking for 2010

by marco & 1 other, 1 comment
Finally when you tag, you don't tag with a string, but with a URI: the DBPedia URI for that concept. [...] By using the growing linked data cloud Faviki will be able to start doing some very interesting inferencing on this data. [...] Making that information clearly available to wikipedia editors in the future.

Active users

ericpaul
last mark : 02/02/2012 12:07

nicmae
last mark : 24/01/2012 09:15

srcmax
last mark : 09/01/2012 10:47

lilolipop
last mark : 20/09/2011 09:15

oseres
last mark : 05/06/2011 09:38

marco
last mark : 10/02/2011 19:42

karlcow
last mark : 31/01/2011 19:13

eledo34
last mark : 13/09/2010 02:34

François Hodierne
last mark : 09/09/2010 19:58

ghis
last mark : 21/08/2010 17:44

maxxyme
last mark : 05/07/2010 10:13

Krome
last mark : 01/07/2010 12:58

vrossign
last mark : 10/06/2010 12:34

tadeufilippini
last mark : 12/05/2010 22:14

innipukinn
last mark : 25/03/2010 21:29

claire_
last mark : 17/03/2010 13:25

sylvainulg
last mark : 15/02/2010 21:34