Skip to content

Instantly share code, notes, and snippets.

Avatar

Sarsa Murmu sarsamurmu

View GitHub Profile
@sarsamurmu
sarsamurmu / index.html
Created Nov 5, 2020
Lit CSS Plugin Snippet for Reboost JS
View index.html
<html>
<head>
<script type="module" src="./build.js"></script>
</head>
<body>
<my-element></my-element>
</body>
</html>
View krypton_wallpapers.json
[
{
"name": "City Sight",
"author": "Marvin Ronsdorf",
"collections": "Random",
"url": "https://raw.githubusercontent.com/sarsamurmu/minmax/Wallpapers/city-sight-marvin-ronsdorf.webp",
"thumb": "https://raw.githubusercontent.com/sarsamurmu/minmax/Wallpapers/t/city-sight-marvin-ronsdorf.png",
"downloadable": true
},
{
View custom_ink_splash.dart
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:math' as math;
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
// For testing
View hamburger-menu-animations.markdown
View drawable.xml
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<version>1 </version>
<category title="System" />
<item drawable="audio_fx" />
<item drawable="browser" />
<item drawable="browser_2" />
<item drawable="calculator" />
<item drawable="calculator_2" />
<item drawable="camera_los" />
View appfilter.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Dynamic Clock -->
<dynamic-clock drawable="my_clock"
hourLayerIndex="0"
minuteLayerIndex="1"
secondLayerIndex="2"
defaultHour="10"
defaultMinute="10"
defaultSecond="30"/>
View clock.xml
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/clock_background"/>
<foreground>
<layer-list>
<item>
<rotate android:drawable="@drawable/clock_hour" android:fromDegrees="300.0" android:toDegrees="5300.0" android:pivotX="50.0%" android:pivotY="50.0%"/>
</item>
<item>
View drawable.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item drawable="sample"/>
</resources>
View appfilter.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item component="ComponentInfo{}" drawable="sample"/>
</resources>
View my_icon.xml
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/my_icon_background"/>
<foreground android:drawable="@drawable/my_icon_foreground"/>
</adaptive-icon>