Skip to content

Instantly share code, notes, and snippets.

@czoins
czoins / Dart.tmLanguage
Last active February 1, 2024 09:53
Dart syntax highlighting for Sublime Text ported from VS Code's Dart plugin (https://github.com/Dart-Code/Dart-Code/blob/master/syntaxes/dart.json). Place in "Sublime Text 3\Packages\User" or "Sublime Text\Packages\User". Create the folder "User" if it doesn't exist. Check "https://www.sublimetext.com/docs/side_by_side.html" if you don't know wh…
<plist version="1.0">
<dict>
<key>name</key>
<string>Dart</string>
<key>fileTypes</key>
<array>
<string>dart</string>
</array>
<key>scopeName</key>
<string>source.dart</string>
@czoins
czoins / youtube.lua
Created August 22, 2021 06:50
Modified VLC youtube.lua using youtube-dl. The latest youtube.lua doesn't load all videos resulting in a 403 error. Youtube-dl manages to get the direct link however many videos which previously failed to load using the original script do not play in high resolution for reasons probably related to changes in Youtube itself.
--[[
$Id$
Copyright © 2007-2020 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.