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
using UnityEngine; | |
using UnityEditor; | |
using System; | |
using System.Collections.Generic; | |
using System.Threading.Tasks; | |
using UnityEngine.Networking; | |
using System.IO; | |
// Get an api key at https://www.pixellab.ai/pixellab-api | |
// Documentation for curl and example code: https://api.pixellab.ai/v1/docs |
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
/////////////////////////////////////////////////////////////////////////////// | |
// ABOUT: A unity Shader .cginc to draw numbers in the fragment shader | |
// AUTHOR: Freya Holmér | |
// LICENSE: Use for whatever, commercial or otherwise! | |
// Don't hold me liable for issues though | |
// But pls credit me if it works super well <3 | |
// LIMITATIONS: There's some precision loss beyond 3 decimal places | |
// CONTRIBUTORS: yes please! if you know a more precise way to get | |
// decimal digits then pls lemme know! | |
// GetDecimalSymbolAt() could use some more love/precision |
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
// React Native | |
if (Linking.canOpenURL(myURL)) { | |
Linking.openURL(myURL); | |
} else { | |
// handle app not available | |
} |
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
/** | |
* Confirm Action | |
* | |
* Keep it Simple Sir | |
* | |
* @param message | |
*/ | |
export function Confirm(message: string) { | |
/** | |
* @param target é a classe, no nosso claso o componente ListaComponent |
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
find packages/**/src -name '*.tsx' -print | xargs jscodeshift -t ./codemod.js --parser=babel --extensions=tsx |
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
// run in DartPad: <https://dartpad.dev/c6a9111d58c3deb83711106cec6152ee> | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(MaterialApp(home: RectsExample())); | |
} | |
class RectsExample extends StatefulWidget { | |
@override |
In this php example (app/Http/Controllers/Auth/LoginController.php
) my model is called Client
and the custom field for login validation is status
. (Client->status
)
Add in your resources/lang/en/auth.php
file :
'failed_status' => 'Your account is inactive yet. Please confirm your e-mail address.',
NewerOlder