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
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
from __future__ import print_function | |
import sys | |
import os | |
import re | |
from datetime import datetime | |
import time | |
import subprocess |
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 ageFolders() { | |
let folder_id = '0B7Y2RaVxyfu-LU04MkxYdFhnSzg'; | |
let folders = DriveApp.getFolderById(folder_id).getFolders(); | |
var painted = []; | |
while(folders.hasNext()){ | |
let folder = folders.next(); | |
let name = folder.getName(); | |
let date = getDateFromArt(name) || folder.getDateCreated(); | |
painted.push( paintFolder(folder,date) ); | |
} |
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
<?php | |
if ($start && date("Y") != $start) { | |
$output = $start.'–'.date("Y"); | |
} else { | |
if($start)$output = $start; | |
else $output = date("Y"); | |
} | |
return $output; |
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
#target Illustrator | |
/* | |
bgr.png | |
bgrTop.png | |
maskY.png | |
pole_p.png | |
tablo.png | |
stat / downALL3.bmp |
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
#target Illustrator | |
/* export ALASKA Controls | |
*/ | |
d = app.activeDocument; | |
var filePath = d.path; | |
var exportPath = '/Source/Controls/'; | |
var fileName = d.name.split('.', 1)+''; // ALASKA.ai |
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
// чтение шрифтов с флэшки | |
void mem_fnt_p_inc(void){ | |
if( (++nand_fnt_p.shift) >= (NAND_PAGE_SIZE + NAND_SPARE_SIZE)){ | |
nand_fnt_p.shift=0; | |
if( (++nand_fnt_p.page) >= NAND_BLOCK_SIZE){ | |
nand_fnt_p.page=0; | |
if( (++nand_fnt_p.block) >= NAND_MEMORY_SIZE){ | |
nand_fnt_p.block=0; | |
} |
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
#target Photoshop | |
var sourcePath = "H:/Projects/Alaska FullHD/Source/Animation/Bonus/" | |
var footageLength = 8; | |
var exportOptions = new BMPSaveOptions(); | |
exportOptions.alphaChannels = false; | |
exportOptions.depth = BMPDepthType.TWENTYFOUR; | |
/* |
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
@echo off | |
IF [%1]==[] ( | |
echo renumber01.cmd filemask filename | |
echo bis_*.bmp bis | |
echo bis01.bmp bis02.bmp bis03.bmp ... | |
echo ------------------------------------------------------------------------------------ | |
) ELSE ( | |
setlocal EnableDelayedExpansion | |
set prefix = %2 |
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
@echo off | |
IF [%1]==[] ( | |
echo renumbers.cmd filemask filename digits start digits start cycle | |
echo ~~~~~~~~~~~~~ bon_*.bmp bon 2 1 1 1 4 | |
echo bon011.bmp bon012.bmp bon013.bmp bon014.bmp bon021.bmp bon022.bmp ... | |
echo ------------------------------------------------------------------------------------ | |
) ELSE ( | |
setlocal EnableDelayedExpansion | |
set prefix = %2 |
NewerOlder