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 React from "react"; | |
import { View } from "react-native"; | |
import { AntDesign, Entypo, EvilIcons, Feather, FontAwesome, FontAwesome5, Foundation, Ionicons, MaterialCommunityIcons, MaterialIcons, Octicons, SimpleLineIcons, Zocial } from '@expo/vector-icons'; | |
export default class ExpoIconSelector extends React.Component { | |
render() { | |
return ( | |
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
<div class="col-md-4 col-xs-12"> | |
<div class="form-group" v-bind:class="{ 'has-error' : checkFieldError(pacchetto, 'nome') }"> | |
<label class="control-label">Nome</label> | |
<input type="text" class="form-control" v-model="pacchetto.nome" /> | |
<div class="help-block" v-html="textFieldError(pacchetto, 'nome')"></div> | |
</div> | |
</div> |
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 | |
namespace backend\controllers\api; | |
use Yii; | |
use yii\web\Controller; | |
class BaseController extends Controller | |
{ | |
protected function readStdIn() | |
{ |
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 | |
namespace console\controllers; | |
use Yii; | |
use yii\console\Controller; | |
class RbacController extends Controller | |
{ | |
private $auth; |
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
SELECT DISTINCT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME IN ('NOME_CAMPO') AND TABLE_SCHEMA='DATABASE_TEST' |
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 UIKit | |
import AVFoundation | |
class ViewController: UIViewController, AVCaptureFileOutputRecordingDelegate { | |
@IBOutlet weak var camPreview: UIView! | |
let cameraButton = UIView() |
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
override func viewDidLayoutSubviews() { | |
super.viewDidLayoutSubviews() | |
guard let headerView = tableView.tableHeaderView else { | |
return | |
} | |
// The table view header is created with the frame size set in | |
// the Storyboard. Calculate the new size and reset the header | |
// view to trigger the layout. |
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
1) Go to https://github.com/settings/tokens | |
2) Click "Generate new token" | |
3) Input token description e.g. "Sourcetree Mac Token", select "repo" checkbox, and click "Generate token" | |
4) Copy the generated token | |
5) Add your GitHub account to Sourcetree, but now rather than using OAuth, select Basic authentication | |
6) Input your username | |
7) Paste the generated token as passwor |
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
https://gearside.com/easily-link-to-locations-and-directions-using-the-new-google-maps/ |
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
https://accounts.google.com/DisplayUnlockCaptcha |