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
class Novelty < ActiveRecord::Base | |
attr_accessible :body, :photo, :title | |
has_and_belongs_to_many :topics | |
has_attached_file :photo, | |
:styles => { :thumb=> "100x100#",:small => "150x150>" }, | |
:url => "/uploads/images/:class/:attachment/:id/:style/:basename.:extension", | |
:path => ":rails_root/public/uploads/images/:class/:attachment/:id/:style/:basename.:extension" | |
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
<%@ Page Language="C#" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head id="Head1" runat="server"> | |
<title></title> |
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
(global-unset-key (kbd "C-z")) | |
(global-set-key (kbd "C-z 1") '(lambda () (interactive) (my-shell 1))) | |
(global-set-key (kbd "C-z 2") '(lambda () (interactive) (my-shell 2))) | |
(global-set-key (kbd "C-z 3") '(lambda () (interactive) (my-shell 3))) | |
(global-set-key (kbd "C-z 4") '(lambda () (interactive) (my-shell 4))) | |
(global-set-key (kbd "C-z 5") '(lambda () (interactive) (my-shell 5))) |
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 my-shell (arg) | |
(interactive "p") | |
(let ((arg (or arg 1))) | |
(shell (format "*sh%d*" arg)))) |
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
;; hiding toolbar menubar scrollbar | |
(if (fboundp 'scroll-bar-mode) (scroll-bar-mode -1)) | |
(if (fboundp 'tool-bar-mode) (tool-bar-mode -1)) | |
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1)) | |
;;Full screen | |
(defun toggle-fullscreen () | |
(interactive) | |
(set-frame-parameter nil 'fullscreen (if (frame-parameter nil 'fullscreen) | |
nil |
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
data Burrito a = Tortilla a | TortillaSola | |
class Monad (m a) where | |
return :: m a | |
m a >>= f :: m a -> (a -> m b) -> m b | |
.. | |
ahora | |
instance Monad (Tortilla a) where |
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
data Burrito a = Tortilla a | TortillaSola | |
class Monad (m a) where | |
return :: m a | |
m a >>= f :: m a -> (a -> m b) -> m b | |
.. | |
ahora | |
instance Monad (Burrito a) where |
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
# The api key, secret key, and canvas page name are required to get started | |
# Tunnel configuration is only needed if you are going to use the facebooker:tunnel Rake tasks | |
# Your callback url in Facebook should be set to http://public_host:public_port | |
# If you're building a Facebook connect site, | |
# change the value of set_asset_host_to_callback_url to false | |
# To develop for the new profile design, add the following key.. | |
# api: new | |
# remove the key or set it to anything else to use the old facebook design. | |
# This should only be necessary until the final version of the new profile is released. |
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
Haga una revisión bibliográfica para encontrar algunas de las habilidades humanas y técnicas requeridas para los siguientes roles. Mencione las referencias bibliográficas que utilizó | |
a.Analista de requisitos | |
b.Gerente de proyecto | |
c.Arquitecto de Software |
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
data Expr f = In (f (Expr f)) | |
data Add e = Add e e | |
type AddExpr = Expr Add |