These uBlock/AdBlock rules prevent Booking.com from psychologically fucking with you by removing the "persuasion messages" such as "bestseller", "just booked by 666 people" and "exceptional price".
This file contains 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 | |
rm -rf /Library/Application\ Support/Avid/ | |
rm -rf /private/var/log/Avid | |
rm -rf /private/var/root/AvidEditorMediaServices | |
rm -rf "/Library/Application Support/Avid" | |
rm -rf /Library/Caches/Avid | |
rm -rf /Library/Logs/Avid | |
rm -rf "/Users/Shared/TranscodeServiceWorker/Avid FatalErrorReports" | |
rm -rf /Library/Logs/DiagnosticReports/AvidMediaComposer* | |
rm -rf /Library/Extensions/AvidDX.kext |
This file contains 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
//! Usage: | |
//! | |
//! ``` | |
//! #[derive(RustEmbed)] | |
//! #[folder = "app/dist"] | |
//! pub struct Assets; | |
//! | |
//! Route::new() | |
//! .at("/", EmbeddedFileEndpoint::<Assets>::new("index.html")) | |
//! .nest_no_strip("/assets", EmbeddedFilesEndpoint::<Assets>::new()) |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<scpd xmlns="urn:schemas-upnp-org:service-1-0"> | |
<serviceStateTable> | |
<stateVariable> | |
<name>TransportState</name> | |
<sendEventsAttribute>no</sendEventsAttribute> | |
<dataType>string</dataType> | |
<allowedValueList> | |
<allowedValue>STOPPED</allowedValue> | |
<allowedValue>PLAYING</allowedValue> |
This file contains 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
{ | |
"event_id": "d6c9e464c61841e18b035cad403acf15", | |
"project": 181876, | |
"release": "1.0.139", | |
"dist": null, | |
"platform": "javascript", | |
"message": "", | |
"datetime": "2021-12-15T01:53:15.157000Z", | |
"tags": [ | |
[ |
This file contains 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
export const autofocus = /* @ngInject */ $timeout => ({ | |
restrict: 'A', | |
link (_$scope, element) { | |
$timeout(() => element[0].focus()) | |
}, | |
}) |
This file contains 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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Electron: Main", | |
"protocol": "inspector", | |
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron", | |
"env": { |
This file contains 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
Debugging stunnel problems in Ajenti: | |
0. Disable SSL in ajenti: | |
change "ssl": { "enable": true to false in /etc/ajenti/config.json | |
service ajenti restart | |
1. Regenerate the certificate | |
ajenti-ssl-gen hostname -f |
This file contains 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
#include <lang/libc-ext.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <limits.h> | |
char * normalize_path(char* pwd, const char * src, char* res) { | |
size_t res_len; | |
size_t src_len = strlen(src); |
This file contains 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/static/app/media/components/mediaFileList.coffee b/static/app/media/components/mediaFileList.coffee | |
index e04f6cb5..6878bc53 100644 | |
--- a/static/app/media/components/mediaFileList.coffee | |
+++ b/static/app/media/components/mediaFileList.coffee | |
@@ -40,7 +40,7 @@ MediaFileListCtrl = ($scope, $q, $timeout, $log, $route, $routeParams, $location | |
ctrl.storage = $localStorage | |
ctrl.storage.showDeleted ?= true | |
ctrl.storage.showUnscannable ?= true | |
- ctrl.customFieldsMode = 'asset' | |
+ ctrl.customFieldsMode = 'file' |