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
module Aliveness | |
attr_accessor :alive | |
def initialize | |
@alive = true | |
end | |
end | |
module DieAbility | |
include Aliveness |
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
var userChoice = prompt("Do you choose rock, paper or scissors?"); | |
var computerChoice = Math.random(); | |
if (computerChoice < 0.34) { | |
computerChoice = "rock"; | |
} else if(computerChoice <= 0.67) { | |
computerChoice = "paper"; | |
} else { | |
computerChoice = "scissors"; | |
} console.log("Computer: " + computerChoice); |
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
var text = "banana Zura es Azur banana Zura es Azur Zura es Azur banana banana banana banana Zura es Azur"; | |
var phrase = "Zura es Azur"; | |
var textLow = text.toLowerCase(); | |
var phraseLow = phrase.toLowerCase(); | |
var hits = 0; | |
for (var i = 0; i < textLow.length; i++) { | |
if (textLow[i] === phraseLow.charAt(0)) { | |
var phraseCheck = textLow[i]; | |
for (var l = 1; l < phraseLow.length; l++) { |
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
{ | |
"coordinates": null, | |
"created_at": "Thu Oct 21 16:02:46 +0000 2010", | |
"favorited": false, | |
"truncated": false, | |
"id_str": "28039652140", | |
"entities": { | |
"urls": [ | |
{ | |
"expanded_url": null, |
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
a:hover { | |
text-decoration: none; | |
color: $main-color; | |
text-shadow: 1px 0 0 #fff, -1px 0 0 #fff; | |
background-image: linear-gradient(to right, currentColor 0%, currentColor 100%); | |
background-repeat: repeat-x; | |
background-position: 0 95%; | |
-webkit-background-size: 100% 1px; | |
background-size: 100% 1px; |
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
(env)/Users/zuraguerra/blanchi-mellow/blanchiweb ─> (feature/new-landing) ><}}*> python manage.py runserver 3000 | |
Performing system checks... | |
System check identified no issues (0 silenced). | |
Unhandled exception in thread started by <function wrapper at 0x1103db848> | |
Traceback (most recent call last): | |
File "/Users/zuraguerra/blanchi-mellow/blanchiweb/env/lib/python2.7/site-packages/django/utils/autoreload.py", line 223, in wrapper | |
fn(*args, **kwargs) | |
File "/Users/zuraguerra/blanchi-mellow/blanchiweb/env/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 112, in inner_run | |
self.check_migrations() |
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
CAUSE | |
belongs_to :user, Dennis.User | |
has_many :challenges, Dennis.Challenge | |
CHALLENGE | |
belongs_to :user, Dennis.User | |
belongs_to :cause, Dennis.Cause |
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
*DB en general | |
*SQL | |
*Estructuras MVC, más claro y más a fondo (estaba checando Rails con eso) | |
*Basics de Computer Science (como lo del binario o la arquitectura Von Neumann) | |
*Cuál es el workflow usual para sacar y mantener un sistema? | |
*Historia de Computer Science? | |
*Términos comunes (como hash) {digo, esto es googleable cada que resulte necesario, pero ¿hay algún diccionario o similar del que sepas (algo más sucinto que Wikipedia)? | |
*Fundamentos de estructuras de datos | |
*Me dio curiosidad: ¿cómo se distribuye un sistema en varios servidores? | |
*¿Qué tener en cuenta de seguridad al desarrollar? (¿Sabes de algún paper/libro que hable de eso en términos generales?) |
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
PLAY [app-servers] ************************************************************ | |
GATHERING FACTS *************************************************************** | |
<104.236.85.42> ESTABLISH CONNECTION FOR USER: root | |
<104.236.85.42> REMOTE_MODULE setup | |
<104.236.85.42> EXEC ssh -C -tt -v -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 104.236.85.42 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1441852806.17-35443393663971 && echo $HOME/.ansible/tmp/ansible-tmp-1441852806.17-35443393663971' | |
<104.236.85.42> PUT /var/folders/05/hf4hn6yn0_q37lrzbf1spp4r0000gr/T/tmpmtx8tG TO /root/.ansible/tmp/ansible-tmp-1441852806.17-35443393663971/setup | |
<104.236.85.42> EXEC ssh -C -tt -v -o ForwardAgent=yes -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 |
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
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
<title>Curriculum Vitae</title> | |
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Oswald:400,300"> | |
<style> | |
.header { | |
font-family: 'Oswald', serif; | |
font-size: 50px; | |
} |
OlderNewer