https://dbngin.com/release/osx/dbngin_latest
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
/opt/homebrew/var/meilisearch/data.ms |
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\Nova\Fields; | |
use Laravel\Nova\Fields\BelongsTo as NovaBelongsTo; | |
use Laravel\Nova\Http\Requests\NovaRequest; | |
class BelongsTo extends NovaBelongsTo | |
{ | |
public $component = 'belongs-to-with-facets'; |
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
ALTER TABLE user | |
ADD CONSTRAINT attributes_are_valid check( | |
JSON_SCHEMA_VALID('{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"patternProperties" : { | |
"^[a-z][a-z]$": { | |
"type": "string" | |
} | |
}, |
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
<script type="text/javascript"> | |
// detect instagram in-app browser on android and force a redirect | |
if(navigator.userAgent.includes("Instagram") && navigator.userAgent.includes("Android")){ | |
var socialsRedirectURL = encodeURIComponent(window.location.href); | |
window.location.href = "https://yourdomain.example/socialredirect.php?redirect=" + socialsRedirectURL; | |
} | |
</script> |
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 isNil from 'lodash/isNil' | |
export default class DebugGrid { | |
constructor() { | |
this.debugGrid = document.querySelector('.js-debug-grid') | |
this.gridVisible = false | |
} | |
init() { | |
if (!isNil(this.debugGrid)) { |
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 | |
use Statamic\Http\Controllers\Controller as BaseController; | |
use Statamic\Facades\Structure; | |
use Statamic\Structures\Page; | |
class Controller extends BaseController | |
{ | |
public function navigations() | |
{ | |
$structure = Structure::findByHandle("nav_main"); |
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 gulp = require('gulp'); | |
const {series} = require('gulp'); | |
const mjml = require('gulp-mjml'); | |
const browserSync = require('browser-sync'); | |
const mjmlEngine = require('mjml'); | |
const fs = require('fs'); | |
require('dotenv').config(); |
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 React, {Fragment} from "react"; | |
export default class GridDebug extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
gridVisible: false | |
}; |
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
{"lastUpload":"2020-05-29T12:18:52.703Z","extensionVersion":"v3.4.3"} |
NewerOlder