#Symfony book http://symfony.com/doc/current/book/index.html
http://tutorial.symblog.co.uk/ http://sftuts.com/doc/jobeet/en/starting-up-the-project
| <!DOCTYPE html> | |
| <html> | |
| <head></head> | |
| <body> | |
| <esi:include src="head.html" alt="not-found.html" onerror="continue"></esi:include> | |
| <esi:include src="body.php" alt="not-found.html" onerror="continue"/> | |
| <h2>HTML</h2> | |
| </esi:include> | |
| <esi:include src="footer.html" alt="not-found.html" onerror="continue"/></esi:include> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
a simple idea is to force the session_id between the domains with an ajax call or an hidden iframe.
The concept is simple, you have [A,B,C] domains, where you create a script sid.php:
<?php session_id( $_GET['sid'] );and a script sid_update.php that you have to place inside the PHP code of the front controller:
| # Enable mouse support in ~/.tmux.conf | |
| setw -g mode-mouse on | |
| set-option -g mouse-select-pane on | |
| set-option -g mouse-select-window on | |
| set -g mouse-resize-pane on | |
| set -g mouse-select-window on | |
| # enable pbcopy pbpaste | |
| set-option -g default-command "reattach-to-user-namespace -l bash" |
| # Mouse support | |
| setw -g mode-mouse on | |
| set-option -g mouse-select-pane on | |
| set-option -g mouse-select-window on | |
| set -g mouse-resize-pane on | |
| set -g mouse-select-window on | |
| # tmux vi mode | |
| setw -g mode-keys vi |
| const OpenTimestamps = require('javascript-opentimestamps'); | |
| var fs = require('fs'); | |
| fs.readFile('bitcoin.pdf.ots', 'utf8', (err, contents) => { | |
| const fileOts = Buffer.from(contents.toString('utf8')); | |
| const detached = OpenTimestamps.DetachedTimestampFile.deserialize(fileOts); | |
| const infoResult = OpenTimestamps.info(detached); | |
| console.log(infoResult) | |
| }); |
| const functions = require('firebase-functions') | |
| const admin = require('firebase-admin') | |
| admin.initializeApp() | |
| const db = admin.firestore() | |
| const settings = {timestampsInSnapshots: true}; | |
| db.settings(settings); | |
| #include <math.h> | |
| #include <stdio.h> | |
| double AttackerSuccessProbability(double q, int z) { | |
| double p = 1.0 - q; | |
| double lambda = z * (q / p); | |
| double sum = 1.0; | |
| int i, k; | |
| for (k = 0; k <= z; k++) | |
| { |
| # Boolean | |
| # ------------------ | |
| print(True) | |
| print(False) | |
| print(type(True)) | |
| # Integers | |
| # ------------------ | |
| # Python 3 has no limit for the data size. Aside the memory of course. |