- Device language and other info https://github.com/react-native-community/react-native-localize
- Translation https://github.com/fnando/i18n-js
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
// Please, update Line 52 to line 62 (handling the query) to | |
if (query) { | |
inboxes = inboxes.filter(inbox => { | |
let {headline, id} = inbox; | |
let client_name = inbox.client ? inbox.client.name : headline; | |
if (id == query || headline.includes(query) || client_name.includes(query) ) { | |
return true; | |
}else{ | |
return false; |
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
use Illuminate\Support\Facades\Storage; | |
use Carbon\Carbon; | |
function hlp_file_upload($fileObj, $s3Path, $newDimension=null, $fname=null, $watermark = true) | |
{ | |
$basePath = storage_path('app/uploads'); | |
$ext = $fileObj->getClientOriginalExtension(); | |
$ext = empty($ext) ? 'jpg' : $ext; | |
$oldFileName = $fname ? $fname : md5(uniqid(empty($_SERVER['SERVER_ADDR']) ? '' : $_SERVER['SERVER_ADDR'], true)) . '.' . $ext ; |
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 | |
namespace App\Http\Controllers; | |
use Illuminate\Http\Request; | |
class ClassController extends Controller | |
{ | |
public function allClasses() { | |
return response()->json( |
Other people's projects:
- https://github.com/laracasts/URL-Shortener URL Shortener by Jeffrey Way
- https://github.com/basco-johnkevin/laravelsnippets Source code of http://laravelsnippets.com website
- https://github.com/jesseterry/FusionInvoice FusionInvoice is built for freelancers and small businesses who need a simple, yet powerful self-hosted web based invoicing system.
- https://github.com/ezynda3/burnmsg is a self-destructing encrypted message app. A demo is also running on https://burnmsg.com
- https://github.com/martindilling/auto-generating-gallery the demo is at http://gallerydemo.martindilling.com/
My projects (tutorials are on my blog at http://maxoffsky.com):
- https://github.com/CodepadME/laravel-tricks - Source of Laravel-tricks.com
NewerOlder