This file contains 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 | |
function generateJediName($words = 2) | |
{ | |
$vowels = ['a', 'e', 'i', 'o', 'u']; | |
$parts = []; | |
for ($i = 0; $i < $words; $i++) { | |
$parts[$i] = chr(rand(65, 90)); // upper case | |
$wordLength = rand(4, 7); | |
for ($j = 0; $j < ($wordLength - 1); $j++) { |
This file contains 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
#!/usr/bin/env python3 | |
import json | |
file_path = '241584.json' | |
with open(file_path, 'r') as f: | |
data = json.loads(''.join(f.readlines())) | |
sbyc = data['data']['attributes']['signatures_by_country'] |
This file contains 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 this CSS either as a browser stylesheet or, if you run your own instance, as Site Custom CSS, to | |
* make images without alt-text obvious in your web interface. | |
* | |
* Hover over any obscured image to view it normally. | |
* | |
* Safari user stylesheet: Safari -> Settings -> Advanced Stylesheet | |
* Chrome / Firefox: see https://www.thoughtco.com/user-style-sheet-3469931 | |
* Mastodon (v4) admin: Preferences -> Administration -> Appearance -> Custom CSS | |
*/ |
OlderNewer