pastebin

197 line limit


(do not change)

1748846543

1	asldkmsamdsadsa

1748352792

1	This is pasted text

1748307601

1	ls

1747746651

1	
2					d='/'
3		
4				if(test -f $sitedir$d/index.md){
5		
6					$formatter $sitedir$d/index.md
7		
8					echo '<ul class=

1746538071

1	fn dir_listing_handler {
2		d=`{basename -d $1}
3		if(~ $#d 0)
4		d='/'
5		echo $d
6	#       echo $d | sed 's,.*,<h1>&</h1><a href=../>⏎</a><br>,'
7		feet=`{ls $sitedir$d | sed $dirfilter}
8		echo '<table><tr><th>Name</th><th>Total Files</th><th>Size</th><th>Date</th></tr>'
9		for(item in $feet){
10			dir=`{echo $item | sed 's:.*/::'}
11			dir1=`{fdfind . $item -t d | wc -l }
12			dir2=`{fdfind . $item -t f | wc -l }
13			dir3=`{du2 -sh $item | cut -f1}
14			date3=`{date2 -r $item +%m-%Y}
15			if(test -d $item){
16					echo -n '<tr><td>����️ <a href='$"dir'>'$"dir'</a></td><td>���� '$"dir2' | ����️'$"dir1'</td><td>'$"dir3'</td><td>'$"date3'</td></tr>'
17			}
18			if not{
19					file=`{echo $item | sed $dirclean's:.*/::' }
20					echo '<tr><td>���� <a href='$"file'>'$"file'</a></td><td></td><td>'$"dir3'</td><td>'$"date3'</td></tr>'
21			}
22		}
23		echo '</table>'
24	}
25	

1746313761

1	
2	
3	WAAAAAAAAAAA
4	                 __
5	     \          /  )     
6	      \        /' /    __ 
7	        _.----'-./  _-"  )
8	      -"         "v"  _-' 
9	    ."             'Y"    
10	   |                |     
11	   | o     o        |     
12	   |  .><.          |     
13	   |  "Ll"         /      
14	   '.             |       
15	    |             |       
16	    \             )       
17	    / .          /'\      *
18	    '-(_/,__.--^--"  *      * 
19	                   *     *        *

1746291474

1	af

1746176020

1	fn dir_listing_handler {
2	
3			d=`{basename -d $1}
4	
5			if(~ $#d 0)
6	
7				d='/'
8	
9			if(test -f $sitedir$d/index.md){
10	
11				$formatter $sitedir$d/index.md
12	
13				echo '<ul class="dir-list">'

1745974642


1745974540

1	Create flexible and persistent block storage volumes you can mount to your virtual machines, so you can scale up storage independently of your compute, and ensure data resiliency. Use volumes just like physical disks for expandable file systems, databases, logs, backups, and more.

1745624392

1	#!/bin/sh
2	
3	search_text="$( { xclip -o || xclip -o -selection clipboard; } | tr '[:upper:]' '[:lower:]')"
4	
5	readonly search_text
6	
7	search() {
8	    "$BROWSER" "https://google.com/search?q=$*"
9	}
10	
11	wiki() {
12		"$BROWSER" "https://en.wikipedia.org/wiki/$*"
13	}
14	
15	mal() {
16		"$BROWSER" "https://myanimelist.net/search/all?q=$*"
17	}
18	
19	yab() {
20		"$BROWSER" "https://chinese.yabla.com/chinese-english-pinyin-dictionary.php?define=$*"
21	}
22	
23	yb() {
24		"$BROWSER" "https://yellowbridge.com/chinese/sentsearch.php?word=$*"
25	}
26	
27	web() {
28	    "$BROWSER" "$@"
29	}
30	
31	ety() {
32	    "$BROWSER" "https://en.wiktionary.org/wiki/$*"
33	}
34	
35	yt() {
36		"$BROWSER" "https://www.youtube.com/results?search_query=$*"
37	}
38	
39	__ask_action() {
40	    declare -F | awk '!/ __.+$/ {gsub("_", " ", $3); print $3}' |
41	        dmenu -p "Send ${search_text:0:30} to?" -i -l 50
42	}
43	
44	__main() {
45	    if [ -n "${func:=$(__ask_action)}" ]; then
46	        "${func// /_}" "$search_text"
47	    fi
48	}
49	
50	__main

1745105040

1	All characters and events in this show --even those based on real people-- are entirely fictional. All celebrity voices are impersonated ... poorly. The following program contains coarse language and due to its content it should not be viewed by anyone

1745104318

1	
2	fn nav_tree {
3	#    if(! ~ $#sideBarNavTitle 0)
4	#        echo '<p class="sideBarTitle">'$"sideBarNavTitle':</p>'
5	    # Ignore stderr, last path element might be a file that doesn't exist (eg., foo for foo.md)
6	    # /./ to deal with p9p's ls failure to follow dir symlinks otherwise
7	    ls -F $sitedir/./$req_paths_list >[2]/dev/null \
8	        | { 
9	            sed $dirfilter'/\/[^_.\/][^\/]*(\.(md|tpl|txt|html)|\/)$/!d; s!^'$sitedir'!!; '$dirclean 
10	            if(! ~ $#synth_paths 0) echo $synth_paths | tr ' ' $NEW_LINE 
11	        } | sort -u | awk -F/ ' 
12	    function p(x, y, s) { for(i=0; i < x-y; i+=1) printf s }
13	    BEGIN { lNF=2; printf "<ul>" }
14	    { 
15	        d = ""
16	        if(match($0, "/$"))
17	            d = "/"
18	        sub("/$", "") # Strip trailing / for dirs so NF is consistent 
19	        p(NF, lNF, "<ul>")
20	        p(lNF, NF, "</ul>")
21	        lNF = NF
22	        bname = $NF d
23	        path = $0 d
24	        gsub(/[\-_]/, " ", bname)
25	        # To avoid false matches add trailing / even for plain files to act as delimiter
26	        pa = path
27	        gsub(/[^\/]$/, "&/", pa) 
28	        if(index(ENVIRON["req_path"] "/", pa) == 1)
29	            printf "<li><a href="path" class=thisPage>&raquo; "bname"</a>"
30	        else 
31	            printf "<li><a href="path">"bname"</a>"
32	    }
33	    END { p(lNF, 2, "</ul>"); printf "</ul>" }'
34	}
35