Archive for the ‘Software Development’ Category
Posted by jpluimers on 2023/08/18
Hoping I can still use the Twitter API to perform thousands of requests: [Wayback/Archive] Burninator Sec: Twitter Removed the Blocked Account Export – Let’s Put it Back!
I dug around in the Data Archive and eventually found block.js, which is a JSON object of all the blocked accounts in their ideas. From there you can write a quick Python script to use the Twitter API to resolve all of those IDs to usernames.
Related: [Wayback/Archive] How to download your Twitter archive and Tweets | Twitter Help.
Via [Wayback/Archive] twitter export blocklist – Google Search and
Read the rest of this entry »
Posted in Development, Python, Scripting, SocialMedia, Software Development, Twitter | Leave a Comment »
Posted by jpluimers on 2023/08/17
A while ago I wrote about Figuring out the open network connections for processes ran by python, which explained the TL;DR:
pidof python | tr " " "\n" | xargs -r -n 1 lsof -i -a -e /run/user/1001/gvfs -p
Now I needed thread information as well, so below two examples using ps and pstree. I won’t explain the pidof and xargs stuff here as that was already covered in the above blog-post and I found out that ps already has a built-in way to filter on process name.
The ps solution uses the H, -L or -T argument to show the threads:
Read the rest of this entry »
Posted in *nix, *nix-tools, bash, Development, lsof, Power User, ps, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2023/08/16
Cool that Amnesty International can do a YouTube [Wayback/Archive] Extract Meta Data (Amnesty International).
Via:
I wonder if I can write a Bookmarklet for this (it will likely require an HTTP POST request).
–jeroen
Posted in Development, HTML, JavaScript/ECMAScript, LifeHacker, Power User, Privacy, Scripting, SocialMedia, Software Development, Web Development, YouTube | Leave a Comment »
Posted by jpluimers on 2023/08/15
This is a follow-up to Bookmarklets for Archive.is and the WayBack Machine to go to the original page.
Archive.is has two kinds of URLs:
- The encoded version is the short form without any meta-information,
- The canonical version is a long form and has metadata about Archive date and time, and the Archived URL,
You get the first URL both after archiving and when browsing from an archived page to another archived page (if it is not archived you will go the unarchived full page URL).
Read the rest of this entry »
Posted in archive.is / archive.today, Development, Internet, InternetArchive, JavaScript/ECMAScript, Power User, Scripting, Software Development, WayBack machine | Leave a Comment »
Posted by jpluimers on 2023/08/10
Yesterday, I wrote about Learn to program the gradual way: Welcome to Hedy! and today is the next installment: about numerals.
[Archive] /Fay-lee-nuh/ (@Felienne) | Twitter kind of by surprise discovered that the ten numerical digits of the decimal numeral system used in virtually all programming languages are not the original Arabic forms.
Supporting other forms of decimal numerals will help learning to program when your background is non-English or even using ten systems outside the Arabic numeral realm so common in Latin alphabets. And they are a fun learning exercise for every body too!
Some of the related Tweets on this:
Some more related Wikipedia links:
In the Unicode pages, look for “numeral”, “number”, and “numeric” (or just for “num”).
–jeroen
Posted in Development, Hedy, Learning/Teaching, LifeHacker, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2023/08/09
Cool way to learn programming in a gradual way which works adults just as well as for kids: [Wayback/Archive] Felienne/hedy
Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
[Wayback/Archive] Welcome to Hedy! – hedycode.com
Read the rest of this entry »
Posted in Development, Hedy, Interactive Tutorials, Learning/Teaching, LifeHacker, Power User, Scripting, Software Development | Leave a Comment »
Posted by jpluimers on 2023/08/08
Via Jan Gentleman, I learned
- about the Ctrl+⇧ Shift+⊞ Win+B shortcut on Windows 10 and 11 that restarts starts video driver
- that documentation is in [Wayback/Archive] Troubleshoot black screen or blank screen errors as
Action 1: Try a Windows Key sequence to wake the screen.
If you’re using a device with a keyboard connected to it, select Windows logo key + Ctrl + Shift + B. If you’re in tablet mode, press the volume-up and volume-down buttons simultaneously three times within two seconds. If Windows is responsive, a short beep will sound and the screen will blink or dim while Windows attempts to refresh the screen.
Via:
Later I found out it also is in Table of keyboard shortcuts – Wikipedia: General shortcuts
| Restart Video Driver |
Windows 10: Ctrl+⇧ Shift+⊞ Win+B[2][3] |
Also I learned how people order the modifier keys is varying.
–jeroen
Posted in .NET, Development, Power User, Software Development, Visual Studio and tools, Windows, Windows 10, Windows 11 | Leave a Comment »
Posted by jpluimers on 2023/08/02
For my link archive, the table of contents of [Wayback/Archive/Archive] Searching code – GitHub Docs:
Limitations apply:
Due to the complexity of searching code, there are some restrictions on how searches are performed:
- You must be signed into a user account on GitHub to search for code across all public repositories.
- Code in forks is only searchable if the fork has more stars than the parent repository. Forks with fewer stars than the parent repository are not indexed for code search. To include forks with more stars than their parent in the search results, you will need to add
fork:true or fork:only to your query. For more information, see “Searching in forks.”
- Only the default branch is indexed for code search.
- Only files smaller than 384 KB are searchable.
- Only repositories with fewer than 500,000 files are searchable.
- Only repositories that have had activity or have been returned in search results in the last year are searchable.
- Except with
filename searches, you must always include at least one search term when searching source code. For example, searching for language:javascript is not valid, while amazing language:javascript is.
- At most, search results can show two fragments from the same file, but there may be more results within the file.
- You can’t use the following wildcard characters as part of your search query:
. , : ; / \ ` ' " = * ! ? # $ & + ^ | ~ < > ( ) { } [ ] @. The search will simply ignore these symbols.
There is a truckload of languages supported, though the yaml format of the list is not really human readable: [Wayback/Archive] linguist/languages.yml at master · github/linguist
I’ll try this and see if it works better than Google Search.
Via:
–jeroen
Posted in Development, DVCS - Distributed Version Control, GitHub, Google, GoogleSearch, Power User, Software Development, Source Code Management | Leave a Comment »
Posted by jpluimers on 2023/08/01
I am a keyboard user, so I love keyboard shortcuts. If these are unavailable, still do it by keyboard quicker than by mouse.
Based on various answers and comments in [Wayback/Archive] Shortcut to open specific bookmark / URL in Chrome – Super User my way to open Chrome bookmarks (from my vast collection) is this:
- Move focus to the url bar with ⌘+L (macOS) or Ctrl+L (Windows/Linux).
- Type the first part of the bookmark name.
- Press navigation keys to select the bookmark.
- Press enter to select the bookmark.
Thanks to these Super User users:
Via [Wayback/Archive] chrome hotkey for bookmark bar – Google Search
–jeroen
Posted in Bookmarklet, Chrome, Development, Google, Power User, Software Development, Web Browsers | Leave a Comment »