| Task | Price |
|---|---|
| Photo cropping like facebook | 70$ |
| Backup setup | 35$ |
| Wishbook view | 35$ |
| All other non-bug fixes[fn:1] | 20$ |
| Make the grid view by default | 4$ |
| mobile version problem (so much space) | 3$ |
| Change notification email for user following | 5$ |
This file contains hidden or 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
| urls = [1, 2, 3] | |
| def process(url): | |
| print(url) | |
| def main(): | |
| while urls: | |
| item = urls.pop(0) |
This file contains hidden or 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
| urls = [1, 2, 3] | |
| def main(): | |
| while urls: | |
| item = urls.pop(0) | |
| print('Processing item: {}'.format(item)) | |
| tries = 0 | |
| while tries < 4: |
This file contains hidden or 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
| items = [1, 2, 3] | |
| while items: | |
| item = items.pop(0) | |
| print('Processing item: {}'.format(item)) | |
| tries = 0 | |
| while tries < 4: | |
| try: | |
| raise Exception('My Exception') |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os/exec" | |
| ) | |
| func main() { | |
| data := make([]byte, 1024*512) |
This file contains hidden or 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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os/exec" | |
| ) | |
| func main() { | |
| data := make([]byte, 1024*512) |
This file contains hidden or 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
| cmd := exec.Command("ffprobe", "-i", "pipe:0", "-show_format", | |
| "-print_format", "json", "-show_streams", "-probesize", "32") | |
| stdin, err := cmd.StdinPipe() | |
| if err != nil { | |
| log.Fatal(stdin) | |
| } | |
| stdin.Write(data) | |
| stdin.Close() |
This file contains hidden or 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
| from .production import * # noqa | |
| ALLOWED_HOSTS = ['example.com'] | |
| AWS_ACCESS_KEY_ID = '' | |
| AWS_SECRET_ACCESS_KEY = '' | |
| AWS_STORAGE_BUCKET_NAME = '' | |
| DATABASES = { | |
| 'default': { |
This file contains hidden or 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
| from .development import * # noqa |
This file contains hidden or 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
| my $thisName = "myname"; | |
| my $thisPass = "mypassword"; | |
| my @series = (); | |
| my %thisData = (login => $thisName, pass => $thisPass); | |
| push(@series, \%thisData); | |
| foreach my $index (0 .. $#series) { | |
| print $series[$index]{'pass'}; | |
| } |