git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| /* If you've ever had the need to link directly to an open modal window with Bootstrap, here's a quick and easy way to do it: | |
| Make sure your modal has an id: | |
| <div class="modal" id="myModal" ... > | |
| Then stick this bit of Javascript at at the end of your document: | |
| */ | |
| $(document).ready(function() { |
| <?php | |
| // From Marcel Pociot's tweet | |
| // See: https://twitter.com/marcelpociot/status/1389881758267625473 | |
| Str::macro('readDuration', function (... $text) { | |
| $totalWords = str_word_count(implode(' ', $text)); | |
| $minutesToRead = round($totalWords / 200); | |
| return (int) max(1, $minutesToRead); |
| const plugin = require("tailwindcss/plugin"); | |
| module.exports = { | |
| mode: "jit", | |
| purge: { | |
| content: ["./src/**/*.{js,ts,jsx,tsx,mdx,vue}"], | |
| }, | |
| theme: { extend: {} }, | |
| variants: {}, | |
| plugins: [ |
| spacing: { | |
| "13": '3.25rem', | |
| "15": '3.75rem', | |
| "17": '4.25rem', | |
| "18": '4.5rem', | |
| "19": '4.75rem', | |
| "76": "19rem", | |
| "84": "21rem", | |
| "88": "22rem", | |
| "92": "23rem", |
| import React from 'react'; | |
| import { CookieConsentProvider } from './CookieConsent' | |
| import Page from './Page' | |
| function App() { | |
| return ( | |
| <CookieConsentProvider> | |
| <div className="App"> | |
| <Page /> | |
| </div> |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| opendb () { | |
| [ ! -f .env ] && { echo "No .env file found."; exit 1; } | |
| DB_CONNECTION=$(grep DB_CONNECTION .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
| DB_HOST=$(grep DB_HOST .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
| DB_PORT=$(grep DB_PORT .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
| DB_DATABASE=$(grep DB_DATABASE .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
| DB_USERNAME=$(grep DB_USERNAME .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) | |
| DB_PASSWORD=$(grep DB_PASSWORD .env | grep -v -e '^\s*#' | cut -d '=' -f 2-) |
| /* Apply a default duration to all .transition classes */ | |
| [class*="transition"] { | |
| @apply duration-300; | |
| } | |
| /* Default transition class must come _before_ utilities, | |
| so it can be overridden by any .duration-x utilities */ | |
| @tailwind utilities; |
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet |