This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aug 02 15:44:49 yarrow kernel: usb 1-1: new full-speed USB device number 5 using xhci_hcd | |
Aug 02 15:44:50 yarrow kernel: usb 1-1: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00 | |
Aug 02 15:44:50 yarrow kernel: usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 | |
Aug 02 15:44:50 yarrow kernel: usb 1-1: Product: FT232R USB UART | |
Aug 02 15:44:50 yarrow kernel: usb 1-1: Manufacturer: FTDI | |
Aug 02 15:44:50 yarrow kernel: usb 1-1: SerialNumber: A50285BI | |
Aug 02 15:44:50 yarrow kernel: w[37611]: segfault at 4c ip 000055675900009e sp 00007ffe5dcbedb0 error 4 in w[556758fff000+3000] likely on CPU 10 (core 5, socket 0) | |
Aug 02 15:44:50 yarrow kernel: Code: 0f be c3 48 8b 12 f6 44 42 01 40 74 7f 80 fb 20 74 7a 0f be fb 48 83 c5 01 e8 6e f1 ff ff 49 39 ee 0f 84 7d 00 00 00 45 89 e7 <0f> b6 5d 00 84 db 75 ba 45 85 ff 75 65 48 8b 35 76 3f 00 00 bf 2d | |
Aug 02 15:44:50 yarrow kernel: w[38086]: segfault at 4c ip 000055c25aded09e sp 00007ffc7492ea40 error 4 in w[55c25adec000+3000] likely on CPU 11 ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@daily RAILS_ENV=production /home/mastodon/live/bin/tootctl statuses remove --days=100 | |
@daily RAILS_ENV=production /home/mastodon/live/bin/tootctl media remove --days=14 | |
@daily RAILS_ENV=production /home/mastodon/live/bin/tootctl preview_cards remove --days=14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# all files will be prepended with "flag", this is for kstars | |
COLOUR="cyan" | |
WIDTH=24 | |
HEIGHT=24 | |
for FILE in ../*.svg | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-3C515 m | |
-6LOWPAN_DEBUGFS n | |
-6LOWPAN_GHC_EXT_HDR_DEST m | |
-6LOWPAN_GHC_EXT_HDR_FRAG m | |
-6LOWPAN_GHC_EXT_HDR_HOP m | |
-6LOWPAN_GHC_EXT_HDR_ROUTE m | |
-6LOWPAN_GHC_ICMPV6 m | |
-6LOWPAN_GHC_UDP m | |
-6LOWPAN_NHC m | |
-6LOWPAN_NHC_DEST m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function ConvertNumbersToHex(text As String) As String | |
Dim objRegex As RegExp | |
Dim results | |
Dim text_result | |
Dim hex_value | |
Set objRegex = New RegExp | |
objRegex.Global = True | |
objRegex.Pattern = "(\d+)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
RELEASE_TAG=${1:?"missing arg 1 for RELEASE_TAG"} | |
echo Backing up database | |
/home/mastodon/backup_database.sh | |
cd /home/mastodon/live | |
git fetch | |
# The stash commands are only required if you mess around with the source code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json | |
index b8cb24799..0e4686e63 100644 | |
--- a/app/javascript/mastodon/locales/en.json | |
+++ b/app/javascript/mastodon/locales/en.json | |
@@ -104,7 +104,7 @@ | |
"column.direct": "Direct messages", | |
"column.directory": "Browse profiles", | |
"column.domain_blocks": "Blocked domains", | |
- "column.favourites": "Favourites", | |
+ "column.favourites": "Booped Toots", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Printable GitHub issues | |
// @namespace https://github.com/gaute | |
// @include https://github.com/*/issues/* | |
// ==/UserScript== | |
if (typeof($) === "undefined") { | |
$ = unsafeWindow.$; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def latch_adjusted_dataframe(input_dataframe, shift_period): | |
df = input_dataframe.copy() | |
# latch-adjust returns | |
df.reset_index(inplace=True) | |
df['buy_signal'] = df['buy_signal'] & (df['buy_signal'].shift(1) == False) | |
df['sell_signal'] = df['sell_signal'] & (df['sell_signal'].shift(1) == False) | |
# not specifying a condition, because we are going to modify the same condition. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import json | |
import os | |
from exif import Image | |
google_photos_directory = r'C:\\Users\\Matt\\Downloads\\Takeout\\Google Photos' | |
database = dict() |
NewerOlder