- Sep 2024
- May 2024
-
thedankoe.com thedankoe.com
-
And, writing is the foundation of media. Everything you see online from posts to videos to advertisements start with writing. Media is where the attention is.
Media is the foundation of many businesses. Media is where attention goes to. Businesses need attention (to sell). In this sense, a business is indeed an extension of the self (similar to how media extends the self).
-
A business is the storefront of your value. It is the public display of yourself, your goals, and your values. Businesses are an extension of yourself.
Business serving as an extension of the self. This, though, applies mostly for one person businesses.
Also see how media extend human beings Understanding Media: The Extensions of Man (1964)
-
-
github.com github.com
-
# This is manual way to describe complex parameters parameter :one_level_array, type: :array, items: {type: :string, enum: ['string1', 'string2']}, default: ['string1'] parameter :two_level_array, type: :array, items: {type: :array, items: {type: :string}} let(:one_level_array) { ['string1', 'string2'] } let(:two_level_array) { [['123', '234'], ['111']] }
-
- Feb 2024
-
www.codedbrainy.com www.codedbrainy.com
-
building a robust Chrome extension that effortlessly captures full-page screenshots, providing users with a seamless and enhanced browsing experience.
-
- Dec 2023
-
gitlab.com gitlab.com
-
Enable ActiveRecord unsigned integers to use 8 bytes instead of 4. This fixes the ActiveModel::RangeError problem where AR models with perfectly fine 8 bytes primary keys are taken for ActiveModel::Type::Integer with a default limit of 4 bytes.
-
-
gitlab.com gitlab.com
-
hashie
-
- Nov 2023
-
edgeguides.rubyonrails.org edgeguides.rubyonrails.org
-
ActiveRecord::Base.normalizes declares an attribute normalization. The normalization is applied when the attribute is assigned or updated, and the normalized value will be persisted to the database. The normalization is also applied to the corresponding keyword argument of query methods, allowing records to be queried using unnormalized values.
Guess I don't need to use mdeering/attribute_normalizer gem anymore...
-
- Sep 2023
- Jun 2023
-
www.soulcutter.com www.soulcutter.com
-
I’ve heard-suggested that ActiveSupport, which does a ton of monkey-patching of core classes, would make potentially-nice refinements. I don’t hold this opinion strongly, but I disagree with that idea. A big value proposition of ActiveSupport is that it is “omnipresent” and sets a new baseline for ruby behaviors - as such, being global really makes the most sense. I don’t know that anyone would be pleased to sprinkle using ActiveSupport in all their files that use it - they don’t even want to THINK about the fact that they’re using it.
-
- Apr 2023
-
developer.mozilla.org developer.mozilla.org
Tags
- http:header=sec-websocket-version
- http:header=sec-websocket-accept
- http:header=sec-websocket-extensions
- http
- http:header=sec-websocket-key
- cito:cites=urn:ietf:rfc:7540
- websocket
- http:header=sec-websocket-protocol
- cito:cites=urn:ietf:rfc:7230
- http:header=connection:upgrade
- cito:cites=urn:ietf:rfc:6455
- http:header=upgrade:websocket
Annotators
URL
-
- Mar 2023
- Feb 2023
-
github.com github.com
-
Rack::Session was moved to a separate gem. Previously, Rack::Session was part of the rack gem. Not every application needs it, and it increases the security surface area of the rack, so it was decided to extract it into its own gem rack-session which can be updated independently.
-
- Jan 2023
-
addons.mozilla.org addons.mozilla.org
-
https://addons.mozilla.org/en-US/firefox/addon/swift-selection-search/
Swiftly access your search engines in a popup panel when you select text in a webpage.
A quick UI method for selecting text and then searching within it using a variety of engines, wikis, etc.
-
-
kmitov.com kmitov.com
-
But it does not work, because the association with authors will return empty authors for the Material as the materials are also soft deleted.
-
The problem is that Globalize knows nothing about acts_as_paranoid. You can delete a Material, and it should delete the translations, but when you try to recover the Material then there is an error because of how the translations are implemented and the order in which the translations and the Material are recovered. Which record should be recovered first?
-
Remember that the Material has all of its translations for the title in a table that just got soft deleted. So the correct answer is “nil”. The title of the delete material is nil.
-
-
- Dec 2022
-
-
class Project< ApplicationRecord belongs_to_many :employees end
-
-
github.com github.com
-
-
-
add_column :videos, :tag_ids, :bigint, array: true Tag.has_many :videos, array: true
-
- Nov 2022
-
-
Probaly still prefer: https://github.com/hashie/hashie over this
-
-
-
Post about how to modify keyboard shortcut's for Brave browser extensions
-
- Oct 2022
- Sep 2022
-
stackoverflow.com stackoverflow.com
-
Yes, using custom tags. Example in Python, making the !join tag join strings in an array:
-
- Aug 2022
-
mermaid-js.github.io mermaid-js.github.io
-
github.com github.com
-
-
github.com github.com
-
github.com github.com
-
I created a gem called rspec_n that installs an executable that will do this. It will re-run the test suite N times by default. You can make it stop as soon as it hits a failing iteration via the -s cli option. It will display other stats about the iterations as well.
Tags
Annotators
URL
-
- Jun 2022
-
addons.mozilla.org addons.mozilla.org
-
- May 2022
-
addons.mozilla.org addons.mozilla.org
-
gitlab.com gitlab.com
-
We overload the meaning of "GFM" to mean "GitLab Flavored Markdown", which is a superset of GitHub's version. However it can cause confusion as they are not the same thing.
-
-
kramdown.gettalong.org kramdown.gettalong.org
-
supports standard Markdown (with some minor modifications) and various extensions that have been made popular by the PHP Markdown Extra package and Maruku
-
- Mar 2022
-
addons.mozilla.org addons.mozilla.org
-
https://addons.mozilla.org/en-US/firefox/addon/epubreader/
A browser extension for reading ePub files in Firefox.
-
-
github.com github.com
-
github.com github.com
-
t.datetime :seen_at, default: { expr: 'NOW()' }
-
-
github.com github.com
-
Define table structure (columns and indexes) inside your ActiveRecord models like you can do in migrations. Also similar to DataMapper inline schema syntax.
-
-
-
not as good/useful as some other gem options/approaches, such as the one that adds a
data
method per migration, or that lets you tag with:post_deploy
, etc.
-
-
github.com github.com
-
github.com github.com
-
- Feb 2022
-
insertlearning.com insertlearning.com
-
Referred to me by Mark Grabe.
-
-
underpassapp.com underpassapp.com
-
underpassapp.com underpassapp.com
-
unfortunately only iOS and Mac
see instead: - https://addons.mozilla.org/en-US/firefox/addon/enable-selection/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search
Tags
Annotators
URL
-
-
github.com github.com
-
and calls .unarchived and .archived appropriately when passed an ActiveRecord relation.
-
- Nov 2021
-
github.com github.com
-
Many of the types here should have been built-in. You can help by suggesting some of them to the TypeScript project.
-
- Jul 2021
-
commonplaces.io commonplaces.io
-
This looks like a bookmarking service that is billing itself as a digital commonplace book. I'm not sure about the digital ownership aspect, but it does have a relatively pretty UI.
Looks like it works via a Chrome extension: https://chrome.google.com/webstore/detail/commonplaces-your-digital/ckiapimepnnpdnoehhmghgpmiondhbof
-
- Jun 2021
-
github.com github.com
-
-
github.com github.com
- May 2021
-
en.wikipedia.org en.wikipedia.org
-
The NoScript extension for Firefox mitigates CSRF threats by distinguishing trusted from untrusted sites, and removing authentication & payloads from POST requests sent by untrusted sites to trusted ones. The Application Boundary Enforcer module in NoScript also blocks requests sent from internet pages to local sites (e.g. localhost), preventing CSRF attacks on local services (such as uTorrent) or routers.
-
The Self Destructing Cookies extension for Firefox does not directly protect from CSRF, but can reduce the attack window, by deleting cookies as soon as they are no longer associated with an open tab.
-
- Apr 2021
-
anagora.org anagora.org
-
flancian has some instructions for setting up Promnesia for various platforms.
-
-
code.visualstudio.com code.visualstudio.com
-
We continued improving our support extending the Markdown renderer in Notebooks.
-
- Mar 2021
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
_Underline_
I really like that they allow this. How come most other Markdown flavors (including GitHub, GitLab) don't provide a way to underline text?
-
-
github.com github.com
-
# Parallel Ruby universes ("Rubyverses") - A proposed interface for # parallel, "semi-private" method or method-and-data spaces via # "closely associated" objects.
-
-
github.com github.com
-
possibly similar solution to ActiveSupport::Concern?
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
A proposal to specify the path for bury with classes as values of a hash arg: {}.bury(users: Array, 0 => Hash, name: Hash, something: 'Value') # {user: [{name: {something: 'Value'}]} So all absent nodes could be created via klass.new
Didn't understand it at first, but now I think it's a pretty clever/decent solution.
Just a bit more verbose than one might like...
At first I had reservations about the fact that this requires you to pass a hash ... or rather, once you start using a hash as your "list", you can't just "switch back" to an array (a "problem" I've noticed in RSpec, where you have some tags that are symbols, and some that are hashes: you have to list the symbols first:
describe 'thing', :happy_path, driver: :chrome
):{}.bury(users: Array, 0, 'Value')
But I think that's okay in practice. Just use a hash for all "elements" in your list:
{}.bury(users: Array, 0 => 'Value')
-
-
github.com github.com
-
No docs?!
[ Some docs here; First saw it here: ] https://bugs.ruby-lang.org/issues/11747#note-7
-
-
github.com github.com
-
trailblazer.to trailblazer.to
-
For pluggability, an endpoint is split into a Protocol and an Adapter part. This separates generic logic from environment-dependent code.
-
Note how a handful of default steps lead into six standardized termini, allowing to plug protocols into different adapters. Imagine replacing your self-written API adapter with a canonical JSON-API adapter, for example.
-
-
github.com github.comd3/d32
-
They reduce the distinction between a “core module” and a “plugin”
-
Each library is maintained in its own repository, allowing decentralized ownership and independent release cycles.
-
-
github.com github.com
-
+ adds syntax extensions
-
Configurable syntax! You can add new rules and even replace existing ones.
-
Community-written plugins and other packages on npm.
-
- Feb 2021
-
www.joinhoney.com www.joinhoney.comHoney1
Tags
Annotators
URL
-
-
darkreader.org darkreader.org
Tags
Annotators
URL
-
-
github.com github.com
- Jan 2021
-
www.slackmoji.com www.slackmoji.com
Tags
Annotators
URL
-
-
augmentedsteam.com augmentedsteam.com
-
github.com github.com
- Dec 2020
-
www.geoffreylitt.com www.geoffreylitt.com
-
website developers and extension authors
Like, for example, Google having a problem with ad-blockers in Google Chrome. This is an example of why monopolies aren't great; Google makes money selling ads but they also control a browser that most people use. There's a conflict here when the users of the browser install extensions that limit Google's ability to show you ads.
-
- Oct 2020
-
marketplace.visualstudio.com marketplace.visualstudio.com
-
marketplace.visualstudio.com marketplace.visualstudio.com
-
formvalidation.io formvalidation.io
-
With the new plugin based architectue, the library has really small core. Everything else is built around as a plugin.
-
-
gist.github.com gist.github.com
-
The problem is that the since both the JSX transpiler and the traceur compiler are actually parsing the full javascript AST, they would have to mutually agree on the syntax extensions you use: traceur can't parse the faux-xml syntax JSX adds, and JSX can't parse the async or await keywords, for example, or generator functions.
-
-
github.com github.com
-
JSX is an XML-like syntax extension to EcmaScript (https://facebook.github.io/jsx/).
-
- Sep 2020
-
infrequently.org infrequently.org
-
In '07, safety implied an unacceptable performance hit on slow single-core devices with 128MiB of RAM.
In 2007, safety implied an unacceptable performance hit for hosting extensions, on devices with one core and 128MiB ram. In 2020, the lack of extensions is the ultimate app-ification of the web, the reduction of the web into a useless, powerless medium where users have no control.
-
-
github.com github.com
-
Allows registration of TypeScript custom transformers at any of the supported stages:
-
- Jul 2020
-
github.com github.com
-
stackoverflow.com stackoverflow.com
-
require 'set' class Array def uniq_elements(&prc) prc ||= ->(e) { e } uniques, dups = {}, Set.new each do |e| k = prc[e] ((uniques.key?(k)) ? (dups << k; uniques.delete(k)) : uniques[k] = e) unless dups.include?(k) end uniques.values end end
-
- Jun 2020
-
docs.gitlab.com docs.gitlab.com
-
Standard Markdown Extended Markdown in GitLab
-
- May 2020
-
stackoverflow.com stackoverflow.com
-
1. Disabling concrete extension update. That's what I wanted! You can do this by editing the extensions manifest json-file on Windows: C:\Users\<USERNAME>\AppData\Local\Google\Chrome\User Data\Default\Extensions\<EXTENSION-ID>\<VERSION>\manifest.json (find out the extensions ID by enabling developer mode in the extension settings page) on Ubuntu for Chromium: ${HOME}/.config/chromium/Default/Preferences In this file set "update_url" property to something invalid like "https://localhost" for example. For now according to given url updating of that extension is simply impossible.
-
-
-
I believe that beginning to distribute tools that patch Firefox and give back power to users and allow them to install unsigned extensions is necessary when an organization is taking away our rights without giving us a compelling reason for doing so.
-
The other pressing issue is that users have lost the right to run private extensions in the release version of Firefox, without needing to hand over their source code to Mozilla.
-
-
-
I would like to know if you know a way to load unsigned extensions without requiring a developer or unbranded version of Firefox.
-
To load one temporarily go to about:debugging, "This Firefox" and click "Load temporary add-on from file". More permanently: many (most?) Linux distributions allow unsigned extensions to be placed in /usr/lib/firefox/browser/extensions/ and they will automatically be loaded, provided they have valid names (e.g. dodgy@unsignedextension.com.xpi).
-
-
github.com github.com
-
github.com github.com
-
extensionworkshop.com extensionworkshop.com
-
Add-ons that are intended for internal or private use, are only accessible to a closed user group, or for distribution testing may not be listed on AMO. Such add-ons may be uploaded for self-distribution instead.
-
-
extensionworkshop.com extensionworkshop.com
Tags
Annotators
URL
-
- Apr 2020
-
github.com github.com
-
github.com github.com
-
github.com github.com
-
custom PDF container.)
Because Firefox does not allow content scripts on the built-in pdf viewer.
Tags
Annotators
URL
-
-
developer.chrome.com developer.chrome.com
-
stackoverflow.com stackoverflow.com
-
I usually write example code that is for both Chrome and Firefox WebExtensions.
-
-
-
developer.chrome.com developer.chrome.com
-