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
http://jsbin.com/rabojovezose/11/edit | |
http://jsbin.com/yayeduximibu/16/edit | |
http://jsbin.com/jinubu/6/edit | |
http://jsbin.com/goxosi/8/edit |
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
-- | |
-- convertMod2Dv.app | |
-- | |
-- a simple apple script applet to convert .mod files to .dv files | |
-- this is an essential step for those of us who own DV video cameras | |
-- that use this .mod file format, but would also like to edit those videos | |
-- in iMove HD or other editing apps. This applet was developed solely to | |
-- provide drag-n-drop functionality to the command line tool ffmpeg2. | |
-- It supports dragging individual files or folders of files, etc. | |
-- |
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
function Get-FileEncoding | |
{ | |
[CmdletBinding()] Param ( | |
[Parameter(Mandatory = $True, ValueFromPipelineByPropertyName = $True)] [string]$Path | |
) | |
[byte[]]$byte = get-content -Encoding byte -ReadCount 4 -TotalCount 4 -Path $Path | |
if ( $byte[0] -eq 0xef -and $byte[1] -eq 0xbb -and $byte[2] -eq 0xbf ) | |
{ Write-Output 'UTF8 BOM' } |
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
private static readonly Encoding encoding = Encoding.GetEncoding( 1250 ); | |
static readonly ushort[] Table = new ushort[256]; | |
static bool przeliczone = false; | |
void fillTable() { | |
for( int i = 0; i < Table.Length; ++i ) { | |
ushort num2 = 0; | |
ushort num3 = (ushort)( i << 8 ); |