Front-End
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Steps taken to install Big Blue Button in CentOS 6 | |
# we'll work mostly from the /tmp/ directory: | |
cd /tmp | |
# install MySQL server | |
yum install -y mysql-server | |
service mysqld start | |
chkconfig mysqld on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** This fix error limit import question in moodle **/ | |
ALTER TABLE `mdl_question` CHANGE `name` `name` TEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service sshd stop | |
sudo vi /etc/hosts.allow | |
#add text in file | |
sshd: ALL | |
#your need remove directory empty | |
rm -rf /var/empty | |
# so create directory empty again and create directory sshd into dir empty | |
mkdir /var/empty/sshd | |
# start again sshd | |
service sshd start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"> | |
<title>Pikaday - weeknumbers example</title> | |
<meta name="author" content="Maxime Thirouin"> | |
<link rel="stylesheet" href="../css/pikaday.css"> | |
<link rel="stylesheet" href="../css/site.css"> | |
</head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
winpty mysql -h localhost -u root -p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ... | |
use Symfony\Component\HttpFoundation\Response; | |
// Then later on (inside your controller's class), you have a function used | |
// for the route_name (on a hook_menu() item in your .module file), this | |
// function can return a JSON response... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function timeAgo($time_ago) { | |
$time_ago = strtotime($time_ago) ? strtotime($time_ago) : $time_ago; | |
$time = time() - $time_ago; | |
switch($time): | |
// seconds | |
case $time <= 60; | |
return 'lessthan a minute ago'; | |
// minutes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Down Driver ADB https://developer.android.com/studio/releases/platform-tools.html | |
2. Configurate environment variables in windows http://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378 | |
3. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Module Slider --> | |
<div class="section section-slider no-padding">{module Alexandra } | |
<div class="ob_overlay"> | |
<div class="overlay over_1">{module Hodiday Hours}</div> | |
<div class="overlay over_2"><span class="phone_txt">VetEnt Otorohanga<br />Ph +64 7 873 8275</span><br /> Opening Hours<br /> Mon­Fri: 8.00am ­ 5.00pm<br /> Sat: 10.00am ­ 12.00pm<br /> Sun: Closed<br /> <strong>24­hour emergency service</strong></div> | |
</div> | |
</div> | |
<!-- End Module Slider --> | |
<!-- Content Location --> | |
<!-- |