GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.
For more information, visit our search help section.
| const { withAppDelegate } = require("expo/config-plugins"); | |
| const { | |
| mergeContents, | |
| } = require("@expo/config-plugins/build/utils/generateCode"); | |
| const withExpoP3 = (config) => { | |
| return withAppDelegate(config, (config) => { | |
| if ( | |
| config.modResults.language === "objc" || | |
| config.modResults.language === "objcpp" |
| const { CI, PORT = 3000, VERCEL_ENV, NEXT_PUBLIC_VERCEL_ENV, VERCEL_URL, NEXT_PUBLIC_VERCEL_URL } = process.env; | |
| export const ENVIRONMENT = VERCEL_ENV || NEXT_PUBLIC_VERCEL_ENV; | |
| const baseDomainSource = CI ? VERCEL_URL : NEXT_PUBLIC_VERCEL_URL; | |
| const baseDomain = baseDomainSource; | |
| let BASE_URL: string; | |
| if (ENVIRONMENT === 'preview') { |
| import * as React from 'react'; | |
| const useIsFirstRender = (): boolean => { | |
| const isFirst = React.useRef(true); | |
| if (isFirst.current) { | |
| isFirst.current = false; | |
| return true; | |
| } else { |
GitHub’s search supports a variety of different operations. Here’s a quick cheat sheet for some of the common searches.
For more information, visit our search help section.
| :root { | |
| --ease-in-quad: cubic-bezier(.55, .085, .68, .53); | |
| --ease-in-cubic: cubic-bezier(.550, .055, .675, .19); | |
| --ease-in-quart: cubic-bezier(.895, .03, .685, .22); | |
| --ease-in-quint: cubic-bezier(.755, .05, .855, .06); | |
| --ease-in-expo: cubic-bezier(.95, .05, .795, .035); | |
| --ease-in-circ: cubic-bezier(.6, .04, .98, .335); | |
| --ease-out-quad: cubic-bezier(.25, .46, .45, .94); | |
| --ease-out-cubic: cubic-bezier(.215, .61, .355, 1); |
| # Download desktop-resolution wallpapers from http://psiupuxa.com/ | |
| # into the current directory. | |
| require 'nokogiri' | |
| require 'open-uri' | |
| require 'openssl' | |
| require 'uri' | |
| # Uncomment next line if you don't have the Ruby SSL cert bundle installed. | |
| OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE |
| # Author - Arjun Variar | |
| # Thanks to Ben for introducing me to fiftyfootshadows, Awesome Wallpapers!! | |
| #!/bin/sh | |
| if [[ -z "$TMP" ]] | |
| then | |
| TMP="/private/tmp" | |
| fi | |
| dir="$HOME/Wallpapers/fiftyfootshadows" |