Skip to content

Instantly share code, notes, and snippets.

View MrHallows's full-sized avatar
🎯
Still waiting for my fellow Americans to wake the fuck up before it's too late.

MrHallows MrHallows

🎯
Still waiting for my fellow Americans to wake the fuck up before it's too late.
View GitHub Profile
.css-selector {
    background: linear-gradient(10deg, #246655, #15157e);
    background-size: 400% 400%;
    -webkit-animation: AnimationName 32s ease infinite;
    -moz-animation: AnimationName 32s ease infinite;
    -o-animation: AnimationName 32s ease infinite;
    animation: AnimationName 32s ease infinite;
}
@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
@ypadd
ypadd / index.html
Created November 13, 2020 09:25
[HTML 5 Template] #Template
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The HTML5 Herald</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="SitePoint">
@rydmike
rydmike / analysis_options.yaml
Last active June 3, 2024 22:02
RydMike lints v2.2.0 - Personal preferences and starting point for Dart & Flutter linter rules setup.
# RydMike LINTER Preferences v2.2.0
#
# Get this file here: https://gist.github.com/rydmike/fdb53ddd933c37d20e6f3188a936cd4c
#
# We include and activate all lint rules, later below we disable the not used or desired ones.
# You can find a list of all lint rules to put in your all_lint_rules.yaml file here:
# https://dart.dev/tools/linter-rules/all
#
# For a comparison of all lint rules settings in rule styles listed below, please see this Google
# sheet: https://docs.google.com/spreadsheets/d/1Nc1gFjmCOMubWZD7f2E4fLhWN7LYaOE__tsA7bf2NjA
@FilledStacks
FilledStacks / stacked_snippets.json
Last active January 2, 2024 04:09
Flutter / Stacked snippets for productivity
{
"Freezed model": {
"prefix": "frz",
"body": [
"@freezed",
"class ${1:${TM_FILENAME_BASE/(.*)/${1:/pascalcase}/g}} with _$${1} {",
" factory ${1}({",
" required ${2:String id},",
" }) = _${1};",
"}"
@edujustin-hphk
edujustin-hphk / movies.json
Last active November 19, 2021 00:15
movies.json
[
{
"id": 1,
"user_rating": 6.0,
"title": "구니스",
"description": "은행에 잡힌 저당으로 인해 곧 철거될 한 변두리 동네에서 아이들이 보물지도 한 장을 찾아낸다. 이 지도가 17세기 중엽 영국 해군과 싸우다 패하여 해저동굴에 숨어들어갔다는 '애꾸눈 윌리'가 보물을 숨겨둔 장소를 나타낸 것임을 알고 아이들은 모험을 시작한다. 해저 동굴의 입구인 등대 식당에서 위조지폐를 만드는 악당들에게 심한 곤욕을 치른 후 탈출한 아이들은 식당 지하실부터 해저 동굴로 들어가 한없는 통로를 헤쳐 나간다. 마침내 지도가 표시한 지점에 당도하여 보물을 손에 넣게 되지만 아이들은 악당들에게 잡혀 손에 들었던 금은 보화는 내동뎅이친 채 탈출하는데...",
"poster_url": "https://image.tmdb.org/t/p/original/59Ly6wCMf6KOjNdw9mY0ikblSm6.jpg",
"backdrop_url": "https://image.tmdb.org/t/p/original/zR9lAU4j6RXxPd1nuNtt1REkTYG.jpg"
},
{
@viveky259259
viveky259259 / theme.dart
Created May 19, 2020 20:46
Theme part 3
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
ThemeData lightTheme = ThemeData(
brightness: Brightness.light,
visualDensity: VisualDensity(vertical: 0.5, horizontal: 0.5),
primarySwatch: MaterialColor(
0xFFF5E0C3,
<int, Color>{
50: Color(0x1aF5E0C3),
@viveky259259
viveky259259 / theme.dart
Created May 17, 2020 08:12
Theme in flutter 2
import 'package:flutter/material.dart';
ThemeData lightTheme = ThemeData(
brightness: Brightness.light,
visualDensity: VisualDensity(vertical: 0.5, horizontal: 0.5),
primarySwatch: MaterialColor(
0xFFF5E0C3,
<int, Color>{
50: Color(0x1aF5E0C3),
100: Color(0xa1F5E0C3),
@viveky259259
viveky259259 / splashScreen.dart
Created May 14, 2020 05:12
Flutter x Adobe XD plugin example
import 'package:flutter/material.dart';
import 'dart:ui' as ui;
import 'package:flutter_svg/flutter_svg.dart';
class ScreenWelcome extends StatelessWidget {
ScreenWelcome({
Key key,
}) : super(key: key);
@override
Widget build(BuildContext context) {
import 'package:flutter/material.dart';
ThemeData lightTheme = ThemeData(
brightness: Brightness.light,
visualDensity: VisualDensity(vertical: 0.5, horizontal: 0.5),
primarySwatch: MaterialColor(
0xFFF5E0C3,
<int, Color>{
50: Color(0x1aF5E0C3),
100: Color(0xa1F5E0C3),
ThemeData({
Brightness brightness,
MaterialColor primarySwatch,
Color primaryColor,
Brightness primaryColorBrightness,
Color primaryColorLight,
Color primaryColorDark,
Color accentColor,
Brightness accentColorBrightness,
Color canvasColor,