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 'dart:math'; | |
void main() { | |
for (int i = 0; i < 5; i++) { | |
print(e); | |
} | |
} |
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
void main() { | |
var name = 'ahmet'; | |
print(name); | |
name = 12; | |
print(name); | |
} |
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
create_numbered_directories() { | |
nameOfDirectories=$1 | |
indexOfLastFile=$2 | |
# Variable to hold the number of errors that may possibly occur | |
# while creating directories | |
numOfErrors=0 | |
for i in $(seq 1 $indexOfLastFile) | |
do | |
echo creating directory: $nameOfDirectories-$i | |
mkdir "$nameOfDirectories-$i" |
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
class MyHomePage extends StatelessWidget { | |
final personNextToMe = | |
"That reminds me about the time when I was ten and our neighbour, her name was Mrs. Mable, and she said..."; | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
body: Center( | |
child: Row( | |
mainAxisAlignment: MainAxisAlignment.center, |
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
/** | |
* Annotates an image. | |
* | |
* @param {AnnotateImageParams} params The params. | |
*/ | |
export async function annotateImage(params: AnnotateImageParams) { | |
const imageAnnotatorClient = new vision.ImageAnnotatorClient(); | |
const labelDetectionFeature = { | |
type: "LABEL_DETECTION", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 'package:flutter/services.dart'; | |
class NoLeadingZerosTextInputFormatter extends TextInputFormatter { | |
@override | |
TextEditingValue formatEditUpdate( | |
TextEditingValue oldValue, | |
TextEditingValue newValue, | |
) { | |
final newText = newValue.text; |
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 { FuseSDK } from '@fuseio/fusebox-web-sdk'; | |
import { Injectable } from '@nestjs/common'; | |
import { ConfigService } from '@nestjs/config'; | |
import { Signer, Wallet, utils } from 'ethers'; | |
import { ISendUserOperationResponse } from 'userop'; | |
@Injectable() | |
export class FuseboxService { | |
private fuseSDK: FuseSDK | null = null; |