The document discusses code for creating and managing a custom sheet window in a Cocoa application. It defines an NSDocument subclass with methods for opening and closing the sheet, as well as handling termination events. The open method uses beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: to display the sheet, while close uses endSheet:. The terminate method closes any open sheets before quitting the application.
The document is a log containing repeated entries of a date, topic headings for "Cocoa", "QuickLook", and a file path and page number. It does not contain any other substantive information in the entries or overall.
This document discusses OpenSSL and encryption/decryption using the Blowfish cipher. It shows examples of encrypting a plaintext string using OpenSSL's bf utility with different keys and initialization vectors. It also shows decrypting an encrypted file back to plaintext. Finally, it includes Objective-C code to decrypt data from a file encrypted with Blowfish using the OpenSSL EVP API.
This document provides a summary of various Android utilities including tools for app debugging, memory leak detection, Javadoc generation, diagram generation, project overview, bug tracking, app demonstration, driver installation, search, POJO generation, quality analysis, semantic versioning, Proguard, project configuration, and logo credits. Each utility includes a brief description and link to its GitHub page or website.
Advanced Mac Software Deployment and Configuration: Just Make It Work!Timothy Sutton
?
This presentation was given at the Mac Admin & Developer Conference UK in February 2017. Session description follows:
You’re dealing with terrible installer packages, applications that perform ad-hoc system setup tasks and assume every user is an admin. It seems so often they were never tested in multi-user or enterprise environments. Your colleagues wonder “How hard could this be? At home I just install it and it works,” and they roll their eyes as you bemoan the sad realities of deploying desktop software.
This session will explore techniques for identifying the causes of these issues, and how to approach the various problems systematically to develop solutions. In no particular order, we’ll visit Bash, Python, packaging, launchd, configuration profiles, defaults, and the Hopper Disassembler.
Docker is a very useful tool in every data scientists toolbox. In this talk I present motivations to use Docker and made some live demos of typical tools used in data science, such as RStudio, Jupyter Notebook, or Elasticsearch.
Webpack is a module bundler that bundles JavaScript files for use in a browser. It takes modules with dependencies and generates static assets representing those modules. The key steps are to specify an entry point, add loaders for file transformations, specify the output bundle, and use plugins like html-webpack-plugin to generate HTML files that link to the bundled scripts. Webpack traverses dependency graphs to bundle assets in an optimized way.
This document outlines the steps to create a Java web application project hosted on Google App Engine, including:
1. Understanding key concepts like Google App Engine, Java, Spring Framework, Apache Maven, and REST.
2. Creating a Google Cloud project and enabling the necessary APIs.
3. Installing software like the Google Cloud SDK, Java JDK, and Maven.
4. Generating a Spring Boot project locally and modifying the main class to add a GET endpoint.
5. Running the application locally and deploying it to App Engine using Maven and the gcloud CLI.
Presentation about how to extend MySQL Shell for DBA daily tasks and Innotop like processlist overview.
This presentation was delivered during the pre-FOSDEM MySQL Day on Feb 1st 2019
This document discusses various aspects of MongoDB performance. It covers monitoring MongoDB performance through the HTTP console, SSH console, and custom monitoring. It also discusses tuning MongoDB performance through optimizing indexes, avoiding growing documents, preallocating documents, and using explain queries. The conclusion provides some tips on dealing with disk fragmentation, concurrency, and why it's good to upgrade MongoDB versions.
The document describes the steps to set up a project using JavaScript with a 3-layer architecture on both the front-end and back-end. It involves creating an MVC project with a SQL database, installing the Dapper package, defining models and repositories to interact with the database, and implementing controllers and services on the back-end. On the front-end, it covers creating DTOs, handling AJAX calls, and implementing repositories, services, and controllers with JavaScript. It also discusses rendering data on the front-end using templates.
Chef Workshop: Setup Environment with Chef,Vagrant, and BerkshelfJun Sakata
?
The document provides an introduction and agenda for a Chef developers' workshop. It outlines the prerequisites including VirtualBox, Vagrant, and Chef. It then covers two parts: 1) getting started with Chef using Vagrant including creating a cookbook and recipes, and 2) exploring the structure of Chef including cookbooks, recipes, attributes and resources. The objectives are to learn the basics of Chef, be able to use Chef to create infrastructure code, and build one's own cookbook.
This document provides an overview of materials for a webpack lecture, including basic webpack parameters, practical examples, and frequently asked questions. It covers topics such as entry points, output configuration, loaders, plugins, code splitting, and techniques for optimizing build performance and bundle size. The document also provides links to webpack documentation and resources for learning more about developing with webpack.
This document contains a list of various URLs and web links on different topics including: project approaches, e-learning, Linux, word processors, physics equations, astronomy, computer science topics like computer generated holograms, shopping applications using barcodes, robotic locomotion, mobile applications, electronics connectors, and game development. Many of the links are broken and no longer function or the websites no longer exist. The document seems to be collecting various online references and resources but without much organization or context around the various topics.
This document contains a list of various URLs and web links on different topics including: e-learning, online courses, Linux, word processors, physics formulas, astronomy, computer science, shopping applications, barcode scanning, robotics, and game development. Many of the links are broken or outdated. The document seems to be collecting various online references but lacks context or overall organization.
This document contains a list of various URLs and web links on different topics including:
1. Websites related to e-learning projects, course design, and learning management systems
2. Links to blogs and websites about word processors, physics equations, and astronomy
3. Links to pages about holograms, laser interference patterns, and shopping applications using barcodes.
This document describes integrating PyKafka with Python/Flask to create a live map of London with real-time updates. It outlines downloading Java and Kafka, setting up Kafka on Windows, creating a Kafka topic, writing a Python Flask program to generate bus location data and send it to Kafka, and using Leaflet.js to display markers on a map that are updated from the Kafka stream.
The document discusses two serverless computing platforms that support Swift - OpenWhisk and Fn.
OpenWhisk is an open source system that is event-driven, containerized, and allows chaining of actions. It is hosted on Bluemix but can be difficult to deploy elsewhere. Fn is container-native and deploys functions as containers communicating via standard input/output. Both allow simple Swift functions to be deployed and called remotely with REST APIs or command line tools. The document provides examples of writing, deploying and calling functions on each platform.
Framework Enabling End-Users to Maintain Web Applications (ICICWS2015)Masayuki Nii
?
The document describes a study evaluating whether end-users can maintain web applications using a declarative web application framework called INTER-Mediator. The framework allows users to describe web pages and database queries using key-value pairs rather than imperative programming. An experiment found that while some subjects failed to learn the framework within 2 hours, others scored 42-93% on an exam after studying for over 45 minutes, indicating they successfully learned to develop with the framework in a short period of time.
This document discusses various aspects of MongoDB performance. It covers monitoring MongoDB performance through the HTTP console, SSH console, and custom monitoring. It also discusses tuning MongoDB performance through optimizing indexes, avoiding growing documents, preallocating documents, and using explain queries. The conclusion provides some tips on dealing with disk fragmentation, concurrency, and why it's good to upgrade MongoDB versions.
The document describes the steps to set up a project using JavaScript with a 3-layer architecture on both the front-end and back-end. It involves creating an MVC project with a SQL database, installing the Dapper package, defining models and repositories to interact with the database, and implementing controllers and services on the back-end. On the front-end, it covers creating DTOs, handling AJAX calls, and implementing repositories, services, and controllers with JavaScript. It also discusses rendering data on the front-end using templates.
Chef Workshop: Setup Environment with Chef,Vagrant, and BerkshelfJun Sakata
?
The document provides an introduction and agenda for a Chef developers' workshop. It outlines the prerequisites including VirtualBox, Vagrant, and Chef. It then covers two parts: 1) getting started with Chef using Vagrant including creating a cookbook and recipes, and 2) exploring the structure of Chef including cookbooks, recipes, attributes and resources. The objectives are to learn the basics of Chef, be able to use Chef to create infrastructure code, and build one's own cookbook.
This document provides an overview of materials for a webpack lecture, including basic webpack parameters, practical examples, and frequently asked questions. It covers topics such as entry points, output configuration, loaders, plugins, code splitting, and techniques for optimizing build performance and bundle size. The document also provides links to webpack documentation and resources for learning more about developing with webpack.
This document contains a list of various URLs and web links on different topics including: project approaches, e-learning, Linux, word processors, physics equations, astronomy, computer science topics like computer generated holograms, shopping applications using barcodes, robotic locomotion, mobile applications, electronics connectors, and game development. Many of the links are broken and no longer function or the websites no longer exist. The document seems to be collecting various online references and resources but without much organization or context around the various topics.
This document contains a list of various URLs and web links on different topics including: e-learning, online courses, Linux, word processors, physics formulas, astronomy, computer science, shopping applications, barcode scanning, robotics, and game development. Many of the links are broken or outdated. The document seems to be collecting various online references but lacks context or overall organization.
This document contains a list of various URLs and web links on different topics including:
1. Websites related to e-learning projects, course design, and learning management systems
2. Links to blogs and websites about word processors, physics equations, and astronomy
3. Links to pages about holograms, laser interference patterns, and shopping applications using barcodes.
This document describes integrating PyKafka with Python/Flask to create a live map of London with real-time updates. It outlines downloading Java and Kafka, setting up Kafka on Windows, creating a Kafka topic, writing a Python Flask program to generate bus location data and send it to Kafka, and using Leaflet.js to display markers on a map that are updated from the Kafka stream.
The document discusses two serverless computing platforms that support Swift - OpenWhisk and Fn.
OpenWhisk is an open source system that is event-driven, containerized, and allows chaining of actions. It is hosted on Bluemix but can be difficult to deploy elsewhere. Fn is container-native and deploys functions as containers communicating via standard input/output. Both allow simple Swift functions to be deployed and called remotely with REST APIs or command line tools. The document provides examples of writing, deploying and calling functions on each platform.
Framework Enabling End-Users to Maintain Web Applications (ICICWS2015)Masayuki Nii
?
The document describes a study evaluating whether end-users can maintain web applications using a declarative web application framework called INTER-Mediator. The framework allows users to describe web pages and database queries using key-value pairs rather than imperative programming. An experiment found that while some subjects failed to learn the framework within 2 hours, others scored 42-93% on an exam after studying for over 45 minutes, indicating they successfully learned to develop with the framework in a short period of time.
The document discusses methods for getting the preferred MIME type for a file from its extension or path. It defines a category on NSString to initialize a string from NSData using an IANA character set name. It also shows code for getting the preferred MIME type by calling UTTypeCopyPreferredTagWithClass on the file's UTI, determined from its extension using UTTypeCreatePreferredIdentifierForTag, or from its path using LSCopyItemAttributes.
颁辞肠辞补勉强会#47-狈厂鲍搁尝颁辞苍苍别肠迟颈辞苍のデリゲートメソッドと认証Masayuki Nii
?
NSURLConnectionのデリゲートメソッドと認証
This document discusses NSURLConnection delegate methods and authentication. It describes the order that delegate methods are called for different connection states, including before, during and after communication. It also covers all delegate methods, including those related to authentication and handling different error conditions. Code examples are provided to demonstrate how to implement delegate methods to handle normal connections as well as errors, redirects, SSL connections and authentication.