Skip to content

Instantly share code, notes, and snippets.

In order to understand recursion, one must first understand recursion

joseph Omer JoDeveloper

In order to understand recursion, one must first understand recursion
Block or report user

Report or block JoDeveloper

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 create new laravel app
#create new laravel project
function nlp() {
if [ -d "$DIR/$1" ]; then
echo "Directory $DIR/$1 exists already."
return 1
View gist:0dc2c53475ea740c26e7871860bdbf62
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'dart:math' as math;
class SlidingCardsView extends StatefulWidget {
_SlidingCardsViewState createState() => _SlidingCardsViewState();
class _SlidingCardsViewState extends State<SlidingCardsView> {
View gist:a31404eb392b84e5dc14015ab9d11e5d
import 'package:flutter/material.dart';
/// 简单列表项
class SampleListItem extends StatelessWidget {
/// 方向
final Axis direction;
/// 宽度
final double width;
View list_item.dart
import 'package:flutter/material.dart';
/// 列表项
class ListItem extends StatefulWidget {
// 点击事件
final VoidCallback onPressed;
// 图标
final Widget icon;
// 标题
final String title;
View user_profile.dart
import 'package:example/widget/list_item.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
import 'package:url_launcher/url_launcher.dart';
/// 个人中心页面
class UserProfilePage extends StatefulWidget {
_UserProfilePageState createState() => _UserProfilePageState();
View php-event-listener-example.php
class Event {
private static $events = [];
public static function listen($name, $callback) {
self::$events[$name][] = $callback;
public static function trigger($name, $argument = null) {
foreach (self::$events[$name] as $event => $callback) {
JoDeveloper / Accordion.vue
Created Oct 29, 2019 — forked from laracasts/Accordion.vue - episode 41 source code.
View Accordion.vue
v-for="(item, index) in items"
:is-open="activeItemIndex == index"
View launch_screen.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- The android:opacity=”opaque” line — this is critical in preventing a flash of black as your theme transitions. -->
<layer-list xmlns:android="" android:opacity="opaque">
<!-- The background color, preferably the same as your normal theme -->
<item android:drawable="@android:color/white"/>
<!-- Your product logo - 144dp color version of your app icon -->
JoDeveloper / Flash.php
Created Aug 18, 2019 — forked from willishq/Flash.php
Laravel 5 Flash messages inspired by Laracasts Flash, optimized for Zurb Foundation
View Flash.php
<?php namespace App\Services;
use Illuminate\Session\Store;
* Laravel 5 Flash messages inspired by Laracasts Flash Messages.
* @link
* @author Andrew Willis <>
JoDeveloper / Alert.vue
Created Aug 18, 2019 — forked from laracasts/Alert.vue
Alert .vue example.
View Alert.vue
<div class="Alert Alert--{{ type | capitalize }}">
export default {
props: {
type: {
You can’t perform that action at this time.