Run within the repo that you cloned the self-hosted repository
sudo docker compose down --volumes
Then delete the folder you cloned the self-hosted repository to
sudo rm -R self-hosted
Run within the repo that you cloned the self-hosted repository
sudo docker compose down --volumes
Then delete the folder you cloned the self-hosted repository to
sudo rm -R self-hosted
ssh-keygen
, as path enter the same as suggested with a different filename of 'git'sudo nano ~/.ssh/config
and add contents like# add bitbucket deployment key to identity file
Host bitbucket.org
User git
IdentityFile ~/.ssh/git
<?php | |
class MessageOnRejectionSubscriber implements EventSubscriberInterface { | |
public function onMessageFailed(WorkerMessageFailedEvent $event) { | |
// return early if there is still more retrying to do | |
if ($event->willRetry()) { | |
return; | |
} | |
$envelope = $event->getEnvelope(); |
https://star-history.t9t.io/#caprover/caprover&flynn/flynn&dokku/dokku
https://github.com/caprover/caprover
phpmyadmin: | |
image: bitnami/phpmyadmin | |
container_name: phpmyadmin | |
environment: | |
- PHPMYADMIN_ALLOW_ARBITRARY_SERVER=yes | |
- DATABASE_ENABLE_SSL=yes | |
restart: always | |
ports: | |
- 443:8443 |
# last tested with tensorflow 2.1.0 | |
import tensorflow as tf | |
LOG_DIR = 'logs' # The path where you want to save tensorboard events | |
tf.compat.v1.disable_eager_execution() | |
with tf.compat.v1.Session() as sess: | |
model_filename = 'frozen_inference_graph.pb' # your model path | |
with tf.compat.v1.gfile.FastGFile(model_filename, 'rb') as f: |
#!/usr/bin/env php | |
<?php | |
/*** | |
* Dumps routes from silex route registation to yaml file for use with symfony | |
run with php silex_to_symfony_routes_migrate.php > ../app/routes.php | |
*/ | |
use Silex\Application; | |
use Symfony\Component\Routing\Route; | |
use Symfony\Component\Routing\RouteCompiler; | |
use Symfony\Component\Yaml\Yaml; |
echo "Downloading update" | |
curl -s -L https://github.com/gogits/gogs/releases/latest | egrep -o '/gogits/gogs/releases/download/[v][0-9\.]*\/raspi2_armv6.zip' | wget --base=http://github.com/ -i - -O gogs-latest.zip | |
echo "Stopping gogs service" | |
sudo service gogs stop | |
echo "Starting backup" | |
today=`date +%Y-%m-%d.%H:%M:%S` | |
zip -r gogs-backup-$today.zip gogs gogs-data | |
echo "Moving config to tmp directory" | |
cp -r gogs/custom gogs-custom-tmp | |
echo "Deleting original gogs folder" |
Installation is a bit harder than unix but absolutely worth it. | |
1) Install composer using windows installer | |
2) enable extension=php_pdo_sqlite.dll in php.ini | |
3) start atom and watch it fail to install php-integrator | |
4) run composer install --no-dev from core folder. something like C:\Users\<username>\.atom\packages\php-integrator-base\core\3.0.0 | |
5) enjoy excellent php IDE |