Skip to content

Instantly share code, notes, and snippets.

@rsegecin
rsegecin / sshd_config
Created November 30, 2020 05:33
Ssh config file
Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
UsePrivilegeSeparation yes
KeyRegenerationInterval 3600
ServerKeyBits 1024
SyslogFacility AUTH
@rsegecin
rsegecin / main.dart
Created February 4, 2022 06:57
Firebase not running on web
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:funtestic/firebase_options.dart';
import 'package:google_sign_in/google_sign_in.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp(
@rsegecin
rsegecin / index.html
Last active October 4, 2024 21:33
Progress indicator for flutter web
<!DOCTYPE html>
<html>
<head>
<base href="$FLUTTER_BASE_HREF">
<meta charset="UTF-8">
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
<meta name="description"
content="ChampionsGoal is a dynamic social network dedicated to sports enthusiasts, where users can connect with fellow players, form teams, organize and join games, and find and reserve sports fields.">