Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View t3chguy's full-sized avatar

Michael Telatynski t3chguy

View GitHub Profile
@t3chguy
t3chguy / i18n.json
Last active February 1, 2024 11:06
{
"welcome_to_element": {
"de": "This is 'de'",
"en": "This is 'en'",
"us": "This is 'us'",
"en_us": "This is 'en_us'",
"en_US": "This is 'en_US'"
},
"powered_by_matrix_with_logo": {
"de": "This is 'de'",
{
"spotlight_dialog|recently_viewed_section_title": {
"en": "Testing"
}
}
---
title: At 09:00 AM & element-desktop Release & Manual
---
flowchart LR
    subgraph ID0["Build and Deploy"]
        ID1-- needs -->ID2
        ID1-- needs -->ID3
        ID1-- needs -->ID4
        ID1-- needs -->ID5
@t3chguy
t3chguy / PhotoImport.sh
Last active August 19, 2023 05:34 — forked from ljm42/PhotoImport.sh
unRAID - automatically move photos to array
#!/bin/bash
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
## Usage (after configuration):
## 1. Insert camera's memory card into a USB port on your unRAID system
## 2. The system will automatically move (or copy) any images/videos from the memory card to the array
## If jhead was installed, it will automatically rotate images according to the exif data
## 3. Wait for the imperial theme to play, then remove the memory card
## Preparation:
{
"widget_id": "$arbitrary_string",
"widget": {
"creatorUserId": "@user:example.org",
"id": "$the_same_widget_id",
"type": "m.custom",
"waitForIframeLoad": true,
"name": "My Widget Name Here",
"avatar_url": "mxc://example.org/abc123",
"url": "https://example.org/widget.html",
@t3chguy
t3chguy / faq.md
Last active April 11, 2022 20:01
Element Spaces Beta FAQ

Why can't I see some rooms in a space

Currently you can only see rooms you are either joined to or which have History Visibility set to Anyone. Without one of those you are unable to fetch details about the room such as name/avatar/topic/members which is needed for the UI. The solution for this in the long term is matrix-org/matrix-spec-proposals#3173 which will allow you to fetch the necessary details for any room if you are able to join it without requiring an invite.

For the private space/rooms edge of this is matrix-org/matrix-spec-proposals#3083 which will allow members of a space access to a room which would also grant them access to its metadata to be able to see it prior to joining it.

Another situation which might cause this issue is if you are joined to some rooms but they are contained within a subspace you are not joined to; unsure of what the final solution will be here but once /peek MSC is stable that might provide a solution - https://github.com/vector-im/ele

#!/bin/bash
hsurl="https://matrix.org"
access_token="this_was_totally_not_a_valid_token"
roomIds=($(curl "$hsurl/_matrix/client/r0/joined_rooms?access_token=$access_token" | tr '"' '\n' | grep !))
for roomId in ${roomIds[@]}
do
@t3chguy
t3chguy / ProcessOrder.Stats.js
Last active August 29, 2015 14:25
ProcessOrder
var ShipStation = require('./ShipStation.js');
var Common = require('./Common.js');
var Amazon = require('./Amazon.js');
var MySQL = require('./MySQL.js');
var Promise = require('promise');
module.exports = function(order) {
items = order.items.reduce(iterItem, {});
var foo = function(bar) {
console.log("Printing Order")
#!/bin/bash
#!/bin/sh
[ -r /etc/lsb-release ] && . /etc/lsb-release
if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
# Fall back to using the very slow lsb_release utility
DISTRIB_DESCRIPTION=$(lsb_release -s -d)
fi
# This configuration file is auto-generated.
#
# WARNING: Do not edit this file, your changes will be lost.
# Please create/edit /etc/network/interfaces.head and
# /etc/network/interfaces.tail instead, their contents will be
# inserted at the beginning and at the end of this file, respectively.
#
# NOTE: it is NOT guaranteed that the contents of /etc/network/interfaces.tail
# will be at the very end of this file.
#