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 | |
| # This script takes all mkv files in the current directory and sets the filename | |
| # (without .mkv) as its title in metadata | |
| # https://apple.stackexchange.com/a/273021 | |
| for mkvfile in *.mkv; do | |
| mkvpropedit "$mkvfile" -e info -s title="${mkvfile::-4}" | |
| done |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| </head> | |
| <body> |
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
| angular.module('app',[]) | |
| .factory('TRACKS', ['$resource', | |
| function($resource) { | |
| return $resource('/api/tracks/:id', {id: '@_id'}, { | |
| 'query': {method:'GET', isArray:true}, | |
| 'get': {method:'GET'}, | |
| 'update': {method:'PUT'}, | |
| 'save': {method:'POST'}, | |
| 'remove': {method:'DELETE'}, | |
| 'delete': {method:'DELETE'} |
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
| angular.module('app',[]) | |
| .config(function($mdThemingProvider) { | |
| // 4 real time change | |
| $mdThemingProvider.alwaysWatchTheme(true); | |
| // 4 custom md-toast theme | |
| $mdThemingProvider.theme("success-toast"); | |
| $mdThemingProvider.theme("error-toast"); | |
| // here we go 4 CustomPalette |
NewerOlder