Skip to content

Instantly share code, notes, and snippets.

Avatar
:shipit:
Hanging out at localhost

Yunus Emre Dilber yunusemredilber

:shipit:
Hanging out at localhost
View GitHub Profile
@matteocrippa
matteocrippa / flutter.md
Last active Apr 26, 2021
Flutter Cheatsheet
View flutter.md

Flutter

A quick cheatsheet of useful snippet for Flutter

Widget

A widget is the basic type of controller in Flutter Material. There are two type of basic Widget we can extend our classes: StatefulWidget or StatelessWidget.

Stateful

StatefulWidget are all the widget that interally have a dynamic value that can change during usage. It can receive an input value in the constructor or reference to functions. You need to create two classes like:

@jeroenr
jeroenr / Gemfile
Created Jul 19, 2012
Make will_paginate generate ajax links
View Gemfile
source 'https://rubygems.org'
gem 'rails', '3.2.3'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
@paracycle
paracycle / rails_admin.tr.yml
Created Jun 7, 2012
Rails Admin Turkish translation
View rails_admin.tr.yml
tr:
admin:
home:
name: "Anasayfa"
pagination:
previous: "« Önceki"
next: "Sonraki »"
truncate: ""
misc:
filter_date_format: "dd/mm/yy" # a combination of 'dd', 'mm' and 'yy' with any delimiter. No other interpolation will be done!
@cihad
cihad / devise.tr.yml
Last active Feb 25, 2020
Turkish translations for Devise
View devise.tr.yml
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
tr:
devise:
confirmations:
confirmed: "Eposta adresiniz başırılı bir şekilde onaylandı."
send_instructions: "Bir kaç dakika içerisinde eposta adresinizi nasıl onaylayacağınız hakkında bir eposta alacaksınız."
send_paranoid_instructions: "Eğer eposta adresinizi veritabanımızda kayıtlı ise bir kaç dakika içerisinde eposta adresinizi nasıl onaylayacağınız hakkında bir eposta alacaksınız."
failure:
already_authenticated: "Zaten giriş yaptınız."