create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
<?php | |
defined('BASEPATH') OR exit('No direct script access allowed'); | |
class Auth extends Rest_Controller { | |
/** | |
* Device types allowed in app | |
*/ | |
const DEVICE_TYPES = ['ios', 'android']; |
public static function insertOrUpdate($table, array $rows) | |
{ | |
$first = reset($rows); | |
$columns = implode(',', array_map(function($value) | |
{ | |
return "$value"; | |
}, array_keys($first))); | |
$values = implode(',', array_map(function($row) |
<!-- PMA-SQL-ERROR --> | |
<div class="error"><h1>Error</h1> | |
<p><strong>SQL query:</strong> | |
<a href="tbl_sql.php?sql_query=SHOW+TABLE+STATUS+FROM+%60dawghoused%60+LIKE+%27dawghoused_bp_notifications%27&show_query=1&db=dawghoused&table=dawghoused_bp_notifications&token=8ec2db191e1e1dc37a8fc266da54e6eb"><span class="nowrap"><img src="themes/dot.gif" title="Edit" alt="Edit" class="icon ic_b_edit" /> Edit</span></a> </p> | |
<p> | |
<span class="syntax"><span class="inner_sql"><a href="./url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.6%2Fen%2Fshow.html&token=8ec2db191e1e1dc37a8fc266da54e6eb" target="mysql_doc"><span class="syntax_alpha syntax_alpha_reservedWord">SHOW</span></a> <span class="syntax_alpha syntax_alpha_reservedWord">TABLE</span> <span class="syntax_alpha syntax_alpha_reservedWord">STATUS</span> <span class="syntax_alpha syntax_alpha_reservedWord">FROM</span> <span class="syntax_quote syntax_quote_backtick">`dawghoused`</span> <a href="./url.php?url=http%3A%2F%2Fdev.mys |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
select usr.id as user_id, first_name, last_name, bp.*, risk.* from test_type_verification as test | |
inner join `jbt_testeeUsers` as usr on test.user_id = usr.id | |
left join bp_a1c_risk_ques_2016 as bp on test.user_id = bp.user_id | |
left join risk_Assessment_questions_2016 as risk on test.user_id = risk.user_id | |
where usr.id = 133 |
<?php | |
namespace App\Http\Controllers\Admin\Tournaments; | |
use App\Http\Controllers\Controller; | |
use App\Models\Tournament; | |
use Excel; | |
use Illuminate\Http\Request; | |
use Validator; |
Below is a full tutorial on how to setup and use Googles Firebase push notification API for both Android and iOS. It is based on this earlier implementation of Googles GCM method: https://gist.github.com/prime31/5675017 - FCM is the new method and GCM will eventually be retired.
Register your app in the FCM Console: https://console.firebase.google.com (add project)
sendMessageIos |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | |
</head> | |
<body> | |
<input type="text" id="sample-text" value="Lorem ipsum dolor sit amet"> |
<?php | |
require 'init.php'; | |
$done = false; | |
if(isset($_POST['username'], $_POST['userjob'])) | |
{ | |
$data = [ | |
'name' => $_POST['username'], |