Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
SteamVR System Report created Fri Jul 07 22:03:23 2023
<Report>
SteamVR Version: 1.26.5 (1688070172)
SteamVR Date: 2023-06-29
Steam: Public
Steam Branch: beta
Steam AppID: 250820
Tracking: lighthouse
// SPDX-License-Identifier: GPL-2.0
/*
* quick and dirty tool to present a DualSense-like virtual USB HID device bridging
* an actual bluetooth-connected DualSense.
*
* Compile with `gcc dualsense-bridge.c -ludev -lz
*
* It's adapted from Linux's UHID Example
*
* Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com>
diff --git a/Gemfile.lock b/Gemfile.lock
index c8a37dd4b7..36d3240acb 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -166,7 +166,7 @@ GEM
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
coderay (1.1.2)
- concurrent-ruby (1.1.5)
+ concurrent-ruby (1.1.6)
def migrated_accounts(account)
followed = Follow.where(account: account).pluck(:target_account_id)
migrated = Account.where(id: followed).where.not(moved_to_account_id: nil)
migrated = migrated.where.not(moved_to_account_id: followed)
migrated
end
def autosubscribe_migrated_accounts(account_id)
account = Account.find_by(id: account_id)
migrated = migrated_accounts(account)
@ClearlyClaire
ClearlyClaire / luluberlu.patch
Created October 4, 2017 12:33
Completing the lulupocalypse
diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb
index 42cd7299..d835751c 100644
--- a/app/lib/formatter.rb
+++ b/app/lib/formatter.rb
@@ -199,6 +199,6 @@ class Formatter
end
def mention_html(account)
- "<span class=\"h-card\"><a href=\"#{TagManager.instance.url_for(account)}\" class=\"u-url mention\">@<span>#{account.username}</span></a></span>"
+ "<span class=\"h-card\"><a href=\"#{TagManager.instance.url_for(account)}\" class=\"u-url mention\">@<span>luluberlu</span></a></span>"