Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
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
| @implementation NSURLRequest(OOA) | |
| + (BOOL)allowsAnyHTTPSCertificateForHost:(NSString *)host { | |
| return YES; | |
| } | |
| @end |
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
| // | |
| // UIImage+Cache.m | |
| // | |
| // Created by Mark on 6/6/12. | |
| // Copyright (c) 2012 skram devs LLC. All rights reserved. | |
| // http://skr.am | |
| #import <UIKit/UIKit.h> |
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
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| #naruto-link-fetcher.py | |
| # | |
| #Copyright 2010 Vasudev Kamath <kamathvasudev@gmail.com> | |
| # | |
| #This program is free software; you can redistribute it and/or modify | |
| #it under the terms of the GNU General Public License as published by | |
| #the Free Software Foundation; either version 3 of the License, or | |
| #(at your option) any later version. |