This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import React from "react"; | |
| import { View, StyleSheet, Animated, Easing, ViewStyle } from "react-native"; | |
| const BASE_COLORS = { | |
| dark: { primary: "rgb(17, 17, 17)", secondary: "rgb(51, 51, 51)" }, | |
| light: { | |
| primary: "rgb(250, 250, 250)", | |
| secondary: "rgb(205, 205, 205)", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Google Analytics Bypassing Adblockers | |
| ## Client | |
| change www.googletagmanager.com => your.domain.com | |
| ``` | |
| <!-- Global site tag (gtag.js) - Google Analytics --> | |
| <script async src="https://your.domain.com/gtag/js?id=UA-123456789-1"></script> | |
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import $ from 'jquery'; | |
| import plugin from './plugin'; | |
| class ScrollToTop { | |
| constructor(element, options) { | |
| const $element = $(element); | |
| $(window).scroll(function () { | |
| if ($(this).scrollTop() > options.offset) { | |
| $element.fadeIn(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 30 minutes Lisp in Ruby | |
| # Hong Minhee <http://dahlia.kr/> | |
| # | |
| # This Lisp implementation does not provide a s-expression reader. | |
| # Instead, it uses Ruby syntax like following code: | |
| # | |
| # [:def, :factorial, | |
| # [:lambda, [:n], | |
| # [:if, [:"=", :n, 1], | |
| # 1, |