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
| <?php | |
| return array ( | |
| 0 => 'a-arrow-down', | |
| 1 => 'a-arrow-up', | |
| 2 => 'a-large-small', | |
| 3 => 'accessibility', | |
| 4 => 'activity', | |
| 5 => 'air-vent', | |
| 6 => 'airplay', |
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 CryptoJS from 'crypto-js'; | |
| import SecureStorage from 'secure-web-storage'; | |
| export function getSecureStorage(){ | |
| let SECRET_KEY = import.meta.env.VITE_SECURE_STORAGE_KEY; | |
| let secureStorage = new SecureStorage(localStorage, { | |
| hash: function hash(key) { | |
| key = CryptoJS.SHA256(key, SECRET_KEY); | |
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
| <script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script> | |
| <script> | |
| window.dataLayer = window.dataLayer || []; | |
| function gtag(){dataLayer.push(arguments);} | |
| gtag('js', new Date()); | |
| gtag('config', 'G-XXXXXXXXXX'); | |
| </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
| <!-- | |
| HOW TO USE | |
| <marquee-slider :items="[1,2,3,4,5,6,7,8,9]" :width="'100vw'"/> | |
| --> | |
| <template> | |
| <div class="marquee flex flex-row overflow-hidden" :class="getClass"> | |
| <div class="marquee-content flex flex-row whitespace-nowrap" :style="getStyle()"> | |
| <template v-for="(item, index) in items" :key="index"> | |
| <span class="text-5xl w-[var(--marquee-element-width)] h-[var(--marquee-element-width)] flex shrink-0 justify-center items-center hover:bg-white/10 transition rounded-xl"> |
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
| .text-xs{ | |
| font-size: 0.75rem; | |
| line-height: 1rem; | |
| } | |
| .text-sm{ | |
| font-size: 0.875rem; | |
| line-height: 1.25rem; | |
| } | |
| .text-base{ | |
| font-size: 1rem; |
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
| .flex{ | |
| display: flex; | |
| } | |
| .flex-row{ | |
| display: flex; | |
| flex-direction: row; | |
| } | |
| .flex-rowrev{ | |
| display: flex; |
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
| async function unblur() { | |
| const teasers = await fetch("https://api.gotinder.com/v2/fast-match/teasers", { "headers": { "X-Auth-Token": localStorage.getItem('TinderWeb/APIToken') }}).then(res => res.json()).then(res => res.data.results); | |
| const teaserEls = document.querySelectorAll('.Expand.enterAnimationContainer > div:nth-child(1)'); | |
| for (let i = 0; i < teaserEls.length; ++i) { | |
| const teaser = teasers[i]; | |
| const teaserEl = teaserEls[i]; | |
| const teaserImage = teaser.user.photos[0].url; | |
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
| rem Spotify updater for those who cannot run from the appdata directories. | |
| rem This process downloads the initial installer, runs it, moves the "Full" installer it installs to a place | |
| rem from which we from which we can run it, then copies the Spotify program and other files that THAT installs | |
| rem to the directory from which we desire to run it. It deletes the installers it downloads as it goes. | |
| rem | |
| rem Do not delete the Spotify installation from the Appdata directory, as Spotify appears to need it to run properly. | |
| rem | |
| rem Hit "Cancel" to the "Error 53" that the installer encounters, and then "OK" to the "Spotify could not be started" message. These | |
| rem errors are expected, and indeed are why this process is necessary in the first place. |
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
| .m-0 { | |
| margin: 0 !important; | |
| } | |
| .mt-0, | |
| .my-0 { | |
| margin-top: 0 !important; | |
| } | |
| .mr-0, |
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 sqlite3 | |
| from TP2Functions import * | |
| from os import system, name | |
| from time import sleep | |
| class bcolors: | |
| HEADER = '\033[95m' | |
| OKBLUE = '\033[94m' | |
| OKGREEN = '\033[92m' | |
| WARNING = '\033[93m' |
NewerOlder