@nixCraft it's a reaction trap to see who bites
A good sequence is man GCC e.g to learn some important switches of the compiler
Then documentation
I've done that with #golang the #go language by #Google
Literally scraping all commands of #Golang & tweeting them for myself while writing #code #snippets
My #IDE is #Linux #Bash with Golang on the #commandline
I often copy small, useful and fun #Golang code #snippets from project to project. That's why I created a separate #package with them only:
https://pkg.go.dev/source.toby3d.me/toby3d/hacks
These "hacks" have a deliberately experimental status: I refuse any guarantees of compatibility and semantic versioning. I strictly recommend you to just take and copy the utilities you need as close as possible to the project "as is" and modify them to suit yourself and your needs.
Have fun.
Google clarified that its search snippets primarily are generated using the page's content, not structured data https://www.seroundtable.com/google-search-result-snippets-generated-from-page-content-36673.html
If you need to export a Microsoft Access database while on macOS or Linux, this might do the trick:
1. `brew install mdbtools`
2. `pip install pandas_access`
3. In a Python session:
```python
file_name = ‘path_to_access_file.mdb’
for table in mdb.list_tables(file_name):
df = mdb.read_table(file_name, table)
df.to_excel(f'{file_name}-{table}.xlsx')
```
You're welcome! (Including myself in the future…)
See also https://gist.github.com/juandesant/e77b00bccf6cfda04abc3467e75f2531
I've updated the CSS style of my Pelican blog to increase the accessibility of code snippets in my articles
You can see it in action for example in this article
https://www.paulox.net/2021/07/19/maps-with-django-part-2-geodjango-postgis-and-leaflet/
#a11y #pelican #styles #code #blog #css #snippets #articles #accessibility
How can I best share #code #snippets on the #fediverse in a way that is also #accessible?
Provide a screenshot with the code as an alt text?
Provide the snippet as both a screenshot and on a snippet service and then mention in the alt text that the code can be read at the link?
Just rely on the markdown feature of glitch-soc and hope it's remotely readable in other software?
I could provide a link to a snippet service only, but I doubt many people will bother to actually click on that.
On GNOME, live coding during a presentation and need quick access to snippets? (e.g., that URL for something, etc.)
Check out the Copier GNOME extension. You set it up with the path of a directory where you have .txt files stores and it lets you select them from a system menu and copies the one you selected to the clipboard.
Simple. Beautiful. Love it! (Took me ages to find this.) )
First, here's the #shortStory that inspired the #novel I just finished writing.
https://crowkitchentales.wordpress.com/2022/12/13/tainted-vessel/
#fantasy #fiction #writing #snippets #blog
I have a writing blog, one I have had for years, but I recently gave it an overhaul.
It's got quite a few snippets of my older projects there, so here's a tour guide to it .
https://crowkitchentales.wordpress.com/
#fantasy #sci-fi #horror #paranormal #fiction #Prose #snippets #poetry #writing #blog #writersOfMastodon
Celebrating 11 years online for my #WordPress #code #snippets site, WP-Mix.com
400+ tutorials on WP, PHP, HTML, CSS, JavaScript, Apache/.htaccess, and more!
https://wp-mix.com/wp-mix-celebrates-11-years/
Example - framerate changer
My recipe for find and run component tools to work in the editor mode after starting all the game logic
> ERRA: EXORDIUM Under the hood <