Skip to content

Instantly share code, notes, and snippets.

View bastos71's full-sized avatar

Bastien Serprix bastos71

View GitHub Profile
@bastos71
bastos71 / minecraft-server-update.sh
Created October 19, 2025 11:46
Minecraft server auto update script
#!/bin/bash
printf '\033[8;40;200t'
echo "============"
echo "Saving server files before update..."
git add .
git commit -m "Incremental save before update" --allow-empty
echo "Done !"
@bastos71
bastos71 / Process.php
Last active October 10, 2018 14:57
With this I get an error by doctrine : "The association Advercity\AdminBundle\Entity\TaxStamp#process refers to the owning side field Advercity\AdminBundle\Entity\Process#taxStamp which does not exist."
<?php
/**
* @ORM\Entity(repositoryClass="ProcessRepository")
* @ORM\InheritanceType("JOINED")
* @ORM\DiscriminatorColumn(name="discr", type="string")
*/
class Process
{
// ...