mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-03-06 19:57:49 +01:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
parent
3bfcda6d8f
commit
83d4d57ccd
10
Wiki-OcttKB/tiddlers/Normal/_GIF.tid
Normal file
10
Wiki-OcttKB/tiddlers/Normal/_GIF.tid
Normal file
@ -0,0 +1,10 @@
|
||||
created: 20240107013040620
|
||||
creator: Octt
|
||||
modified: 20240107013413537
|
||||
modifier: Octt
|
||||
tags: Image
|
||||
title: GIF
|
||||
|
||||
<<^WikipediaFrame "GIF">>
|
||||
|
||||
* [[Gifski|https://gif.ski/]] -- //Highest-quality GIF encoder. GIF encoder based on libimagequant (pngquant). Squeezes maximum possible quality from the awful GIF format.// --- <<[# Git"https://github.com/ImageOptim/gifski/">>
|
@ -1,6 +1,6 @@
|
||||
created: 20221110145611678
|
||||
creator: Octt
|
||||
modified: 20240103005618220
|
||||
modified: 20240107012957516
|
||||
modifier: Octt
|
||||
tags: Development $:/i18n:en Web
|
||||
title: JavaScript
|
||||
@ -29,9 +29,13 @@ title: JavaScript
|
||||
* [[Does JavaScript have a method like "range()" to generate a range within the supplied bounds?|https://stackoverflow.com/questions/3895478/does-javascript-have-a-method-like-range-to-generate-a-range-within-the-supp]] --- `[...Array(5).keys()]`
|
||||
* [[Listen for triple clicks in JavaScript|https://stackoverflow.com/questions/6480060/how-do-i-listen-for-triple-clicks-in-javascript#6480113]]
|
||||
* [[Fastest method to escape HTML tags as HTML entities?|https://stackoverflow.com/questions/5499078/fastest-method-to-escape-html-tags-as-html-entities]] --- in the browser, `(html) => { var escape = document.createElement('textarea'); escape.textContent = html; return escape.innerHTML; }`
|
||||
* [[Get a random item from a JavaScript array|https://stackoverflow.com/questions/5915096/get-a-random-item-from-a-javascript-array#5915122]] --- `item = items[Math.floor(Math.random() * items.length)];`
|
||||
* [[Get a random item from a JavaScript array|https://stackoverflow.com/questions/5915096/get-a-random-item-from-a-javascript-array#5915122]] : [[Getting a random value from a JavaScript array|https://stackoverflow.com/questions/4550505/getting-a-random-value-from-a-javascript-array]] --- `item = items[Math.floor(Math.random() * items.length)];`
|
||||
* [[Simplest code for array intersection in javascript|https://stackoverflow.com/questions/1885557/simplest-code-for-array-intersection-in-javascript#1885569]] --- `arrayNew = array1.filter(value => array2.includes(value));`
|
||||
* [[Why is 'for (... in ...)' with arrays considered bad practice in JavaScript?|https://stackoverflow.com/questions/2265167/why-is-forvar-item-in-list-with-arrays-considered-bad-practice-in-javascript]] --- use `for (... of ...)` instead
|
||||
* [[Why is 'for (... in ...)' with arrays considered bad practice in JavaScript?|https://stackoverflow.com/questions/2265167/why-is-forvar-item-in-list-with-arrays-considered-bad-practice-in-javascript]] --- use `for (... of ...)` to iterate for values, the `in` form should only be used to iterate over indices
|
||||
* [[Why is extending native objects a bad practice?|https://stackoverflow.com/questions/14034180/why-is-extending-native-objects-a-bad-practice]] --- it breaks everything for some objects.
|
||||
** see [[https://eslint.org/docs/latest/rules/no-extend-native]]
|
||||
* [[What does ~~ ("double tilde") do in Javascript?|https://stackoverflow.com/questions/4055633/what-does-double-tilde-do-in-javascript]] ; [[What is the "double tilde" (~~) operator in JavaScript? [duplicate]|https://stackoverflow.com/questions/5971645/what-is-the-double-tilde-operator-in-javascript]] --- double NOT logical operator, useful shorter and faster alternative to `Math.floor` for small numbers
|
||||
* [[How to convert uint8 Array to base64 Encoded String?|https://stackoverflow.com/questions/12710001/how-to-convert-uint8-array-to-base64-encoded-string/66046176#66046176]]
|
||||
|
||||
* [[How to get text from all descendents of an element (disregarding scripts)?|https://stackoverflow.com/questions/2532043/how-to-get-text-from-all-descendents-of-an-element-disregarding-scripts]]
|
||||
* [[Converting HTML string into DOM elements?|https://stackoverflow.com/questions/3103962/converting-html-string-into-dom-elements#3104237]] --- `doc = new DOMParser().parseFromString(htmlString, 'text/html')`
|
||||
@ -45,7 +49,7 @@ title: JavaScript
|
||||
* [[How do I upload a file with the JS fetch API?|https://stackoverflow.com/questions/36067767/how-do-i-upload-a-file-with-the-js-fetch-api#comment98412965_36082038]] --- pass the `file` object to the body, do NOT set Content-Type header
|
||||
* [[How to Use Fetch with async/await|https://dmitripavlutin.com/javascript-fetch-async-await/]]
|
||||
|
||||
* [[Array.prototype.splice()|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice]], [[JavaScript Array splice() (W3S)|https://www.w3schools.com/jsref/jsref_splice.asp]] --- //changes the contents of an array by removing or replacing existing elements and/or adding new elements in place//
|
||||
* [[Array.prototype.splice()|https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice]], [[JavaScript Array splice() (W3S)|https://www.w3schools.com/jsref/jsref_splice.asp]] --- //changes the contents of an array by removing or replacing existing elements and/or adding new elements in place//, useful alternative for a nonexistant remove function, with `.splice(index, amountToRemove)`
|
||||
* <<MDNLink Web/JavaScript/Reference/Global_Objects/Array/concat "Array.prototype.concat()">> --- //used to merge two or more arrays, does not change the existing arrays but instead returns a new one//
|
||||
* [[XMLHttpRequest|https://www.w3schools.com/xml/xml_http.asp]]
|
||||
** <<MDNLink Web/API/XMLHttpRequest/Synchronous_and_Asynchronous_Requests "Synchronous and asynchronous requests">>
|
||||
|
@ -1,6 +1,6 @@
|
||||
created: 20230202104823127
|
||||
creator: Octt
|
||||
modified: 20231223212338912
|
||||
modified: 20240107005726632
|
||||
modifier: Octt
|
||||
tags: Nintendo Gaming $:/i18n:en Console
|
||||
title: Nintendo Entertainment System
|
||||
@ -10,6 +10,7 @@ title: Nintendo Entertainment System
|
||||
!! ''Resources''
|
||||
|
||||
* <<YoutubeL bfJzJOQqsDk "Pushing The Limits of the NES: Amazing Hacks That Made NES Games Possible [Sharopolis]">>
|
||||
* <<YoutubeL qYDzL5hVzSM "INSANE HD Texture Packs For 8-Bit NES Games!">> (thanks to a Mesen feature)
|
||||
* [[NES (Famicom) Development Kit Hardware [Retro Reversing]|https://www.retroreversing.com/famicom-nes-development-kit/]]
|
||||
|
||||
* (Playlists of) [[Some NES Multicarts Music|https://www.youtube.com/playlist?list=PLP3KtH7oe6jVGoqvVgKldhrYn8q9pxx44]] ; [[NES/Famicom Multicarts Music Remake Video|https://www.youtube.com/playlist?list=PLP3KtH7oe6jUNno7Y2xjeTVIvTy9ig9Hp]]
|
||||
|
@ -1,7 +1,7 @@
|
||||
created: 20221110120605389
|
||||
creator: Octt
|
||||
icon: 🐍
|
||||
modified: 20231224173748386
|
||||
modified: 20240107012952755
|
||||
modifier: Octt
|
||||
page-cover: https://source.unsplash.com/random/?Python
|
||||
tags: Development
|
||||
@ -23,6 +23,9 @@ I hate that, while tab-indentation is practically supported by the interpreter,
|
||||
|
||||
!! How to and troubleshooting
|
||||
|
||||
* [[Get name of current script in Python|https://stackoverflow.com/questions/4152963/get-name-of-current-script-in-python#4152986]] --- `__file__`
|
||||
* [[How to retrieve a module's path?|https://stackoverflow.com/questions/247770/how-to-retrieve-a-modules-path#248862]] --- `import module; print(module.__file__)`
|
||||
|
||||
Text:
|
||||
|
||||
* [[Hex string to int|https://www.tutorialspoint.com/How-to-convert-hex-string-into-int-in-Python]] --- `int('6f637474', 16)`, `int('0x6f637474', 10)`
|
||||
|
@ -1,13 +1,18 @@
|
||||
created: 20230206204937437
|
||||
creator: Octt
|
||||
modified: 20231227011519132
|
||||
modified: 20240107005514984
|
||||
modifier: Octt
|
||||
tags:
|
||||
title: Telegram
|
||||
|
||||
<<^wikipediaframe Telegram_(software) en>>
|
||||
|
||||
* <<httpsL Telegram.org>>
|
||||
* <<httpsL Telegram.org>> (official site domain) --- there are actually a lot of other domains:
|
||||
** <<httpsL t.me>>, <<httpsL telegram.me>>: totally equivalent, used for linking to in-app resources, redirect to main domain otherwise
|
||||
*** another one which I remember exists along the lines of `tlgrm.me` but either I'm wrong or it's dead
|
||||
** <<httpsL telegram.dog>>: was created as equivalent to the .me domain(s), but it also shows the normal website without redirecting
|
||||
** <<httpsL a-telegram.stel.com>>: [[the android client (used to?) give the user an email address with that second-level domain on things like login problems|https://translations.telegram.org/en/android/login/NoMailInstalled]] (+ `login@`, not listed there), which doesn't actually respond, but that third-level one does
|
||||
|
||||
* [[Organization to have all the official clients on a single organization|https://github.com/TelegramOrg]] --- //(non official organization, i will transfer it to Durov) I am not related to telegram at all//
|
||||
* <<linkdescgit "Telegram X" "https://t.me/tgx_log" "official alternative Telegram client for Android" "https://github.com/TGX-Android">>
|
||||
|
||||
@ -18,3 +23,17 @@ title: Telegram
|
||||
!!! Misc
|
||||
|
||||
* How Telegram banned me, I lost everything: [[https://bbs.spacc.eu.org/viewtopic.php?t=160]]
|
||||
|
||||
!! Telegraph
|
||||
|
||||
* <<httpsL telegra.ph>> (main domain, having problems on some italian ISPs since summer 2023, idk if it's solved)
|
||||
* <<httpsL graph.org>> (alternative domain)
|
||||
* <<GPlayLink com.telex "Telegraph X: publishing tool">> --- //Telegraph X is Android client for Telegra.ph minimalist publishing tool (made by Telegram team) that allows you to create and manage publications// --- <<[# Git"https://github.com/sergpetrov/telegraph-android">>
|
||||
|
||||
A publishing platform, optionally usable anonymously, for publishing article-like pages that are optimized for view on Telegram. It's not really a blogging platform. See [[https://telegram.org/blog/telegraph]]. Note that there's no way to edit/delete anonymous posts after losing browser cookies, while posts created with Telegram logins can be well managed.
|
||||
|
||||
!! Telescope
|
||||
|
||||
* <<httpsL telesco.pe>>
|
||||
|
||||
A failed method through which Telegram tried pushing people to publish round videos in a social media fashion. The site publicly indexes round videos sent in public channels, see [[https://telegram.org/blog/video-messages-and-telescope]]. Pretty useless but it's technical base was reused to make the modern preview features for profiles and channels on t.me, as can be seen by the CDN domain still being named after Telescope.
|
||||
|
@ -1,6 +1,6 @@
|
||||
created: 20230217100639349
|
||||
creator: Octt
|
||||
modified: 20240102004302708
|
||||
modified: 20240107013758531
|
||||
modifier: Octt
|
||||
tags: Web
|
||||
title: Web Browser
|
||||
@ -32,6 +32,10 @@ title: Web Browser
|
||||
: <<FDroidLink org.mozilla.fennec_fdroid "Fennec F-Droid">> (Android)
|
||||
: [[CENO Browser|https://censorship.no/en/index.html]] (Android) --- //Short for censorship.no!, is the world’s first mobile browser that side-steps current Internet censorship methods. Its peer-to-peer backbone allows people to access and share web information in and across regions where connectivity has been interrupted or compromised.// --- <<[ "[[Git|https://gitlab.com/censorship-no]]">>
|
||||
|
||||
; Forks of the old codebase, Mozilla Suite
|
||||
: [[Pale Moon|https://www.palemoon.org/]]
|
||||
: //''[[SeaMonkey project|https://www.seamonkey-project.org/]]'' is a community effort to develop the SeaMonkey Internet Application Suite//
|
||||
|
||||
!!! <<FlathubLink org.gnome.Epiphany "Epiphany">>
|
||||
|
||||
* https://gitlab.gnome.org/GNOME/epiphany
|
||||
|
@ -1,5 +1,5 @@
|
||||
created: 20240103005915406
|
||||
created: 20240107013834021
|
||||
current-tiddler: GettingStarted
|
||||
modified: 20240103005915406
|
||||
modified: 20240107013834021
|
||||
title: $:/HistoryList
|
||||
type: application/json
|
@ -1,6 +1,6 @@
|
||||
created: 20240103000919268
|
||||
created: 20240107000227403
|
||||
creator: Octt
|
||||
list:
|
||||
modified: 20240103005648557
|
||||
modified: 20240107013420088
|
||||
modifier: Octt
|
||||
title: $:/StoryList
|
@ -1,6 +1,6 @@
|
||||
created: 20230501095944427
|
||||
creator: Octt
|
||||
modified: 20240103005626613
|
||||
modified: 20240107013722845
|
||||
modifier: Octt
|
||||
title: $:/state/search/currentTab
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
created: 20230501095944427
|
||||
creator: Octt
|
||||
modified: 20240103005626615
|
||||
modified: 20240107013722845
|
||||
modifier: Octt
|
||||
title: $:/state/tab/search-results/sidebar
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
created: 20221107223451478
|
||||
creator: Octt
|
||||
modified: 20231228211446314
|
||||
modified: 20240107000235376
|
||||
modifier: Octt
|
||||
title: $:/state/tree/$:/config/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user