Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| <?php | |
| /** | |
| * Add meta fields support in rest API for post type `Post` | |
| * | |
| * This function will allow custom parameters within API request URL. Add post meta support for post type `Post`. | |
| * | |
| * > How to use? | |
| * http://mysite.com/wp-json/wp/v2/posts?meta_key=<my_meta_key>&meta_value=<my_meta_value> | |
| * | |
| * > E.g. Get posts which post meta `already-visited` value is `true`. |
| #!/usr/bin/env ruby | |
| require 'optparse' | |
| CURRENT_PATH = File.expand_path(File.dirname(__FILE__)) | |
| FALLBACK_PATH = File.join(CURRENT_PATH, "..", "build-xcode", "Debug", "include", "libMultiMarkdown", "libMultiMarkdown.h") | |
| options = {:mode => :nsenum} | |
| OptionParser.new do |parser| | |
| parser.banner = "Usage: #{$0} [options] path/to/libMultiMarkdown.h" |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| { | |
| "name": "project-name", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "n/a", | |
| "scripts": { | |
| "serve": "gatsby develop -p 5000", | |
| "dev": "node $NODE_DEBUG_OPTION ./node_modules/.bin/gatsby develop -p 5000", | |
| } | |
| } |
Author: Chris Lattner
| #!/usr/bin/env bash | |
| # Automating https://blog.dekstroza.io/ulimit-shenanigans-on-osx-el-capitan/ | |
| echo "Updating the ulimits on OSX to be able to run RHAMT tests." | |
| sudo bash -c 'cat >/Library/LaunchDaemons/limit.maxfiles.plist <<EOF | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> |
| APP="MyApp" | |
| CONSTRUCT=xcodebuild -workspace $(APP).xcworkspace -scheme $(APP) clean | |
| install_deps: | |
| pod install | |
| create_config: | |
| swift package fetch | |
| swift package generate-xcodeproj | |
| wipe: | |
| rm -rf .build $(APP).xcodeproj $(APP).xcworkspace Package.pins Pods Podfile.lock |
| // For details, see | |
| // http://stackoverflow.com/questions/40261857/remove-nested-key-from-dictionary | |
| import Foundation | |
| extension Dictionary { | |
| subscript(keyPath keyPath: String) -> Any? { | |
| get { | |
| guard let keyPath = Dictionary.keyPathKeys(forKeyPath: keyPath) | |
| else { return nil } | |
| return getValue(forKeyPath: keyPath) |
My Ubuntu 16.04 did not work with @DB_Bahn's Wifi network out of the box. Here's what I did:
Step 1 Connect to the WLAN wifionice.
Step 2. Fire up your browser and open http://www.wifionice.de - at this point, I got an "unable to connect" message.
Step 3.. Open up a terminal (Ctrl-Alt-T on Ubuntu) and find out the IP address of www.wifionice.de