This file contains hidden or 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 { Alert } from "react-native"; | |
import * as WebBrowser from "expo-web-browser"; | |
import { useSupabaseClient } from "@supabase/auth-helpers-react"; | |
import { initiateAppleSignIn } from "../utils/auth"; | |
export const useAuth = () => { | |
const Supabase = useSupabaseClient(); | |
const signInWithPassword = async ( |
This file contains hidden or 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
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS |
This file contains hidden or 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
.Person { | |
background-color: white; | |
color: #ccc; | |
} | |
.dir-rtl .Person { | |
font-family: someBetterRTLFont; | |
} | |
.dark-mode .Person { | |
background-color: black; |
This file contains hidden or 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
version: '3' | |
services: | |
app: | |
build: | |
context: . | |
dockerfile: .docker/Dockerfile | |
image: laravel-docker | |
ports: | |
- 8080:80 | |
volumes: |
This file contains hidden or 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
FROM php:7.2.11-apache | |
MAINTAINER Admin | |
WORKDIR /var/www/html/my_cms/ | |
COPY ./site/ /var/www/html/my_cms/site/ | |
COPY .docker/vhost.conf /etc/apache2/sites-available/000-default.conf | |
#not sure if sudo needed in container env |
This file contains hidden or 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
<VirtualHost *:80> | |
DocumentRoot /var/www/html/my_cms/public | |
<Directory "/var/www/html/my_cms/public"> | |
AllowOverride all | |
Options Indexes FollowSymLinks | |
Require all granted | |
</Directory> | |
ErrorLog ${APACHE_LOG_DIR}/error.log |
This file contains hidden or 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 /var/www/acurian/reward4good/releases/1/site/app/console cache:warmup --no-interaction --env=prod --no-debug | |
// Clearing the cache for the dev environment with debug true | |
[Symfony\Component\Config\Exception\FileLoaderLoadException] | |
Upload path not valid in /var/www/acurian/myapp/releases/1/site/app/config/. | |
(which is being imported from "/var/www/acurian/myapp/releases/1/site/app/config/routing.yml"). | |
This file contains hidden or 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
[28-Mar-2018 14:49:44 America/New_York] Error: Call to a member function getRequestTime() on null in /app/site/core/lib/Drupal/Core/Entity/ContentEntityForm.php on line 401 #0 /app/site/core/lib/Drupal/Core/Entity/ContentEntityForm.php(148): Drupal\Core\Entity\ContentEntityForm->updateChangedTime(Object(Drupal\app_messaging\Entity\AppMessage)) | |
#1 [internal function]: Drupal\Core\Entity\ContentEntityForm->submitForm(Array, Object(Drupal\Core\Form\FormState)) | |
#2 /app/site/core/lib/Drupal/Core/Form/FormSubmitter.php(111): call_user_func_array(Array, Array) | |
#3 /app/site/core/lib/Drupal/Core/Form/FormSubmitter.php(51): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object(Drupal\Core\Form\FormState)) | |
#4 /app/site/core/lib/Drupal/Core/Form/FormBuilder.php(585): Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object(Drupal\Core\Form\FormState)) | |
#5 /app/site/core/lib/Drupal/Core/Form/FormBuilder.php(314): Drupal\Core\Form\FormBuilder->processForm('app_message_add...', Array, Object(Drupal\Core\For |
This file contains hidden or 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
"require-dev": { | |
"fzaninotto/faker": "~1.4", | |
"krlove/eloquent-model-generator": "^1.2", | |
"mockery/mockery": "0.9.*", | |
"phpunit/phpunit": "~5.7", | |
"xethron/migrations-generator": "^2.0", | |
"orangehill/iseed": "dev-master" | |
}, |
This file contains hidden or 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
/sda1 (ntfs Windows), | |
/sda2 (fat32 Windows boot/esp drive), | |
/sda3 (that other special partition Windows creates labeled msftres). | |
/sda4 (linux /boot), | |
/sda6 (linux /home), | |
/sda7 (linux /) | |
/sda5 (linux swap space), |
NewerOlder