This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.myDataSource.responseSchema = { | |
fields: ["fila",{key:"dia",parser:"number"}] | |
}; | |
var formatEvent = function ( el , oRecord , oColumn , oData) { | |
el.inner.HTML = oData; | |
oColumn="dia"; | |
YAHOO.util.Dom.addClass(el, "cal-first-uh"); | |
}; | |
var myArray = new Array(288*7); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
main.c | |
Copyright 2009 Sebastian Arcila Valenzuela | |
*/ | |
#include <gtk/gtk.h> | |
void | |
on_window_destroy (GtkObject *object, gpointer user_data) | |
{ | |
gtk_main_quit(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<interface> | |
<object class="GtkUIManager" id="uimanager1"> | |
<child> | |
<object class="GtkActionGroup" id="actiongroup1"> | |
<child> | |
<object class="GtkAction" id="menuitem1"> | |
<property name="name">menuitem1</property> | |
<property name="label" translatable="yes">_Archivo</property> | |
</object> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 1 ] | |
then | |
gnome-terminal --working-directory=$1 --tab -t Server --command="script/server" --tab -t Log --command="tail -f log/development.log" --tab -t Consola --command="script/console" --tab --command=bash | |
else | |
echo Bad command | |
echo Usage: | |
echo " lets-rails <directory>" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <vector> | |
#include <algorithm> | |
#include <iostream> | |
using namespace std; | |
class WordsGame { | |
public: | |
int minimumSwaps(vector <string>, string); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun indent-all() | |
(interactive) | |
(mark-whole-buffer) | |
(indent-region) | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun indent-all() | |
"indent whole buffer" | |
(interactive) | |
(delete-trailing-whitespace) | |
(indent-region (point-min) (point-max) nil) | |
(untabify (point-min) (point-max)))(interactive) | |
(global-set-key [f5] 'indent-all) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun indent-all() | |
"indent whole buffer" | |
(interactive) | |
(delete-trailing-whitespace) | |
(indent-region (point-min) (point-max) nil) | |
(untabify (point-min) (point-max)))(interactive) | |
(global-set-key [f5] 'indent-all) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import urllib2 | |
import os | |
import sys | |
url = str(sys.argv[1]) | |
htmlfile = "en.html" | |
urlread = lambda url: urllib2.urlopen(url).read() | |
s_parameters = "<td class=\"statText\">Parameters:</td>\n" | |
s_returns = "<td class=\"statText\">Returns:</td>\n" | |
s_previous = "<td class=\"statText\">" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import urllib2 | |
import os | |
import sys | |
if len(sys.argv) != 2: | |
print "Usage: " + sys.argv[0] + " url_of_base_dir" | |
sys.exit(1) | |
url = str(sys.argv[1]) |
OlderNewer