Skip to content

Instantly share code, notes, and snippets.

Kiko Seijo kikoseijo

Block or report user

Report or block kikoseijo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 2019_09_03_141329_create_form_requests_table.php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFormRequestsTable extends Migration
* Run the migrations.
#!/usr/bin/env bash
# #
# # Install main dependencies on CentOS:
# # Python 3.4.5, CMake 3.10.0, OpenCV 3.3.1
# # Author Andrii Lundiak (
# #
kikoseijo / Admin-FormResponseController.php
Last active Apr 12, 2018
Laravel Contact Form - Form request with validations, back office admin views, recipients database relationship, ajax request using Axios, tests provided by Laravel Dusk. Includes Model files and migrations.
View Admin-FormResponseController.php
namespace App\Http\Controllers\Back;
use App\Mail\Admin\ContactFormSubmitted;
use App\Models\FormResponse;
use App\Repositories\FormResponseRepository;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Mail;
kikoseijo / BackupController.php
Last active May 16, 2019
Laravel Spatie backup with controller routes and views
View BackupController.php
namespace App\Http\Controllers;
use Alert;
use Artisan;
use Carbon\Carbon;
use Log;
use Spatie\Backup\Helpers\Format;
use Storage;
kikoseijo / BulmaFramework.php
Created Feb 18, 2018
Laravel Former custom framework for compatibility
View BulmaFramework.php
namespace Helpers;
use Former\Interfaces\FrameworkInterface;
use Former\Traits\Field;
use Former\Traits\Framework;
use HtmlObject\Element;
use Illuminate\Container\Container;
use Illuminate\Support\Str;
kikoseijo / App.js
Created Feb 11, 2018
React navigation wrapper
View App.js
import NavigatorService from './src/libs/navigator';
renderMain() {
const { token } = this.state;
if (token && token.length > 10) {
return (
ref={navigatorRef => {
kikoseijo / NewsList.js
Last active Feb 25, 2018
React Relay Modern QueryRenderer + PaginationController.
View NewsList.js
export default createPaginationContainer(
viewer: graphql`
fragment NewsList_viewer on User {
news(first: $count, after: $after) @connection(key: "NewsList_news") {
edges {
node {
# Copyright 2018
echo "running commands on" && pwd
rm -rf ios/build
rm -rf node_modules && npm install
node_modules/react-native/packager/ --reset-cache
watchman watch-del-all
kikoseijo /
Last active Feb 4, 2018
Easy way to add valet secured sites self signed certificates to iOS simulators
# have this repo under know directory
# Add valet certificates to ios simulators
echo "Im Done..;-)"
ls -la ~/.valet/Certificates
echo "Which one? (without extension name)"
cd ~/kscripts/ADVTrustStore
View ReactAsyncStore.js
import { AsyncStorage } from 'react-native';
// retrieve
export const get = async key => await AsyncStorage.getItem(key);
// store
export const set = async (key, value) => {
await AsyncStorage.setItem(key, value);
You can’t perform that action at this time.