Skip to content

Instantly share code, notes, and snippets.

View cranberry3148's full-sized avatar
:shipit:
It's not a bug, it's a feature.

Cranberry cranberry3148

:shipit:
It's not a bug, it's a feature.
  • Behind you ┴┬┴┤( ͡° ͜ʖ├┬┴┬
View GitHub Profile
Shader "Unlit/PolyRhythmVisualizer" {
Properties {
_TimeCode ("Input Time", Float) = 0
_OuterRingFreq ("Outer Ring Frequency", Float) = 1
_InnerRingFreq ("Inner Ring Frequency", Float) = 0.922
_RingCount ("Ring Count", Int) = 35
_VibrantFreq ("Vibrant Frequency", Float) = 2
_Vibrant ("Vibrant", Range(0, 1)) = 0.5
_Decay ("Decay", Range(0, 10)) = 2
[Header(Cosine Gradiant)]

DDevs Event - 28/01/2022

App discovery

  • Go to the dev portal
  • Add tags to your bot!
  • You need to complete this to be in app discovery.

Update

@dev-hydrogen
dev-hydrogen / Easing.java
Last active September 5, 2024 23:22
Various Easings in java
import java.util.function.Function;
import static java.lang.Math.*;
// https://easings.net/
// https://gist.github.com/dev-hydrogen/21a66f83f0386123e0c0acf107254843
public enum Easing {
easeInSine(x -> 1 - cos(x * PI) / 2),
easeOutSine(x -> sin(x * PI) / 2),
easeInOutSine(x -> -(cos(PI * x) - 1) / 2),
@keilmillerjr
keilmillerjr / convert_manjaro_to_arch_linux.md
Last active May 23, 2024 17:09
Convert Manjaro to Arch Linux

Convert Manjaro to Arch Linux

Conversion Script

  1. Download, make, and run script.
$ git clone https://github.com/kskeigrshi/manjaro-to-archlinux.sh
$ cd manjaro-to-archlinux.sh
$ makepkg
$ ./to_arch
@skyrising
skyrising / mojang-meta-urls.md
Last active August 10, 2024 13:35
Mojang Meta URLs
@nerrixde
nerrixde / vpn.md
Last active April 30, 2024 19:23 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active September 20, 2024 19:47 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export to tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.