Skip to content

Instantly share code, notes, and snippets.

Avatar

Frantisek Hallo FantomX1-github

View GitHub Profile
View gist:eb616d305bdc618c3a89987ccac3ea89
Steffanie Strathdee, PhD, infectious epidemiologist, Dean Global Health Sciences , USA
"The Belgians have treated or attempted to prepare phage to treat patients in other European countries so they might have some advice for you. The email address IPATH gave you is the one to use. The director there is Dr Jean-Paul Pirnay. He is outstanding.
Phd, Dr Jean-Paul Pirnay , Brussel, Molecular and Cellular, Queen Astrid Military Hospital
"First of all, you need to send us a file fulfilled by her physician. We will evaluate the case of your mother and we will probably ask you to send us a sample of the strain. We do not have the possibility to hospitalize patient in our institution. However a treatment can be sent in your country."
Phd, Dr Jean-Paul Pirnay , Brussel, Molecular and Cellular, Queen Astrid Military Hospital
"If patients are treated in another country, their local physician that is administering the phage therapy has to apply through their regulatory agency in their country (comparable to our F
View Staph. Aureus sepsa Mudr. Andrea Hallová
Možnosti na zváženie, 1) veľa Vitamin-C vnútrožilne, 2) bakteriofágy, 3) omega-3 FA , 5) Staph. Aureus toxin antibodies
stručne v sumároch v pár vetách
https://diigo.com/0f5rux Why sepsis from a staph infection causes organ failure
"Normally, platelets coat bacteria to prevent the spread of a microbe throughout the patient. However, during sepsis caused by staph infection, as the amount of toxin in the bloodstream increases, the platelets aggregate to form clumps."
https://theconversation.com/new-device-uses-nano-magnets-to-cleanse-bad-blood-when-sepsis-strikes-31715
But the reality is that there is circulating dead pathogen debris and many toxins, which are primary triggers of the inflammatory cascade that leads to sepsis. The power of this device is that it binds to dead pathogens and toxins as well as live bugs."
https://diigo.com/0f6ki8 "bacterial debris, apart from bacterial proliferation, triggers a septic response"
@FantomX1-github
FantomX1-github / bilingual subtitles generator - two languages subtitles srt from google translate
Last active Sep 23, 2018
bilingual subtitles generator - two languages subtitles srt from google translate
View bilingual subtitles generator - two languages subtitles srt from google translate
<?php
/**
* Created by PhpStorm.
* User: fantomx1
* Date: 22.9.2018
* Time: 21:31
*/
require 'vendor/autoload.php';
@FantomX1-github
FantomX1-github / CleanArchitecture.md
Created Sep 11, 2018 — forked from ygrenzinger/CleanArchitecture.md
Summary of Clean Architecture by Robert C. Martin
View CleanArchitecture.md

Summary of book "Clean Architecture" by Robert C. Martin

Uncle Bob, the well known author of Clean Code, is coming back to us with a new book called Clean Architecture which wants to take a larger view on how to create software.

Even if Clean Code is one of the major book around OOP and code design (mainly by presenting the SOLID principles), I was not totally impressed by the book.

Clean Architecture leaves me with the same feeling, even if it's pushing the development world to do better, has some good stories and present robust principles to build software.

The book is build around 34 chapters organised in chapters.

View readable_random_string.php
<?php
/**
* Generates human-readable string.
*
* @param string $length Desired length of random string.
*
* retuen string Random string.
*/
function readable_random_string($length = 6)
@FantomX1-github
FantomX1-github / gitBash_windows.md
Created Jun 21, 2018 — forked from evanwill/gitBash_windows.md
how to add more utilities to git bash for windows, wget, make
View gitBash_windows.md

How to add more to Git Bash on Windows

Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.

The basic idea is that C:\Program Files\Git\mingw64\ is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git, the mingw64 in this directory is your root. Find it by using pwd -W). If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on).

If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so

@FantomX1-github
FantomX1-github / CantSave.php
Created May 19, 2018 — forked from m8rge/ CantSave.php
Yii2 exception for non-saved active records
View CantSave.php
<?php
namespace common\exception;
use e96\sentry\ErrorHandler;
use yii\base\Exception;
use yii\db\ActiveRecord;
class CantSave extends Exception
@FantomX1-github
FantomX1-github / zalenium-template.yaml
Created Apr 24, 2018 — forked from mojsha/zalenium-template.yaml
OpenShift template for Zalenium
View zalenium-template.yaml
apiVersion: v1
kind: Template
metadata:
name: zalenium
annotations:
"openshift.io/display-name": "Zalenium"
"description": "Disposable Selenium Grid for use in OpenShift"
message: |-
A Zalenium grid has been created in your project. Continue to overview to verify that it exists and start the deployment.
@FantomX1-github
FantomX1-github / drop-down-page-size-cgrid-view.php
Created Dec 28, 2017 — forked from umidjons/drop-down-page-size-cgrid-view.php
Yii: drop down to choose page size for CGridView
View drop-down-page-size-cgrid-view.php
// in config/main.php
'params' => array(
'defaultPageSize' => 20,
),
// in controller action
public function actionIndex()
{
if ( isset( $_GET[ 'pageSize' ] ) )
{