This file contains 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
2012 | |
M | |
1012 | |
MM | |
12 | |
MMX | |
2 | |
MMXI | |
1 | |
MMXII |
This file contains 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
import java.util.Scanner; | |
import java.util.Arrays; | |
public class BinaryConverter { | |
public static String userOption; | |
public static void main(String[] args) { | |
Scanner keyboard = new Scanner(System.in); |
This file contains 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
<?php | |
$topListings = array(); | |
$bottomListings = array(); | |
for ( $i = 0; $i < count( $loop->posts ); $i++ ) { | |
if ( str_word_count( $loop->posts[$i]->post_content ) >= 30 ) { | |
array_push( $topListings, $loop->posts[$i] ); | |
} else { | |
array_push( $bottomListings, $loop->posts[$i] ); | |
} |
This file contains 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
<?php | |
namespace Slumlords\Bundle\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* Slumlords\Bundle\Entity\bank | |
* | |
* @ORM\Table() |
This file contains 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
Users can have multiple properties. ? | |
Users can have multiple courses. Many-To-Many, Bidirectional | |
Courses can have multiple properties. Many-To-Many, Bidirectional | |
Properties can belong to one user and one course. ? |
This file contains 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
Users can have multiple properties. ?? | |
Users can have multiple courses. Many-To-Many, Bidirectional | |
Courses can have multiple properties. ?? | |
Courses can have multiple users. Many-To-Many, Bidirectional | |
Properties can belong to one user. One-To-Many, Unidirectional | |
Properties can belong to one course. One-To-Many, Unidirectional |
This file contains 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
if ($request->isMethod('POST')) | |
{ | |
$form->bind($request); | |
if ($form->isValid()) | |
{ | |
$em = $this->getDoctrine()->getManager(); | |
$totalProperties = $request->request->get('columns') * $request->request->get('rows'); | |
for ($i = 0; $i < $totalProperties; $i++) { |
This file contains 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
<table class="table properties" cellspacing="10" cellpadding="10"> | |
<tbody> | |
{% for i in 1..course.columns %} | |
<tr> | |
{% for i in 1..course.rows %} | |
<td class="span2"> | |
########### | |
Rent: 0 | |
</td> | |
{% endfor %} |
This file contains 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
GOTO << @MAIN | |
@MAIN | |
CALLFF << @PUSH @NORTH 2 | |
CALLFF << @PUSH @EAST 2 | |
CALLFF << @PUSH @WEST 2 | |
CALLFF << @PUSH @SOUTH 2 |
This file contains 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
bitarray/_bitarray.c:1900: warning: implicit declaration of function âPyLong_Che ckâ | |
bitarray/_bitarray.c:1903: warning: implicit declaration of function âIntBool_As Intâ | |
bitarray/_bitarray.c:1910: error: âPyExc_IndexErrorâ undeclared (first use in th is function) | |
bitarray/_bitarray.c: At top level: | |
bitarray/_bitarray.c:1915: error: expected â=â, â,â, â;â, âasmâ or â__attribute_ _â before â*â token |
OlderNewer