- Open below directory in Finder with Cmnd + Shift + G
/Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/Resources/
[ | |
{ "command": "send_to_evernote", "caption": "Evernote: Send to Evernote as new note" }, | |
{ "command": "send_to_evernote", "args": {"clip": true}, "caption": "Evernote: Clip to Evernote as new note" }, | |
{ "command": "open_evernote_note", "caption": "Evernote: Open Evernote Note" }, | |
{ "command": "view_in_evernote_webapp", "caption": "Evernote: View Note in Web App" }, | |
{ "command": "view_in_evernote_client", "caption": "Evernote: View Note in Evernote client" }, | |
{ "command": "open_evernote_note", "args": {"by_searching": true}, "caption": "Evernote: Search Note" }, | |
{ "command": "open_evernote_note", "args": {"max_notes": 10, "by_searching": "*", "order": "updated", "ascending": false}, "caption": "Evernote: List recent notes" }, | |
{ "command": "attach_to_evernote_note", "caption": "Evernote: Attach current file to a note" }, | |
{ "command": "insert_link_to_evernote_note", "caption": "Evernote: Insert link to a note (browse)" }, |
#include GLUT/glut.h | |
#include iostream | |
#include stdlib.h | |
#include math.h | |
#include cmath | |
using namespace std; | |
class wcPt3D // class to represent a 2D point |
import UIKit | |
import PlaygroundSupport | |
struct StringConstants { | |
static let bullet1 = "This is a small string." | |
static let bullet2 = "This is more of medium string with a few more words etc." | |
static let bullet3 = "Well this is certainly a longer string, with many more words than either of the previuos two strings." | |
} | |
typealias ParagraphData = (bullet: String, paragraph: String) |
.data | |
break: .asciiz "\n" | |
ask: .asciiz "Please enter a random 4 digit number for a seed: " | |
input: .float 4 | |
list : .word 100 | |
extension UIViewController { | |
func configureNavigationBar(largeTitleColor: UIColor, backgoundColor: UIColor, tintColor: UIColor, title: String, preferredLargeTitle: Bool) { | |
if #available(iOS 13.0, *) { | |
let navBarAppearance = UINavigationBarAppearance() | |
navBarAppearance.configureWithOpaqueBackground() | |
navBarAppearance.largeTitleTextAttributes = [.foregroundColor: largeTitleColor] | |
navBarAppearance.titleTextAttributes = [.foregroundColor: largeTitleColor] | |
navBarAppearance.backgroundColor = backgoundColor | |
navigationController?.navigationBar.standardAppearance = navBarAppearance |
if Rails.env.development? || Rails.env.test? | |
puts 'Deleting Line Items, Orders and Products' | |
LineItem.delete_all | |
Order.delete_all | |
Product.delete_all | |
else | |
puts 'NOT DELETING LINE-ITEMS, ORDERS, and PRODUCTS' | |
end |
if Rails.const_defined? 'Server' | |
options = { addr: ENV.fetch('PORT') { 3000 } } | |
puts 'Starting Ngrok' | |
Ngrok::Tunnel.start(options) | |
puts '[NGROK] tunneling at ' + Ngrok::Tunnel.ngrok_url_https | |
config.hosts << Ngrok::Tunnel.ngrok_url_https | |
ENV['api_return_url_base'] = Ngrok::Tunnel.ngrok_url_https | |
puts "[Ngrok] ENV VARIABLE api_return_url_base: #{ENV["api_return_url_base"]}" |
HANDY ONE-LINE SCRIPTS FOR AWK 30 April 2008 | |
USAGE: | |
Unix: awk '/pattern/ {print "$1"}' # standard Unix shells | |
DOS/Win: awk '/pattern/ {print "$1"}' # compiled with DJGPP, Cygwin | |
awk "/pattern/ {print \"$1\"}" # GnuWin32, UnxUtils, Mingw | |
# FILE SPACING: |