Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="utf-8"?>
<vector android:height="48.0dip" android:width="48.0dip" android:viewportWidth="48.0" android:viewportHeight="48.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<group android:name="icon" android:translateX="24.0" android:translateY="24.0">
<group android:name="icon_pivot" android:translateX="-24.15" android:translateY="-24.25">
<group android:name="arrows" android:scaleX="0.9" android:scaleY="0.9" android:rotation="-221.0" android:translateX="24.1" android:translateY="24.1">
<group android:name="arrows_pivot" android:translateX="-24.1" android:translateY="-24.1">
<path android:name="arrow_top" android:fillColor="#ffffffff" android:pathData="M 33.1499938965,5.25 c 6.5,3.10000610352 11.1999969482,9.40000915527 11.8999938965,17.0 c 0.0,0.0 3.00001525879,0.0 3.00001525879,0.0 c -1.00001525879,-12.3000030518 -11.3000030518,-22.0 -23.9000091553,-22.0 c -0.399993896484,0.0 -0.899993896484,0.0 -1.30000
@moelle89
moelle89 / cloudSettings
Last active June 10, 2021 22:24
WebGL particle head
{"lastUpload":"2021-06-10T22:24:53.472Z","extensionVersion":"v3.4.3"}
@moelle89
moelle89 / index.html
Created June 8, 2022 16:27
Slider RB
<!----- loading overlay ----->
<div class="loading-overlay">
<div class="loading__line loading__line-1"></div>
<div class="loading__line loading__line-2"></div>
</div>
<!----- main container ----->
<div class="container">
<!----- navbar ----->
@moelle89
moelle89 / bootstrap-masonry-gallery-using-imagesloaded-and-animate-css.markdown
Created September 5, 2022 11:27
Bootstrap Masonry Gallery using ImagesLoaded and Animate.css
@moelle89
moelle89 / index.html
Created September 5, 2022 11:49
Unsplash search app
<html>
<head>
<title>Unsplash Photo Search App</title>
<link rel="stylesheet" href="main.css">
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap" rel="stylesheet">
</head>
<body>
<main>
<div class="container">
@moelle89
moelle89 / index.html
Created December 25, 2022 17:05
Lottie Test 1
<div class="container">
<div id="lottie"></div>
<div id="controls">
<h3>Animation control</h3>
<button onclick="animation.stop();">stop</button>
<button onclick="animation.play();">play</button>
<button onclick="animation.pause();">pause</button>
<button onclick="animation.setDirection(1);">forward</button>
<button onclick="animation.setDirection(-1);">reverse</button>
@moelle89
moelle89 / index.html
Created August 21, 2023 12:13
Learn GSAP text effect 01
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
<div class="container">
<p>The race for the presidency is usually decided in a small number of key battleground states that switch party allegiance between elections.</p>
</div>
@moelle89
moelle89 / askforname.jsx
Created January 10, 2024 15:05
ask for name
function askForName(type, duration) {
var ptext = 'Please enter a name for the template\n (without spaces, special characters, capital letters, or dashes):';
var name = showDialogWindow(ptext);
if (name) {
var isValid = /^[a-z0-9_]+$/.test(name);
if (isValid) {
var newName = type + name;
var worked = "";
if (type = "post_") { worked = createCompSet(name, type, duration) }
else { worked = renameCompositions(name, type)};
// Function to replace composition name
function findReplaceCompositionName(prefix, replaceStr) {
// Get the current project
var currentProject = app.project;
// Check if a project is open
if (currentProject) {
// Get all compositions in the project
var allComps = currentProject.rootFolder.items;