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
| javascript:q=location.href;p=document.title;void(t=open('https://pinboard.in/add?later=yes&noui=yes&jump=close&url='+encodeURIComponent(q)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=100,height=100'));t.blur(); |
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
| pip install easyocr | |
| Then create ocr.py | |
| import easyocr | |
| reader = easyocr.Reader(['en']) # supports many languages | |
| result = reader.readtext('page1.webp', detail=0) | |
| print("\n".join(result)) | |
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
| javascript:void%20function(){var%20a=Math.min,b=Math.max;const%20c=b(document.documentElement.clientWidth||0,window.innerWidth||0),d=b(document.documentElement.clientHeight||0,window.innerHeight||0),e=a(c,900),f=a(d,1000);var%20g=window.location.href,h=document.title,i=%22%22;document.getSelection()%26%26(i=document.getSelection()),newUrl=`https://www.downes.ca/cgi-bin/api.cgi%3Fcmd=edit%26id=new%26table=post%26hub=yes%26url=${g}%26quote=${i}`,window.open(newUrl,%22%22,%22width=%22+e+%22,%20height=%22+f)}(); |
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
| javascript:( | |
| function(){ | |
| var divsToHide = document.getElementsByClassName('status-card__actions'); | |
| for(var i = 0; i < divsToHide.length; i++){ | |
| divsToHide[i].style.display = "none"; | |
| } | |
| } | |
| ) | |
| () |
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
| #!/bin/bash | |
| # This script was originally used for create virtual hosts on CentOs. | |
| # Created by alexnogard from http://alexnogard.com | |
| # Improved by mattmezza from http://you.canmakethat.com | |
| # Adapted for Apache2 on Ubuntu by Stephen Downes at https://www.downes.ca | |
| # Feel free to modify it | |
| # PARAMETERS | |
| # | |
| # $usr - User | |
| # $dir - directory of web files |
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
| <date time=now;format=nice> |
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
| <st_name> |
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
| <box box_title> |
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
| [*page_title*] |
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
| [*table_field*] |
NewerOlder