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 faker from 'faker'; | |
export default class Api | |
{ | |
data = []; | |
_generateTweets(number = null) { | |
number = number || faker.random.number({ min: 1, max: 5 }); | |
const items = []; |
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 | |
// | |
// First composer require themsaid/forge-sdk | |
// | |
use Themsaid\Forge\Forge; | |
use Illuminate\Support\Str; | |
use Illuminate\Console\Command; | |
use Themsaid\Forge\Resources\Server; |
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
# Blitz Adverts | |
127.0.0.1 hotjar.com tpc.googlesyndication.com pixel.adsafeprotected.com ams1-ib.adnxs.com 2mdb.net s0.2mdb.net s1.2mdb.net s2.2mdb.net s3.2mdb.net |
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
Show hidden characters
{ | |
"plugins": ["./transformwind.js"] | |
} |
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
const fs = require('fs') | |
const postcss = require('postcss') | |
const tailwind = require('tailwindcss') | |
const source = ` | |
@tailwind components; | |
@tailwind utilities; | |
` | |
function toJson(node, json) { |
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
const defaults = require('./scripts/tailwind.defaults'); | |
module.exports = defaults({ | |
theme: {}, | |
}) |
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
#!/usr/bin/env node | |
const path = require('path') | |
const { execSync } = require('child_process') | |
/* | |
* You can symlink this to a bin dir e.g. "ln -s /Users/owen/lightmode.js /usr/local/bin/lightmode" | |
* To enable lightmode for an app, simply pass the full path to the application to lightmode e.g. | |
* | |
* lightmode /Application/Google\ Chrome.app | |
* |
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 | |
namespace App\Http\Resources; | |
use Illuminate\Http\Resources\Json\JsonResource; | |
class SuccessResource extends JsonResource | |
{ | |
public function __construct(mixed $message, array $meta = []) | |
{ |
OlderNewer