Adding REST API Support For Custom Content Types | WP REST API v2 Documentation
'show_in_rest' => true,
'rest_base' => 'books-api',
'rest_controller_class' => 'WP_REST_Posts_Controller',
wordpress  wp  rest  api 
3 days ago
OpenSSL Errors and Rails – Certificate Verify Failed · RailsApps
1. do a PRINTENV from the command line

2. Where is SSL_CERT_FILE pointing to? (Mine was SSL_CERT_FILE=/usr/local/etc/openssl/certs/cert.pem)

3. Is there a cert.pem, NOT an alias (unless it actually points to a file), there?

4. If not, find a cert.pem and copy it there.

5. Extra credit: add export SSL_CERT_FILE=/usr/local/etc/cacert.pem to your .bashrc file.

6. Restart terminal.

7. Pray.
openssl  ssl  cert  bundler 
29 days ago
How to Cook a Steak Perfectly Every Time: Use the Reverse Sear Hack - Great Ideas :
The Reverse Seared Steak
Makes 2
2 Ribeye or New York strip steaks (1 to 1 ½ inches thick)
Kosher salt and course black pepper

1. Preheat your oven to 250°F.
2. Place your steaks on a rimmed baking sheet fitted with a rack. Season generously with salt and pepper.
3. Roast in the oven for 45 minutes to 1 hour, until an instant-read thermometer reads 125°F for medium rare. (Check them around the 40-minute mark first, as oven temperatures and steak thickness will vary.) Let rest 5 minutes.
4. In an EXTREMELY hot cast iron skillet or grill, cook steaks one minute per side, until a dark brown crust forms.
5. Let rest another 10 minutes, slice, and serve.
recipe  cook  steak  slow 
7 weeks ago
javascript - How to cache JSON in ruby on rails? - Stack Overflow
def footer
return Rails.cache.fetch('footer', :expires_in => 4.hours){
rails  cache  json 
11 weeks ago
How to offset anchor tag link using CSS – NO JAVASCRIPT required – IT Support Guides
:target:before {
height:90px; /* fixed header height*/
margin:-90px 0 0; /* negative fixed header height */
css  anchor  fixed  header 
january 2017 provides a public HTTP API for software developers to search the geolocation of IP addresses. It uses a database of IP addresses that are associated to cities along with other relevant information like time zone, latitude and longitude.

You're allowed up to 10,000 queries per hour by default. Once this limit is reached, all of your requests will result in HTTP 403, forbidden, until your quota is cleared.
geolocation  api  js  free 
november 2016
Application Compatibility Table — RoaringApps
With each new release of the major desktop and mobile operating systems, there's always the chance that something will break. Whether it's a mission-critical application or just an app you use every day, sometimes you can't take the risk.
Mac  Apps  compatibility  macos  osx 
september 2016
Up your security on Amazon AWS — break the bit
"Statement": [
"Sid": "AllowPublicRead",
"Action": [
"Effect": "Allow",
"Resource": [
aws  s3  user  policy  security 
september 2016
delba/Permission: A unified API to ask for permissions on iOS
Permission exposes a unified API to request permissions on iOS.
permissions  swift  api  ios 
march 2016
bizz84/SwiftyStoreKit: Lightweight In App Purchases Swift framework for iOS 8.0+ and OSX 9.0+
SwiftyStoreKit is a lightweight In App Purchases framework for iOS 8.0+ and OSX 9.0+, written in Swift.
apple  swift  iOS  storekit  iap  purchase  library 
march 2016
How do I stop the Adobe Creative Cloud app from auto-launching on login? - Ask Different
It is loaded by default by /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist.

If you run

launchctl unload -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
that will disable it for your user.

To turn it back on

launchctl load -w /Library/LaunchAgents/com.adobe.AdobeCreativeCloud.plist
adobe  apple  creativecloud  crash 
december 2015
« earlier      
3d abtesting add-on addons admin adobe ajax amazon analytics anchor android angular angular2 animated animation apache api app apple applescript applewatch apps art aws background backgrounds backup bacon bestpractices birthday bittman blog boilerplate book bookmarklet bootstrap browser browserify bug build bundler buttons cache caching calendar canvas capistrano carousel cart cdn chart cheap cheatsheet chrome clean clip cloud cocktail code coding color commandline compatibility compression config content cookie cookies cooking cool copy creditcard crop cs5 cs6 css css3 custom customfields customize dashboard data database date datepicker datetime debugging deploy design development devise digitalocean div django dokku domain drink dropbox dropdown drupal ecommerce editor ee email embed english events expansion expressionengine extension fade favicon file filter firefox firewall fix fixed flash flexbox flickr fluid font fontface fonts food form forms framework free freeware funny gallery game games generator gestures git gmail google graphics graphs grid guide gulp hack hacks hardware header heroku history hosted hosting hover howto html html5 http humor icon icons ikea image images inspector inspiration internet ios ip ipad iphone itunes javascript jquery js json keyboard legal library lightbox linux lion list localhost mac macos macosx macvim mail mamp map maps mask media mediaqueries membership memory menu mobile modal model module modules mountainlion movies mozilla music mysql navigation netflix network networking ng2 node nodejs noise nyc online opensource openvpn optimization options orientation osx panel parallax password pasta pattern patterns payment paypal pdf performance phone photo photography photos photoshop php plan plugin plugins png policy popup pork post privacy productivity programming promise prototyping proxy python radio rails react reader recipe recipes redirect reference remote reset resources responsive rest retina reviews ror rss ruby rxjs s3 safari sass satellite screenshot script scripts scroll scrolling search security select server settings shopping signature simple slider slideshow software sort soup space speed spotify spotlight ssh ssl static steak storage sublimetext survey svg swift syntax table taxonomy tea terminal testing text texteditor textexpander theme themes time timeline tips tool tools touch transparent travel treeview tuning tutorial tv twitter type typography ubuntu ui unicode uninstall user validation varnish vector vi video vim virtualbox visualization vm vpn vps wallpaper wallpapers watch web webdesign webdev webfaction webfont webkit whisky windows wordpress workflow wp www youtube

Copy this bookmark: