First, Lets find out what version of PHP we're running (To find out if it's the default version).
To do that, Within the terminal, Fire this command:
which php
| grunt.initConfig | |
| stylus: | |
| options: | |
| use: [ | |
| () -> require('autoprefixer-stylus')('last 2 versions', 'ie 8') | |
| ] | |
| compile: | |
| files: | |
| 'build/styles.css': 'styles/index.styl' | |
| /* Flatten das boostrap */ | |
| .well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
| -moz-box-shadow: none !important; | |
| -webkit-box-shadow: none !important; | |
| box-shadow: none !important; | |
| -webkit-border-radius: 0px !important; | |
| -moz-border-radius: 0px !important; | |
| border-radius: 0px !important; | |
| border-collapse: collapse !important; | |
| background-image: none !important; |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| NSString *title = _objects[indexPath.row][@"title"]; | |
| NSString *author = _objects[indexPath.row][@"author"]; | |
| cell.textLabel.text = title; | |
| cell.detailTextLabel.text = author; |
| self.client = [[UGClient alloc] initWithOrganizationId:orgName withApplicationID:appName]; |
| //Getting all of your books without a filtering query. | |
| UGClientResponse *result = [self.client getEntities:@"book" query:nil]; | |
| if (result.transactionState == kUGClientResponseSuccess) { | |
| _objects = result.response[@"entities"]; | |
| } else { | |
| _objects = @[]; | |
| } |
| NSDictionary *entity = [_objects objectAtIndex:indexPath.row]; | |
| UGClientResponse * response = [self.client removeEntity:@"book" entityID:entity[@"uuid"]]; | |
| if (response.transactionState == kUGClientResponseSuccess) { | |
| [tableView deleteRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationFade]; | |
| } |
| UGClientResponse *response = [self.client createEntity:book]; | |
| //Lets check if our response was accepted by the server, and add the created object to a collection called _objects | |
| if (response.transactionState == kUGClientResponseSuccess) { | |
| [_objects insertObject:response.response[@"entities"][0] atIndex:0]; | |
| } |