Skip to content

Instantly share code, notes, and snippets.

Yaprak Ayazoğlu ankakusu

Block or report user

Report or block ankakusu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ankakusu /
Last active Apr 30, 2019
Ways of CI/CD systems
Github Bitbucket Gitlab
Jenkins [x] [x] [x]
Travis [x]
Bitbucket CI [x]
Gitlab CI [x]
Bitbucket Pipelines [x]
ankakusu / test.service.ts
Last active Jan 31, 2018
Test Service defined for testing REST calls with HTTPClient library
View test.service.ts
import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
export class TestService {
private testUrl = '/some/test/url';
constructor(private http: HttpClient) { }
ankakusu / ViewController.m
Created Dec 19, 2013
Create and initialize the GMSMapView programmatically.
View ViewController.m
@interface ViewController ()
@property (nonatomic) GMSMapView *mapView;
@implementation ViewController
#pragma mark - UIViewController
- (void)viewDidLoad {
ankakusu / postWrapper.m
Last active Dec 31, 2015
AFNetworking post wrapper
View postWrapper.m
-(void) get:(NSString *)rest withParams:(NSDictionary*)params
completion:(void (^)(id))completionBlock
NSString *curUrl = [self.constant.url stringByAppendingString:rest];
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager];
ankakusu / pauseEvent
Created Nov 23, 2012
cordova location tracker at background
View pauseEvent
document.addEventListener("pause", App.pauseEvent, false);
pauseEvent: function(){
App.latlngs.push(new L.LatLng(pos.coords.latitude, pos.coords.longitude));
alert('Error:' + err);
ankakusu / 1question.txt
Created Sep 28, 2012
node.js - mongoose - while sending a data from client to server with ajax-post request
View 1question.txt
I'm trying to send a mongodb schema from client to the server. I put the server (server.js) and client (client.js) codes above. When I press the button on the client side, I log the incoming data into the console.
In the console output what I have is:
field1: `container field`,
subSchema: []
You can’t perform that action at this time.