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
| def largest_srcset_image(srcset) | |
| srcset.split(",") | |
| .map { |entry| entry.strip.split(/\s+/) } | |
| .max_by { |url, size| size.to_f }Expand commentComment on line R74Code has comments. Press enter to view. | |
| &.first | |
| end |
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 React, { useState, useEffect } from 'react'; | |
| import { StyleSheet, View, TouchableOpacity, ActivityIndicator, Alert, Linking } from 'react-native'; | |
| import { ThemedView } from '@/components/ThemedView'; | |
| import { ThemedText } from '@/components/ThemedText'; | |
| import { useSubscription } from '@/context/SubscriptionContext'; | |
| import { useStripe } from '@stripe/stripe-react-native'; | |
| import { getAuth } from 'firebase/auth'; | |
| import { STRIPE_CONFIG } from '@/config/stripe'; | |
| import Stripe from 'stripe'; |
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
| cd /Users/dalvin/Documents/JorgesJourney/assets/sounds/numbers && for f in *.wav; do mv "$f" "${f%.wav}.mp3"; done |
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 torch | |
| import torchaudio | |
| from transformers import SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan | |
| from datasets import load_dataset | |
| import json | |
| import os | |
| import soundfile as sf | |
| # Load TTS processor, model, and vocoder | |
| processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts") |
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
| admin account info" filetype:log | |
| !Host=*.* intext:enc_UserPassword=* ext:pcf | |
| "# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd | |
| "AutoCreate=TRUE password=*" | |
| "http://*:*@www” domainname | |
| "index of/" "ws_ftp.ini" "parent directory" | |
| "liveice configuration file" ext:cfg -site:sourceforge.net | |
| "parent directory" +proftpdpasswd | |
| Duclassified" -site:duware.com "DUware All Rights reserved" | |
| duclassmate" -site:duware.com |
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
| const Nightmare = require("nightmare"); | |
| const nightmare = Nightmare(); | |
| const clientSites = ["google.com", "pbs.org", "espn.com"]; | |
| var _prefix = "https://www."; | |
| (async () => { | |
| for (var i = 0; i < clientSites.length; i++) { | |
| const site = clientSites[i]; |
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
| //Get a relation | |
| const { user } = useMoralis(); | |
| const postObject = useNewMoralisObject('Property'); | |
| async function getPropeties() { | |
| const properties = user.relation('properties'); | |
| const results = await properties.query().find(); | |
| setProperty(results); |
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
| pragma solidity 0.6.6; | |
| pragma experimental ABIEncoderV2; | |
| // All thought this is highly convoluted, this was intented to save the names of hereos and their attributes | |
| // from my marvel vs capcom 2 api https://rapidapi.com/Josiassejod1-WNU9Fi2D8/api/marvel-vs-capcom-2/details | |
| contract CharacterStorage { | |
| mapping(address => Character[]) characters; | |
| struct Character { |
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 React from 'react'; | |
| import ImageSlide from './ImageSlide'; | |
| const images = [ | |
| { | |
| id: 1, | |
| url: "https://source.unsplash.com/random/200x200?sig=1" | |
| }, | |
| { | |
| id: 2, |
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
| alive = true | |
| growing = 🌱 | |
| while (alive) | |
| growing += 💧🌞 | |
| end |
NewerOlder