-
Get a html content from an url
curl http://www.exmaple.com
-
-o
Get a html content and save it to a file
curl -o example.html http://www.exmaple.com
# Header 1 # | |
## Header 2 ## | |
### Header 3 ### (Hashes on right are optional) | |
#### Header 4 #### | |
##### Header 5 ##### | |
## Markdown plus h2 with a custom ID ## {#id-goes-here} | |
[Link back to H2](#id-goes-here) | |
This is a paragraph, which is text surrounded by whitespace. Paragraphs can be on one |
@interface MyClass:NSObject | |
{ | |
SystemSoundID mySound; | |
} | |
@implementation MyClass | |
- (void) viewDidLoad { | |
[super viewDidLoad]; | |
NSString *soundPath = [[NSBundle mainBundle] pathForResource:@"changeTrack" ofType:@"aif"]; | |
AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath: soundPath], &mySound); |
# the IP(s) on which your node server is running. I chose port 3000. | |
upstream app_server { | |
server 127.0.0.1:3000; | |
keepalive 64; | |
} | |
# the nginx server instance | |
server { | |
listen 80; | |
server_name #{servername}; |
server { | |
listen 80; | |
server_name server_name; | |
access_log /var/log/app/access.log; | |
error_log /var/log/app/error.log; | |
# https://docs.djangoproject.com/en/dev/howto/static-files/#serving-static-$ | |
location /static { # STATIC_URL | |
alias /path/to/app/static; # STATIC_R$ |
#if __IPHONE_OS_VERSION_MIN_REQUIRED <= __IPHONE_6_1 | |
//code here | |
#endif |
CGRect bounds = [self bounds]; | |
CGContextRef context = UIGraphicsGetCurrentContext(); | |
CGFloat radius = 0.5f * CGRectGetHeight(bounds); | |
// Create the "visible" path, which will be the shape that gets the inner shadow | |
// In this case it's just a rounded rect, but could be as complex as your want | |
CGMutablePathRef visiblePath = CGPathCreateMutable(); | |
CGRect innerRect = CGRectInset(bounds, radius, radius); | |
CGPathMoveToPoint(visiblePath, NULL, innerRect.origin.x, bounds.origin.y); |
Get a html content from an url
curl http://www.exmaple.com
-o
Get a html content and save it to a file
curl -o example.html http://www.exmaple.com