# remove even lines
([^\r\n]*\R)[^\r\n]*\R?
\1
# remove odd lines
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace TestUnityConsole | |
{ | |
class Program | |
{ |
# -*- coding: utf-8 -*- | |
""" | |
Created on Mon Mar 07 00:55:12 2016 | |
@author: Stardrad | |
""" | |
import os, struct, fnmatch, time | |
from PIL import Image |
# -*- coding: utf-8 -*- | |
""" | |
Created on Sun Feb 15 15:53:10 2015 | |
@author: Stardrad | |
astcenc.exe: https://www.dropbox.com/s/u5w6d972nniursu/ASTC-Evaluation-Codec-1.3.zip?dl=0 | |
""" | |
import os, struct, fnmatch, time, math |
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Oct 16 10:07:25 2014 | |
@author: Stardrad | |
""" | |
import time, struct, os, fnmatch | |
from cStringIO import StringIO | |
import gzip |
# Python27/Lib/mimetypes.py | |
# Line 248 | |
# Original Line, comment the following lines | |
def enum_types(mimedb): | |
i = 0 | |
while True: | |
try: |
// Squish bindings for python | |
// http://stackoverflow.com/questions/10972595/dxt-compression-for-python | |
// modify Stardrad | |
#include <squish.h> | |
#include "pysquish.h" | |
extern "C" { | |
void CompressMasked(u8 const* rgba, int mask, void* block, int flags) { |
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Jul 11 09:50:16 2013 | |
@author: Stardrad Yin | |
""" | |
import os, fnmatch, struct | |
timeDic = {'mv00':89, 'mv04':67, 'mv05':102, 'mv06':29, 'mv07':27,\ | |
'mv08':34, 'mv10':21, 'mv12':21} | |