V 电影 (http://www.vmovier.com/) 是国内最大的微电影平台. 我们是一家初创公司, 由一群经验丰富, 富有激情的年轻人组成. 现招募 Python 和 PHP 攻城狮. 人生总有一段无缘无故想要飞翔的岁月, 我们称之为青春. 加入 V 电影, 我们一起飞翔. 或许你受够了在一家大公司做一颗普通的螺丝钉, 面对那些 "bullshit” 产品经理; 或许你是刚刚毕业不想循规蹈矩的有志青年. 那么, 加入一家注定伟大的公司初始核心团队, 与最文艺的 geek 一起奋斗, 或许这一次你离梦想真的很近.
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
server { | |
listen 80; | |
listen [::]:80; | |
server_name www.bbb.com; | |
location / { | |
proxy_pass http://www.aaa.com; | |
} | |
} |
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
#!/usr/bin/python | |
import sys | |
import string | |
import re | |
word_separator = re.compile('(?:,|\n)') | |
filename = sys.argv[1] | |
filedata = open(filename).read() |
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
// | |
// UIImageView+RatingStar.h | |
// RatingImageDemo | |
// | |
// Created by Alex Rezit on 25/01/2013. | |
// Copyright (c) 2013 Seymour Dev. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> |
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
#!/bin/bash | |
echo Processing file: $1; | |
sips -Z $(($(sips -g pixelHeight "$1" | cut -s -d ':' -f 2 | cut -c 2-) / 2)) "$1" --out "resized_$1" &> /dev/null |
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
// | |
// MainViewController.m | |
// VMovier | |
// | |
// Created by Alex Rezit on 17/12/2012. | |
// Copyright (c) 2012 Seymour Dev. All rights reserved. | |
// | |
#pragma mark - View control |
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
// | |
// RAPIUtils.h | |
// RKit | |
// | |
// Created by Alex Rezit on 08/11/2012. | |
// Copyright (c) 2012 Seymour Dev. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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 'from sys import argv | |
try: | |
command = argv[1] | |
print "sudo: %s: command not found" % command | |
except: | |
print """usage: sudo -h | -K | -k | -L | -V | |
usage: sudo -v [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid] | |
usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U user name] [-u user name|#uid] [-g groupname|#gid] [command] | |
usage: sudo [-AbEHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>] | |
usage: sudo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user name|#uid] file ..."""' > ~/.sudo.py |
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
static NSOperationQueue *__updateUIQueue; | |
- (void)viewDidAppear:(BOOL)animated | |
{ | |
[super viewDidAppear:animated]; | |
if (!__updateUIQueue) { | |
__updateUIQueue = [[NSOperationQueue alloc] init]; | |
} | |
[__updateUIQueue addOperationWithBlock:^{ | |
while (TRUE) { |