A Pen by André Givenchy on CodePen.
This file contains 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
import { defineConfig } from 'vite'; | |
import laravel from 'laravel-vite-plugin'; | |
import fs from 'fs'; | |
import { resolve } from 'path'; | |
import { homedir } from 'os'; | |
let host = 'sendstack.test'; | |
let homeDir = homedir(); | |
let serverConfig = {}; |
This page has been updated a lot in the past 3 years. Older revisions you might like more than this one:
- June 2021 - list of endpoints for other sports/leagues (i.e. basketball, baseball, lacrosse, rugby)
- August 2021 - get historical fantasy league data
- September 2021 - list of endpoints in plain text
- May 2023 - collapsed endpoint response examples
Additional Resources
See this StackOverflow thread
First off, include the directive at the end of this gist.
- On your open button, make sure to use
@click.stop
to prevent the open click event from closing your modal. - On your modal, add the
v-click-outside
directive and points it at a function to call when clicked outside.
Seeding Users & Teams In Laravel Spark
Makes 5 users each with 1 team that has 5 members
Add a team factory to database/factories/ModelFactory.php
$factory->define(App\Team::class, function (Faker\Generator $faker) {
return [
'name' => $faker->sentence,
This file contains 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 | |
new theme_customizer(); | |
class theme_customizer { | |
public function __construct() { | |
add_action( 'customize_register', array(&$this, 'customize_linje' )); | |
} | |
/** | |
* Customizer manager demo |
This file contains 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 | |
add_action( 'genesis_before', 'prefix_remove_entry_header' ); | |
/** | |
* Remove Entry Header | |
*/ | |
function prefix_remove_entry_header() | |
{ | |
if ( ! is_front_page() ) { return; } |
This file contains 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
wp post list --field=ID --post_type=product | xargs wp post delete --force |
This file contains 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
Ionic and Pushwoosh example |
This file contains 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
Run this in your Mac Terminal (assuming you have the Ionic CLI): | |
---------------------------------------------------------------- | |
ionic start wkwebviewpolyfilltest | |
cd wkwebviewpolyfilltest | |
ionic setup sass | |
ionic platform add ios | |
ionic plugin add https://github.com/EddyVerbruggen/cordova-plugin-wkwebview | |
ionic build | |
---------------------------------------------------------------- |
NewerOlder