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
import saveTask from '../actions/saveTask'; | |
import { state } from 'cerebral/tags'; | |
export default (unSavedTasks) => { | |
return unSavedTasks.reduce((m, key) => { | |
const task = state.get(`Task.tasks.${key}`); | |
const action = function(context) { | |
return saveTask({ task, ...context }) | |
} | |
m.push(action) |
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
mkdir MyIcon.iconset | |
sips -z 16 16 Icon1024.png --out MyIcon.iconset/icon_16x16.png | |
sips -z 32 32 Icon1024.png --out MyIcon.iconset/[email protected] | |
sips -z 32 32 Icon1024.png --out MyIcon.iconset/icon_32x32.png | |
sips -z 64 64 Icon1024.png --out MyIcon.iconset/[email protected] | |
sips -z 128 128 Icon1024.png --out MyIcon.iconset/icon_128x128.png | |
sips -z 256 256 Icon1024.png --out MyIcon.iconset/[email protected] | |
sips -z 256 256 Icon1024.png --out MyIcon.iconset/icon_256x256.png | |
sips -z 512 512 Icon1024.png --out MyIcon.iconset/[email protected] | |
sips -z 512 512 Icon1024.png --out MyIcon.iconset/icon_512x512.png |
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
def get_uncompressed_size(self, file): | |
fileobj = open(file, 'r') | |
fileobj.seek(-8, 2) | |
crc32 = gzip.read32(fileobj) | |
isize = gzip.read32(fileobj) # may exceed 2GB | |
fileobj.close() | |
return isize |
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
ORJINATOR | TELNO | TARIH | FIRMA | |
---|---|---|---|---|
DOMINOSPZZA | 02166420288 | 15/02/2013 18:30 | Dominos pizza | |
05344438501 | 05344438501 | 11/02/2013 14:15 | Milliyet just english | |
DYT.P.CICEK | 02125437174 | 10/02/2013 12:51 | Ozel Perihan Cicek Poliklinigi | |
DYT.P.CICEK | 02125437175 | 10/02/2013 12:51 | Ozel Perihan Cicek Poliklinigi | |
02123770700 | 02123770700 | 01/03/2013 13:48 | Bilmemne kuru temizleme |