- php5.6(php-fpm) for Laravel
- nginx
sudo apt-get update && sudo apt-get install python-software-properties
<?php namespace Codeception\Module; | |
class FunctionalHelper extends \Codeception\Module | |
{ | |
public function getApp(){ | |
return $app = $this->getModule('Laravel4')->kernel; | |
} | |
public function readyMailerMock(){ | |
$mock = \Mockery::mock('Mailer'); | |
$this->getApp()['mailer'] = $mock; |
from tkinter import * | |
from tkinter.filedialog import * | |
master = Tk() | |
tf = Text(master, bg="white", bd=0) | |
tf.pack(fill=BOTH, expand=1) | |
def hello(): | |
print(tf.get("1.0", END)) | |
print("END") |
import sys | |
from tkinter import * | |
from math import * | |
R = 287.05 | |
p = 101300 | |
T = 15+273.15 | |
rho = p/R/T | |
cLmax = 2.0 |