Skip to content

Instantly share code, notes, and snippets.

@jonathanagosto
jonathanagosto / face_shield.curaprofile
Created March 31, 2020 20:50
3dverkstan Visor Frame - Cura Profile
PK!hᰚ�� creality_ender5plus_face_shields[general]
version = 4
name = Face shields
definition = creality_base
[metadata]
setting_version = 11
quality_type = standard
type = quality_changes
@jonathanagosto
jonathanagosto / vs-code-extensions.txt
Created December 27, 2019 17:41
Visual Studio Code Extensions list (Terminal command)
code --install-extension Tyriar.lorem-ipsum
code --install-extension abusaidm.html-snippets
code --install-extension anseki.vscode-color
code --install-extension christian-kohler.npm-intellisense
code --install-extension christian-kohler.path-intellisense
code --install-extension CoenraadS.bracket-pair-colorizer
code --install-extension Dart-Code.dart-code
code --install-extension Dart-Code.flutter
code --install-extension dbaeumer.vscode-eslint
code --install-extension DotJoshJohnson.xml
@jonathanagosto
jonathanagosto / targetBlankVulnerabilityPatch.js
Created December 5, 2016 18:32
Find all tags using target="_blank" and inject rel="noreferrer noopener"
var aTags = document.querySelectorAll('[target]');
var att = document.createAttribute('rel');
att.value = 'noopener noreferrer';
aTags.forEach(function (tag) {
var nodeClone = att.cloneNode(true);
tag.setAttributeNode(nodeClone);
});