I hereby claim:
- I am fredmontet on github.
- I am fredmontet (https://keybase.io/fredmontet) on keybase.
- I have a public key whose fingerprint is 8CE9 85B5 8A00 60C5 1EAF ED21 9AC1 D61F 377E 4D44
To claim this, I am signing this object:
Go to Bitbucket and create a new repository (its better to have an empty repo) | |
git clone git@bitbucket.org:abc/myforkedrepo.git | |
cd myforkedrepo | |
Now add Github repo as a new remote in Bitbucket called "sync" | |
git remote add sync git@github.com:def/originalrepo.git | |
Verify what are the remotes currently being setup for "myforkedrepo". This following command should show "fetch" and "push" for two remotes i.e. "origin" and "sync" | |
git remote -v |
I hereby claim:
To claim this, I am signing this object:
/* Media queries | |
-------------------------------------------------- */ | |
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
body{ | |
width:90%; | |
} | |
} |
function objectByKey(data, keyToSort){ | |
var objectByKey = new Object(); | |
objectByKey[keyToSort] = new Object(); | |
$.each(data, function(i, item){ | |
var currentKeyToSort = item[keyToSort]; | |
if(i == 0){ | |
objectByKey[keyToSort][currentKeyToSort] = []; | |
objectByKey[keyToSort][currentKeyToSort].push(item); | |
}else{ | |
var length = objectLength(objectByKey[keyToSort]); |
ini_set('xdebug.var_display_max_depth', 5); | |
ini_set('xdebug.var_display_max_children', 256); | |
ini_set('xdebug.var_display_max_data', 1024); | |
var_dump($var); |
app/console doctrine:schema:update --force |
URL: http://stackoverflow.com/questions/14941358/add-a-column-to-an-existing-entity-in-symfony | |
Download the Doctrine Migrations package (http://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html). | |
modify the class by: | |
Acme\MyBundle\Entity\Customer and add the property you want: | |
Acme\MyBundle\Entity\Customer | |