IF LINUX SERVER, CONFIGURE APACHE2/NGINX via APT COMMAND
LEMP INSTALLATION RESOURCE - https://www.howtoforge.com/tutorial/ubuntu-laravel-php-nginx/
RPM (RED HAT, FEDORA, CentOS), yum COMMAND
yum install php
import { mergeUniforms } from 'three/src/renderers/shaders/UniformsUtils.js' | |
import { UniformsLib } from 'three/src/renderers/shaders/UniformsLib.js' | |
export default { | |
uniforms: mergeUniforms([ | |
UniformsLib.lights, | |
UniformsLib.fog, | |
]), |
APP_ENV=ci | |
APP_KEY= | |
APP_DEBUG=true | |
APP_URL=https://localhost | |
LOG_CHANNEL=stack | |
DB_CONNECTION=mysql | |
DB_HOST=127.0.0.1 | |
DB_PORT=33306 |
IF LINUX SERVER, CONFIGURE APACHE2/NGINX via APT COMMAND
LEMP INSTALLATION RESOURCE - https://www.howtoforge.com/tutorial/ubuntu-laravel-php-nginx/
RPM (RED HAT, FEDORA, CentOS), yum COMMAND
yum install php
Code to accompany this post: https://finnian.io/blog/uploading-files-to-s3-react-native-ruby-on-rails/
Also thanks to @f-g-p for contributing some edits and the axios + expo example code below.
Go to: https://m.facebook.com/pages/launchpoint/liked_pages
Paste the following script into console (F12 -> console):
var unlike_all = ()=> {
[].slice.call(document.querySelectorAll('[data-sigil="action-title"')).filter(x=>x.innerText.indexOf('Unlike') !=-1).map(x=>{x.click()});
window.scrollTo(0,document.body.scrollHeight);
window.setTimeout(unlike_all, 3 * 1000)
import Bun from 'bun' | |
import { createYoga, YogaInitialContext, YogaServerInstance } from 'graphql-yoga' | |
import { makeHandler } from "graphql-ws/lib/use/bun"; | |
import { ExecutionArgs } from "@envelop/types"; | |
import { schema } from './graphql/schema'; | |
interface IUserContext { | |
token?: string; | |
} |
import i18next from "i18next"; | |
import { render } from "@react-email/render"; | |
import { | |
Head, | |
Html, | |
// ... | |
} from "@react-email/components"; |
{ | |
// Config for VsCode Tailwind CSS IntelliSense extension for React | |
// Type hints for className and class attributes | |
"tailwindCSS.classAttributes": [ | |
"class", | |
"className", | |
], | |
// Type hints for variables and properties ending with *className | |
"tailwindCSS.experimental.classRegex": [ |