• October CMS – quick start 19 – form validation


    Add validation for the form in the previous section File:plugins\raiseinfo\contact\components\ContactForm.php use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\Redirect; … public function onSend() { $validator = Validator::make( [ ‘name’ => Input::get(‘name’), ’email’ => Input::get(’email’) ], [ ‘name’ => ‘required|min:5′, ’email’ => ‘required|email’ ] ); if($validator->fails()){ return Redirect::back()->withErrors($validator); }else{ $vars = [ ‘name’ => Input::get(‘name’), ’email’ => Input::get(’email’), ‘content’ => Input::get(‘content’) […]

  • What are the new features of IOS 15 beta 4 update


    IOS 15 has ushered in another update. Now, with the update of IOS 15, it is getting closer and closer to the official version of IOS 15. Apple’s official update note lists some known problems in beta 4 and what problems have been fixed. So what are the noteworthy contents of this update? Safari is […]

  • How do I turn off location services on my iPhone


    Everything has two sides, and mobile location-based services are no exception.Although it can bring a certain degree of convenience, it will also be disturbing. Everyone knows it. This function is naturally available on the iPhone, so how to terminate positioning and protect personal privacy. Specific steps: Open the settings app on iPhone. Scroll down to […]

  • Google upgrades programmable wear OS through custom tiles Library


    Since 2014, Google’s wear operating system has attracted a large number of users with more and more advanced features. In the past few years, wear OS devices have enabled users to report time, track health and make calls through wearable devices smaller than mobile phones. As the foundation of the famous Google Smartwatch, the latest […]

  • Android serial 38 – access contacts


    1、 Read contacts from your phone Due to the use of the simulator, we first create several contacts and then read them Then create a project contactstest and modify itactivity_main.xml First put a list in it, and then we modify itMainActivity.javaCode of package com.example.contactstest; import java.util.ArrayList; import java.util.List; import android.app.Activity; import android.database.Cursor; import android.os.Bundle; import […]

  • 12000 stars! Monica helps you with your relationships!


    [introduction]: Monica is an open source personal relationship management system. Its essence is a web application, which is used to organize and manage the interaction with relatives and friends. The star number on GitHub is 11.9k. brief introduction Monica is an open source personal relationship management system, full name of personal relationship management, abbreviated as […]

  • You don’t know the file selection of input (accept, capture, multiple, WebKit directory)


    I wrote one some time agoPreview before uploading filesFor PC. This time, we have to test the compatibility of the mobile terminal and use it in the client. Just to sort it out, let’s go to the test address:Demo addressAt present, it has these functions. Dynamically setting accept, capture, multiple and WebKit directory ?accept=.pngFast restore […]

  • How does MAC export contacts from address book


    The address book is a tool for Mac users to save their contacts. However, after we save many contacts, how can we export them from the address book? There must be users who are not clear, so let’s take a look at the following methods. How to export contacts from the address book: 1. Open […]

  • IOS implementation of contacts sorted by initials


    The requirements of the contact function are generally sorted according to the first letter, and the same surname must be continuous, and other surnames can not be interspersed. Baidu saw uilocalized indexed collation provides us with a very convenient sorting method. It does not need to convert Chinese into pinyin. However, there is a disadvantage […]

  • Exchange 2013 learning notes 11: email contacts


    1.1 on the exchange server DC1, click the windows start menu, find “exchange administrative center”, and then click. 1.2. Click “to”, select “contact”, click “add” drop-down arrow, and select “email contact”. 1.3. Input the last name, first name, display name, alias and external e-mail address respectively, then click “Browse” to select the organizational unit, and […]

  • Xiaobai learns phonegap serial 1 of building cross platform app: practical combat of phonegap mobile application (API in phonegap)


    The book “building cross platform app: jQuery mobile application practice” has been serialized in this blog before, which is deeply loved by mobile developers. From now on, serializing its twin sister book phonegap mobile application combat book, I hope that once you were Xiaobai, you have become big white. What can the API in 3.6 […]

  • Linux QQ 2.0 beta experience


    The latest version of Linux QQ has been put on the shelves quietly. The QQ version of Linux can be described as “grinding a sword in ten years”! Let’s take a look at the latest version of QQ? Download and install Address: https://im.qq.com/linuxqq/download.html QT Jun is using the Ubuntu 16.04 system, so choose x64 shell […]