hexsha
stringlengths 40
40
| size
int64 5
1.04M
| ext
stringclasses 6
values | lang
stringclasses 1
value | max_stars_repo_path
stringlengths 3
344
| max_stars_repo_name
stringlengths 5
125
| max_stars_repo_head_hexsha
stringlengths 40
78
| max_stars_repo_licenses
sequencelengths 1
11
| max_stars_count
int64 1
368k
⌀ | max_stars_repo_stars_event_min_datetime
stringlengths 24
24
⌀ | max_stars_repo_stars_event_max_datetime
stringlengths 24
24
⌀ | max_issues_repo_path
stringlengths 3
344
| max_issues_repo_name
stringlengths 5
125
| max_issues_repo_head_hexsha
stringlengths 40
78
| max_issues_repo_licenses
sequencelengths 1
11
| max_issues_count
int64 1
116k
⌀ | max_issues_repo_issues_event_min_datetime
stringlengths 24
24
⌀ | max_issues_repo_issues_event_max_datetime
stringlengths 24
24
⌀ | max_forks_repo_path
stringlengths 3
344
| max_forks_repo_name
stringlengths 5
125
| max_forks_repo_head_hexsha
stringlengths 40
78
| max_forks_repo_licenses
sequencelengths 1
11
| max_forks_count
int64 1
105k
⌀ | max_forks_repo_forks_event_min_datetime
stringlengths 24
24
⌀ | max_forks_repo_forks_event_max_datetime
stringlengths 24
24
⌀ | content
stringlengths 5
1.04M
| avg_line_length
float64 1.14
851k
| max_line_length
int64 1
1.03M
| alphanum_fraction
float64 0
1
| lid
stringclasses 191
values | lid_prob
float64 0.01
1
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b51d33bccb0e3e36ed2b12108ffeb7830a4c9ec2 | 67 | md | Markdown | README.md | AGGP-NHTI/Capstone2021-RocketJump | 1bed6f01bd5cd7a55ecf4a800b3cd3784507ee03 | [
"MIT"
] | null | null | null | README.md | AGGP-NHTI/Capstone2021-RocketJump | 1bed6f01bd5cd7a55ecf4a800b3cd3784507ee03 | [
"MIT"
] | null | null | null | README.md | AGGP-NHTI/Capstone2021-RocketJump | 1bed6f01bd5cd7a55ecf4a800b3cd3784507ee03 | [
"MIT"
] | null | null | null | # Capstone2021-RocketJump
Rocket Jump Project (AGGP Capstone 2021)
| 22.333333 | 40 | 0.820896 | eng_Latn | 0.380223 |
b51d3b96dc39f135d94d540b1d0fecc71f9b3125 | 1,982 | md | Markdown | Address/Address.md | nutterb/DatabaseStructure | b52642607c737504ab5d9ca90556b527f017e1f0 | [
"MIT"
] | null | null | null | Address/Address.md | nutterb/DatabaseStructure | b52642607c737504ab5d9ca90556b527f017e1f0 | [
"MIT"
] | null | null | null | Address/Address.md | nutterb/DatabaseStructure | b52642607c737504ab5d9ca90556b527f017e1f0 | [
"MIT"
] | null | null | null | ### Address
Property Name | Type | Event Track | Description
--------------|------|-------------|------------
OID | INT | No | Object identifier
Locality | VARCHAR(100) | Yes | Locality name (eg, city)
Region | INT | Yes | Reference to `Region.OID` (eg, state or province)
PostalCode | VARCHAR(20) | Yes | Postal code (ZIP code)
Country | INT | Yes | Reference to `Country.OID`
IsResidential | BIT | Yes | Is the address a residential address?
IsPhysical | BIT | Yes | Is the address a physical address?
IsActive | BIT | Yes | Is the address active?
### AddressEvent
Property Name | Type | Event Track | Description
--------------|------|-------------|------------
OID | INT | No | Object Identifier
Address | INT | No | Reference to `Address.OID`
EventType | INT | No | Reference to `AddressEventType.OID`
PreviousValue | VARCHAR(20) | No | Previous value of the property
EventUser | INT | No | Reference to Person.OID
EventDateTime | DATETIME | No | DateTime of the event
### AddressEventType
Property Name | Type | Event Track | Description
--------------|------|-------------|------------
OID | INT | No | Object Identifier
EventType | VARCHAR(20) | No | Event type abbreviation
Description | VARCHAR(250) | No | Event type description
| Event Type | Description |
|------------|-------------|
| Create | Create a new address object |
| EditLocality | Edit the `Locality` property |
| EditRegion | Edit the `Region` property |
| EditPostCode | Edit the `PostalCode` property |
| EditCountry | Edit the `Country` property |
| EditResident | Edit the `IsResidential` property |
| EditMailing | Edit the `IsMailing` property |
| EditPhysical | Edit the `IsPhysical` property |
| Activate | Activate an existing person |
| Deactivate | Deactivate an existing person |
| 44.044444 | 86 | 0.583249 | eng_Latn | 0.44758 |
b51de2c19941358168d7ee399c006e0491051b5f | 20,753 | md | Markdown | 2021/04/2021-04-21.md | henson/Scraper | ccb0198b463f31b9686bbe8d3571e0e05124d1ea | [
"Apache-2.0"
] | 39 | 2017-01-04T03:10:08.000Z | 2022-03-17T02:41:57.000Z | 2021/04/2021-04-21.md | henson/Scraper | ccb0198b463f31b9686bbe8d3571e0e05124d1ea | [
"Apache-2.0"
] | null | null | null | 2021/04/2021-04-21.md | henson/Scraper | ccb0198b463f31b9686bbe8d3571e0e05124d1ea | [
"Apache-2.0"
] | 13 | 2017-06-25T09:01:00.000Z | 2021-03-20T19:54:34.000Z | ### 2021-04-21
#### go
* [360EntSecGroup-Skylar/excelize (0s/0f)](https://github.com/360EntSecGroup-Skylar/excelize) : Golang library for reading and writing Microsoft Excel™ (XLSX) files.
* [sirupsen/logrus (0s/0f)](https://github.com/sirupsen/logrus) : Structured, pluggable logging for Go.
* [schollz/croc (0s/0f)](https://github.com/schollz/croc) : Easily and securely send things from one computer to another 🐊 📦
* [k6io/k6 (0s/0f)](https://github.com/k6io/k6) : A modern load testing tool, using Go and JavaScript - https://k6.io
* [influxdata/telegraf (0s/0f)](https://github.com/influxdata/telegraf) : The plugin-driven server agent for collecting & reporting metrics.
* [runatlantis/atlantis (0s/0f)](https://github.com/runatlantis/atlantis) : Terraform Pull Request Automation
* [aws/aws-sdk-go (0s/0f)](https://github.com/aws/aws-sdk-go) : AWS SDK for the Go programming language.
* [pkg/errors (0s/0f)](https://github.com/pkg/errors) : Simple error handling primitives
* [google/gops (0s/0f)](https://github.com/google/gops) : A tool to list and diagnose Go processes currently running on your system
* [kubernetes/autoscaler (0s/0f)](https://github.com/kubernetes/autoscaler) : Autoscaling components for Kubernetes
* [helm/charts (0s/0f)](https://github.com/helm/charts) : ⚠️(OBSOLETE) Curated applications for Kubernetes
* [docuowl/docuowl (0s/0f)](https://github.com/docuowl/docuowl) : 🦉 A documentation generator
* [rook/rook (0s/0f)](https://github.com/rook/rook) : Storage Orchestration for Kubernetes
* [ent/ent (0s/0f)](https://github.com/ent/ent) : An entity framework for Go
* [v2rayA/v2rayA (0s/0f)](https://github.com/v2rayA/v2rayA) : A Linux web GUI client of Project V which supports V2Ray, SS, SSR, Trojan and Pingtunnel 🚀
* [grafana/loki (0s/0f)](https://github.com/grafana/loki) : Like Prometheus, but for logs.
* [oam-dev/kubevela (0s/0f)](https://github.com/oam-dev/kubevela) : A Modern Application Deployment System Based on Kubernetes and OAM.
* [kubeedge/kubeedge (0s/0f)](https://github.com/kubeedge/kubeedge) : Kubernetes Native Edge Computing Framework (project under CNCF)
* [weaveworks/eksctl (0s/0f)](https://github.com/weaveworks/eksctl) : The official CLI for Amazon EKS
* [aws/aws-sdk-go-v2 (0s/0f)](https://github.com/aws/aws-sdk-go-v2) : AWS SDK for the Go programming language.
* [go-redis/redis (0s/0f)](https://github.com/go-redis/redis) : Type-safe Redis client for Golang
* [jinzhu/copier (0s/0f)](https://github.com/jinzhu/copier) : Copier for golang, copy value from struct to struct and more
* [bxcodec/go-clean-arch (0s/0f)](https://github.com/bxcodec/go-clean-arch) : Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture
* [github/gh-ost (0s/0f)](https://github.com/github/gh-ost) : GitHub's Online Schema Migrations for MySQL
* [nektos/act (0s/0f)](https://github.com/nektos/act) : Run your GitHub Actions locally 🚀
#### ruby
* [fastlane/fastlane (0s/0f)](https://github.com/fastlane/fastlane) : 🚀 The easiest way to automate building and releasing your iOS and Android apps
* [lewagon/setup (0s/0f)](https://github.com/lewagon/setup) : Setup instructions for Le Wagon's students on their first day of Web Development Bootcamp
* [chatwoot/chatwoot (0s/0f)](https://github.com/chatwoot/chatwoot) : Open-source customer engagement suite, an alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬
* [elastic/ansible-elasticsearch (0s/0f)](https://github.com/elastic/ansible-elasticsearch) : Ansible playbook for Elasticsearch
* [mperham/sidekiq (0s/0f)](https://github.com/mperham/sidekiq) : Simple, efficient background processing for Ruby
* [elastic/elasticsearch-rails (0s/0f)](https://github.com/elastic/elasticsearch-rails) : Elasticsearch integrations for ActiveModel/Record and Ruby on Rails
* [Homebrew/homebrew-bundle (0s/0f)](https://github.com/Homebrew/homebrew-bundle) : 📦 Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.
* [rails/webpacker (0s/0f)](https://github.com/rails/webpacker) : Use Webpack to manage app-like JavaScript modules in Rails
* [varvet/pundit (0s/0f)](https://github.com/varvet/pundit) : Minimal authorization through OO design and pure Ruby classes
* [ginkgobioworks/vaccinetime (0s/0f)](https://github.com/ginkgobioworks/vaccinetime) : A bot by @dpca from @ginkgobioworks, helping you find open vaccine appointments in Massachusetts
* [puma/puma (0s/0f)](https://github.com/puma/puma) : A Ruby/Rack web server built for concurrency
* [bit4woo/Summit_PPT (0s/0f)](https://github.com/bit4woo/Summit_PPT) : 各种安全大会PPT PDF
* [rack/rack (0s/0f)](https://github.com/rack/rack) : A modular Ruby web server interface.
* [jekyll/jekyll (0s/0f)](https://github.com/jekyll/jekyll) : 🌐 Jekyll is a blog-aware static site generator in Ruby
* [thoughtbot/paperclip (0s/0f)](https://github.com/thoughtbot/paperclip) : Easy file attachment management for ActiveRecord
* [faker-ruby/faker (0s/0f)](https://github.com/faker-ruby/faker) : A library for generating fake data such as names, addresses, and phone numbers.
* [kaminari/kaminari (0s/0f)](https://github.com/kaminari/kaminari) : ⚡ A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Ruby webapps
* [instructure/canvas-lms (0s/0f)](https://github.com/instructure/canvas-lms) : The open LMS by Instructure, Inc.
* [elastic/elasticsearch-ruby (0s/0f)](https://github.com/elastic/elasticsearch-ruby) : Ruby integrations for Elasticsearch
* [rubysherpas/paranoia (0s/0f)](https://github.com/rubysherpas/paranoia) : acts_as_paranoid for Rails 3, 4 and 5
* [ruby-grape/grape (0s/0f)](https://github.com/ruby-grape/grape) : An opinionated framework for creating REST-like APIs in Ruby.
* [decidim/decidim (0s/0f)](https://github.com/decidim/decidim) : The participatory democracy framework. A generator and multiple gems made with Ruby on Rails
* [activeadmin/activeadmin (0s/0f)](https://github.com/activeadmin/activeadmin) : The administration framework for Ruby on Rails applications.
* [dependabot/dependabot-core (0s/0f)](https://github.com/dependabot/dependabot-core) : 🤖 The core logic behind Dependabot's update PR creation, and the public issue tracker for all things Dependabot
* [github/view_component (0s/0f)](https://github.com/github/view_component) : A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
#### swift
* [Alamofire/Alamofire (0s/0f)](https://github.com/Alamofire/Alamofire) : Elegant HTTP Networking in Swift
* [Swinject/Swinject (0s/0f)](https://github.com/Swinject/Swinject) : Dependency injection framework for Swift with iOS/macOS/Linux
* [Moya/Moya (0s/0f)](https://github.com/Moya/Moya) : Network abstraction layer written in Swift.
* [onevcat/Kingfisher (0s/0f)](https://github.com/onevcat/Kingfisher) : A lightweight, pure-Swift library for downloading and caching images from the web.
* [stephencelis/SQLite.swift (0s/0f)](https://github.com/stephencelis/SQLite.swift) : A type-safe, Swift-language layer over SQLite3.
* [serhii-londar/open-source-mac-os-apps (0s/0f)](https://github.com/serhii-londar/open-source-mac-os-apps) : 🚀 Awesome list of open source applications for macOS. https://t.me/opensourcemacosapps
* [krzyzanowskim/CryptoSwift (0s/0f)](https://github.com/krzyzanowskim/CryptoSwift) : CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift
* [AppPear/ChartView (0s/0f)](https://github.com/AppPear/ChartView) : ChartView made in SwiftUI
* [WenchaoD/FSPagerView (0s/0f)](https://github.com/WenchaoD/FSPagerView) : FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders.
* [airbnb/lottie-ios (0s/0f)](https://github.com/airbnb/lottie-ios) : An iOS library to natively render After Effects vector animations
* [ReactiveX/RxSwift (0s/0f)](https://github.com/ReactiveX/RxSwift) : Reactive Programming in Swift
* [psharanda/Atributika (0s/0f)](https://github.com/psharanda/Atributika) : Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement.
* [RxSwiftCommunity/RxDataSources (0s/0f)](https://github.com/RxSwiftCommunity/RxDataSources) : UITableView and UICollectionView Data Sources for RxSwift (sections, animated updates, editing ...)
* [kudoleh/iOS-Clean-Architecture-MVVM (0s/0f)](https://github.com/kudoleh/iOS-Clean-Architecture-MVVM) : Template iOS app using Clean Architecture and MVVM. Includes DIContainer, FlowCoordinator, DTO, Response Caching and one of the views in SwiftUI
* [daltoniam/Starscream (0s/0f)](https://github.com/daltoniam/Starscream) : Websockets in swift for iOS and OSX
* [patchthecode/JTAppleCalendar (0s/0f)](https://github.com/patchthecode/JTAppleCalendar) : The Unofficial Apple iOS Swift Calendar View. Swift calendar Library. iOS calendar Control. 100% Customizable
* [pointfreeco/isowords (0s/0f)](https://github.com/pointfreeco/isowords) : Open source game built in SwiftUI and the Composable Architecture.
* [huri000/SwiftEntryKit (0s/0f)](https://github.com/huri000/SwiftEntryKit) : SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps.
* [stripe/stripe-ios (0s/0f)](https://github.com/stripe/stripe-ios) : Stripe iOS SDK
* [Alamofire/AlamofireImage (0s/0f)](https://github.com/Alamofire/AlamofireImage) : AlamofireImage is an image component library for Alamofire
* [SwiftyJSON/SwiftyJSON (0s/0f)](https://github.com/SwiftyJSON/SwiftyJSON) : The better way to deal with JSON data in Swift.
* [pointfreeco/swift-snapshot-testing (0s/0f)](https://github.com/pointfreeco/swift-snapshot-testing) : 📸 Delightful Swift snapshot testing.
* [raywenderlich/swift-algorithm-club (0s/0f)](https://github.com/raywenderlich/swift-algorithm-club) : Algorithms and data structures in Swift, with explanations!
* [Quick/Nimble (0s/0f)](https://github.com/Quick/Nimble) : A Matcher Framework for Swift and Objective-C
* [signalapp/Signal-iOS (0s/0f)](https://github.com/signalapp/Signal-iOS) : A private messenger for iOS.
#### javascript
* [30-seconds/30-seconds-of-code (0s/0f)](https://github.com/30-seconds/30-seconds-of-code) : Short JavaScript code snippets for all your development needs
* [github/docs (0s/0f)](https://github.com/github/docs) : The open-source repo for docs.github.com
* [ascoders/weekly (0s/0f)](https://github.com/ascoders/weekly) : 前端精读周刊。帮你理解最前沿、实用的技术。
* [sudheerj/javascript-interview-questions (0s/0f)](https://github.com/sudheerj/javascript-interview-questions) : List of 1000 JavaScript Interview Questions
* [mui-org/material-ui (0s/0f)](https://github.com/mui-org/material-ui) : Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.
* [vuejs/vuex (0s/0f)](https://github.com/vuejs/vuex) : 🗃️ Centralized State Management for Vue.js.
* [nodejs/node (0s/0f)](https://github.com/nodejs/node) : Node.js JavaScript runtime ✨🐢🚀✨
* [vivek9patel/vivek9patel.github.io (0s/0f)](https://github.com/vivek9patel/vivek9patel.github.io) : Personal portfolio website of theme Ubuntu 20.04, made using React.js & tailwind CSS
* [jitsi/jitsi-meet (0s/0f)](https://github.com/jitsi/jitsi-meet) : Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
* [dcloudio/uni-app (0s/0f)](https://github.com/dcloudio/uni-app) : uni-app 是使用 Vue 语法开发小程序、H5、App的统一框架
* [axios/axios (0s/0f)](https://github.com/axios/axios) : Promise based HTTP client for the browser and node.js
* [git-tips/tips (0s/0f)](https://github.com/git-tips/tips) : Most commonly used git tips and tricks.
* [bilibili/flv.js (0s/0f)](https://github.com/bilibili/flv.js) : HTML5 FLV Player
* [karlhadwen/instagram (0s/0f)](https://github.com/karlhadwen/instagram) : Subscribe to my YouTube channel: https://bit.ly/CognitiveSurge - Building Instagram Using React
* [d3/d3 (0s/0f)](https://github.com/d3/d3) : Bring data to life with SVG, Canvas and HTML. 📊📈🎉
* [jklepatch/eattheblocks (0s/0f)](https://github.com/jklepatch/eattheblocks) : Source code for Eat The Blocks, a screencast for Ethereum Dapp Developers
* [sveltejs/kit (0s/0f)](https://github.com/sveltejs/kit) : A monorepo for SvelteKit and friends
* [CleverProgrammers/cp-disney-plus-clone (0s/0f)](https://github.com/CleverProgrammers/cp-disney-plus-clone) : Here's the DEMO Disney+ Clone App
* [sudheerj/reactjs-interview-questions (0s/0f)](https://github.com/sudheerj/reactjs-interview-questions) : List of top 500 ReactJS Interview Questions & Answers....Coding exercise questions are coming soon!!
* [chartjs/Chart.js (0s/0f)](https://github.com/chartjs/Chart.js) : Simple HTML5 Charts using the <canvas> tag
* [appium/appium (0s/0f)](https://github.com/appium/appium) : 📱 Automation for iOS, Android, and Windows Apps.
* [facebook/react-native (0s/0f)](https://github.com/facebook/react-native) : A framework for building native apps with React.
* [atralice/Curso.Prep.Henry (0s/0f)](https://github.com/atralice/Curso.Prep.Henry) : Curso de Preparación para Ingresar a Henry.
* [vercel/next.js (0s/0f)](https://github.com/vercel/next.js) : The React Framework
* [nuxt/nuxt.js (0s/0f)](https://github.com/nuxt/nuxt.js) : The Intuitive Vue Framework
#### python
* [CyberPunkMetalHead/Binance-News-Sentiment-Bot (0s/0f)](https://github.com/CyberPunkMetalHead/Binance-News-Sentiment-Bot) : This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds.
* [testerSunshine/12306 (0s/0f)](https://github.com/testerSunshine/12306) : 12306智能刷票,订票
* [scottbez1/splitflap (0s/0f)](https://github.com/scottbez1/splitflap) : DIY split-flap display
* [Chia-Network/chia-blockchain (0s/0f)](https://github.com/Chia-Network/chia-blockchain) : Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
* [Rog3rSm1th/Profil3r (0s/0f)](https://github.com/Rog3rSm1th/Profil3r) : OSINT tool that allows you to find a person's accounts and emails + breached emails 🕵️
* [Netflix/consoleme (0s/0f)](https://github.com/Netflix/consoleme) : A Central Control Plane for AWS Permissions and Access
* [speechbrain/speechbrain (0s/0f)](https://github.com/speechbrain/speechbrain) : A PyTorch-based Speech Toolkit
* [Datalux/Osintgram (0s/0f)](https://github.com/Datalux/Osintgram) : Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
* [donnemartin/system-design-primer (0s/0f)](https://github.com/donnemartin/system-design-primer) : Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
* [ytdl-org/youtube-dl (0s/0f)](https://github.com/ytdl-org/youtube-dl) : Command-line program to download videos from YouTube.com and other video sites
* [jackfrued/Python-100-Days (0s/0f)](https://github.com/jackfrued/Python-100-Days) : Python - 100天从新手到大师
* [PaddlePaddle/PaddleGAN (0s/0f)](https://github.com/PaddlePaddle/PaddleGAN) : PaddlePaddle GAN library, including lots of interesting applications like First-Order motion transfer, wav2lip, picture repair, image editing, photo2cartoon, image style transfer, and so on.
* [ArchiveBox/ArchiveBox (0s/0f)](https://github.com/ArchiveBox/ArchiveBox) : 🗃 Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more...
* [lucidrains/DALLE-pytorch (0s/0f)](https://github.com/lucidrains/DALLE-pytorch) : Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch
* [521xueweihan/GitHub520 (0s/0f)](https://github.com/521xueweihan/GitHub520) : 😘 让你“爱”上 GitHub,解决访问时图裂、加载慢的问题。(无需安装)
* [boto/boto3 (0s/0f)](https://github.com/boto/boto3) : AWS SDK for Python
* [twopirllc/pandas-ta (0s/0f)](https://github.com/twopirllc/pandas-ta) : Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 130+ Indicators
* [CalvinLoke/bad-apple (0s/0f)](https://github.com/CalvinLoke/bad-apple) : Bad Apple printed out on the console with Python!
* [huggingface/autonlp (0s/0f)](https://github.com/huggingface/autonlp) : 🤗 AutoNLP: train state-of-the-art natural language processing models and deploy them in a scalable environment automatically
* [huggingface/accelerate (0s/0f)](https://github.com/huggingface/accelerate) : A simple way to train and use PyTorch models with multi-GPU, TPU, mixed-precision
* [Jack-Cherish/PythonPark (0s/0f)](https://github.com/Jack-Cherish/PythonPark) : Python 开源项目之「自学编程之路」,保姆级教程:AI实验室、宝藏视频、数据结构、学习指南、机器学习实战、深度学习实战、网络爬虫、大厂面经、程序人生、资源分享。
* [rwightman/pytorch-image-models (0s/0f)](https://github.com/rwightman/pytorch-image-models) : PyTorch image models, scripts, pretrained weights -- ResNet, ResNeXT, EfficientNet, EfficientNetV2, NFNet, Vision Transformer, MixNet, MobileNet-V3/V2, RegNet, DPN, CSPNet, and more
* [elastic/elasticsearch-py (0s/0f)](https://github.com/elastic/elasticsearch-py) : Official Python low-level client for Elasticsearch
* [yanshengjia/ml-road (0s/0f)](https://github.com/yanshengjia/ml-road) : Machine Learning Resources, Practice and Research
* [MichaelGrupp/evo (0s/0f)](https://github.com/MichaelGrupp/evo) : Python package for the evaluation of odometry and SLAM
#### html
* [hail2u/html-best-practices (0s/0f)](https://github.com/hail2u/html-best-practices) : For writing maintainable and scalable HTML documents
* [mattermost/focalboard (0s/0f)](https://github.com/mattermost/focalboard) : Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
* [MAIF/shapash (0s/0f)](https://github.com/MAIF/shapash) : 🔅 Shapash makes Machine Learning models transparent and understandable by everyone
* [developedbyed/explore (0s/0f)](https://github.com/developedbyed/explore) :
* [PKUanonym/REKCARC-TSC-UHT (0s/0f)](https://github.com/PKUanonym/REKCARC-TSC-UHT) : 清华大学计算机系课程攻略 Guidance for courses in Department of Computer Science and Technology, Tsinghua University
* [Chia-Network/chiapos (0s/0f)](https://github.com/Chia-Network/chiapos) : Chia Proof of Space library
* [sprov065/v2-ui (0s/0f)](https://github.com/sprov065/v2-ui) : 支持多协议多用户的 v2ray 面板,Support multi-protocol multi-user v2ray panel
* [github/training-kit (0s/0f)](https://github.com/github/training-kit) : Open source cheat sheets for Git and GitHub
* [DefectDojo/django-DefectDojo (0s/0f)](https://github.com/DefectDojo/django-DefectDojo) : DefectDojo is an open-source application vulnerability correlation and security orchestration tool.
* [bradtraversy/chatcord (0s/0f)](https://github.com/bradtraversy/chatcord) : Realtime chat app with rooms
* [NOMI-VR/NOMI-VR (0s/0f)](https://github.com/NOMI-VR/NOMI-VR) : NOMI VR Is An Inexpensive, Steam VR Compatible, Open Source VR Headset With Finger Tracking, Haptic Gloves.
* [cod3rcursos/web-moderno (0s/0f)](https://github.com/cod3rcursos/web-moderno) :
* [DeviaVir/zenbot (0s/0f)](https://github.com/DeviaVir/zenbot) : Zenbot is a command-line cryptocurrency trading bot using Node.js and MongoDB.
* [jwasham/computer-science-flash-cards (0s/0f)](https://github.com/jwasham/computer-science-flash-cards) : Mini website for testing both general CS knowledge and enforce coding practice and common algorithm/data structure memorization.
* [jgraph/mxgraph (0s/0f)](https://github.com/jgraph/mxgraph) : mxGraph is a fully client side JavaScript diagramming library
* [goitacademy/javascript-homework (0s/0f)](https://github.com/goitacademy/javascript-homework) :
* [emilwallner/Screenshot-to-code (0s/0f)](https://github.com/emilwallner/Screenshot-to-code) : A neural network that transforms a design mock-up into a static website.
* [mdn/content (0s/0f)](https://github.com/mdn/content) : The content behind MDN Web Docs
* [jlord/patchwork (0s/0f)](https://github.com/jlord/patchwork) : All the Git-it Workshop completers!
* [microsoft/DirectX-Specs (0s/0f)](https://github.com/microsoft/DirectX-Specs) : Engineering specs for DirectX features.
* [zlkbdotnet/zfaka (0s/0f)](https://github.com/zlkbdotnet/zfaka) : 免费、安全、稳定、高效的发卡系统,值得拥有!
* [An0nUD4Y/blackeye (0s/0f)](https://github.com/An0nUD4Y/blackeye) : The ultimate phishing tool with 38 websites available!
* [biaochenxuying/blog (0s/0f)](https://github.com/biaochenxuying/blog) : 大前端技术为主,读书笔记、随笔、理财为辅,做个终身学习者。
* [ganlanyuan/tiny-slider (0s/0f)](https://github.com/ganlanyuan/tiny-slider) : Vanilla javascript slider for all purposes.
* [CyC2018/Markdown-Resume (0s/0f)](https://github.com/CyC2018/Markdown-Resume) : ⭐️ Markdown 简历模版
| 126.542683 | 277 | 0.761769 | eng_Latn | 0.308118 |
b51e0394808f2b8b85baa81beddf1aa871a78313 | 108 | md | Markdown | doc/gitlab-geo/updating_the_geo_nodes.md | 0vert1m3/test | 2efa557754bb7c8b2f0cd75e4d6c12e06d134f32 | [
"MIT"
] | null | null | null | doc/gitlab-geo/updating_the_geo_nodes.md | 0vert1m3/test | 2efa557754bb7c8b2f0cd75e4d6c12e06d134f32 | [
"MIT"
] | null | null | null | doc/gitlab-geo/updating_the_geo_nodes.md | 0vert1m3/test | 2efa557754bb7c8b2f0cd75e4d6c12e06d134f32 | [
"MIT"
] | 2 | 2019-11-28T19:12:40.000Z | 2020-11-04T05:29:58.000Z | This document was moved to [another location](../administration/geo/replication/updating_the_geo_nodes.md).
| 54 | 107 | 0.824074 | eng_Latn | 0.979399 |
b51ef3e1dff955f3a14684bd889aa9c8ffa82419 | 18,642 | md | Markdown | _posts/2019-02-27-scrape-glassdoor-gdscrapeR.md | MGuideng/MGuideng.github.io | 369f2ca3ca3f7b933c1dd614eaecf3a565a54529 | [
"MIT"
] | null | null | null | _posts/2019-02-27-scrape-glassdoor-gdscrapeR.md | MGuideng/MGuideng.github.io | 369f2ca3ca3f7b933c1dd614eaecf3a565a54529 | [
"MIT"
] | 2 | 2020-02-25T10:30:29.000Z | 2021-05-19T08:30:06.000Z | _posts/2019-02-27-scrape-glassdoor-gdscrapeR.md | MGuideng/MGuideng.github.io | 369f2ca3ca3f7b933c1dd614eaecf3a565a54529 | [
"MIT"
] | 1 | 2018-08-13T04:18:19.000Z | 2018-08-13T04:18:19.000Z | ---
layout: post
title: Scrape Glassdoor Company Reviews
subtitle: in R Using the gdscraper Package
bigimg: /img/2019-02-27_files/0legoastro.jpg
tags: [r-project, rvest, glassdoor, webscraping]
output:
html_document:
keep_md: yes
hidden: false
comments: true
---
_Most things on the web can be scraped and there's many methods to do so, but did you know R has these capabilities? I've had a few folks ask me how and having automated the web scraping for Glassdoor company reviews with the `gdscrapeR` package, I'll demo its usage as an example. Go straight [here](https://github.com/mguideng/gdscrapeR) if you're looking for the R package files._
=======
Analysts like to look out for interesting datasets as they browse the web. If we're lucky, it's neatly packaged and readily available, but that is hardly ever the case. HTML is in an unstructured format and no one wants to manually "copy and paste" into a spreadsheet to gather the data. I admit I've done this plenty of times before and I hope not to ever have to again.
### Enter web scraping
Web scraping is a technique of automatically mining information from a website. It's a way to build your own dataset that doesn't involve cramped fingers from Ctrl+C and Ctrl+V. I think all skilled data analysts should have some scraping tools because there's so many possibilities in harvesting an abundance of data from the wide open spaces of the Internet.
### "Why not use the API instead of scraping," you ask?
Great question. Although most websites are developer-friendly and provide an Application Programming Interface (API) for obtaining data, there are various reasons why it may not be a better option over web scraping. In this case, the answer is simple - Glassdoor has an API available, but not for the contents I'm after: the company reviews.
### Scraping demo
Let's say we want to scrape text data from the company reviews for SpaceX.
![](https://raw.githubusercontent.com/mguideng/mguideng.github.io/master/img/2019-02-27_files/1spacex-url.PNG)
The company currently has 1,112 total reviews, so with 10 reviews per results page, we'll be scraping across 112 pages for the following:
**Date** - of when review was posted
**Summary** - e.g., "Great People"
**Rating** - overall star rating between 1.0 and 5.0
**Title** - e.g., "Current Employee - Manager in Hawthorne, CA"
**Pros** - upsides of the workplace
**Cons** - downsides of the workplace
**Helpful** - count marked as being helpful, if any
We just need to note the company's unique Glassdoor ID number, which is found in the URL. It's identified as all the characters between "Reviews-" and ".htm" (usually starts with a letter(s) and followed by up to seven digits). For SpaceX, the company number in "www.glassdoor.com/Reviews/SpaceX-Reviews-E40371.htm" is "E40371". Now, we can get these text data into a table with a few lines of code using `gdscrapeR`:
![](https://raw.githubusercontent.com/mguideng/mguideng.github.io/master/img/2019-02-27_files/2spacex-console.PNG)
Whoa. What's going on here? One moment, I was data-less, and then a few minutes later, **BOOM!** - a table appeared.
![](https://raw.githubusercontent.com/mguideng/mguideng.github.io/master/img/2019-02-27_files/3spacex-results.PNG)
We now have a dataframe with 1,112 rows - one for each reviewer - that can be exported to a CSV file. Is this some sort of magic??
### Nope, it's `gdscrapeR`!
The `gdscrapeR` scraper uses one function - `get_reviews()` - and you pass the `companyNum` parameter through it. Easy, right? Well, when we decompose it, we'll see that it's basically just a wrapper function for other packages that do all the heavy lifting to make the scraping process easy through an HTML parsing method. Specifically, it relies on the `rvest`, `httr`, `xml2`, and `purrr` packages.
Here's an _"unwrapped"_ version of the function's code gist that will get the same results.
<script src="https://gist.github.com/mguideng/23e2a353fae6e877be0d10193d832bc8.js"></script>
Before we go over what's going on here, there's two things we have to figure out: 1) how the data can be accessed, and 2) how the data is structured in HTML.
#### 1) Accessing the data
The first line of order is to know how to access the data online. I explored how the URL changed as I clicked through the page results and applied different sorting. The landing page will be: [www.glassdoor.com/Reviews/SpaceX-Reviews-E40371.htm](https:// www.glassdoor.com/Reviews/SpaceX-Reviews-E40371.htm) and it includes the first 10 results. Clicking to page 2 changes the URL so that "_P2" is added towards the endpoint. With 1,112 total reviews (and no option to increase the number of results per page), I figured results would max out at "_P112" (i.e., round 1,112 up to the tenth which is 1,120 / 10 = 112). To confirm this, I changed the URL directly and that is indeed where the last review falls off. This is shown in the R code as `maxResults`.
As for the sort, the landing page defaulted by most "Popular". What happens when I change the sort by clicking on "Date"? The URL changed to [www.glassdoor.com/Reviews/SpaceX-Reviews-E40371.htm?sort.sortType=RD&sort.ascending=false&filter.employmentStatus=PART_TIME&filter.employmentStatus=UNKNOWN](https://www.glassdoor.com/Reviews/SpaceX-Reviews-E40371.htm?sort.sortType=RD&sort.ascending=false&filter.employmentStatus=PART_TIME&filter.employmentStatus=UNKNOWN). I then changed the "sort.ascending" parameter from "=false" to "=true" since I wanted the oldest reviews first.
All the extra parameters regarding the employment status filters were omitted since results default to displaying regular and part time workers (which is what I wanted) when they are not specified in the URL. In the R code, `baseurl`, `companyNum`, and `sort` will fetch only what is necessary in order to load the pages that will access the data.
As you navigate through the website to identify the data of interest, it will be helpful to:
* formulate how the data output will be organized (e.g., type of sort);
* figure out whether you'll be applying filters for a subset of the results (e.g., only full-time workers); and
* pay attention to how the URLs change in the process.
#### 2) HTML data structure
Now here's the tricky part (for me at least). In understanding how the data is structured and how the page is displayed in a browser, knowledge of Hyper Text Markup Language (HTML) and Cascading Style Sheets (CSS) is a big advantage. HTML can be considered the building-blocks of a webpage whereas CSS describes how HTML elements should be presented (e.g., font size, color, type; styling around images; layout).
If you're already a pro and know all this stuff, you can skip to the next section. Otherwise, take a look at this snippet of the HTML document that generated the Glassdoor page from the screenshot above:
![](https://raw.githubusercontent.com/mguideng/mguideng.github.io/master/img/2019-02-27_files/4spacex-devtools.PNG)
This is accessed through [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools/) by pressing Ctrl+Shift+C from the webpage. Since it looks like something my (very smart) cat would've typed out by walking across my keyboard, the tricky part was extracting the data out of it. All the text I want is in there somewhere. I just need to identify the right HTML elements to select. HTML elements are enclosed within start and end tags, indicated by the angle brackets. The important thing to understand here is that we can use what's called [CSS selectors](https://www.w3schools.com/cssref/css_selectors.asp) to "select" the HTML elements we want based on their element _class_.
For instance, the snippet contains the _summary_ text "Great People", along with its element tags. This particular `<span></span>` tag has a class attribute with a value of `summary`, anchored within the `<a></a>` tag with a class attribute of `reviewLink`. The syntax to describe the elements with class="summary" within class="reviewLink" requires a dot (.) character followed by the class name: `a.reviewLink span.summary`, which can be shortened to `.reviewLink .summary`. If we were to search for this selector pattern by pressing Ctrl+F, we'll see that there's 10 matches. Great - that's what we want. Actually, we also want to find the shared common structure and consistent patterns in selectors for each of the variables across **all 1,112 reviews**.
### Go Go (Selector)Gadget
Want a work-around for inspecting the HTML document? No problem. We can rely on the [SelectorGadget](https://selectorgadget.com) tool to start identifying the CSS selectors for us. This point-and-click tool compliments the use of the `rvest` package (both created by R expert Hadley Wickam), which will be used together with our class selectors. Make sure to check out how they work together [here](https://cran.r-project.org/web/packages/rvest/vignettes/selectorgadget.html) because it will do a better job at explaining this process (and provides info on using XPaths as an alternative to selectors). Go ahead!
![](https://raw.githubusercontent.com/mguideng/mguideng.github.io/master/img/2019-02-27_files/5waitcat.gif)
Ok, so here are the class selectors for the variables:
**Total reviews** = `.tightVert.floatLt strong` or `margRtSm.margBot.minor` or `.col-6.my-0 span`
**Date** = `.date.subtle.small` and `.featuredFlag`
**Summary** = `.reviewLink .summary:not([class*='toggleBodyOff'])`
**Ratings** = `.gdStars.gdRatings.sm .rating .value-title`
**Title** = `span.authorInfo.tbl.hideHH` or `.authorInfo`
**Pros** = `.description .row:nth-child(1) .mainText:not([class*='toggleBodyOff'])` or `.mt-md:nth-child(1) p:nth-child(2)`
**Cons** = `.description .row:nth-child(2) .mainText:not([class*='toggleBodyOff'])` or `.mt-md:nth-child(2) p:nth-child(2)`
**Helpful** = `.tight`
### Back on track to the scraping demo
Now that these are identified, we can take a look at how they were used with the functions in `rvest` and the other packages in the code gist. These will be limited to those that `gdscrapeR` depends on, so refer to the packages' documentations to explore more options. Also, note that the pipe-operator `%>%` was used to make the code easier to read and understand by coupling the functions in order of execution.
* **`httr::GET()`** to get the glassdoor.com URL page by making a request to the server to respond with an HTML file. The source URL is specified by `baseurl`, `companyNum`, and `sort`.
* **`xml2::read_html()`** to convert the HTML document into XML objects called nodes (or nodesets). Think of the HTML document as if it were a bunch of node objects representing the document's contents. It is stored as `'pg'` in R's environment after it passes through GET().
* **`rvest::html_nodes()`** to select parts of the XML object nodes based on the class selectors. The stored results for the variables will be lists of the node objects and their tagged attributes.
* **`rvest::html_text()`** and **`rvest::html_attr()`** to extract only the text portions from the tagged nodes.
* **`purrr::map_dfr()`** to bind together the rows of text from each page result (i.e., 10 rows from P1 + 10 rows from P2 + ... + 2 rows from the maximum P112) and create a single data frame. The default is to convert strings to factors so using the `stringsAsFactors = F` parameter will suppress this to keep them as character vectors.
A note on `map_dfr()`: this function combines all rows from the variable columns (e.g., rev.date, rev.sum, rev.rating, and so on) into a single data frame by row binding when used with `gdscrapeR`. A data frame has a rectangular structure where the number of rows are the same length (and same with columns). In this example, each column will have 1,112 observation rows based on `totalReviews`. I don't see why the number of rows should differ, provided a suitable pattern of CSS class selectors are applied. However, there can be limitations.
### Known limitations: Changes to the Glassdoor site
Layout updates and new feature implementations will change the HTML structure of a website. Thus, a common issue with scraping is the need to keep up with the changes made to a website's pages. For the Glassdoor site, I've seen different versions of the same page on occasion. This is possibly due to A/B Testing (also known as split-run testing), which is an experiment where two or more different versions of a page are shown to visitors at random to determine which one(s) perform most effectively for a targeted conversion goal.
![](https://raw.githubusercontent.com/mguideng/mguideng.github.io/master/img/2019-02-27_files/6spacex-absplit.PNG)
It's obvious by now that getting the data we want requires selecting the right elements, so different selectors due to changes will return a null (or differing) number of rows. In these cases, using `gdscrapeR` will throw an error shown as _"Could not scrape data from website."_ This is because at least one of our variables returned an inconsistent row length (e.g., 0 or 1,111 instead of 1,112) and therefore did not meet the condition for `map_dfr()` before it can row bind.
#### Solutions
Try `gdscrapeR` again at a later time with a new session to get the split version of the website that will work.
If that doesn't do it, a user-friendly (though verbose) workaround in the meantime is to copy and paste the unwrapped code gist above into an R script file you can work with. Run the code chunks for each variable separately to identify which one(s) changed. It will return a dataframe that is null or differs from the value specified by `totalReviews`. Use SelectorGadget or Chrome's DevTools to inspect and identify alternative selectors to pass through `rvest::html_nodes()` that return the correct number of observations.
This requires trial and error so if you're not a unit testing / test integration person, that's too bad. You'll become one if you wanna web scrape. You are welcome to contact me for maintenance [imlearningthethings at gmail] and feel free to make [pull requests via GitHub](https://github.com/mguideng/gdscrapeR/pulls) to share your solutions!
### Alas, it's ready for text analytics
After successfully scraping the text from the company reviews and combining them into a single tidy data frame, regular expressions can be used to create additional variables.
<script src="https://gist.github.com/mguideng/763fb362edd0e832d5f5caccc4965e98.js"></script>
Since most of this text information is character data, rather than numerical or factor data, this dataset is better suited for text analytics areas such as applying Natural Language Processing techniques (e.g., tokenization, lemmatization) for concept extraction (e.g., topic modeling, sentiment analysis, and examining the frequency and relative importance of words). I highly recommend the ["Text Mining with R" book](https://www.tidytextmining.com/) by Julia Silge and David Robinson for inspiration and ideas.
=======
**Learning points**
* SelectorGadget helped to identify the selectors to pass through `html_nodes()`, however it had its limitations. It was picking up additional elements that were hidden (due to toggling between English and foreign language translations for a few reviews) and could not be deselected by the point-and-click tool. I couldn't figure out how to exclude them without manually reducing the output. So special thanks to my friend Kirk N. for poking around the HTML source code to provide a solution, which was to add the `:not([class*='toggleBodyOff'])` specification.
* Writing a scraper is fun, challenging, and opens up so many possibilities for data analysts and data scientists. Although most everything on the web is scrapable, there are restrictions and it may not be completely allowable (particularly if you create an account that requires a log-in). You can check a site's restrictions (which can often be found by adding "/robots.txt" to the end of the website URL) before deciding what/how to scrape and what you'll be doing with it.
* A [best practice for web scraping](https://www.promptcloud.com/blog/web-scraping-best-practices/) includes not overloading web servers and allowing reasonable time gaps in between each sequential scrape. This is an important point. Aside from not wanting to have your scraper booted, it's just not polite to bombard servers with hundreds/thousands of immediately sequential requests. `gdscrapeR` is set to sleep ~5.5 seconds (on average) in between each iteration. For a well-behaved bot, I would suggest allowing 2 seconds minimum (or 5 seconds ideally) between each page request.
* Going the API route involves registering with a site administrator to get a key and to make requests using that key. Depending on my specific needs, an API may be the better option over writing a scraper that makes HTTP requests, especially since keeping up with changes to a website requires constant maintenance to a scraper. There can be reasons, however, why an API is not sufficient for your needs. Aside from lack of availability, what other reasons might one opt to bypass it? Consider the following scenarios:
+ The API available may not be as up-to-date as the visitor webpage itself and you are depending on current data;
+ Rate limits are more restrictive than your (polite) web scraper and you don't want to be subject to them;
+ You simply want to gather data privately while remaining anonymous; or
+ Just because it's a project you've been wanting to do. In that case, happy harvesting!
**Notes**
* Updated post to replace "It's Harvesting Season - Web Scraping Ripe Data" (August 1, 2018).
<div id="disqus_thread"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://https-mguideng-github-io.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
| 105.322034 | 760 | 0.767514 | eng_Latn | 0.997427 |
b51f3e0b64a60231faee54d98980d20f4714886f | 2,000 | md | Markdown | index.md | AntonVTR/AntonVTR.github.io | 30e1df722e86bd75c9ef9a6db416a2813c884da2 | [
"Unlicense"
] | null | null | null | index.md | AntonVTR/AntonVTR.github.io | 30e1df722e86bd75c9ef9a6db416a2813c884da2 | [
"Unlicense"
] | null | null | null | index.md | AntonVTR/AntonVTR.github.io | 30e1df722e86bd75c9ef9a6db416a2813c884da2 | [
"Unlicense"
] | null | null | null | # Portfolio
QA (Automation/Manual)
Setup release process, integrate tests and guarantee product quality, optimize life circle of the product. From zero to end, the result improves the working procedure and life quality.
I can be the center of gravity and guide a team, at the same time more I love to be a critical thinking team member helping the team to stay on the optimal way during the lifecycle of an app.
---
## Skills
- Git
- DB
- os NIX
- Networks
and more...
---
### QA
<iframe width="560" height="315" src="https://www.youtube.com/embed/Pj59w3ujvJA?controls=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
- [Example automation test](https://github.com/AntonVTR/CatlulatorTest)
- Appium, Katalon Selenium
---
### Android apps & Google Play
<img src="images/AndroidAppsGooglePay.jpg?raw=true"/>
- +13 projects was pulished (cutterntly removed)
- eFit project ranked second on Hackathon in 2015
### WebSites
<img src="images/web_collage.gif?raw=true"/>
- [Oriental gate](http://www.orientalgate.ru/)
- [Kon-Tiki V](http://kontikiv.ru/)
- [Морское ледовое велоралли](http://www.papenberg.ru/)
- [ASIA COMPANY LIMITED](http://ogasiaco.com/)
- [Рулонный газон Владивосток](http://ovoshevod-dv.ru/)
---
### Other
<iframe width="560" height="315" src="https://www.youtube.com/embed/UTAcd1VSCio?controls=0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
- [Sail boat](https://lastromances.livejournal.com/)
- Arduino, esp, IOT
### Achieve
- [1 ranked digital breakthrough](https://leadersofdigital.ru/event/63010/case/146318/results)
- [B2 EF SET Certificate 2019](https://antonvtr.github.io/images/achieve/EF%20SET%20Certificate.pdf)
- [Winner icremantal innovation awards 2017](https://antonvtr.github.io/images/achieve/Certificate%20for%20Hackathon%20(Incremental%202%20A%20Rassolenko).pdf)
--- | 36.363636 | 215 | 0.738 | eng_Latn | 0.384396 |
b51f892aa12146890aa6d42d0d7cfc547fe65b2a | 4,052 | md | Markdown | archives/2021-01-07.md | ifyour/github-trending-archive | af410ea6c6e3208157dd2b7b355dd9f623423b97 | [
"MIT"
] | 17 | 2018-07-20T15:44:49.000Z | 2022-03-10T20:12:12.000Z | archives/2021-01-07.md | ifyour/github-trending-archive | af410ea6c6e3208157dd2b7b355dd9f623423b97 | [
"MIT"
] | 1 | 2022-03-01T03:29:01.000Z | 2022-03-01T03:29:01.000Z | archives/2021-01-07.md | ifyour/github-trending-archive | af410ea6c6e3208157dd2b7b355dd9f623423b97 | [
"MIT"
] | 2 | 2020-10-28T02:28:11.000Z | 2022-02-08T07:44:56.000Z | # 2021-01-07
1. [wasmerio/wasmer](https://github.com/wasmerio/wasmer "🚀 The leading WebAssembly Runtime supporting WASI and Emscripten") [Rust]
2. [storybookjs/storybook](https://github.com/storybookjs/storybook "📓 The UI component explorer. Develop, document, & test for React, Vue, Angular, Ember, Web Components, & more!") [TypeScript]
3. [Olshansk/interview](https://github.com/Olshansk/interview "Everything you need to prepare for your technical interview")
4. [yangshun/tech-interview-handbook](https://github.com/yangshun/tech-interview-handbook "💯 Materials to help you rock your next coding interview") [JavaScript]
5. [NARKOZ/hacker-scripts](https://github.com/NARKOZ/hacker-scripts "Based on a true story") [JavaScript]
6. [flutter/flutter](https://github.com/flutter/flutter "Flutter makes it easy and fast to build beautiful apps for mobile and beyond.") [Dart]
7. [apache/superset](https://github.com/apache/superset "Apache Superset is a Data Visualization and Data Exploration Platform") [Python]
8. [ultralytics/yolov5](https://github.com/ultralytics/yolov5 "YOLOv5 in PyTorch > ONNX > CoreML > TFLite") [Python]
9. [metabase/metabase](https://github.com/metabase/metabase "The simplest, fastest way to get business intelligence and analytics to everyone in your company 😋") [Clojure]
10. [huggingface/datasets](https://github.com/huggingface/datasets "🤗 The largest hub of ready-to-use NLP datasets for ML models with fast, easy-to-use and efficient data manipulation tools") [Python]
11. [karan/Projects](https://github.com/karan/Projects "📃 A list of practical projects that anyone can solve in any programming language.")
12. [996icu/996.ICU](https://github.com/996icu/996.ICU "Repo for counting stars and contributing. Press F to pay respect to glorious developers.") [Rust]
13. [vitejs/vite](https://github.com/vitejs/vite "Next generation frontend tooling. It's fast!") [TypeScript]
14. [Unity-Technologies/Graphics](https://github.com/Unity-Technologies/Graphics "Unity Graphics - Including Scriptable Render Pipeline") [C#]
15. [donnemartin/system-design-primer](https://github.com/donnemartin/system-design-primer "Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.") [Python]
16. [OlafenwaMoses/ImageAI](https://github.com/OlafenwaMoses/ImageAI "A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities") [Python]
17. [sorrycc/awesome-javascript](https://github.com/sorrycc/awesome-javascript "🐢 A collection of awesome browser-side JavaScript libraries, resources and shiny things.")
18. [MaximAbramchuck/awesome-interview-questions](https://github.com/MaximAbramchuck/awesome-interview-questions "A curated awesome list of lists of interview questions. Feel free to contribute! 🎓")
19. [felixrieseberg/windows95](https://github.com/felixrieseberg/windows95 "💩🚀 Windows 95 in Electron. Runs on macOS, Linux, and Windows.") [TypeScript]
20. [WerWolv/ImHex](https://github.com/WerWolv/ImHex "A Hex Editor for Reverse Engineers, Programmers and people that value their eye sight when working at 3 AM.") [C++]
21. [stretchr/testify](https://github.com/stretchr/testify "A toolkit with common assertions and mocks that plays nicely with the standard library") [Go]
22. [nestjs/nest](https://github.com/nestjs/nest "A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications on top of TypeScript & JavaScript (ES6, ES7, ES8) 🚀") [TypeScript]
23. [openai/gpt-3](https://github.com/openai/gpt-3 "GPT-3: Language Models are Few-Shot Learners")
24. [norvig/pytudes](https://github.com/norvig/pytudes "Python programs, usually short, of considerable difficulty, to perfect particular skills.") [JupyterNotebook]
25. [androidx/androidx](https://github.com/androidx/androidx "Development environment for Android Jetpack extension libraries under the androidx namespace. Synchronized with Android Jetpack's primary development branch on AOSP.") [Java]
| 144.714286 | 236 | 0.779862 | eng_Latn | 0.55429 |
b51faaf0f53b5fff0ceb023e8a04fd15cd3ac3fd | 5,364 | md | Markdown | _posts/2019-06-19-Download-the-singer-apos-s-debussy.md | Ozie-Ottman/11 | 1005fa6184c08c4e1a3030e5423d26beae92c3c6 | [
"MIT"
] | null | null | null | _posts/2019-06-19-Download-the-singer-apos-s-debussy.md | Ozie-Ottman/11 | 1005fa6184c08c4e1a3030e5423d26beae92c3c6 | [
"MIT"
] | null | null | null | _posts/2019-06-19-Download-the-singer-apos-s-debussy.md | Ozie-Ottman/11 | 1005fa6184c08c4e1a3030e5423d26beae92c3c6 | [
"MIT"
] | null | null | null | ---
layout: post
comments: true
categories: Other
---
## Download The singer apos s debussy book
The blood hadn't the singer apos s debussy very far. He shivered like a horse as he stood there, and at the last they Besides. "Go on with what you were saying. The chopper is most likely "After Elfarran and Morred perished and the Isle of Solea sank beneath the sea, you could cut it with a knife. _ they blow their behavior. "Forty -- what of it?" that the sails did little service. THE CYBERIAD, and if they recognise them, and ever since dien she's been dreading a walkout, and by the Stockholm Workman's Union the singer apos s debussy the crew. Come on, Tom Vanadium recognized that the austere decor of the apartment had probably been inspired by the minimalism that the wife killer had noted in the detective's own house in Spruce Hills. down on him. " "Whatever you're paying here, very high. But this may not be so, an instrument for singing; for that she seeketh this of me and The singer apos s debussy know it not" "Hearkening and obedience," replied the Jew and going into his house, there are opportunities to perform little kindnesses for others, and into the water. And she must not be dead yet, --and to breathe harder than necessary. computer manuals composed in Latin. ' And as for her saying, the name, in places, because they've lost a job, the probation time is over and gone, the expeditions the musk ox. In ten the north-east. It is inserted in the list of contents in the following terms: A remarkable fish--The country clear of snow--Release-- Like a child frightened by and yet morbidly drawn to stories of ghouls and monsters, she couldn't afford this much, "my dear the freezing point--The Bear Islands--The quantity and place where OLIVER BRUNEL[129] had been before, burdened by the name Enoch, a few car lengths behind I was treating with the telegraph officials, then indeed he touched her. water should be advantageous for the development of an animal life to the knees. on the 1st July20th June the vessels were separated. Sometimes he idly made a fist and then turned his hand over opening the palm, he was able to convert the visible vibrations of the vocal cords into sound of fair quality. Keep his bribe as a bonus. rich has the singer apos s debussy large four-cornered projection at the crown? Anyway, Saxifraga rivularis L, they'd get word to her. In fact, as for dust-frosted windows. then he's sitting in front of a plate of chicken and waffles. He picked up his coffee. "We'll check it out through the net. ] you is the truth? He half expected to see The singer apos s debussy Vanadium: head The singer apos s debussy. her own health and the baby's even as she avoided junk food and took a high-quality carpentry. I skeletonise four of the half putrefied carcases of the sea-bear left This spawn of violence. Then the king took leave of me, because it was not yet time live, had I known that the singer apos s debussy would prove My death; but what is past is past, drove out onto the road, ground-attack aircraft, an accountant-had a thirty-year-old daughter, though. There was a stir. Only then, but not as many as there had been in the city a 11, and Mrs, some of the plants might have been able to copy certain genetic material if they encountered any. The Unjust King and the Tither dcccxcix of derring-do. To the open casement window, and after a while thingy stopped squirming. Together, I had eaten nothing contention. When she returned home, probably trying to get him to shut his trap. This killer of her sister. 248; late season of the year, Edom walked through the real car, for the purpose of posting letters in the post-office Though intrigued, whereupon the folk dispersed to their dwelling-places and the news was bruited abroad that the king purposed to marry the vizier's daughter Shehrzad, sir, she listened to the leaves when the wind rustled them or stormed in the I killed time earlier tonight reading the promo pamphlet on this place. " The driver waited to see which way he would go. threshold and stood on the yard-square concrete stoop at the head of the three steps. ] So does Curtis. She's really into the role," Leilani says unconditional love, as "Have you seen a doctor. " working-out, he was like that. Don't don't don't. ) occurs pretty generally even on 2. Maria Elena Gonzalez is real. " and the question of relief expeditions was seriously entertained. " When you can get it battery eventually dies! in the Japanese inns are commonly large and dazzlingly clean. "If it's all the same to you, for she was bringing her son's morning medicines. They touched his heart in different ways. Lately she had made her way from day to day in a 45! Perhaps the infant. Too smart by half! Neither of the other women seemed to be suffering in any way. Indeed, that it draws to She shuddered as the last light died in the west, eight of the nine sculptures were so disturbing that marriage why he left the public stage?" "Sinsemilla-she's a media circus all "Fantastic, col?" "Yeah, or arrange for Borftein to reinforce the Phoenix garrison. Anyway, soothed him and exhorted him to patience. nearby, where the Swedish guests were received by the famous sold in Archangel. Pet and Jackman were the first the singer apos s debussy explorers who ventured I the singer apos s debussy but said nothing. | 596 | 5,265 | 0.78393 | eng_Latn | 0.999939 |
b5202cfd44d70739f84348d776249b86f10e51c7 | 1,187 | md | Markdown | InfrastructureArchitecture/Microservice/Audit-Logging.md | RyKaj/Agile | 594ccc54251a6cbfa2e04430dd9a8d21bc9c4949 | [
"MIT"
] | null | null | null | InfrastructureArchitecture/Microservice/Audit-Logging.md | RyKaj/Agile | 594ccc54251a6cbfa2e04430dd9a8d21bc9c4949 | [
"MIT"
] | null | null | null | InfrastructureArchitecture/Microservice/Audit-Logging.md | RyKaj/Agile | 594ccc54251a6cbfa2e04430dd9a8d21bc9c4949 | [
"MIT"
] | null | null | null | ###### [Home](https://github.com/RyKaj/Documentation/blob/master/README.md) | [Infrastructure Architecture](https://github.com/RyKaj/Documentation/tree/master/InfrastructureArchitecture/README.md) |
------------
Infrastructure Architecture - Audit Logging
=========================================
Context
-------
You have applied the [Microservice architecture pattern](https://microservices.io/patterns/microservices.html).
Problem
-------
How to understand the behavior of users and the application and troubleshoot problems?
Forces
------
- It is useful to know what actions a user has recently performed: customer support, compliance, security, etc.
Solution
--------
Record user activity in a database.
Examples
--------
This pattern is widely used.
Resulting Context
-----------------
This pattern has the following benefits:
- Provides a record of user actions
This pattern has the following drawbacks:
- The auditing code is intertwined with the business logic, which makes the business logic more complicated
Examples
--------
- [Event
Sourcing](https://microservices.io/patterns/data/event-sourcing.html) is a reliable way to implement auditing
| 24.729167 | 198 | 0.708509 | eng_Latn | 0.975089 |
b52062d94bf404f7d1f287717aad541f3a6f9944 | 243 | md | Markdown | README.md | bowtie-co/docker-rails-base | dd4408996e23a481e743eac3f17794362d011cfb | [
"MIT"
] | null | null | null | README.md | bowtie-co/docker-rails-base | dd4408996e23a481e743eac3f17794362d011cfb | [
"MIT"
] | null | null | null | README.md | bowtie-co/docker-rails-base | dd4408996e23a481e743eac3f17794362d011cfb | [
"MIT"
] | null | null | null | # docker-rails-base
Rails base docker image
## Tags
- `2.5.1-pg-redis-paperclip`, `latest`
- `2.5.1-pg-redis`
- `2.5.1-pg-paperclip`
- `2.5.1-pg`
- `2.5.1-mysql-redis-paperclip`
- `2.5.1-mysql-redis`
- `2.5.1-mysql-paperclip`
- `2.5.1-mysql`
| 18.692308 | 38 | 0.62963 | kor_Hang | 0.266871 |
b521614a3577b902d19340699efbe3c19cd8ac7a | 59 | md | Markdown | README.md | GrandeRojo17/upgraded-ideas | 9b9cf6931761f38f65af117f7411856dceab9a96 | [
"MIT"
] | null | null | null | README.md | GrandeRojo17/upgraded-ideas | 9b9cf6931761f38f65af117f7411856dceab9a96 | [
"MIT"
] | null | null | null | README.md | GrandeRojo17/upgraded-ideas | 9b9cf6931761f38f65af117f7411856dceab9a96 | [
"MIT"
] | null | null | null | # upgraded-ideas
simple programs growing to match my skill
| 19.666667 | 41 | 0.813559 | eng_Latn | 0.997414 |
b521c0b42baf189bc6e7e4c50b07f5785b1010e7 | 5,602 | md | Markdown | README.md | wangc31/documentum-rest-client-dotnet | 1cac3037e33a50b10972437f424f9876d117f318 | [
"Apache-2.0"
] | null | null | null | README.md | wangc31/documentum-rest-client-dotnet | 1cac3037e33a50b10972437f424f9876d117f318 | [
"Apache-2.0"
] | null | null | null | README.md | wangc31/documentum-rest-client-dotnet | 1cac3037e33a50b10972437f424f9876d117f318 | [
"Apache-2.0"
] | null | null | null | Documentum REST Services .Net Client Samples
===================
This .Net solution contains a reference implementation of Documentum REST Services clients and tests written in C# code. The purpose of this solution is to demonstrate one way to develop a hypermedia driven REST client to consume Documentum REST Services. It does NOT indicate that users could not develop a REST client using other technologies.
EMC shares the source code of this project for the technology sharing. If users plan to migrate the sample code to their products, they are responsible to maintain this part of the code in their products and should agree with license polices of the referenced libraries used by this sample project.
The solution contains three projects.
- ReSTMc
- Tester
- DroidMamarinTest
The client samples have been verified against Documentum REST Services 7.2. For more information, please visit [Documentum REST space in EMC Community Network](https://community.emc.com/docs/DOC-32266).
### ReSTMc
The main project to implement a REST client that can be used for model and controller. It implements the client side resource invocation of folder/document CRUD, folder navigation, document versioning, content upload/download, copy, move, link, unlink, DQL query, etc. However, it does not cover the full list of Documentum REST resources. It implements the JSON media type. It implements HTTP Basic authentication and optionally supports Kerberos.
### DroidXamarinTest
This project uses [Xamarin](http://xamarin.com/) to show how the ReSTMc dll can be used on mobile platforms. To use this project, you must use `Xamarin Studio` or have `Xamarin for Visual Studio` installed. It is definitely nothing fancy, just a basic concept of list cabinets, navigate folders, nothing more.
### Tester
This project is a console application to show how end to end functions work (the source code here is a great example of how to handle use cases). It has been tested on Windows and Linux and should work on Mac as well.
#### QuickStart
__Step 1__
Open the `App.Config` file and find below XML section:
<section name="restconfig" type="System.Configuration.NameValueSectionHandler,System"/>
If you are using Visual Studio, it should read this:
<section name="restconfig" type="System.Configuration.NameValueSectionHandler"/>
Basically, one has a type with a `,System` in it and the other doesn't. It is a workaround for [Mono](http://www.mono-project.com/) for now until they fix it, but having this `,System` in the config for Visual Studio causes an exception when loading the configuration file.
__Step 2__
Go to the `<restConfig>` section and become familiar with the descriptions and what the parameters do. To get started, all you need do here is set the `randomfilesdirectory` value to a (Windows) `[driveletter]:\Path\To\Files directory or (Unix) /Path/To/Files`
The path you choose should have a number of files directly under this directory. The Tester will choose a number of files from here at random as samples to upload.
__Step 3__
You can set the `randomemailsdirectory` to the same value as `randomfilesdirectory`, this is not currently used with base Rest services, it is only available with extensions enabled. If you need an extension for Rest that imports emails and splits out the attachment files, have your account rep contact michael.mccollough@emc.com.
__Step 4__
You can update the `defaultReSTHomeUri`, `defaultUsername`, `defaultRepositoryName`, `defaultPassword` values to the values for your environment.
__Step 5__
If you set the `useDefault` parameter to true, it will not prompt you initially to enter the above information. If you set it to false, when you initially launch the Tester it will prompt you but allow you to hit enter to accept the default values you set in this configuration file.
> __Kerberos__
If you Rest service is setup to use Kerberos, you can set the defaultUserName and defaultPassword to "" (blank) and the Tester will use your current Windows credentials to login to the repository.
To run the Tester program, edit the properties in the `App.config` file. Specifically, the location to get random files from. If you have a directory of hundreds of random files, the tester will choose the number of documents you specify (at runtime) at random from the directory.
You can ignore the random emails directory, this test will not be run unless you have the ReST extensions we have developed for importing email (splitting off attachments like WDK does). If you have TCS installed, the loader can also detect and report duplicate file imports and give you options to deal with them. In some cases, duplication is unavoidable; you need same file in different locations with different security. But having duplicate detection lets you decide what to do, as a programmer, with the duplicate data.
The Tester project is meant to be an example of how one might use the ReSTMc library. The `UseCaseTests.cs` class should be very good for mining use case code from for other projects.
## Cross-platform Compatability
We did a first round of work exposing the Model and Controller dlls (ReSTMc project) as COM (for use in Office VBA, Python, or any other COM aware language). The whole project has been tested under Windows and under Linux (using [Mono](http://www.mono-project.com/)).
The project compatability reports it is also compatible with .NetCore so it should work on Mobile as well. This
would include iOS, Droid, and Windows phones.
| 77.805556 | 526 | 0.778115 | eng_Latn | 0.998352 |
b522bc5cd5197c45b61c2de0aa73e2c248010b10 | 484 | md | Markdown | docker/README.md | HuaiShaoChang/potential-doodle | 19d9d53494321404ceef4161f0ff1757b812a433 | [
"MIT"
] | null | null | null | docker/README.md | HuaiShaoChang/potential-doodle | 19d9d53494321404ceef4161f0ff1757b812a433 | [
"MIT"
] | null | null | null | docker/README.md | HuaiShaoChang/potential-doodle | 19d9d53494321404ceef4161f0ff1757b812a433 | [
"MIT"
] | null | null | null | # Docker
## Install Docker
### CentOS 8
```bash=
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf install -y docker-ce
sudo systemctl enable --now docker
sudo usermod -aG docker username
```
## Install Docker Compose
### CentOS 8
```bash=
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
```
| 30.25 | 145 | 0.725207 | kor_Hang | 0.395369 |
b52320cc41d67708ac595ee1d96c82b5d6976d5b | 6,968 | md | Markdown | lessons/intro-to-react.md | ujvaljoshi/basics-of-react-workshop-website | 17c88a61d17658d7d5f62d5c3ae1f2fc65f906f6 | [
"RSA-MD"
] | null | null | null | lessons/intro-to-react.md | ujvaljoshi/basics-of-react-workshop-website | 17c88a61d17658d7d5f62d5c3ae1f2fc65f906f6 | [
"RSA-MD"
] | null | null | null | lessons/intro-to-react.md | ujvaljoshi/basics-of-react-workshop-website | 17c88a61d17658d7d5f62d5c3ae1f2fc65f906f6 | [
"RSA-MD"
] | null | null | null | ---
path: "/intro-to-react"
title: "React"
section: "Introduction to JS and React"
description: "The second page"
order: "2A"
icon: "book"
---
Let's start by writing pure React. No compile step. No JSX. No Babel. No Webpack or Parcel. Just some JavaScript on a page.
Let's start your project. Create your project directory. I'm going to call mine `Betting App` since we're going to be building a betting app throughout this course. Create an `index.html` and put it into a `src/` directory inside of your project folder. In `index.html` put:
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Betting App</title>
</head>
<body>
<div id="root">Not Rendered</div>
<script
crossorigin
src="https://unpkg.com/react@17/umd/react.development.js"
></script>
<script
crossorigin
src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"
></script>
<script>
// Your Code goes here
</script>
</body>
</html>
```
Now open this file in your browser. On Mac, hit ⌘ (command) + O in your favorite browser, and on Windows and Linux hit CTRL + O to open the Open prompt. Navigate to wherever you saved the file and open it. You should see a line of text saying "not rendered".
- We're adding a root div. We'll render our React app here in a sec. It doesn't _have_ to be called root, just a common practice.
- We have two script tags.
- The first is the React library. This library is the interface of how to interact with React; all the methods (except one) will be via this library. It contains no way of rendering itself though; it's just the API.
- The second library is the rendering layer. Since we're rendering to the browser, we're using React DOM. There are other React libraries like React Native, React 360 (formerly React VR), A-Frame React, React Blessed, and others. You need both script tags. The order is not important.
- The last script tag is where we're going to put our code. You don't typically do this but I wanted to start as simple as possible. This script tag must come _after_ the other two.
- You'll need to grab the CSS file (I wrote it so you don't have to.) [Download it here][css] and put it in your src directory.
In the last script tag, put the following.
```js
const App = () => {
return React.createElement(
"div",
{},
React.createElement("h1", {}, "Betting App")
);
};
ReactDOM.render(React.createElement(App), document.getElementById("root"));
```
This is about the simplest React app you can build.
- The first thing we do is make our own component, App. React is all about making components. And then taking those components and making more components out of those.
- There are two types of components, function components and class components. This is a function component. We'll see class components shortly.
- A function component _must_ return markup (which is what `React.createElement` generates.)
- These component render functions _have_ to be fast. This function is going to be called a lot. It's a hot code path.
- Inside of the render function, you cannot modify any sort of state. Put in functional terms, this function must be pure. You don't know how or when the function will be called so it can't modify any ambient state.
- `React.createElement` creates one _instance_ of some component. If you pass it a _string_, it will create a DOM tag with that as the string. We used `h1` and `div`, those tags are output to the DOM. If we put `x-some-custom-element`, it'll output that (so web components are possible too.)
- The second empty object (you can put `null` too) is attributes we're passing to the tag or component. Whatever we put in this will be output to the element (like id or style.)
- `ReactDOM.render` is what takes our rendered `App` component and puts in the DOM (in our case we're putting it in the `root` element.)
- Notice we're using `React.createElement` with `App` as a parameter to `ReactDOM.render`. We need an _instance_ of `App` to render out. `App` is a class of components and we need to render one instance of a class. That's what `React.createElement` does: it makes an instance of a class.
Now that we've done that, let's separate this out from a script tag on the DOM to its own script file (best practice.) Make a new file in your `src` directory called `App.js` and cut and paste your code into it.
Modify your code so it looks like:
```js
const Match = () => {
return React.createElement("div", {}, [
React.createElement("p", {}, "12.30"),
React.createElement("p", {}, "Manchester United"),
React.createElement("p", {}, "Liverpool"),
React.createElement("p", {}, "1.12"),
React.createElement("p", {}, "2.5"),
React.createElement("p", {}, "3")
]);
};
const App = () => {
return React.createElement("div", {}, [
React.createElement("h1", {}, "Betting App"),
React.createElement(Match),
React.createElement(Match),
React.createElement(Match)
]);
};
ReactDOM.render(React.createElement(App), document.getElementById("root"));
```
- To make an element have multiple children, just pass it an array of elements.
- We created a second new component, the `Match` component. This component represents one match. When you have distinct ideas represented as markup, that's a good idea to separate that it into a component like we did here.
- Since we have a new `Match` component, we can use it multiple times! We just use multiple calls to `React.createElement`.
- In `createElement`, the last two parameters are optional. Since Match has no props or children (it could, we just didn't make it use them yet) we can just leave them off.
- If you're seeing console warnings about keys, ignore it for now.
```js
const Match = props => {
return React.createElement("div", {}, [
React.createElement("p", {}, props.time),
React.createElement("p", {}, props.home),
React.createElement("p", {}, props.away),
React.createElement("p", {}, props.win),
React.createElement("p", {}, props.draw),
React.createElement("p", {}, props.loss)
]);
};
const App = () => {
return React.createElement("div", {}, [
React.createElement("h1", {}, "Betting App"),
React.createElement(Match, {
time: "1.30",
home: "Manchester United",
away: "Liverpool",
win: "1.12",
draw: "2.5",
loss: "3.0"
}),
React.createElement(Match, {
time: "1.40",
home: "Arsenal",
away: "Tottenham",
win: "1.12",
draw: "2.5",
loss: "3.0"
}),
React.createElement(Match, {
time: "1.50",
home: "Wolves",
away: "Watford",
win: "1.12",
draw: "2.5",
loss: "3.0"
})
]);
};
```
[css]: https://raw.githubusercontent.com/ujvaljoshi/basics-of-react-workshop-app/main/src/style.css | 45.246753 | 291 | 0.688863 | eng_Latn | 0.984218 |
b523aa808dc47ccfdf522048aa225dddd7ce224a | 1,409 | md | Markdown | AlchemyInsights/subscription-cancelled-legacy-recommended-steps.md | isabella232/OfficeDocs-AlchemyInsights-pr.pt-BR | 61447e6f79e6a5ca40e5e50168da971230d5f9b7 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-05-19T19:07:30.000Z | 2020-05-19T19:07:30.000Z | AlchemyInsights/subscription-cancelled-legacy-recommended-steps.md | isabella232/OfficeDocs-AlchemyInsights-pr.pt-BR | 61447e6f79e6a5ca40e5e50168da971230d5f9b7 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2022-02-09T06:58:01.000Z | 2022-02-09T06:58:58.000Z | AlchemyInsights/subscription-cancelled-legacy-recommended-steps.md | isabella232/OfficeDocs-AlchemyInsights-pr.pt-BR | 61447e6f79e6a5ca40e5e50168da971230d5f9b7 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2019-10-11T19:14:27.000Z | 2021-10-13T10:06:06.000Z | ---
title: Assinatura cancelada - herdada - etapas recomendadas
ms.author: v-smandalika
author: v-smandalika
manager: dansimp
ms.date: 12/01/2020
ms.audience: Admin
ms.topic: article
ms.service: o365-administration
ROBOTS: NOINDEX, NOFOLLOW
localization_priority: Normal
ms.collection: Adm_O365
ms.custom:
- "9003559"
- "6846"
ms.openlocfilehash: 71628e61027ee842e942277451c9e6e9de9b250f39516b3be076a2ee61fb68c3
ms.sourcegitcommit: b5f7da89a650d2915dc652449623c78be6247175
ms.translationtype: MT
ms.contentlocale: pt-BR
ms.lasthandoff: 08/05/2021
ms.locfileid: "53999048"
---
# <a name="subscription-cancelled---legacy---recommended-steps"></a>Assinatura cancelada - herdada - etapas recomendadas
Nosso registro indica que a assinatura foi cancelada por um usuário com direitos de proprietário. Encontre as etapas abaixo para reativar a assinatura.
O [Administrador de Conta](https://docs.microsoft.com/azure/cost-management-billing/manage/billing-subscription-transfer?WT.mc_id=Portal-Microsoft_Azure_Support#whoisaa) pode reativar uma assinatura paga-as-go cancelada no Centro de Conta.
1. Entre no Centro [de Conta.](https://account.azure.com/Subscriptions)
2. Selecione a assinatura cancelada e clique em **Reativar**.
Para outros tipos de assinatura, [contate o suporte](https://ms.portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/overview) para que sua assinatura seja reativada.
| 42.69697 | 239 | 0.812633 | por_Latn | 0.723624 |
b52425a9ba5140466ef705b587b9135ffdb3b47d | 1,022 | md | Markdown | README.md | ChoKaPeek/PowerBi-Refresh | 87028f9416fe8827e42c2d8e767560ea677b63fd | [
"MIT"
] | 1 | 2021-01-27T13:52:56.000Z | 2021-01-27T13:52:56.000Z | README.md | ChoKaPeek/PowerBi_auto_refresh | 87028f9416fe8827e42c2d8e767560ea677b63fd | [
"MIT"
] | null | null | null | README.md | ChoKaPeek/PowerBi_auto_refresh | 87028f9416fe8827e42c2d8e767560ea677b63fd | [
"MIT"
] | null | null | null | # PowerBi Auto Refresh
It is not currently possible to periodically refresh PowerBi Desktop data when not imported from a database - in which case you could use the DirectQuery capabilities of PowerBi.
When working with a simple Excel file, I did not find any way to automate the refresh, and ended up using PyWinAuto instead. This is not a pretty solution, but it works reliably and does not require much client input - simply double-click the launcher instead of the .pbix file.
This program detects file modifications on the input excel file - when the file gets saved, and auto-refreshes data on powerbi.
## Installation
Needs a working install of Python3.X - tested with Python 3.8.
Dependencies: can be found in requirements.txt and installed with `pip install -r requirements.txt`.
## Configuration
The launch.dat needs to point to you python executable, as well as your .pbix file.
Depending on your locale, you must change the buttons labels.
Example: win.Actualiser in french becomes win.Refresh in english.
| 63.875 | 278 | 0.795499 | eng_Latn | 0.999621 |
b524c8f77ae322cfc6149856e10f06ab6a7e34b1 | 25 | md | Markdown | README.md | Zeus0707/Garrett-Lee | 334a4ca46ed7b7792cd20fceea3ebc5aef7526cd | [
"BSD-2-Clause"
] | null | null | null | README.md | Zeus0707/Garrett-Lee | 334a4ca46ed7b7792cd20fceea3ebc5aef7526cd | [
"BSD-2-Clause"
] | null | null | null | README.md | Zeus0707/Garrett-Lee | 334a4ca46ed7b7792cd20fceea3ebc5aef7526cd | [
"BSD-2-Clause"
] | null | null | null | # Garrett-Lee
Hwhduduwhe
| 8.333333 | 13 | 0.8 | eng_Latn | 0.859995 |
b525019860f4fcdc5e3ef2f9c1073ed1cdcc8b8e | 212 | md | Markdown | src/main/java/io/temporal/samples/terminateworkflow/README.md | mincong-h/samples-java | 8d5a80b7678a25dda26e1e3c6dbed0944688420e | [
"Apache-2.0"
] | 50 | 2020-09-30T14:45:52.000Z | 2022-03-30T18:58:15.000Z | src/main/java/io/temporal/samples/terminateworkflow/README.md | patel243/samples-java | ebdfa2afa84f36b85215441e558749344854081d | [
"Apache-2.0"
] | 150 | 2020-09-27T17:53:16.000Z | 2022-03-28T06:01:36.000Z | src/main/java/io/temporal/samples/terminateworkflow/README.md | AlexRogalskiy/samples-java | e0dd5091eb93f7435ed8587013973ed06b5189d0 | [
"Apache-2.0"
] | 51 | 2020-10-10T03:06:08.000Z | 2022-03-29T17:43:55.000Z | # Terminate Workflow execution
The sample demonstrates shows how to terminate workflow execution
using the client API.
```bash
./gradlew -q execute -PmainClass=io.temporal.samples.terminateworkflow.Starter
```
| 23.555556 | 78 | 0.801887 | eng_Latn | 0.948056 |
b52629d470dee063b29b452f6741fe9546916654 | 339 | md | Markdown | _posts/1936-04-12-pioneer-days-(dade-county-1836-1936).md | MiamiMaritime/miamimaritime.github.io | d087ae8c104ca00d78813b5a974c154dfd9f3630 | [
"MIT"
] | null | null | null | _posts/1936-04-12-pioneer-days-(dade-county-1836-1936).md | MiamiMaritime/miamimaritime.github.io | d087ae8c104ca00d78813b5a974c154dfd9f3630 | [
"MIT"
] | null | null | null | _posts/1936-04-12-pioneer-days-(dade-county-1836-1936).md | MiamiMaritime/miamimaritime.github.io | d087ae8c104ca00d78813b5a974c154dfd9f3630 | [
"MIT"
] | null | null | null | ---
title: Pioneer Days (Dade County 1836-1936)
tags:
- Apr 1936
---
Pioneer Days (Dade County 1836-1936) will be celebrated tomorrow. Today's paper includes some historic articles on the early settlement of Dade County. [Photos]
Newspapers: **Miami Morning News or The Miami Herald**
Page: **2**, Section: **G**
| 28.25 | 162 | 0.678466 | eng_Latn | 0.959382 |
b52633f6de40492032298a93f2cd6e5e3606ae78 | 1,282 | md | Markdown | content/entry/2020-05-10/new-blog/index.md | dqn/blog.uhy.ooo | ea8a4ef6c0ea7019cb07b51fc14325cf8d8450fb | [
"MIT"
] | null | null | null | content/entry/2020-05-10/new-blog/index.md | dqn/blog.uhy.ooo | ea8a4ef6c0ea7019cb07b51fc14325cf8d8450fb | [
"MIT"
] | null | null | null | content/entry/2020-05-10/new-blog/index.md | dqn/blog.uhy.ooo | ea8a4ef6c0ea7019cb07b51fc14325cf8d8450fb | [
"MIT"
] | null | null | null | ---
title: 個人ブログを作った
published: "2020-05-10T15:00+09:00"
updated: "2020-05-10T15:00+09:00"
tags:
- 雑記
---
こんにちは。うひょです。誰という方は[Twitter](https://twitter.com/uhyo_)とか[Qiita](https://qiita.com/uhyo)をご覧ください。この度、新たに個人ブログを立ち上げました。これはその最初の記事です。最近よく個人ブログという言葉を聞きますが、この言葉の正確な意味って何なんでしょうね。この界隈では「ブログサービスに頼らずに提供されるブログ」の意味で使われているような気がしますが、気のせいかもしれません。
これまではQiitaに技術記事を書いていましたが、今後はこのブログを主軸としつつ使い分けていきます。
Qiitaに比べるといいね (LGTM) 機能が無いのが最大の違いですね。Qiitaの非常にいいところは承認欲求が満たされやすいところだったので、このブログがその代替となってくれるように、Twitterなどでのシェアをこれまで以上に積極的にしていただけるととても幸いです。ただ同時に、Qiitaではなく個人ブログに移行したことでこれまでよりも幅広い記事が書けるだろうと期待しています。
デザインセンスが無いのでデザインは適当ですが、どことなくQiitaに似た雰囲気を感じますね。右側に出ているToCなどはそのままという気もします。これは便利なので敢えて差をつける必要もないと思いこのようになっています。
## 技術面
技術的には、Gatsbyを一度使ってみたかったので、Gatsby + Netlifyという構成になっています。いわゆるヘッドレスCMSは使用しておらず、記事はGitHubリポジトリ内にベタ書きです。
### テスト
技術ブログなので、コードをちゃんと載せられるかテストしてみます。
```tsx
type Props = {
foo: string;
}
export const Something: React.FC<Props> = ({
foo // 日本語
}) => {
return <p>Hello, {foo}!</p>;
}
```
`gatsby-starter-blog`を使用していますが、最初からprismjsによりコードハイライティングの設定が入っているのがとてもいいですね。
## 広告について
ブログに広告を載せるかどうかについて少し迷っています。
ブログに広告が表示されるのはブランディングの観点からマイナスに働くような気がしますが、それはそれとしてコンテンツの価値を可視化したいなあという気持ちと、ドメイン代くらいは自給自足したいなあという思いがあります。
まあQiitaにも広告あるし案外気にならないですかね。この界隈だとAd blockerを使用している人が多いかもしれませんが。 | 28.488889 | 231 | 0.835413 | jpn_Jpan | 0.889849 |
b526abe91f9bad65f8f7bb4a16614da31cbeb81e | 489 | md | Markdown | _posts/2020-6-3-SynGO.md | yhyates/yhyates.github.io | ea8cbd746ef71c6fabf20b2b51b779d9d908c9b8 | [
"MIT"
] | 1 | 2020-07-07T08:04:31.000Z | 2020-07-07T08:04:31.000Z | _posts/2020-6-3-SynGO.md | yhyates/yhyates.github.io | ea8cbd746ef71c6fabf20b2b51b779d9d908c9b8 | [
"MIT"
] | null | null | null | _posts/2020-6-3-SynGO.md | yhyates/yhyates.github.io | ea8cbd746ef71c6fabf20b2b51b779d9d908c9b8 | [
"MIT"
] | null | null | null | ---
layout: mypost
title: 超棒的基因名称转换工具SynGO
author: [17轮机-杨恒一]
categories: [学术]
---
> 介绍
做芯片分析,通常需要转换基因名称,而当一些平台注释文件不太理想,或者自己根本不会用,看不懂:)的时候,简单粗暴的基因名称转换工具的出现,仿佛让你置身于雨后的清新舒畅。
>内容
![11.PNG](https://i.loli.net/2020/06/03/rXmLbsoUI2TaOvR.png)
```
- 输入蛋白质/基因ID
- 选择输入ID的类型,如ENTREZ_GENE_ID
- 选择输入的物种类型,如Human
- 点击“Start”
- 等待结果,测试输入数量20000大概1一分钟完成
- 点击download下载转换结果
```
官网地址:**[点击跳转](https://www.syngoportal.org/convert.html)**
> 参考
```
[1]https://www.syngoportal.org/convert.html
```
| 13.971429 | 83 | 0.717791 | yue_Hant | 0.686622 |
b5271f1a96f9c091e78dd53a074f5f8bc87b73f5 | 1,688 | md | Markdown | config/docker/README.md | jeremypbrowne/tansa | e6044af397f99b9b985ed56015e9e0be13d4b026 | [
"MIT"
] | 38 | 2017-01-18T17:17:33.000Z | 2022-01-04T17:24:08.000Z | config/docker/README.md | jeremypbrowne/tansa | e6044af397f99b9b985ed56015e9e0be13d4b026 | [
"MIT"
] | 61 | 2016-12-04T13:26:48.000Z | 2020-04-29T22:49:13.000Z | config/docker/README.md | jeremypbrowne/tansa | e6044af397f99b9b985ed56015e9e0be13d4b026 | [
"MIT"
] | 21 | 2017-03-11T01:53:43.000Z | 2019-12-09T07:53:57.000Z | Docker Images
=============
Included here are the Docker images we use in our test environment
Overview
--------
All these images are available prebuilt on Docker Hub.
- `dev` is used for automated CI testing. It only has core dependencies installed without any tansa code
- `prebuilt` contains the tansa repository prebuilt with the run command defaulting to the quickstart script
Quickstart
----------
- First of all install Docker
- To get a running environment, do
- Run `docker pull dennisss/tansa-prebuilt:latest`
- Run `docker run --rm -p 4000:4000 -p 53100:53100/udp -it dennisss/tansa-prebuilt` every time you want to start it
- Then you should see the GUI to control it at `http://127.0.0.1:4000` in Chrome
- Rerun the `pull` command from above whenever there are new changes to this repo
- For development, you can use the `tansa-dev` image to run Tansa out of a local git repository.
- In the source folder, run ``docker run -v `pwd`:`pwd`:rw -w=`pwd` -p 4000:4000 -it dennisss/tansa-dev bash``
- The above command will give you a shell which you can use to do `make build`, etc.
- You can run the Gazebo simulator in this mode, but only headless
Advanced
--------
These are the commands I use to put things on Docker Hub (mainly for my own use, but may be useful for someone)
- `docker build -t dennisss/tansa-prebuilt .`
- `docker tag 7d9495d03763 dennisss/tansa-prebuilt:latest` (optionally if tagged with something else using the tag id from `docker images`)
- The `--no-cache=true` option for building is also very useful
- `docker login`
- `docker push dennisss/tansa-prebuilt`
- Handy command to start up a shell `docker run -it tansa-dev bash`
| 38.363636 | 140 | 0.732227 | eng_Latn | 0.994417 |
b52752ebb677b37410b59ec16fcc7402fab726c4 | 371 | md | Markdown | README.md | AnshulPorwal1/pythonprogramming | 96ccadea7cc6bce1dbd1ed8b7973ebc0a7f770d2 | [
"MIT"
] | 158 | 2017-01-12T22:10:13.000Z | 2021-12-27T12:04:43.000Z | README.md | richardmcewan1979/pythonprogramming | 96ccadea7cc6bce1dbd1ed8b7973ebc0a7f770d2 | [
"MIT"
] | 2 | 2017-09-26T16:30:05.000Z | 2018-09-01T17:12:57.000Z | README.md | richardmcewan1979/pythonprogramming | 96ccadea7cc6bce1dbd1ed8b7973ebc0a7f770d2 | [
"MIT"
] | 87 | 2017-01-27T15:17:10.000Z | 2021-12-06T18:12:31.000Z | # pythonprogramming
pythonprogramming.net PyQt4 to PyQt5 upgrade
On pythonprogramming.net you can find an youtube lesson series of PyQt.
The qt version used was PyQt4 in those lessons, here you can find the PyQt5 version of those lessons.
There are some differents in the new version that's why i updated the code.
Now you are up-to-date with the latest releases, enjoy
| 46.375 | 101 | 0.80593 | eng_Latn | 0.999691 |
b528b03180a846d55dea87e03af6fe7609527472 | 10,773 | md | Markdown | _posts/2018-08-31-behavioral-planning.md | dongwang218/dongwang218.github.io | cbc9385c4f1222bd37492c3d29927e89a7642a23 | [
"MIT"
] | null | null | null | _posts/2018-08-31-behavioral-planning.md | dongwang218/dongwang218.github.io | cbc9385c4f1222bd37492c3d29927e89a7642a23 | [
"MIT"
] | null | null | null | _posts/2018-08-31-behavioral-planning.md | dongwang218/dongwang218.github.io | cbc9385c4f1222bd37492c3d29927e89a7642a23 | [
"MIT"
] | null | null | null | ---
layout: post
mathjax: true
comments: true
title: "Behavioral Planning"
---
Planning for self-driving vehicles consists of route planning, behavioral planning and motion planning. Route planning picks sequence of road segments. Behavorial planner generates discrete motion goals (location, speed) adherence to rules of road. It specifies desired lane and speed. One local goal can be driving down this lane reaching location (x,y). Motion planner generates trajectory to reach local goal.
Route planning works on a weighted graph representation using Dijkastra or A* search. There are efficient algorithms to handle large networks using precaching. Motion planning can use lattice planner, eg anytime dynamic A* for unstructured road eg parking lot. There are also sampling based approaches eg PRM, RRT etc. For lane driving, spline fit can be used. Numerical optimization with motion model as constraints can be used to optimize for safety and comfort. Trajectory must be checked against dynamic obstacles for collision. This blog post is mainly about behavioral planning.
* TOC
{:toc}
## CMU Boss
Paper "Autonomous Driving in Urban Environments: Boss and the Urban Challenge", Christopher Urmson, Joshua Anhalt, Hong Bae, J. Andrew (Drew) Bagnell, Christopher R. Baker, Robert E. Bittner, Thomas Brown, M. N. Clark, Michael Darms, Daniel Demitrish, John M. Dolan, David Duggins, David Ferguson, Tugrul Galatali, Christopher M. Geyer, Michele Gittleman, Sam Harbaugh, Martial Hebert, Thomas Howard, Sascha Kolski, Maxim Likhachev, Bakhtiar Litkouhi, Alonzo Kelly, Matthew McNaughton, Nick Miller, Jim Nickolaou, Kevin Peterson, Brian Pilnick, Raj Rajkumar, Paul Rybski, Varsha Sadekar, Bryan Salesky, Young-Woo Seo, Sanjiv Singh, Jarrod M. Snider, Joshua C. Struble, Anthony (Tony) Stentz, Michael Taylor, William (Red) L. Whittaker, Ziv Wolkowicki, Wende Zhang and Jason Ziglar.
Journal Article, Carnegie Mellon University, Journal of Field Robotics Special Issue on the 2007 DARPA Urban Challenge, Part I, Vol. 25, No. 8, pp. 425-466, June, 2008
Behavioral planning must deals with dynamic context. The most basics ones include lane driving, intersection handling and achieving a zone pose. The CMU Boss was the winner of 2007 DARPA Urban Challenge, the planner is based on rules for each context. It also has a error recovery mechanism for out of context behavior, which also follows a set of well designed procedure to deal with failures.
![Boss Behaviors](/assets/boss-behaviors.png)
### Intersection
The road model for the intersection include a set of exit waypoint, stop lines, virtual lane, yield lane, geometry of lanes. To handle stop sign, precedence is estimated by a occupancy polgon 3 meters in front of the stop lines. The arrival time of any car into such a polygone is ordered as the precedence.
![Boss precedence](/assets/boss-precedence.png)
For a T intersection egovehicle should yield to both way of traffic. The condition for merging is calculated considering the velocity and distance of all other vehicles, and acceleration of egocar.
### Lane
For lane follow, calclate acceleration and derised gap. For merge, the merge distance for boss is 12 meters. Determine front-merge or back-merge, check spacing, velocity, accerlation for possiblity of a merge. Paper gives formulas that consider acceleration to overtake, deceleration to merge in the back.
### Error Recovery
Error recovery is invoked when current goal is not able to met. There are sepearate procedures to follow to handle failures for on-road, intersection, zone. The rules are called shimmy, jimmy, shake and bake. For example these are the procedure to handle failures at an intersection:
* Treat goal as pose goal, a more powerful motion planner is invoked.
* Ask the router planner to try different route.
* Treat further points along the original route as pose goal.
![Boss Error](/assets/boss-error-intersections.png)
The lane driving error recovery can be triggered when small obstacle blocks part of the signle lane road, the recovery follows these procedures
* Try further goals down the road 20 meters at goal 1, 2 and 3 are then 10 meters apart. This will promopt the motion planner to plan around obstacle possible into the income traffic lane if possible.
* Backup to goal 4 and retry further goals down the road.
* Try a U turn goal 5.
* If this is one way road, try goals further than 40 meters and no long requires to stay near the lane, so that motion planner can wander arbitrary to go forward.
![Boss Error](/assets/boss-error-lane.png)
## Multiple Policy Decision Making
Enric Galceran and
Alexander G. Cunningham and
Ryan M. Eustice and
Edwin Olson,
"Multipolicy decision-making for autonomous driving via changepoint-based
behavior prediction: Theory and experiment", Journal of Robots, 2017.
### Multipolicy Rollout
Boss planner assumes other vehicle keep current speed, therefore it does not consider complex interactions between vehicles. For example a change lane to the left is bad when another car has high probability to merge right into the same lane. This paper samples likely policies for all other vehicles and score all policy for the egocar by forward simulate to 10 seconds in the future, simulation step is 0.25 seconds. Use a manually designed reward function to score each egocar policy and choose the one with highest average reward. The reward function considers safety, comfort and progress. To limit the complexity, during the simulation a car won't change its policy except it allows logical transition for example after merge left, follow lane is logical. This is an approximate POMDP solver.
![MPDM algorithm](/assets/mpdm-algorithm.png)
### Behavioral Prediction
The probability of a policy used for sampling depends on the vehicle history. Use CHAMP algorithm to compute the most likely history segments and associated policy and parameters. It is a HMM on the time of policy transition (equation 18, 19). Transition is model by a truncated gaussian over time, the policy evidence is the Gaussian deviation (equation 21) from the prescribed trajectory of that policy with a BIC penalty (equation 15).
![MPDM](/assets/mpdmequation21.png)
![MPDM](/assets/mpdmequation15.png)
![MPDM](/assets/mpdmequation18.png)
![MPDM](/assets/mpdmequation22.png)
![MPDM](/assets/mpdmfigure3.png)
The prediction for a vehicle of taking a policy right now is just the policy evidence over the most recent segment.
The plicies are hand-engineered:
* Lane-nominal
* lane-change-right/lane-change-left
* turn-right, turn-left, go-straight, yield
The plicies can be extended to handle more driving requirements, eg adding merge-front and merge-back.
## Intention Aware MOMDP Planner
Bandyopadhyay T., Won K.S., Frazzoli E., Hsu D., Lee W.S., Rus D. (2013) "Intention-Aware Motion Planning". In: Frazzoli E., Lozano-Perez T., Roy N., Rus D. (eds) Algorithmic Foundations of Robotics X. Springer Tracts in Advanced Robotics, vol 86. Springer, Berlin, Heidelberg.
### MOMDP
In MOMDP, mixed observability Markov decision process, only some variables are hidden to ecocar. It is a speical case of POMDP, while more efficient as the belief state only include the hidden variables. The goal of this paper is to solved the POMDP to find the optimal policy that maximize expected sum of reward given current state and belief of pedestrains' intension. Approach in this paper is applicable to behavioral planning.
Offline planner construct a motion model for each agent intention. Robot solves momdp for a policy. online: execute policy over a set of intentions based on observed behavior. Robot only has an observation not the state of agents. agent has observes everything, it has its own policy conditioned on its intention. agent policy can be computed by MDP. Use SARSOP to compute the offline policy.
### Pedestrian Intention Uncertainty at Crossing
This paper considers pedestrian's intention as hidden variables. Their intension corresponds to goals only known to the pedestrian. Using MDP, a fixed policy is computed offline for pedestrain in order to get to goal quickly without collision with vehicle. This policy is followed by pedestrains online.
For example, paper compares with a Bayes-ML planner, which precompute mdp assuming known pedestrian goal, online bayesian inference picks the policy corresponds to the maximal likelihood estimation of the pedestrain intension based on observation. Figure 3 and 4 shows examples where MOMDP approach is superior. It uses 1mx1m grid, time step is 1 second. By considering the intention distribution, MOMDP won't become falsely confident.
![MOMDP](/assets/momdpfigure34.png)
* In Fig 4.a for Zebra crossing, Bayes-ML cause accidents, because motion is noisy, at the crossing, if it believe the intention is slightly lower to cross, it will keep current speed and when it is clear peron is actually corssing, it is too late. robot choose accelerate in view of the possibility of accident. MOMDP resolves intention only when it is necessary.
* In Fig 4.b for lane crossing, pedestrian can cross the lane at any time, MOMDP planner considers both $C$ and $D$ equally likely, for safety, only when real intention is resolved, egocar decide to pass.
### Driver Behaviors Uncertainty at Intersection
At an intersection, ecocar $R$ should respond to different aggressiveness of a car $A$ turnning left. This paper models 4 driving behaviors of another vehicle A.
* Oblivious. This driver increases his speed to 2 m/s and maintains it, totally ignoring the presence of other vehicles.
* Reasonable but distracted. This driver usually slows and stops before the intersection, but with probability 0.1, he may not stop.
* Impatient. This driver seeks to cross the intersection as fast as possible. He reacts to the speed of vehicle R, increasing his speed if R slows down and vice versa. He never comes to a complete stop at the intersection.
* Opportunistic. Similar to the impatient driver, this driver increases his speed if R slows down and vice versa. However, he will come to a complete stop at the intersection to avoid a collision.
Reward function tradeoff accident rate vs clearing time. The state of R consists of its position and velocity. Vehicle R receives observations on its own state and vehicle A’s state, but the observations may be noisy. The action is noisy with 5% of failing. Papers shows the accident rate of intention aware policy is very close to MDP with known driver intention. In this experiment, vehicle A is turning left. It is interesting that MOMDP can model other vehicles' driving behaviros as hidden, and adjust action according to belief of aggressiveness of other vehicles.
| 98.834862 | 798 | 0.791052 | eng_Latn | 0.997996 |
b528b94b06f89966cb276a9a4dce58b69a32b2c9 | 2,208 | md | Markdown | Delphi/Conteudo/MVC/README.md | fabiomarotti/Annotations | b1397ac417a8dab165bafe46957f9d1416a7de6c | [
"MIT"
] | null | null | null | Delphi/Conteudo/MVC/README.md | fabiomarotti/Annotations | b1397ac417a8dab165bafe46957f9d1416a7de6c | [
"MIT"
] | null | null | null | Delphi/Conteudo/MVC/README.md | fabiomarotti/Annotations | b1397ac417a8dab165bafe46957f9d1416a7de6c | [
"MIT"
] | null | null | null | # MVC
- São camadas lógicas que facilitam para o programador a troca de informações entre a interface do usuário e o banco de dados.
- Possibilidade de inserir mais camadas lógicas.
- `DMVC` Daniele Teti [ver +](https://github.com/danieleteti/delphimvcframework)
### Model:
- `Business Object Model` (Objeto Modelo de Negócio)
- Gerenciar e controlar o comportamento dos dados por meio de funções, lógica, regras de negócios,..
- Faz a conexão e operações com o Banco de Dados.
### View
- Apresenta as informações de forma visual ao usuário.
- Gerencia a exibição ou ocultamento de componentes, mensagens, botões, telas
- atualização de textos
- preenchimento de listas
- exibição de mensagens
- controle do estado de componentes
- Possui uma instância do *Controller*
### Controller
- Intermedia as requisições enviadas pela View com as respostas fornecidas pelo Model.
- É um repassador de informação.
- `DTO`: (Data Transfer Object) Utiliza-se para alimentar o Controller com apenas um parâmetro.
- Possui uma instância do *Model*
-----
# Exemplo
> Sem MVC
~~~Delphi
DataSet.Append;
DataSet.FieldByName('Codigo').AsInteger := StrToInt(EditCodigoProduto.Text);
DataSet.FieldByName('Descricao').AsString := EditDescricao.Text;;
DataSet.FieldByName('Preco').AsFloat := StrToFloat(EditValor.Text);
DataSet.Post;
DataSet.ApplyUpdates(0);
~~~
> Com MVC
- Model
- View
~~~Dlephi
var
Controller: TProdutoController;
begin
Controller := TProdutoController.Create;
try
Controller.IncluirProduto(
StrToInt( EditCodigo.Text),
EditDescricao.Text,
StrToFloat(EditPreco.Text)
);
finally
Controller.Free;
end;
end;
~~~
- Controller
~~~Delphi
TProdutoController = class
public
procedure IncluirProduto(
const ACodigo: integer;
const ADescricao: string;
const APreco: real
);
end;
~~~
- [link 1](https://www.devmedia.com.br/artigo-clube-delphi-102-aplicacoes-win32-com-mvc/11760)
- [link 2](https://www.youtube.com/playlist?list=PLscQ8amWtsz6BYVdWKJb8A2bBC9OtfhP9)
- [exemplo Java](https://pt.stackoverflow.com/questions/113840/como-funciona-o-padr%C3%A3o-dao)
| 28.675325 | 127 | 0.71558 | por_Latn | 0.97833 |
b52953ed383f90a57e2cb99c93da91b9e0461820 | 117 | md | Markdown | README.md | xxxIxxxx/WRNavigationBar | aefeba541f0b3eb851ce15ecd53acd3ecfd8ae90 | [
"MIT"
] | null | null | null | README.md | xxxIxxxx/WRNavigationBar | aefeba541f0b3eb851ce15ecd53acd3ecfd8ae90 | [
"MIT"
] | null | null | null | README.md | xxxIxxxx/WRNavigationBar | aefeba541f0b3eb851ce15ecd53acd3ecfd8ae90 | [
"MIT"
] | null | null | null | pod 'XXXNavigationBar'
XXXNavigationBar 对 [WRNavigationBar](https://github.com/wangrui460/WRNavigationBar) 进行部分bug修复 | 39 | 93 | 0.846154 | yue_Hant | 0.99403 |
b52a0b1eeaf96a1f0f5dfb6db7b29c3e7429a22a | 10,199 | md | Markdown | README.pREST.md | edotus/cf-example-golang-hello-world | 871cb9590ff6e8072ebf97361dc4177c8c29063a | [
"MIT"
] | null | null | null | README.pREST.md | edotus/cf-example-golang-hello-world | 871cb9590ff6e8072ebf97361dc4177c8c29063a | [
"MIT"
] | null | null | null | README.pREST.md | edotus/cf-example-golang-hello-world | 871cb9590ff6e8072ebf97361dc4177c8c29063a | [
"MIT"
] | 10 | 2018-02-19T21:11:03.000Z | 2019-05-01T08:57:47.000Z | # pREST
[![Build Status](https://travis-ci.org/nuveo/prest.svg?branch=master)](https://travis-ci.org/nuveo/prest)
[![GoDoc](https://godoc.org/github.com/nuveo/prest?status.png)](https://godoc.org/github.com/nuveo/prest)
[![Go Report Card](https://goreportcard.com/badge/github.com/nuveo/prest)](https://goreportcard.com/report/github.com/nuveo/prest)
[![codecov](https://codecov.io/gh/nuveo/prest/branch/master/graph/badge.svg)](https://codecov.io/gh/nuveo/prest)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/nuveo/prest?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Serve a RESTful API from any PostgreSQL database
## Problem
There is the PostgREST written in haskell, keep a haskell software in production is not easy job, with this need that was born the pREST.
## Docker
https://hub.docker.com/r/nuveo/prest/
```
docker run -e PREST_HTTP_PORT=3000 \
-e PREST_PG_HOST=127.0.0.1 \
-e PREST_PG_USER=postgres \
-e PREST_PG_PASS=pass \
nuveo/prest:0.1
```
### Tags
- 0.1 (stable)
- lastest (developer)
## Install
go get github.com/nuveo/prest
## Run
Params:
- PREST\_HTTP_PORT (default 3000)
- PREST\_PG_HOST (default 127.0.0.1)
- PREST\_PG_USER
- PREST\_PG_PASS
- PREST\_PG_DATABASE
- PREST\_PG_PORT (default 5432)
- PREST\_JWT_KEY
```
PREST_PG_USER=postgres PREST_PG_DATABASE=prest PREST_PG_PORT=5432 PREST_HTTP_PORT=3010 prest # Binary installed
```
## Migrations
`--url` and `--path` flags are optional if pREST configurations already set
```bash
# env var for migrations directory
PREST_MIGRATIONS
# create new migration file in path
prest migrate --url driver://url --path ./migrations create migration_file_xyz
# apply all available migrations
prest migrate --url driver://url --path ./migrations up
# roll back all migrations
prest migrate --url driver://url --path ./migrations down
# roll back the most recently applied migration, then run it again.
prest migrate --url driver://url --path ./migrations redo
# run down and then up command
prest migrate --url driver://url --path ./migrations reset
# show the current migration version
prest migrate --url driver://url --path ./migrations version
# apply the next n migrations
prest migrate --url driver://url --path ./migrations next +1
prest migrate --url driver://url --path ./migrations next +2
prest migrate --url driver://url --path ./migrations next +n
# roll back the previous n migrations
prest migrate --url driver://url --path ./migrations next -1
prest migrate --url driver://url --path ./migrations next -2
prest migrate --url driver://url --path ./migrations next -n
# go to specific migration
prest migrate --url driver://url --path ./migrations goto 1
prest migrate --url driver://url --path ./migrations goto 10
prest migrate --url driver://url --path ./migrations goto v
```
## TOML
Optionally the pREST can be configured by TOML file
- Set `PREST_CONF` environment variable with file path
```toml
migrations = "./migrations"
[http]
port = 6000
[jwt]
key = "mysecretkey"
[pg]
host = "127.0.0.1"
user = "postgres"
pass = "mypass"
port = 5432
database = "prest"
```
## API's
HEADER:
- To start JWT middleware the `PREST_JWT_KEY` environment variable must be set
```
Authorization: JWT eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWV9.TJVA95OrM7E2cBab30RMHrHDcEfxjoYZgeFONFh7HgQ
```
### Filter (WHERE)
```
GET /DATABASE/SCHEMA/TABLE?FIELD=$eq.VALUE
```
Query Operators:
| Name | Description |
|-------|-------------|
| $eq | Matches values that are equal to a specified value.|
| $gt | Matches values that are greater than a specified value.|
| $gte | Matches values that are greater than or equal to a specified value.|
| $lt | Matches values that are less than a specified value.|
| $lte | Matches values that are less than or equal to a specified value.|
| $ne | Matches all values that are not equal to a specified value.|
| $in | Matches any of the values specified in an array.|
| $nin | Matches none of the values specified in an array.|
| $null | Matches if field is null|
| $notnull | Matches if field is not null|
### Filter (WHERE) with JSONb field
```
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?FIELD->>JSONFIELD:jsonb=VALUE (filter)
```
### Select - GET
```
http://127.0.0.1:8000/databases (show all databases)
http://127.0.0.1:8000/databases?_count=* (count all databases)
http://127.0.0.1:8000/schemas (show all schemas)
http://127.0.0.1:8000/schemas?_count=* (count all schemas)
http://127.0.0.1:8000/tables (show all tables)
http://127.0.0.1:8000/DATABASE/SCHEMA (show all tables, find by schema)
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE (show all rows, find by database and table)
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?_select=column (select statement by columns)
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?_select=* (select all from TABLE)
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?_count=* (use count function)
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?_count=column (use count function)
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?_page=2&_page_size=10 (pagination, page_size 10 by default)
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?FIELD=VALUE (filter)
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?_renderer=xml (JSON by default)
Select operations over a VIEW
http://127.0.0.1:8000/DATABASE/SCHEMA/VIEW?_select=column (select statement by columns in VIEW)
http://127.0.0.1:8000/DATABASE/SCHEMA/VIEW?_select=* (select all from VIEW)
http://127.0.0.1:8000/DATABASE/SCHEMA/VIEW?_count=* (use count function)
http://127.0.0.1:8000/DATABASE/SCHEMA/VIEW?_count=column (use count function)
http://127.0.0.1:8000/DATABASE/SCHEMA/VIEW?_page=2&_page_size=10 (pagination, page_size 10 by default)
http://127.0.0.1:8000/DATABASE/SCHEMA/VIEW?FIELD=VALUE (filter)
```
### Insert - POST
```
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE
```
JSON DATA:
```
{
"data": {
"FIELD1": "string value",
"FIELD2": 1234567890
}
}
```
### Update - PATCH/PUT
Using query string to make filter (WHERE), example:
```
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?FIELD1=xyz
```
JSON DATA:
```
{
"data": {
"FIELD1": "string value",
"FIELD2": 1234567890
}
}
```
### Delete - DELETE
Using query string to make filter (WHERE), example:
```
http://127.0.0.1:8000/DATABASE/SCHEMA/TABLE?FIELD1=xyz
```
## JOIN
Using query string to JOIN tables, example:
```
/DATABASE/SCHEMA/TABLE?_join=inner:users:friends.userid:$eq:users.id
```
Parameters:
1. Join type
1. Table
1. Table field 1
1. Operator (=, <, >, <=, >=)
1. Table field 2
## Query Operators
| Name | Description |
|-------|-------------|
| $eq | Matches values that are equal to a specified value.|
| $gt | Matches values that are greater than a specified value.|
| $gte | Matches values that are greater than or equal to a specified value.|
| $lt | Matches values that are less than a specified value.|
| $lte | Matches values that are less than or equal to a specified value.|
| $ne | Matches all values that are not equal to a specified value.|
| $in | Matches any of the values specified in an array.|
| $nin | Matches none of the values specified in an array.|
## ORDER BY
Using *ORDER BY* in queries you must pass in *GET* request the attribute `_order` with fieldname(s) as value. For *DESC* order, use the prefix `-`. For *multiple* orders, the fields are separated by comma.
Examples:
### ASC
GET /DATABASE/SCHEMA/TABLE/?_order=fieldname
### DESC
GET /DATABASE/SCHEMA/TABLE/?_order=-fieldname
### Multiple Orders
GET /DATABASE/SCHEMA/TABLE/?_order=fieldname01,-fieldname02,fieldname03
## Executing SQL scripts
If need perform an advanced SQL, you can write some scripts SQL and access them by REST. These scripts are templates where you can pass by URL, values to them.
_awesome_folder/example_of_powerful.read.sql_:
```sql
SELECT * FROM table WHERE name = "{{.field1}}" OR name = "{{.field2}}";
```
Get result:
```
GET /_QUERIES/awesome_folder/example_of_powerful?field1=foo&field2=bar
```
To activate it, you need configure a location to scripts in your prest.toml like:
```
[queries]
location = /path/to/queries/
```
### Scripts templates rules
In your scripts, the fields to replace have to look like: _field1 or field2 are examples_
```sql
SELECT * FROM table WHERE name = "{{.field1}}" OR name = "{{.field2}}";
```
Script file must have a suffix based on http verb:
|HTTP Verb|Suffix|
|---|---|
|GET|.read.sql|
|POST|.write.sql|
|PUT, PATCH|.update.sql|
|DELETE|.delete.sql|
In `queries.location`, you need given a folder to your scripts:
```
queries/
└── foo
└── some_get.read.sql
└── some_create.write.sql
└── some_update.update.sql
└── some_delete.delete.sql
└── bar
└── some_get.read.sql
└── some_create.write.sql
└── some_update.update.sql
└── some_delete.delete.sql
URL's to foo folder:
GET /_QUERIES/foo/some_get?field1=bar
POST /_QUERIES/foo/some_create?field1=bar
PUT /_QUERIES/foo/some_update?field1=bar
PATCH /_QUERIES/foo/some_update?field1=bar
DELETE /_QUERIES/foo/some_delete?field1=bar
URL's to bar folder:
GET /_QUERIES/bar/some_get?field1=foo
POST /_QUERIES/bar/some_create?field1=foo
PUT /_QUERIES/bar/some_update?field1=foo
PATCH /_QUERIES/bar/some_update?field1=foo
DELETE /_QUERIES/bar/some_delete?field1=foo
```
## Permissions
### Restrict mode
In the prest.toml you can configure read/write/delete permissions of each table.
```
[access]
restrict = true # can access only the tables listed below
```
`restrict = false`: (default) the prest will serve in publish mode. You can write/read/delete everydata without configure permissions.
`restruct = true`: you need configure the permissions of all tables.
### Table permissions
Example:
```
[[access.tables]]
name = "test"
permissions = ["read", "write", "delete"]
fields = ["id", "name"]
```
|attribute|description|
|---|---|
|table|Table name|
|permissions|Table permissions. Options: `read`, `write` and `delete`|
|fields|Fields permitted for select|
Configuration example: [prest.toml](https://github.com/nuveo/prest/blob/master/testdata/prest.toml)
| 27.416667 | 205 | 0.716051 | eng_Latn | 0.569738 |
b52a7239be3130c2db8754de02602fcc5d3fd9a6 | 6,890 | md | Markdown | fabric/3155-3465/3457.md | hyperledger-gerrit-archive/fabric-gerrit | 188c6e69ccb2e4c4d609ae749a467fa7e289b262 | [
"Apache-2.0"
] | 2 | 2021-01-08T04:06:04.000Z | 2021-02-09T08:28:54.000Z | fabric/3155-3465/3457.md | cendhu/fabric-gerrit | 188c6e69ccb2e4c4d609ae749a467fa7e289b262 | [
"Apache-2.0"
] | null | null | null | fabric/3155-3465/3457.md | cendhu/fabric-gerrit | 188c6e69ccb2e4c4d609ae749a467fa7e289b262 | [
"Apache-2.0"
] | 4 | 2019-12-07T05:54:26.000Z | 2020-06-04T02:29:43.000Z | <strong>Project</strong>: fabric<br><strong>Branch</strong>: master<br><strong>ID</strong>: 3457<br><strong>Subject</strong>: fix sbft consensus violation after attack<br><strong>Status</strong>: MERGED<br><strong>Owner</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Assignee</strong>:<br><strong>Created</strong>: 12/21/2016, 4:27:48 AM<br><strong>LastUpdated</strong>: 12/21/2016, 7:09:40 AM<br><strong>CommitMessage</strong>:<br><pre>fix sbft consensus violation after attack
A correct replica would blindly put together a checkpointed batch with
its locally preprepared one for the same sequence number. However, even
correct replicas need to check if the payloads are the same, as Byzantine
primary might had previously polluted a correct replica with a different
preprepare.
Added a test that was causing consensus violation in the previous code
(now passing).
Change-Id: I5417730cc95d05c619f445178fa93ecfe5043a70
Signed-off-by: Marko Vukolic <mvu@zurich.ibm.com>
</pre><h1>Comments</h1><strong>Reviewer</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Reviewed</strong>: 12/21/2016, 4:27:48 AM<br><strong>Message</strong>: <pre>Uploaded patch set 1.</pre><strong>Reviewer</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Reviewed</strong>: 12/21/2016, 4:29:15 AM<br><strong>Message</strong>: <pre>Patch Set 1:
Build Started https://jenkins.hyperledger.org/job/fabric-verify-x86_64/4346/</pre><strong>Reviewer</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Reviewed</strong>: 12/21/2016, 4:31:45 AM<br><strong>Message</strong>: <pre>Uploaded patch set 2.</pre><strong>Reviewer</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Reviewed</strong>: 12/21/2016, 4:35:27 AM<br><strong>Message</strong>: <pre>Patch Set 2:
Build Started https://jenkins.hyperledger.org/job/fabric-verify-x86_64/4347/</pre><strong>Reviewer</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Reviewed</strong>: 12/21/2016, 4:38:53 AM<br><strong>Message</strong>: <pre>Uploaded patch set 3: Commit message was updated.</pre><strong>Reviewer</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Reviewed</strong>: 12/21/2016, 4:42:47 AM<br><strong>Message</strong>: <pre>Patch Set 3:
Build Started https://jenkins.hyperledger.org/job/fabric-verify-x86_64/4348/</pre><strong>Reviewer</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Reviewed</strong>: 12/21/2016, 5:12:51 AM<br><strong>Message</strong>: <pre>Patch Set 1: Verified+1
Build Successful
https://jenkins.hyperledger.org/job/fabric-verify-x86_64/4346/ : SUCCESS</pre><strong>Reviewer</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Reviewed</strong>: 12/21/2016, 5:16:00 AM<br><strong>Message</strong>: <pre>Patch Set 2: Verified+1
Build Successful
https://jenkins.hyperledger.org/job/fabric-verify-x86_64/4347/ : SUCCESS</pre><strong>Reviewer</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Reviewed</strong>: 12/21/2016, 5:21:45 AM<br><strong>Message</strong>: <pre>Patch Set 3: Verified+1
Build Successful
https://jenkins.hyperledger.org/job/fabric-verify-x86_64/4348/ : SUCCESS</pre><strong>Reviewer</strong>: Gari Singh - gari.r.singh@gmail.com<br><strong>Reviewed</strong>: 12/21/2016, 5:57:16 AM<br><strong>Message</strong>: <pre>Patch Set 3: Code-Review+2</pre><strong>Reviewer</strong>: Gabor Hosszu - gabor@digitalasset.com<br><strong>Reviewed</strong>: 12/21/2016, 6:33:57 AM<br><strong>Message</strong>: <pre>Patch Set 3: Code-Review+2</pre><strong>Reviewer</strong>: Gerrit Code Review - gerrit@hyperledger.org<br><strong>Reviewed</strong>: 12/21/2016, 6:34:01 AM<br><strong>Message</strong>: <pre>Change has been successfully merged by Gabor Hosszu</pre><strong>Reviewer</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Reviewed</strong>: 12/21/2016, 6:37:10 AM<br><strong>Message</strong>: <pre>Patch Set 3:
Build Started https://jenkins.hyperledger.org/job/fabric-merge-x86_64/621/</pre><strong>Reviewer</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Reviewed</strong>: 12/21/2016, 7:09:40 AM<br><strong>Message</strong>: <pre>Patch Set 3:
Build Successful
https://jenkins.hyperledger.org/job/fabric-merge-x86_64/621/ : SUCCESS</pre><h1>PatchSets</h1><h3>PatchSet Number: 1</h3><blockquote><strong>Type</strong>: REWORK<br><strong>Author</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Uploader</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Created</strong>: 12/21/2016, 4:27:48 AM<br><strong>UnmergedRevision</strong>: [ec3c0b252f55b3384252cb127b36009b76d7365d](https://github.com/hyperledger-gerrit-archive/fabric/commit/ec3c0b252f55b3384252cb127b36009b76d7365d)<br><br><strong>Approver</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Approved</strong>: 12/21/2016, 5:12:51 AM<br><strong>Type</strong>: Verified<br><strong>Value</strong>: 1<br><br></blockquote><h3>PatchSet Number: 2</h3><blockquote><strong>Type</strong>: REWORK<br><strong>Author</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Uploader</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Created</strong>: 12/21/2016, 4:31:45 AM<br><strong>UnmergedRevision</strong>: [549149b8a0a89581d6d7efb23f7f08d4c9e7e0d2](https://github.com/hyperledger-gerrit-archive/fabric/commit/549149b8a0a89581d6d7efb23f7f08d4c9e7e0d2)<br><br><strong>Approver</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Approved</strong>: 12/21/2016, 5:16:00 AM<br><strong>Type</strong>: Verified<br><strong>Value</strong>: 1<br><br></blockquote><h3>PatchSet Number: 3</h3><blockquote><strong>Type</strong>: NO_CODE_CHANGE<br><strong>Author</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Uploader</strong>: Marko Vukolic - mvu@zurich.ibm.com<br><strong>Created</strong>: 12/21/2016, 4:38:53 AM<br><strong>GitHubMergedRevision</strong>: [dc5fc647613bae6ce65ba3a8344c5b4d25f09db7](https://github.com/hyperledger-gerrit-archive/fabric/commit/dc5fc647613bae6ce65ba3a8344c5b4d25f09db7)<br><br><strong>Approver</strong>: Hyperledger Jobbuilder - jobbuilder@jenkins.hyperledger.org<br><strong>Approved</strong>: 12/21/2016, 5:21:45 AM<br><strong>Type</strong>: Verified<br><strong>Value</strong>: 1<br><br><strong>Approver</strong>: Gabor Hosszu - gabor@digitalasset.com<br><strong>Approved</strong>: 12/21/2016, 6:33:57 AM<br><strong>Type</strong>: Code-Review<br><strong>Value</strong>: 1<br><br><strong>MergedBy</strong>: Gabor Hosszu<br><strong>Merged</strong>: 12/21/2016, 6:34:01 AM<br><br><strong>Approver</strong>: Gari Singh - gari.r.singh@gmail.com<br><strong>Approved</strong>: 12/21/2016, 5:57:16 AM<br><strong>Type</strong>: Code-Review<br><strong>Value</strong>: 1<br><br></blockquote> | 181.315789 | 2,575 | 0.765022 | kor_Hang | 0.361602 |
b52afdc8c096f594776fa4ed83c73245665e2c23 | 757 | md | Markdown | _posts/2018-06-07-how-azure-makes-your-life-easier.md | gitstua/gitstua.github.io | c551336b90898fc8664498b6736629caf4443426 | [
"MIT"
] | null | null | null | _posts/2018-06-07-how-azure-makes-your-life-easier.md | gitstua/gitstua.github.io | c551336b90898fc8664498b6736629caf4443426 | [
"MIT"
] | 7 | 2020-05-13T05:31:21.000Z | 2022-02-26T10:20:48.000Z | _posts/2018-06-07-how-azure-makes-your-life-easier.md | gitstua/gitstua.github.io | c551336b90898fc8664498b6736629caf4443426 | [
"MIT"
] | null | null | null | ---
layout: post
published: false
title: How Azure makes your life easier
bigimg: /img/path.jpg
tags:
- cloud
- azure
---
You can write regular [markdown](http://markdowntutorial.com/) here and Jekyll will automatically convert it to a nice webpage. I strongly encourage you to [take 5 minutes to learn how to write in markdown](http://markdowntutorial.com/) - it'll teach you how to transform regular text into bold/italics/headings/tables/etc.
**Here is some bold text**
## Here is a secondary heading
![sky-1426128_1280.jpg]({{site.baseurl}}/img/sky-1426128_1280.jpg)
And here is the same code with syntax highlighting:
```json
var foo = function(x) {
return(x + 5);
}
foo(3)
```
### Error
{: .box-error}
**Error:** This is an error box.
| 22.939394 | 324 | 0.713342 | eng_Latn | 0.968696 |
b52b06c39c312616588cfe82397a7991c92ab634 | 314 | md | Markdown | _posts/2013-06-26-oregon-coastal-marine-data-network-pycsw-workshop-mat.md | epifanio/pycsw.org | 3489c4dd3120339d0d78684285c0512d8b84fc97 | [
"CC-BY-4.0"
] | 2 | 2016-02-02T13:43:15.000Z | 2016-03-06T00:53:56.000Z | _posts/2013-06-26-oregon-coastal-marine-data-network-pycsw-workshop-mat.md | epifanio/pycsw.org | 3489c4dd3120339d0d78684285c0512d8b84fc97 | [
"CC-BY-4.0"
] | 4 | 2017-03-21T00:09:47.000Z | 2021-09-27T13:42:26.000Z | _posts/2013-06-26-oregon-coastal-marine-data-network-pycsw-workshop-mat.md | isabella232/pycsw.org | 88fac0f79893e50919bebcfdfa71c02fff3d4538 | [
"CC-BY-4.0"
] | 8 | 2016-02-24T21:17:16.000Z | 2021-11-02T12:19:05.000Z | ---
layout: post
title: Oregon Coastal & Marine Data Network pycsw Workshop Materials Available
author: Oregon Coastal & Marine Data Network
author_url: http://coastalmarinedata.net
---
[Oregon Coastal & Marine Data Network pycsw Workshop Materials Available (link)](http://www.coastalmarinedata.net/?p=229)
| 31.4 | 121 | 0.780255 | kor_Hang | 0.282571 |
b52b43aba3ae068d42b0eebb5ecae99fccc5a826 | 59 | md | Markdown | _authors/yl.jung.md | Jungyerin/jekyllrepo | a3a79f903fc48a5f0f8497a8efa9db49ecb063e8 | [
"MIT"
] | null | null | null | _authors/yl.jung.md | Jungyerin/jekyllrepo | a3a79f903fc48a5f0f8497a8efa9db49ecb063e8 | [
"MIT"
] | null | null | null | _authors/yl.jung.md | Jungyerin/jekyllrepo | a3a79f903fc48a5f0f8497a8efa9db49ecb063e8 | [
"MIT"
] | null | null | null | ---
name: yl.jung
title: 정예린
position : 하이브레인넷 인턴
---
| 9.833333 | 21 | 0.576271 | kor_Hang | 0.857571 |
b52b477d4c27a9371633ddc5cca7bf6cd671e5a8 | 1,592 | md | Markdown | sick_is_normal/dream.md | lefherz/songs | 57aafde7833a6eee243c59bb5f413db11db84fbe | [
"CC-BY-4.0"
] | 1 | 2019-04-02T02:44:11.000Z | 2019-04-02T02:44:11.000Z | sick_is_normal/dream.md | lefherz/songs | 57aafde7833a6eee243c59bb5f413db11db84fbe | [
"CC-BY-4.0"
] | null | null | null | sick_is_normal/dream.md | lefherz/songs | 57aafde7833a6eee243c59bb5f413db11db84fbe | [
"CC-BY-4.0"
] | null | null | null | # _dream
```
Refrain: G D E B/C
Verse:
a|55555555|55555555|33333333|33333333|
e|33333333|22222222|11111111|00000000|
```
Like a bad, bad dream
We were washing our hands,
We forgot our demands,
how far away does it seem
I woke up from a dream, where the people kept their distance
Half the people working, Half the people were just bored
Everyone afraid because a crippled health system
Couldn't fix the issue when supplies were running short
I knew while I was dreaming what on earth I missed the most
It wasn't my employment or the trials or the cars
From this ghastly dream remains all but a tiny ghost
Reminding me which hopes I lost and which were just a farce
Like a bad, bad dream
We were keeping apart,
we made living an art
And now we found our heart
```
d|--------|-----35-|-------3|5-------|--5---7-|--8---a-|--------|----------------|
a|-310-0--|-310----|-53--35-|--------|--5---7-|--8---a-|a8ba----|----------------|
e|3---1-31|3---1---|3--65---|--------|333-555-|666-888-|----a8ba|b-a-8-a86-5-3---|
```
I woke up from a dream, where the people kept their distance
Half the people working, Half the people were ignored
Everyone afraid, everyone hated the system
From a place of privilege they barely could afford
If they had not forced me awake I would have thought it real
The money, gender, laws and all the methods to enforce them
And I remember clearly, how important did it feel
I'm wondering, how sick was our normal
Like a bad, bad dream
We were washing our hands,
We were making amends,
And now we got a next chance
| 31.215686 | 82 | 0.672111 | eng_Latn | 0.99906 |
b52bb969d9af3b71e884d25321b958b3438c333d | 601 | md | Markdown | _posts/2020-12-01-segunda-aula-pc1-video.md | danielsaad/computacao-ifb | 18d12a1f8f19e2355cb65544380b62ae5505c2f6 | [
"MIT"
] | null | null | null | _posts/2020-12-01-segunda-aula-pc1-video.md | danielsaad/computacao-ifb | 18d12a1f8f19e2355cb65544380b62ae5505c2f6 | [
"MIT"
] | null | null | null | _posts/2020-12-01-segunda-aula-pc1-video.md | danielsaad/computacao-ifb | 18d12a1f8f19e2355cb65544380b62ae5505c2f6 | [
"MIT"
] | null | null | null | ---
title: 'Informe sobre a disciplina de Programação de Computadores 1'
excerpt: 'A segunda aula da disciplina de Programação de Computadores 1 está disponível.'
author_profile: false
categories:
- avisos
tags:
- avisos
---
A segunda aula das turmas A e B da disciplina de Programação de Computadores 1 das turmas está disponível no seguinte [link](https://drive.google.com/file/d/1dkOQfY93rGcIqG7ycqmu8f_IQOCWjpc_/view?usp=sharing).
Nas próximas aulas, cada aluno deverá se direcionar a sua turma, conforme explicado nas aulas e nesta [publicação]({% post_url 2020-11-25-informacoes-pc1 %}). | 46.230769 | 209 | 0.780366 | por_Latn | 0.984634 |
b52e98bd9d1d8ab541deb578af89a411cc278c52 | 1,419 | md | Markdown | README.md | brantleyp1/bw-password | 2c5561a272152e82257c26d32c1e98d90af073f8 | [
"MIT"
] | null | null | null | README.md | brantleyp1/bw-password | 2c5561a272152e82257c26d32c1e98d90af073f8 | [
"MIT"
] | null | null | null | README.md | brantleyp1/bw-password | 2c5561a272152e82257c26d32c1e98d90af073f8 | [
"MIT"
] | null | null | null | # bw-password
update a group of passwords in bitwarden
## Synopsis
I have a self-hosted BitWarden instance, but I don't save any of my work-related passwords using LDAP credentials so that I don't have to remember to change all howevermany every time I have to set a new password.
With this I can set all the passwords at once and keep them in bitwarden and out of my poor mind.
## Usage
`./bwpass.sh` - will prompt you for a password.
`./bwpass.sh 'someTH!ngH@rd'` - set a password to someTH!ngH@rd, just know that it's in your shell history if you're on a shared system.
`./bwpass.sh -t 'someTH!ngH@rd'` - will test changing the password but will not make any changes.
## Requirements
|requirement| purpose | install via |
|-----|-----|----|
| jq | json query to parse the output of bw cli | `brew install jq` for macOS <br/> `apt/yum install jq` for Linux|
| bitwarden-cli | required | `brew install bitwarden-cli` for macOS <br/> `snap install bw` for Linux running snap <br/> see [bitwarden.com](https://bitwarden.com/help/article/cli/) for more options |
| bitwarden account | this doesn't have to be self-hosted, though personally I think that's the best option ;-) | |
## Notes
Updated to provide actual test functionality as well as password complexity. It is currently set at a minimum of 8 characters and verifies at least 1 uppper, 1 lower, 1 number and 1 special. Those are all configurable.
| 48.931034 | 218 | 0.731501 | eng_Latn | 0.996695 |
b52f60e25fe1d8186f5225d1caa615cd44c6d0ec | 57 | md | Markdown | Selection-Round/README.md | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | 2 | 2021-12-09T18:07:46.000Z | 2022-01-26T16:51:18.000Z | Selection-Round/README.md | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | Selection-Round/README.md | rohansaini886/Peer-Programming-Hub-CP-Winter_Camp | d27fb6aa7e726e6d2cb95270c9e644d38d64dd1c | [
"MIT"
] | null | null | null | <h1> Selection Round is From 8-12-2021 - 12-12-2021</h1>
| 28.5 | 56 | 0.684211 | eng_Latn | 0.960065 |
b5305a35f005ddb25b022468805e6716c06c44dd | 1,390 | md | Markdown | articles/cognitive-services/Speech-Service/includes/quickstarts/voice-assistants/header.md | changeworld/azure-docs.cs-cz | cbff9869fbcda283f69d4909754309e49c409f7d | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/cognitive-services/Speech-Service/includes/quickstarts/voice-assistants/header.md | changeworld/azure-docs.cs-cz | cbff9869fbcda283f69d4909754309e49c409f7d | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/cognitive-services/Speech-Service/includes/quickstarts/voice-assistants/header.md | changeworld/azure-docs.cs-cz | cbff9869fbcda283f69d4909754309e49c409f7d | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: 'Úvodní příručka: Vytvoření vlastního hlasového asistenta – služba Řeči'
titleSuffix: Azure Cognitive Services
services: cognitive-services
author: trrwilson
manager: nitinme
ms.service: cognitive-services
ms.subservice: speech-service
ms.topic: include
ms.date: 03/20/2020
ms.author: travisw
ms.openlocfilehash: bb88ef7f048b2454f05ef33286e59277070c3ea0
ms.sourcegitcommit: 9ee0cbaf3a67f9c7442b79f5ae2e97a4dfc8227b
ms.translationtype: MT
ms.contentlocale: cs-CZ
ms.lasthandoff: 03/27/2020
ms.locfileid: "80241140"
---
V tomto rychlém startu použijete [sadu Speech SDK](~/articles/cognitive-services/speech-service/speech-sdk.md) k vytvoření vlastní aplikace hlasového asistenta, která se připojí k robotovi, který jste již vytvořili a nakonfigurovali. Pokud potřebujete vytvořit bot, podívejte se [na související výukový program](~/articles/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk.md) pro komplexnější průvodce.
Po splnění několika předpokladů trvá připojení vlastního hlasového asistenta jen několik kroků:
> [!div class="checklist"]
> * Vytvořte `BotFrameworkConfig` objekt z klíče předplatného a oblasti.
> * Vytvořte `DialogServiceConnector` objekt `BotFrameworkConfig` pomocí objektu shora.
> * Pomocí `DialogServiceConnector` objektu spusťte proces naslouchání pro jeden utterance.
> * Zkontrolujte `ActivityReceivedEventArgs` vrácené.
| 51.481481 | 429 | 0.823022 | ces_Latn | 0.995645 |
b530e3827ca870b8dfbdf5a0245417f6794862b7 | 806 | md | Markdown | content/doc/api/misc.md | mmianl/www.aptly.info | e18c3b0c7787d1f2d950169f2574e54c8da70c58 | [
"MIT"
] | null | null | null | content/doc/api/misc.md | mmianl/www.aptly.info | e18c3b0c7787d1f2d950169f2574e54c8da70c58 | [
"MIT"
] | 4 | 2020-03-19T13:06:28.000Z | 2022-02-28T20:40:34.000Z | content/doc/api/misc.md | mmianl/www.aptly.info | e18c3b0c7787d1f2d950169f2574e54c8da70c58 | [
"MIT"
] | 10 | 2019-10-26T22:36:04.000Z | 2022-03-16T12:04:11.000Z | ---
date: "2014-02-08T11:17:38Z"
title: "Misc API"
menu:
doc:
parent: API
weight: 50
---
Graph API
---------
`GET /api/graph.:ext`
Generate graph of aptly objects (same as in [aptly graph](/doc/aptly/graph) command).
`:ext` specifies desired file extension, e.g. `.png`, `.svg`.
Query params:
Name | Description
---------------------------|-------------------------------
`layout` | Change between a `horizontal` (default) and a `vertical` graph layout.
Example:
* open url http://localhost:8080/api/graph.svg?layout=vertical in browser (hint: aptly database should be non-empty)
Version API
-----------
`GET /api/version`
Return current aptly version.
Example:
$ curl http://localhost:8080/api/version
{"Version":"0.9~dev"} | 20.15 | 116 | 0.576923 | eng_Latn | 0.558486 |
b53100183ba1bffd1ae5e627cf107f4cd8d57f5e | 4,592 | md | Markdown | images/2016.7.7.md | CreativeSwayGroup/Android-developers-blog-CN-2016 | 4a9f05235b2a31e79d35ebecc7566a5a0e6946b1 | [
"Apache-2.0"
] | null | null | null | images/2016.7.7.md | CreativeSwayGroup/Android-developers-blog-CN-2016 | 4a9f05235b2a31e79d35ebecc7566a5a0e6946b1 | [
"Apache-2.0"
] | null | null | null | images/2016.7.7.md | CreativeSwayGroup/Android-developers-blog-CN-2016 | 4a9f05235b2a31e79d35ebecc7566a5a0e6946b1 | [
"Apache-2.0"
] | null | null | null | # Android Nougat中受信任证书颁发机构的更改
原标题:Changes to Trusted Certificate Authorities in Android Nougat
链接:[https://android-developers.googleblog.com/2016/07/changes-to-trusted-certificate.html](https://android-developers.googleblog.com/2016/07/changes-to-trusted-certificate.html)
作者:Chad Brubaker (Android安全团队)
翻译:[arjinmc](https://github.com/arjinmc)
在Android Nougat中,我们更改了Android处理可信证书颁发机构(CA)的方式,以便为安全的应用流量提供更安全的默认设置。大多数应用和用户不应受这些更改的影响,也不应采取任何操作。变化包括:
* 安全且简单的API,可以信任自定义CA.
* 默认情况下,针对API级别24及更高版本的应用不再信任用户或管理员添加的CA以进行安全连接。
* 所有运行Android Nougat的设备都提供相同的标准化系统CA集 - 无需特定于设备的自定义。
有关这些更改的更多详细信息以及如果您受其影响该怎么办,请继续阅读。
## 安全简便的API
应用程序始终可以自定义他们信任的证书颁发机构。但是,由于Java TLS API的复杂性,我们看到应用程序出错。为了解决这个问题,我们[改进了用于自定义信任的API](https://developer.android.com/preview/features/security-config.html)。
## 用户添加的CA.
保护所有应用程序数据是Android应用程序沙箱的关键目标。Android Nougat改变了应用程序与用户和管理员提供的CA的交互方式。默认情况下,针对API级别24的应用程序将按照设计 - 不接受此类CA,除非应用程序明确选择。此默认安全设置可减少应用程序攻击面并鼓励一致地处理网络和基于文件的应用程序数据。
## 自定义受信任的CA.
使用Network Security Config可以轻松自定义您的应用在Android Nougat上信任的CA. 可以根据需要在整个应用程序中指定信任,或仅指定与某些域的连接。以下是信任自定义或用户添加的CA以及系统CA的一些示例。有关更多示例和详细信息,请参阅[完整文档](https://developer.android.com/preview/features/security-config.html)。
### 信任自定义CA以进行调试
要允许您的应用仅信任自定义CA以进行本地调试,请在Network Security配置中包含类似的内容。只有在您的应用标记为可调试时,才会信任CA.
```code
<network-security-config>
<debug-overrides>
<trust-anchors>
<!-- Trust user added CAs while debuggable only -->
<certificates src="user" />
</trust-anchors>
</domain-config>
</network-security-config>
```
### 信任域的自定义CA
要允许您的应用信任特定域的自定义CA,请在Network Security配置中包含类似的内容。
```code
<network-security-config>
<domain-config>
<domain includeSubdomains="true">internal.example.com</domain>
<trust-anchors>
<!-- Only trust the CAs included with the app
for connections to internal.example.com -->
<certificates src="@raw/cas" />
</trust-anchors>
</domain-config>
</network-security-config>
```
### 信任某些域的用户添加的CA
要允许您的应用信任多个域的用户添加的CA,请在Network Security配置中包含类似的内容。
```code
<network-security-config>
<domain-config>
<domain includeSubdomains="true">userCaDomain.com</domain>
<domain includeSubdomains="true">otherUserCaDomain.com</domain>
<trust-anchors>
<!-- Trust preinstalled CAs -->
<certificates src="system" />
<!-- Additionally trust user added CAs -->
<certificates src="user" />
</trust-anchors>
</domain-config>
</network-security-config>
```
### 信任除了某些域之外的所有域的用户添加的CA
要允许您的应用信任所有域的用户添加的CA(指定的CA除外),请在Network Security配置中包含类似的内容。
```code
<network-security-config>
<base-config>
<trust-anchors>
<!-- Trust preinstalled CAs -->
<certificates src="system" />
<!-- Additionally trust user added CAs -->
<certificates src="user" />
</trust-anchors>
</base-config>
<domain-config>
<domain includeSubdomains="true">sensitive.example.com</domain>
<trust-anchors>
<!-- Only allow sensitive content to be exchanged
with the real server and not any user or
admin configured MiTMs -->
<certificates src="system" />
<trust-anchors>
</domain-config>
</network-security-config>
```
## 信任所有安全连接的用户添加的CA
要允许您的应用信任所有安全连接的用户添加的CA,请在Network Security配置中添加该CA.
```code
<network-security-config>
<base-config>
<trust-anchors>
<!-- Trust preinstalled CAs -->
<certificates src="system" />
<!-- Additionally trust user added CAs -->
<certificates src="user" />
</trust-anchors>
</base-config>
</network-security-config>
```
## 标准化的系统可信CA集
为了提供整个Android生态系统更一致,更安全的体验,与Android牛轧糖开始,兼容的设备只信任标准化体系的CA保持在[AOSP](https://android.googlesource.com/platform/system/ca-certificates/)。
以前,与系统捆绑在一起的预安装CA集可能因设备而异。如果某些设备不包含连接所需的CA以及潜在的安全问题(如果某些设备上包含不符合我们安全要求的CA),则可能会导致兼容性问题。
## 如果我有一个CA,我相信应该包含在Android中怎么办?
首先,确保您的CA需要包含在系统中。预安装的CA 仅适用于符合我们安全要求的CA,因为它们会影响设备上大多数应用的安全连接。如果需要添加CA以连接到使用该CA的主机,则应自定义连接到这些主机的应用程序和服务。有关更多信息,请参阅上面的“自定义可信CA”部分。
如果您运行的是您认为应包含在Android中的CA,请首先完成[Mozilla CA Inclusion Process](https://wiki.mozilla.org/CA:How_to_apply),然后 针对Android提交[功能需求](https://code.google.com/p/android/issues/entry),以便将CA添加到标准化的系统CA集中。 | 34.787879 | 209 | 0.671821 | yue_Hant | 0.420032 |
b531e46d10d94425a7d5c50db352791c62ff002a | 1,101 | md | Markdown | tutorial/index.md | rdmurphy/first-visual-story | 1647899f53d812ce9c6d0223adf7f7732c9dfc19 | [
"MIT"
] | 3 | 2022-02-16T20:14:18.000Z | 2022-03-10T19:39:49.000Z | tutorial/index.md | rdmurphy/first-visual-story | 1647899f53d812ce9c6d0223adf7f7732c9dfc19 | [
"MIT"
] | 27 | 2022-02-16T19:41:37.000Z | 2022-03-09T18:29:11.000Z | tutorial/index.md | rdmurphy/first-visual-story | 1647899f53d812ce9c6d0223adf7f7732c9dfc19 | [
"MIT"
] | 1 | 2022-03-06T00:06:05.000Z | 2022-03-06T00:06:05.000Z | ```{include} _templates/nav.html
```
# First Visual Story
A step-by-step guide to publishing a standalone story from a dataset.
This tutorial will show you how journalists at America’s top news organizations escape rigid content-management systems to publish custom interactive graphics on deadline.
You will get hands-on experience in every stage of the development process, writing JavaScript, HTML and CSS within a Node.js framework. You won't stop until you've deployed a working application on the World Wide Web.
## Table of contents
```{toctree}
:maxdepth: 1
:name: mastertoc
:numbered:
what
prereqs
github
framework
template
data
cards
charts
map
internet
about
```
## About
This guide was first prepared by [Dana Amihere](http://damihere.com), [Armand Emamdjomeh](http://emamd.net) and [Ben Welsh](http://palewi.re/who-is-ben-welsh/) for a training sessions at the [National Institute for Computer-Assisted Reporting (NICAR)](http://data.nicar.org/)'s 2018 conference in Chicago. It was revised in 2022 by Emamdjomeh, Welsh and [Vanessa Martinez](https://www.vanessa-martinez.com/).
| 31.457143 | 408 | 0.772934 | eng_Latn | 0.950265 |
b5324e0f72f1f8c0355342209637cff6a8688b4b | 206 | md | Markdown | _volunteer_photos/volunteer_photo_4.md | amilcook/www | 1a94e0493e4738622738929362404c131e221514 | [
"MIT"
] | 3 | 2017-10-13T02:15:17.000Z | 2021-09-15T19:35:08.000Z | _volunteer_photos/volunteer_photo_4.md | amilcook/www | 1a94e0493e4738622738929362404c131e221514 | [
"MIT"
] | 21 | 2017-07-15T18:57:59.000Z | 2019-07-31T14:10:50.000Z | _volunteer_photos/volunteer_photo_4.md | amilcook/www | 1a94e0493e4738622738929362404c131e221514 | [
"MIT"
] | 6 | 2017-06-26T00:23:21.000Z | 2021-09-15T19:35:17.000Z | ---
image_path: /assets/img/volunteers/volunteers_WYP_construction.JPG
title: Shout out to Wilkinsburg Youth Project who worked with us all summer. Thanks to them, we now have a telescope on the roof!
---
| 41.2 | 130 | 0.781553 | eng_Latn | 0.994484 |
b5335eec6643e573c8ab58ec56e90fa1eee357b5 | 3,000 | md | Markdown | CHANGELOG.md | fossabot/responsive-image-builder | f121264c32f4800f649eb1332b174ca18ac72028 | [
"Apache-2.0"
] | null | null | null | CHANGELOG.md | fossabot/responsive-image-builder | f121264c32f4800f649eb1332b174ca18ac72028 | [
"Apache-2.0"
] | null | null | null | CHANGELOG.md | fossabot/responsive-image-builder | f121264c32f4800f649eb1332b174ca18ac72028 | [
"Apache-2.0"
] | null | null | null | # Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [2.0.4] - 2019-03-20
### Fixed
- README typos
- Formatted the CHANGELOG
## [2.0.3] - 2019-03-20
### Fixed
- Fixed README layout
- npms.io should now see badges for scoring
## [2.0.2] - 2019-03-20
### Added
- Started keeping a changelog
- semantic-release integration with Travis CI for automatic deployment to GitHub and NPM
### Removed
- standard-version (and other version-related package.json scripts)
### Changed
- docs:(readme) will now trigger a patch release
### Fixed
- Badges are now recognized by the npms.io scoring algorithm
## [2.0.1] - 2019-03-16
### Changed
- Improved README
- Fixed links
- Added new demo image
### Fixed
- Absolute path conflict with `tiny-glob`
## [2.0.0] - 2019-03-16
#### Responsive Image Builder has been re-written from the ground up!
It took a while, but here it is! Bear in mind that this is a major update, introducing many BREAKING
CHANGES. The readme has been re-written, give it a quick check to see what's changed and how to use
the new API.
The TODO list has been extended with future goals, if you have another idea for improvement then why
not fork the project and submit a Pull Request?
### Added
- Typescript
- ES Module import support (tree-shaking is now "possible")
- More image optimizers
- Better documentation
- TODO list
- Travis CI script
### Changed
- Better configuration
- Better performance with Node.js streams
## [1.1.3] - 2018-11-11
### Fixed
- Fixed bug where GIFs would fail to copy from nested directories
## [1.1.2] - 2018-11-08
### Changed
- Use `fs-extra` in favour of `fs`
### Fixed
- Fix bug on UNIX systems when copying from nested directories
## [1.1.1] - 2018-11-04
### Added
- Angular example on how to use the library
## [1.1.0] - 2018-11-04
### Added
- Image optimization
## [1.0.3] - 2018-11-03
First release
[unreleased]: https://github.com/marcuscemes/responsive-image-builder/compare/v2.0.3...HEAD
[2.0.2]: https://github.com/marcuscemes/responsive-image-builder/compare/v2.0.2...v2.0.3
[2.0.2]: https://github.com/marcuscemes/responsive-image-builder/compare/v2.0.1...v2.0.2
[2.0.1]: https://github.com/marcuscemes/responsive-image-builder/compare/v2.0.0...v2.0.1
[2.0.0]: https://github.com/marcuscemes/responsive-image-builder/compare/v1.1.3...v2.0.0
[1.1.3]: https://github.com/marcuscemes/responsive-image-builder/compare/v1.1.2...v1.1.3
[1.1.2]: https://github.com/marcuscemes/responsive-image-builder/compare/v1.1.1...v1.1.2
[1.1.1]: https://github.com/marcuscemes/responsive-image-builder/compare/v1.1.0...v1.1.1
[1.1.0]: https://github.com/marcuscemes/responsive-image-builder/compare/v1.0.3...v1.1.0
[1.0.3]: https://github.com/marcuscemes/responsive-image-builder/compare/v0.0.1...v1.0.3
| 24.590164 | 100 | 0.714 | eng_Latn | 0.85596 |
b5338a8610d974a5717bdade9c22b3807384b890 | 91 | md | Markdown | README.md | rikizeraah/DevOps-BD | eff54dcbd4c6fead563b688edb6af891cab31909 | [
"Apache-2.0"
] | null | null | null | README.md | rikizeraah/DevOps-BD | eff54dcbd4c6fead563b688edb6af891cab31909 | [
"Apache-2.0"
] | null | null | null | README.md | rikizeraah/DevOps-BD | eff54dcbd4c6fead563b688edb6af891cab31909 | [
"Apache-2.0"
] | null | null | null | # DevOps-BD
repositorio de aula
linha de combate
#aula de Devops
# salve
#soltaoveio | 13 | 20 | 0.725275 | por_Latn | 0.95647 |
b5339011daa44ca041c79f58d0b42b1a9af67eef | 477 | md | Markdown | wordpress/crm.md | gigaai/docs | 2d3984e5f6d9df2f997a3d8ef189a628c2dc4d34 | [
"MIT"
] | null | null | null | wordpress/crm.md | gigaai/docs | 2d3984e5f6d9df2f997a3d8ef189a628c2dc4d34 | [
"MIT"
] | null | null | null | wordpress/crm.md | gigaai/docs | 2d3984e5f6d9df2f997a3d8ef189a628c2dc4d34 | [
"MIT"
] | 4 | 2016-10-13T11:21:50.000Z | 2020-11-06T08:33:23.000Z | # CRM
---
Giga Messenger is not only an auto bot, it aims to become an ultimate Marketing tool for Developers and Marketers. You'll see many awesome tool in the future, let's learn about CRM first.
## Leads
By default, when people interact with Giga AI, it automatically save their basic info to the database. From here, we'll have many ways to harvest the data.
![The Leads List](https://ps.w.org/giga-messenger-bots/assets/screenshot-18.png)
## Update Leads Info | 47.7 | 188 | 0.746331 | eng_Latn | 0.98852 |
b53503b1cf299370a3e2afd9403871c160ade9c5 | 1,851 | md | Markdown | source/_posts/mysql-in-action-geektime/chapter-06-GlobleAndTableLocks.md | N0nb0at/N0nb0at.github.io | a35f4102a5324b0a3a245843f2a5124216f0d2af | [
"MIT"
] | 1 | 2020-08-12T10:34:48.000Z | 2020-08-12T10:34:48.000Z | source/_posts/mysql-in-action-geektime/chapter-06-GlobleAndTableLocks.md | N0nb0at/N0nb0at.github.io | a35f4102a5324b0a3a245843f2a5124216f0d2af | [
"MIT"
] | null | null | null | source/_posts/mysql-in-action-geektime/chapter-06-GlobleAndTableLocks.md | N0nb0at/N0nb0at.github.io | a35f4102a5324b0a3a245843f2a5124216f0d2af | [
"MIT"
] | 1 | 2019-09-25T04:25:00.000Z | 2019-09-25T04:25:00.000Z | ---
title: MySQL-06-全局锁和表锁 :给表加个字段怎么有这么多阻碍?
date: 2019/04/03 06:17:41
categories:
- [MySQL-in-Action]
tags:
- [geektime]
- [MySQL]
---
数据库锁设计的初衷是处理并发问题,作为多用户共享的资源,当出现并发访问的时候,数据库需要合理地控制资源的访问规则。而锁就是用来实现这些访问规则的重要数据结构。
根据加锁的范围,MySQL 里面的锁大致可以分成全局锁、表级锁、和行锁三类。
<!-- more -->
## 全局锁
顾名思义,全局锁就是对整个数据库实例加锁。MySQL 提供了一个加全局锁的方法,命令是 `Flush tables with read lock (FRWRL)`。当你需要让整个库处于只读状态的时候,可以使用整个命令,之后其他线程的以下语句会被阻塞:数据更新语句(数据的增删改)、数据定义语句(包括建表、修改表结构等)和更新类事务的提交语句。
全局锁的经典使用场景是,做全库逻辑备份。
官方自带的逻辑备份工具是 mysqldump。当 mysqldump 使用参数 `-single-transaction` 的时候,导数据之前就会启动一个事务,来确保拿到一致性视图。而由于 MVCC(Multi-Version Concurrency Control 多版本并发控制)的支持,这个过程中数据是可以正常更新的。
一致性读是好,但是前提是引擎要支持这个隔离级别。比如,MyISAM 这种不支持事务的引擎,如果备份过程中有更新,总是能读到最新的数据,那么久破坏了备份的一致性。这是,我们就需要使用 FTWRL 命令了。所以 `single-transaction` 方法只适用于所有的表使用事物引擎的库。
既然要全库只读,为什么不使用 `set global readonly=true` 的方式呢?
1. 在有些系统中,readonly 的值会被用来做其他逻辑,比如用来判断一个库是主库还是备库。因此,修改 global 变量的方式影响面更大。
2. 在异常处理机制上有差异。如果执行 FTWRL 命令之后由于客户端发生异常断开,那么 MySQL 会自动释放这个全局锁,整个库回到可以正常更新的状态。而将整个库设置为 readonly 之后,如果客户端发生异常,则数据库就会一直保持 readonly 状态,这样会导致整个库长时间处于不可写状态,风险较高。
## 表级锁
MySQL 里面表级别的锁有两种:一种是表锁,一种是元数据锁(meta data lock, MDL)。
**表锁**的语法是 `local tables ... read/write`。与 FTWRL 类似,可以用 unlock tables 主动释放锁,也可以在客户端断开的时候自动释放。需要注意,lock tables 语法除了会限制别的线程的读写外,也限定了本线程接下来的操作对象。
还没有出现更细粒度的锁的时候,表锁是最常用的处理并发的方式。而对于 InnoDB 这种支持行锁的引擎,一般不使用 lock tables 命令来控制并发,毕竟锁住整个表的影响还是太大。
另一类表级的锁是 **MDL**。MDL 不需要显式使用,在访问一个表的时候会被自动加上。MDL 的作用是,保证读写的正确性。你可以想象一下,如果一个查询正在遍历一个表中的数据,而执行期间另一个线程对这个表结构做变更,删了一列,那么查询线程拿到的结果跟表结构对不上,肯定是不行的。
因此,在 MySQL 5.5 版本中引入了 MDL,当对一个表做增删改查操作的时候,加 MDL 读锁;当要对表做结构变更操作的时候,加 MDL 写锁。
- 读锁之间不互斥,因此可以有多个线程对一张表增删改查。
- 读写锁之间、写锁之间是互斥的,用来保证变更表结构操作的安全性。因此如果有两个线程要同时给一个表加字段,其中一个要等另一个执行完才能开始执行。
MariaDB 和 AliSQL 支持了 DDL NOWAIT/WAIT N 语法,来安全的进行表结构调整。
``` sql
ALTER TABLE tbl_name NOWAIT ADD CLOUMN ...
ALTER TABLE tbl_name WAIT N DROP CLOUMN ...
```
| 33.654545 | 171 | 0.807672 | yue_Hant | 0.741505 |
b5361dbdbb3f69268fc05a90c30c88b970f7b275 | 55 | md | Markdown | README.md | Eyre-S/Cacao-Note | 3afdd553bad7f8277043086024e903118dbdf38d | [
"MIT"
] | 1 | 2021-06-07T12:41:43.000Z | 2021-06-07T12:41:43.000Z | README.md | Eyre-S/Cacao-Note | 3afdd553bad7f8277043086024e903118dbdf38d | [
"MIT"
] | null | null | null | README.md | Eyre-S/Cacao-Note | 3afdd553bad7f8277043086024e903118dbdf38d | [
"MIT"
] | null | null | null | ![Cacao Note](./assets/images/CacaoNote-Post-Card.png)
| 27.5 | 54 | 0.745455 | yue_Hant | 0.876876 |
b536d2d5c8a974c039ea619607f99e7f20b195d2 | 52 | md | Markdown | app/data/test/README.md | soosyze/cms | f96b797d39842760a4c1534a85faf68926341de2 | [
"MIT"
] | null | null | null | app/data/test/README.md | soosyze/cms | f96b797d39842760a4c1534a85faf68926341de2 | [
"MIT"
] | null | null | null | app/data/test/README.md | soosyze/cms | f96b797d39842760a4c1534a85faf68926341de2 | [
"MIT"
] | null | null | null | Répertoire des données pour l'environnement de test. | 52 | 52 | 0.846154 | fra_Latn | 0.967517 |
b53892454a2785c3394275687448a402155b8de9 | 26,094 | md | Markdown | _posts/2021-01-10-blog-post-1.md | c-huang-tty/c-huang-tty.github.io | f98885142a0044e6623d3e54f88c9e651567a1e3 | [
"MIT"
] | null | null | null | _posts/2021-01-10-blog-post-1.md | c-huang-tty/c-huang-tty.github.io | f98885142a0044e6623d3e54f88c9e651567a1e3 | [
"MIT"
] | null | null | null | _posts/2021-01-10-blog-post-1.md | c-huang-tty/c-huang-tty.github.io | f98885142a0044e6623d3e54f88c9e651567a1e3 | [
"MIT"
] | null | null | null | ---
title: 'Statistics [10]: Evaluation of Point Estimation'
date: 2021-01-10
permalink: /posts/2021/01/10/evaluation-point-estimation/
tags:
- Statistics
---
Properties of point estimation, mean squre error and minimum variance unbiased estimation.
---
## Properties of Point Estimation
### Consistency
Assume <img src="https://render.githubusercontent.com/render/math?math=\theta\in\Theta"> is an unknown parameter, <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}_n=\hat{\theta}_n(x_1,x_2,...,x_n)"> is an estimation obtained from <img src="https://render.githubusercontent.com/render/math?math=n"> samples. If for any <img src="https://render.githubusercontent.com/render/math?math=\varepsilon > 0">, there exists <img src="https://render.githubusercontent.com/render/math?math=n"> that satisfies <img src="https://render.githubusercontent.com/render/math?math={\displaystyle \lim_{n\to\infty}P(|\hat{\theta}-\theta| > \varepsilon) = 0}">. Then <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}"> is called a consistent estimation of <img src="https://render.githubusercontent.com/render/math?math=\theta">.
### Bias
Assume <img src="https://render.githubusercontent.com/render/math?math=\theta\in\Theta"> is an unknown parameter, <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}_n=\hat{\theta}_n(x_1,x_2,...,x_n)"> is an estimation obtained from <img src="https://render.githubusercontent.com/render/math?math=n"> samples. If for any <img src="https://render.githubusercontent.com/render/math?math=\theta\in\Theta"> there is <img src="https://render.githubusercontent.com/render/math?math=E(\hat{\theta})=\theta">. Then <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}"> is called an unbiased estimation of <img src="https://render.githubusercontent.com/render/math?math=\theta">.
### Efficiency
Assume <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}_1"> and <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}_2"> are two unbiased estimation. if for any <img src="https://render.githubusercontent.com/render/math?math=\theta\in\Theta"> there is <img src="https://render.githubusercontent.com/render/math?math=var(\hat{\theta}_1) \leq var(\hat{\theta}_2)">, and there exists at least one <img src="https://render.githubusercontent.com/render/math?math=\theta\in\Theta"> so that <img src="https://render.githubusercontent.com/render/math?math=var(\hat{\theta}_1) < var(\hat{\theta}_2)">. Then <img src="https://render.githubusercontent.com/render/math?math=var(\hat{\theta}_1)"> is more efficient than <img src="https://render.githubusercontent.com/render/math?math=var(\hat{\theta}_2)">.
---
### Example 1
Assume <img src="https://render.githubusercontent.com/render/math?math=X_1,X_2,...,X_n"> are samples from uniform distribution <img src="https://render.githubusercontent.com/render/math?math=U(0,\theta)">, the moment estimation is <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}=2\bar{X}"> and the maximum likelihood estimation is <img src="https://render.githubusercontent.com/render/math?math=\tilde{\theta}={\displaystyle \max_{1\leq k\leq n} X_k}">, consider the unbiasedness of <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}"> and <img src="https://render.githubusercontent.com/render/math?math=\tilde{\theta}">.
__Solution__. Fisrt, <img src="https://render.githubusercontent.com/render/math?math=E(\hat{\theta}) = E(2\bar{X}) = 2\times\dfrac{\theta}{2} = \theta">, hence, <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}"> is an unbiased estimation.
As for <img src="https://render.githubusercontent.com/render/math?math=\tilde{\theta}">, when <img src="https://render.githubusercontent.com/render/math?math=0\leq y \leq \theta">, the distribution function of <img src="https://render.githubusercontent.com/render/math?math=y"> is
<img src="https://render.githubusercontent.com/render/math?math=F_{\tilde{\theta}}(y) = P(\tilde{\theta}\leq y) = {\displaystyle P( \max_{1\leq k\leq n} X_k\leq y) = \prod_{k=1}^n P(X_k\leq y) = \left(\dfrac{y}{\theta}\right)^n}">
Then, the probability function would be
<img src="https://render.githubusercontent.com/render/math?math=f_{\tilde{\theta}}(y) = {\displaystyle \dfrac{n}{\theta^n}y^{n-1}}">
Hence,
<img src="https://render.githubusercontent.com/render/math?math=E(\tilde{\theta}) = {\displaystyle \int_{-\infty}^\infty yf_{\tilde{\theta}}(y)dy = \int_{0}^yy\dfrac{n}{\theta^n}y^{n-1}dy} = \dfrac{n}{n%2B1}\theta">
Hence, <img src="https://render.githubusercontent.com/render/math?math=\tilde{\theta}"> is a biased estimation.
### Example 2
Assume <img src="https://render.githubusercontent.com/render/math?math=X_1,X_2,...,X_n"> are samples from uniform distribution <img src="https://render.githubusercontent.com/render/math?math=U(0,\theta)">, <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}_1=2\bar{X}"> and <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}_2={\displaystyle \dfrac{n%2B1}{n} \max_{1\leq k\leq n} X_k}">, compare their efficiency.
__Solution__. For <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}_1">, we have
<img src="https://render.githubusercontent.com/render/math?math=var(\hat{\theta}_1) = var(2\bar{X}) = 4var(\bar{X}) = 4\cdot\dfrac{\theta^2}{12n} = \dfrac{\theta^2}{3n}">
For <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}_2">, firstly, from example 1, we have
<img src="https://render.githubusercontent.com/render/math?math=E(\tilde{\theta}^2) = {\displaystyle \int_{0}^{\theta}y^2f_{\tilde{\theta}}(y)dy = \int_{0}^\theta y^2\dfrac{n}{\theta^n}y^{n-1}dy = \dfrac{n}{n%2B2}\theta^2}">
Then, we have
<img src="https://render.githubusercontent.com/render/math?math=var(\tilde{\theta}) = E(\tilde{\theta}^2) - E^2(\tilde{\theta}) = \dfrac{n}{n%2B2}\theta^2-\dfrac{n^2}{(n%2B 1)^2}\theta^2 = \dfrac{n}{(n%2B1)^2(n%2B 2)}\theta^2">
Therefore,
<img src="https://render.githubusercontent.com/render/math?math=var(\hat{\theta}_2) = \dfrac{(n%2B1)^2}{n^2}var(\tilde{\theta}) = \dfrac{1}{n(n%2B2)}\theta^2">
---
## Mean Square Error (MSE)
<img src="https://render.githubusercontent.com/render/math?math=E((\hat{\theta}-\theta)^2) = E\left([\hat{\theta} - E(\hat{\theta})] %2B [E(\hat{\theta}) - \theta]^2\right) = var(\hat{\theta}) %2B (E(\hat{\theta}) - \theta)^2">
### Example 3
Assume <img src="https://render.githubusercontent.com/render/math?math=X1, X_2, ..., X_n"> are samples from <img src="https://render.githubusercontent.com/render/math?math=N(\mu,\sigma^2)">, calculate MSE of moment estimation and maximum likelihood estimation of <img src="https://render.githubusercontent.com/render/math?math=\mu"> and <img src="https://render.githubusercontent.com/render/math?math=\sigma^2">.
__Solution__. Fisrtly, moment estimation of <img src="https://render.githubusercontent.com/render/math?math=\mu"> and <img src="https://render.githubusercontent.com/render/math?math=\sigma^2"> are <img src="https://render.githubusercontent.com/render/math?math=\bar{\mu}=\bar{X}"> and <img src="https://render.githubusercontent.com/render/math?math=\bar{\sigma}^2=S^2">, and maximum likelihood estimation of <img src="https://render.githubusercontent.com/render/math?math=\mu"> and <img src="https://render.githubusercontent.com/render/math?math=\sigma^2"> are <img src="https://render.githubusercontent.com/render/math?math=\hat{\mu} = \bar{X}"> and <img src="https://render.githubusercontent.com/render/math?math=\hat{\sigma}^2={\displaystyle \dfrac{1}{n}\sum_{i=1}^n(X_i-\bar{X})^2}">.
For <img src="https://render.githubusercontent.com/render/math?math=\bar{\mu}"> and <img src="https://render.githubusercontent.com/render/math?math=\bar{\sigma}^2">,
<img src="https://render.githubusercontent.com/render/math?math=E((\bar{\mu} - \mu)^2) = E((\bar{X} - \mu)^2) = var(\bar{X}) = \dfrac{\sigma^2}{n}">
<img src="https://render.githubusercontent.com/render/math?math=E((\bar{\sigma}^2 - \sigma^2)^2) = E((S^2 - \sigma^2)^2) = var(S^2)">
To obtain <img src="https://render.githubusercontent.com/render/math?math=var(S^2)">, we can use the fact that <img src="https://render.githubusercontent.com/render/math?math=\dfrac{(n-1)s^2}{\sigma^2}\sim \chi^2(n-1)"> and <img src="https://render.githubusercontent.com/render/math?math=var(\chi^2(n-1))=2(n-1)">, so that
<img src="https://render.githubusercontent.com/render/math?math=var(S^2) = \dfrac{\sigma^4}{(n-1)^2}\cdot 2(n-1) = \dfrac{2\sigma^4}{n-1}">
For <img src="https://render.githubusercontent.com/render/math?math=\hat{\mu}"> and <img src="https://render.githubusercontent.com/render/math?math=\hat{\sigma}^2=\dfrac{n-1}{n}S^2">,
<img src="https://render.githubusercontent.com/render/math?math=E((\hat{\mu} - \mu)^2) = E((\bar{X} - \mu)^2) = var(\bar{X}) = \dfrac{\sigma^2}{n}">
<img src="https://render.githubusercontent.com/render/math?math=E((\hat{\sigma}^2 - \sigma^2)^2) = E((\dfrac{n-1}{n}S^2 - \sigma^2)^2) = E\left(\left(\dfrac{n-1}{n}(S^2-\sigma^2)-\dfrac{1}{n}\sigma^2\right)\right)">
<img src="https://render.githubusercontent.com/render/math?math==\left(\dfrac{n-1}{n}\right)^2E\left((S^2-\sigma^2)^2\right) - 2E\left(\dfrac{n-1}{n}(S^2-\sigma^2)\cdot \dfrac{1}{n}\sigma^2\right) %2B \dfrac{1}{n^2}\sigma^4">
<img src="https://render.githubusercontent.com/render/math?math==\left(\dfrac{n-1}{n}\right)^2 var(S^2) %2B \dfrac{1}{n^2}\sigma^4 = \left(\dfrac{n-1}{n}\right)^2 \dfrac{2\sigma^4}{n-1} %2B \dfrac{1}{n^2}\sigma^4 = \dfrac{2n-1}{n^2}\sigma^4 ">
Therefore,
<img src="https://render.githubusercontent.com/render/math?math=E((\hat{\sigma}^2 - \sigma^2)^2) = \dfrac{2n-1}{n^2}\sigma^4 \leq \dfrac{2\sigma^4}{n-1} = E((\bar{\sigma}^2 - \sigma^2)^2)">
---
## Minimum Variance Unbiased (MVU)
Assume <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}"> is an unbiased estimation of <img src="https://render.githubusercontent.com/render/math?math=g(\theta)">, if for any unbiased estimation <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}_1">, <img src="https://render.githubusercontent.com/render/math?math=var_{\theta}(\hat{\theta})\leq var_{\theta}(\hat{\theta}_1)"> holds for any <img src="https://render.githubusercontent.com/render/math?math=\theta">, then <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta}"> is called __minimum variance unbiased__ estimation of <img src="https://render.githubusercontent.com/render/math?math=g(\theta)">.
### Cramer-Rao Inequality
Suppose <img src="https://render.githubusercontent.com/render/math?math=T = T(x_1,x_2,...,x_n)"> is an unbiased estimator of <img src="https://render.githubusercontent.com/render/math?math=g(\theta)">, the variance of any unbiased estimator is then bounded by
<img src="https://render.githubusercontent.com/render/math?math=var(T) \geq \dfrac{(g\text{'}(\theta))^2}{nI(\theta)}">
where
<img src="https://render.githubusercontent.com/render/math?math=I(\theta) = E\left(\left(\dfrac{\partial}{\partial\theta}\ln p(x%3B\theta)\right)^2\right)">
is called __fisher information__, <img src="https://render.githubusercontent.com/render/math?math=n"> is the number of the samples and <img src="https://render.githubusercontent.com/render/math?math=p(x%3B\theta)"> is the probability density function.
__Proof__. Firstly,
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle \int_{-\infty}^\infty p(x_k %3B \theta)dx_k = 1 \Rightarrow \dfrac{\partial}{\partial\theta}\int_{-\infty}^\infty p(x_k %3B \theta)dx_k = \int_{-\infty}^\infty \dfrac{\partial}{\partial\theta} p(x_k %3B \theta)dx_k = 0}">
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle \int_{-\infty}^\infty \dfrac{\partial}{\partial\theta} p(x_k %3B \theta)dx_k = \int_{-\infty}^\infty \left[\dfrac{\partial}{\partial\theta}\ln p(x_k %3B \theta)\right] p(x_k %3B \theta)dx_k = E\left(\dfrac{\partial}{\partial\theta}\ln p(x_k %3B \theta)\right) = 0} ">
Denoting
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle Z = \dfrac{\partial}{\partial\theta}\ln \left(\prod_{k=1}^{n}p(x_k %3B \theta)\right) = \sum_{k=1}^{n}\dfrac{\partial}{\partial\theta}\ln p(x_k %3B \theta)} ">
Then
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle E(Z) =\sum_{k=1}^{n} E\left(\dfrac{\partial}{\partial\theta}\ln p(x_k %3B \theta)\right) = 0} ">
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle E(Z^2) = var(Z) = \sum_{k=1}^{n} var\left(\dfrac{\partial}{\partial\theta}\ln p(x_k %3B \theta)\right) = \sum_{k=1}^{n} E\left(\left(\dfrac{\partial}{\partial\theta}\ln p(x_k %3B \theta)\right)^2\right)=nI(\theta)} ">
On the other hand,
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle g(\theta) = \int_{-\infty}^\infty\cdots\int_{-\infty}^\infty T(x_1,x_2,...,x_n)\prod_{k=1}^{n}p(x_k%3B \theta)dx_1dx_2\cdots dx_n } ">
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle g\text{'}(\theta) = \int_{-\infty}^\infty\cdots\int_{-\infty}^\infty T(x_1,x_2,...,x_n)\dfrac{\partial}{\partial \theta}\prod_{k=1}^{n}p(x_k%3B \theta)dx_1dx_2\cdots dx_n} ">
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle = \int_{-\infty}^\infty\cdots\int_{-\infty}^\infty T(x_1,x_2,...,x_n)\left[\dfrac{\partial}{\partial \theta}\ln \left(\prod_{k=1}^{n}p(x_k%3B \theta)\right)\right]\prod_{k=1}^{n}p(x_k%3B \theta)dx_1dx_2\cdots dx_n} ">
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle = E\left(T(x_1,x_2,...,x_n) \dfrac{\partial}{\partial \theta}\ln \left(\prod_{k=1}^{n}p(x_k%3B \theta)\right) \right) = E(T\cdot Z)} ">
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle g\text{'}(\theta) = E(T\cdot Z) = E\left((T-g(\theta))\cdot Z \right)=cov(T-g(\theta), Z)} ">
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle (g\text{'}(\theta))^2 = \left(cov(T-g(\theta), Z)\right)^2 \leq var(T-g(\theta))var(Z) = var(T)var(Z)} ">
Therefore,
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle var(T) \geq \dfrac{(g\text{'}(\theta))^2}{var(Z)} = \dfrac{(g\text{'}(\theta))^2}{nI(\theta)}}">
### Example 4
Assume <img src="https://render.githubusercontent.com/render/math?math=X1, X_2, ..., X_n"> are samples from exponential distribution <img src="https://render.githubusercontent.com/render/math?math=\Exp(\lambda)">, verify that <img src="https://render.githubusercontent.com/render/math?math=g(\lambda) = \dfrac{1}{\lambda}"> is a minimum variance unbiased estimation.
__Solution__.
<img src="https://render.githubusercontent.com/render/math?math=E(\bar(X)) = g(\lambda) = \dfrac{1}{\lambda}, var(\bar{X}) = \dfrac{1}{n\lambda^2}">
<img src="https://render.githubusercontent.com/render/math?math=I(\lambda) = E\left(\left(\dfrac{\partial}{\partial \lambda}\ln p(X%3B \lambda)\right)^2\right) = E\left(\left(\dfrac{\partial}{\partial \lambda}\ln (\lambda e^{-\lambda X})\right)^2\right) = E\left(\left( \dfrac{1}{\lambda} - X\right)^2\right) = \dfrac{1}{\lambda^2}">
Therefore,
<img src="https://render.githubusercontent.com/render/math?math=\dfrac{(g\text{'}(\lambda))^2}{nI(\lambda)} = \dfrac{1}{n\lambda^2} = var(\bar{X})">
### Example 5
Assume <img src="https://render.githubusercontent.com/render/math?math=X1, X_2, ..., X_n"> are samples from Poisson distribution <img src="https://render.githubusercontent.com/render/math?math=P(\lambda)">, verify that <img src="https://render.githubusercontent.com/render/math?math=g(\lambda) = \lambda"> is a minimum variance unbiased estimation.
__Solution__.
<img src="https://render.githubusercontent.com/render/math?math=E(\bar(X)) = g(\lambda) = \lambda, var(\bar{X}) = \dfrac{\lambda}{n}">
<img src="https://render.githubusercontent.com/render/math?math=I(\lambda) = E\left(\left(\dfrac{\partial}{\partial \lambda}\ln p(X%3B \lambda)\right)^2\right) = E\left(\left(\dfrac{\partial}{\partial \lambda}\ln \left(e^{-\lambda}\dfrac{\lambda^X}{X!}\right)\right)^2\right) = E\left(\left( \dfrac{X}{\lambda} - 1\right)^2\right) = \dfrac{1}{\lambda}">
Therefore,
<img src="https://render.githubusercontent.com/render/math?math=\dfrac{(g\text{'}(\lambda))^2}{nI(\lambda)} = \dfrac{\lambda}{n} = var(\bar{X})">
### Example 6
Assume <img src="https://render.githubusercontent.com/render/math?math=X1, X_2, ..., X_n"> are samples from normal distribution <img src="https://render.githubusercontent.com/render/math?math=N(\mu,\sigma^2)">, <img src="https://render.githubusercontent.com/render/math?math=\sigma^2"> is known, verify that <img src="https://render.githubusercontent.com/render/math?math=g(\mu) = \mu"> is a minimum variance unbiased estimation.
__Solution__.
<img src="https://render.githubusercontent.com/render/math?math=E(\bar(X)) = g(\mu) = \mu, var(\bar{X}) = \dfrac{\sigma^2}{n}">
<img src="https://render.githubusercontent.com/render/math?math=I(\mu) = E\left(\left(\dfrac{\partial}{\partial \mu}\ln \left( \dfrac{1}{\sqrt{2\pi\sigma}}exp\left[-\dfrac{1}{2\sigma^2}(x-\mu)^2\right]\right)\right)^2\right) = E\left(\left( \dfrac{1}{\sigma^2}(x-\mu)\right)^2\right) = \dfrac{1}{\sigma^2}">
Therefore,
<img src="https://render.githubusercontent.com/render/math?math=\dfrac{(g\text{'}(\mu))^2}{nI(\mu)} = \dfrac{\sigma^2}{n} = var(\bar{X})">
---
## Improvement of Unbiased Estimation
### Rao-Blackwell Inequality
Assume propability density function of the population is <img src="https://render.githubusercontent.com/render/math?math=p(x%3B \theta)">, <img src="https://render.githubusercontent.com/render/math?math=x_1,x_2,...,x_n"> are samples. <img src="https://render.githubusercontent.com/render/math?math=T = T(x_1,x_2,...,x_n)"> is __sufficient statistics__ of <img src="https://render.githubusercontent.com/render/math?math=\theta">, then for any unbiased estimation of <img src="https://render.githubusercontent.com/render/math?math=\theta"> <img src="https://render.githubusercontent.com/render/math?math=\hat{\theta} = \hat{\theta}(x_1,x_2,...,x_n)">, <img src="https://render.githubusercontent.com/render/math?math=\tilde{\theta}=E(\tilde{\theta}|T)"> is also an unbiased estimation of <img src="https://render.githubusercontent.com/render/math?math=\theta">, and there is <img src="https://render.githubusercontent.com/render/math?math=var(\tilde{\theta})\leq var(\hat{\theta})">.
### Sufficient Statistics
Assume <img src="https://render.githubusercontent.com/render/math?math=x_1,x_2,...,x_n"> are samples from a population and the distribution function is <img src="https://render.githubusercontent.com/render/math?math=F(x%3B \theta)">, if given <img src="https://render.githubusercontent.com/render/math?math=T">, the distribution of <img src="https://render.githubusercontent.com/render/math?math=x_1,x_2,...,x_n"> is independent from <img src="https://render.githubusercontent.com/render/math?math=\theta">, then <img src="https://render.githubusercontent.com/render/math?math=T=T(x_1,x_2,...,x_n)"> is called __sufficient statistics__ of <img src="https://render.githubusercontent.com/render/math?math=\theta">.
__Theorem__. Assume the distribution function of the population is <img src="https://render.githubusercontent.com/render/math?math=F(x%3B \theta)">, <img src="https://render.githubusercontent.com/render/math?math=x_1,x_2,...,x_n"> are samples from the population, then <img src="https://render.githubusercontent.com/render/math?math=T=T(x_1,x_2,...,x_n)"> is __sufficient statistics__ of <img src="https://render.githubusercontent.com/render/math?math=\theta">, *if and only if*: there exist two functions <img src="https://render.githubusercontent.com/render/math?math=g(t,\theta)"> and <img src="https://render.githubusercontent.com/render/math?math=h(x_1,x_2,...,x_n)">, for any <img src="https://render.githubusercontent.com/render/math?math=\theta"> and <img src="https://render.githubusercontent.com/render/math?math=x_1,x_2,...,x_n">, there is <img src="https://render.githubusercontent.com/render/math?math=f(x_1,x_2,...,x_n%3B \theta) = g(T(x_1,x_2,...,x_n),\theta)\cdot h(x_1,x_2,...,x_n)">.
### Example 7
Assume <img src="https://render.githubusercontent.com/render/math?math=X_1,X_2,...,X_n"> are samples from a normal distribution <img src="https://render.githubusercontent.com/render/math?math=N(\mu,\sigma^2)">. Then, <img src="https://render.githubusercontent.com/render/math?math=(\bar{X},S^2)"> is sufficient statistic of <img src="https://render.githubusercontent.com/render/math?math=\theta = (\mu,\sigma^2)">.
__Solution__.
<img src="https://render.githubusercontent.com/render/math?math=p(x_1,x_2,...,x_n%3B \mu,\sigma^2) = \dfrac{1}{(2\pi)^{n\text{/}2}\sigma^n}\exp\left\{-\dfrac{1}{2\sigma^2}\sum_{i=1}^{n}(x_i-\mu)^2\right\}">
<img src="https://render.githubusercontent.com/render/math?math=p(x_1,x_2,...,x_n%3B \mu,\sigma^2) = \dfrac{1}{(2\pi)^{n\text{/}2}\sigma^n}\exp\left(-\dfrac{1}{2\sigma^2}(\bar{x}-\mu)^2\right)\exp\left(-\dfrac{1}{2\sigma^2}\sum_{i=1}^{n}(x_i-\bar{x})^2\right)">
<img src="https://render.githubusercontent.com/render/math?math=p(x_1,x_2,...,x_n%3B \mu,\sigma^2) = \dfrac{1}{(2\pi)^{n\text{/}2}\sigma^n}\exp\left(-\dfrac{1}{2\sigma^2}(\bar{x}-\mu)^2\right)\exp\left(-\dfrac{(n-1)s^2}{2\sigma^2}\right)">
### Example 8
Assume the arrival of the customers every nimute follows Poisson distribution <img src="https://render.githubusercontent.com/render/math?math=P(\lambda)">, <img src="https://render.githubusercontent.com/render/math?math=X_1,X_2,...,X_n"> are samples of consecutive <img src="https://render.githubusercontent.com/render/math?math=n"> minutes, estimate the probability that no customer comes within one minute <img src="https://render.githubusercontent.com/render/math?math=e^{-\lambda}">.
__Solution__.
<img src="https://render.githubusercontent.com/render/math?math=\theta_0 = \{1, \text{ if } x_1 = 0%3B 0, \text{otherwise}\}"> is an unbiased estimation of <img src="https://render.githubusercontent.com/render/math?math=e^{-\lambda}">
<img src="https://render.githubusercontent.com/render/math?math={\displaystyle S_n = \sum_{k=1}^{n} X_k}"> is sufficient statistics of <img src="https://render.githubusercontent.com/render/math?math=\lambda">
<img src="https://render.githubusercontent.com/render/math?math=\theta_1=E(\theta_0|S_n) = \left(1-\dfrac{1}{n}\right)^{S_n}"> is an improvement of unbiased estimation of <img src="https://render.githubusercontent.com/render/math?math=e^{-\lambda}">
---
## Table of Contents
- [Probability vs Statistics](https://c-huang-tty.github.io/posts/2021/01/01/probability-and-statistics/)
- [Shakespear's New Poem](https://c-huang-tty.github.io/posts/2021/01/02/application-of-statistics/)
- [Some Common Discrete Distributions](https://c-huang-tty.github.io/posts/2021/01/03/some-common-discrete-distributions/)
- [Some Common Continuous Distributions](https://c-huang-tty.github.io/posts/2021/01/04/some-common-continuous-distributions/)
- [Statistical Quantities](https://c-huang-tty.github.io/posts/2021/01/05/statistical-quantities/)
- [Order Statistics](https://c-huang-tty.github.io/posts/2021/01/06/order-statistics/)
- [Multivariate Normal Distributions](https://c-huang-tty.github.io/posts/2021/01/07/multivariate-normal-distributions/)
- [Conditional Distributions and Expectation](https://c-huang-tty.github.io/posts/2021/01/08/conditonal-distributions-and-expectation/)
- [Problem Set [01] - Probabilities](https://c-huang-tty.github.io/posts/2021/01/21/problem-set-probabilities/)
- [Parameter Point Estimation](https://c-huang-tty.github.io/posts/2021/01/09/parameter-point-estimation/)
- [Evaluation of Point Estimation](https://c-huang-tty.github.io/posts/2021/01/10/evaluation-point-estimation/)
- [Parameter Interval Estimation](https://c-huang-tty.github.io/posts/2021/01/11/parameter-interval-estimation/)
- [Problem Set [02] - Parameter Estimation](https://c-huang-tty.github.io/posts/2021/01/22/problem-set-parameter-estimation/)
- [Parameter Hypothesis Test](https://c-huang-tty.github.io/posts/2021/01/12/parameter-hypothesis-test/)
- [t Test](https://c-huang-tty.github.io/posts/2021/01/13/t-test/)
- [Chi-Squared Test](https://c-huang-tty.github.io/posts/2021/01/14/chi-squared-test/)
- [Analysis of Variance](https://c-huang-tty.github.io/posts/2021/01/15/analysis-of-variance/)
- [Summary of Statistical Tests](https://c-huang-tty.github.io/posts/2021/01/16/summary-of-statistical-tests/)
- [Python [01] - Data Representation](https://c-huang-tty.github.io/posts/2021/01/17/statistics-python-data-representation/)
- [Python [02] - t Test & F Test](https://c-huang-tty.github.io/posts/2021/01/18/statistics-python-t-F-test/)
- [Python [03] - Chi-Squared Test](https://c-huang-tty.github.io/posts/2021/01/19/statistics-chi-squared-test/)
- [Experimental Design](https://c-huang-tty.github.io/posts/2021/01/20/experimental-design/)
- [Monte Carlo](https://c-huang-tty.github.io/posts/2021/01/23/monte-carlo/)
- [Variance Reducing Techniques](https://c-huang-tty.github.io/posts/2021/01/24/variance-reducing-techniques/)
- [From Uniform to General Distributions](https://c-huang-tty.github.io/posts/2021/01/25/from-uniform-to-general-distributions/)
- [Problem Set [03] - Monte Carlo](https://c-huang-tty.github.io/posts/2021/01/26/problem-set-monte-carlo/)
- [Unitary Regression Model](https://c-huang-tty.github.io/posts/2021/01/27/unitary-regression-model/)
- [Multiple Regression Model](https://c-huang-tty.github.io/posts/2021/01/28/multiple-regression-model/)
- [Factor and Principle Component Analysis](https://c-huang-tty.github.io/posts/2021/01/29/factor-principle-component-analysis/)
- [Clustering Analysis](https://c-huang-tty.github.io/posts/2021/01/30/clustering-analysis/)
- [Summary](https://c-huang-tty.github.io/posts/2021/01/31/summary/)
| 103.547619 | 1,001 | 0.715145 | kor_Hang | 0.103026 |
b5392d5648f3905f79364fd69f59508a83fc160d | 657 | md | Markdown | README.md | SyncroScripting/Malwarebytes_Removal | fe99cdab0b7dd71506d1257fc29c821e6d348df9 | [
"MIT"
] | 5 | 2020-12-03T18:26:38.000Z | 2021-11-16T13:17:43.000Z | README.md | SyncroScripting/Malwarebytes_Removal | fe99cdab0b7dd71506d1257fc29c821e6d348df9 | [
"MIT"
] | null | null | null | README.md | SyncroScripting/Malwarebytes_Removal | fe99cdab0b7dd71506d1257fc29c821e6d348df9 | [
"MIT"
] | null | null | null | # Malwarebytes_Removal
This script is for the removal of Malwarebytes (MB). It follows these steps:
1. Checks for the Malwarebytes removal file. Exits if it does not exist.
2. Uses the removal file to remove MB silently.
3. Waits 30 seconds to finish.
4. Removes the remains of the MB directory so the free version can be installed again if necessary.
5. Waits 5 seconds to finish.
6. Checks the see if the MB folder still exists.
7. Creates a log files showing the progress.
8. Uploads the log file tothe asset in SyncroMSP.
# Future improvements
- Change Steps 3. and 5. to wait for the procvess to finish rather than waiting for a set period of time.
| 46.928571 | 105 | 0.773212 | eng_Latn | 0.999209 |
b539d80227e1ba5cc4a902102eb68aff12b9ee41 | 1,799 | md | Markdown | docs/language-proposal/details/capability-based-security.md | LouisJackman/language-x | 031dbe99a2eb30108d1efc5373bb3db6173f9e22 | [
"MIT"
] | 9 | 2018-02-25T13:13:11.000Z | 2020-10-20T09:20:12.000Z | docs/language-proposal/details/capability-based-security.md | LouisJackman/language-x | 031dbe99a2eb30108d1efc5373bb3db6173f9e22 | [
"MIT"
] | null | null | null | docs/language-proposal/details/capability-based-security.md | LouisJackman/language-x | 031dbe99a2eb30108d1efc5373bb3db6173f9e22 | [
"MIT"
] | null | null | null | # Capabilities
The main task gets the extern task sent to its inbox on startup. No other
task gets this by default. If the main task wants to delegate ambient
authority to spawned tasks, it must also sent it to them.
`spawnTrusted` does this by default, making it a good choice for small
scripts and programs that don't want to worry about it too much.
`spawn` does not. Therefore, items created with `spawn` are effectively
sandboxed. When invoking, say, IO operations, they'll fail because they'll
fail to receive an extern task to delegate system calls to.
Refs can be sealed off, making it impossible to pull their value out again.
Refs are just tasks underneath. Tasks can also perform other security-related
tasks like wrapping values in an envelope and giving away the only key that
can unlock it.
This works because Sylan does not share memory across tasks and does not
support runtime reflection or mutability.
There is nothing special about `spawnTrusted`; it's just Sylan code that
receives the current ambient authority, sends one back to itself for other
`spawnTrusted` calls, and sends the ambient authority into the new task via
lexical scoping.
This means a program can drop unneeded rights by receiving the ambient authority
and just throwing it away, finishing running the rest of the program with fewer
capabilities passed in. A convenience function `dropRights` does this.
There's an interesting capability-based security consequence: tasks are always
opaque in the runtime. If a task doesn't receive another task, it simply cannot
communicate with it. Only the main task starts with access to `extern`; if it
doesn't pass it to a spawned process, it's effectively sandboxed.
See [Sylan Intermediate Language](sylan-il.md) to see how tasks remain
unforgeable in the VM.
| 47.342105 | 80 | 0.798777 | eng_Latn | 0.999657 |
b53a0d3c2c8b30c08b564f2a883b3844b188713e | 338 | md | Markdown | greycat/src/main/ts/readme.md | DataThings/greycat | 1bede04c2c93a56bce2e910387ed5c4add840cf3 | [
"Apache-2.0"
] | 106 | 2017-02-03T11:45:22.000Z | 2022-03-24T01:00:23.000Z | greycat/src/main/ts/readme.md | DataThings/greycat | 1bede04c2c93a56bce2e910387ed5c4add840cf3 | [
"Apache-2.0"
] | 78 | 2017-02-10T17:38:17.000Z | 2022-02-09T01:00:08.000Z | greycat/src/main/ts/readme.md | DataThings/greycat | 1bede04c2c93a56bce2e910387ed5c4add840cf3 | [
"Apache-2.0"
] | 38 | 2017-02-10T11:02:38.000Z | 2022-02-11T00:34:49.000Z | # GreyCat: the temporal and many-world database for live analytics.
# Usage
```js
var greycat = require('greycat');
var graph = greycat.GraphBuilder.newBuilder().build();
graph.connect(function(){
var node = graph.newNode(0,0);
node.set("name", greycat.Type.STRING, "myFirstNode");
graph.save(null);
});
```
more to come... | 22.533333 | 67 | 0.680473 | yue_Hant | 0.267179 |
b53a3ec221ba16ee5d80a96281188b70c2f4e25a | 5,874 | md | Markdown | _posts/2019-08-04-Download-wait-till-your-vampire-gets-home-broken-heart-4-michele-bardsley.md | Luanna-Lynde/28 | 1649d0fcde5c5a34b3079f46e73d5983a1bfce8c | [
"MIT"
] | null | null | null | _posts/2019-08-04-Download-wait-till-your-vampire-gets-home-broken-heart-4-michele-bardsley.md | Luanna-Lynde/28 | 1649d0fcde5c5a34b3079f46e73d5983a1bfce8c | [
"MIT"
] | null | null | null | _posts/2019-08-04-Download-wait-till-your-vampire-gets-home-broken-heart-4-michele-bardsley.md | Luanna-Lynde/28 | 1649d0fcde5c5a34b3079f46e73d5983a1bfce8c | [
"MIT"
] | null | null | null | ---
layout: post
comments: true
categories: Other
---
## Download Wait till your vampire gets home broken heart 4 michele bardsley book
"They don't go together," he said. "I have just been given the ultimate garbage presentation," he said. On us he conferred the rank of "Ispravnik" Nobody was waiting for him except Industrial Woman. manufacture of lights. Beautiful, those sirens. " She lowered her eyelids demurely. " Buddha. It pretty much jibed with Crawford's estimation, came into the ill repute that has clung to it since. quicksilver and spoke it through him. Place me on a desert island and I shall quickly perish since I don't know the first thing about the simplest requirements for self-support "What?" of the voyages which have been undertaken from both sides Whether the serpent moved slowly because it was hurt or because it was being cautious to wait till your vampire gets home broken heart 4 michele bardsley, shifting in his chair from weariness with the whole business, and is Noah felt as comfortable having Cass for a partner as he'd ever felt about any cop with whom he had "It was, he followed a circuitous route to "The potential's there, and mysterious. But these aren't almonds, although Curtis can perceive no entertainment value in two of SINDBAD THE SAILOR AND HINDBAD THE PORTER. shimmering before her were the landscape of a dream. Thereafter "I will tell the cook," said the grey man. "I am a realist. In the palm of the lower hand His waitress was a cutie. Surgery would leave her with a crater in the way it must be. " 31st October, or anything, the islands in the Polar Sea probably depend on the uninhabited and And the boy must have a staff, sitting in the kitchen. He then skimmed away with the palm of the hand the Smithy's Livery? He another galaxy. The one he met outside is named "Why would you come to the Marsh?" she asked. She'd given away his clothes, Maddoc was saying that he harbored no fear of Micky, and after a little thought said. 17, i. Mixed with wait till your vampire gets home broken heart 4 michele bardsley shock of the realization came a twinge of relief that he had left lean and Marie at home. Pudgy, ii, her nasal cartilage rotted away by cocaine? " The cop weighed too much to be carried any distance, who had 61, but nothing came out, he kept the shipwrights busy, though I'm not going to admit that to Jain, bird's-eye maple As the tattooed serpent's grin grew wider on the beefy hand? Leilani gave the art form a name, but to arrogance, followed by I've Got a Secret. He pushed in a long metal flap at the side of the trunk, no part Have I in those who walk the ways, made up the old guard; our time had stopped three years before the actual start _t, who deafened us with then think? "Ah, 1965, finished his long course as an Destination: W. " Leilani read the answer in the predator's eyes, "here is no summoning, ii, sugar 7. What I was afraid of was in my own head. One day they would all be rejoined with the special husband and father they had lost; but even the reward of Heaven seemed inadequate compensation for being denied so many years here on earth with a man as good and kind and big of heart as Walter Lipscomb. The three men looked up expectantly? " He paused for a moment. fourth vessel that was placed at my disposal, i, his wife. Now she wants everything that makes my time worth living, and rapid torrents of melted snow empty themselves problem. And anyhow, that it had been worth it. They say the railing was rotten. Initially, gone as if they'd never been, as is healing soon. over the tongue of land which separates this bay from Anadyr Bay, yeah, you know. For the animal whose capture to hit someone. He resented having to endure ninety minutes of the film before Google finally settled into the seat beside him. " dinnerware explodes in noisy disharmonious chords; bullet-plucked metal racks wait till your vampire gets home broken heart 4 michele bardsley dull routine of a life made dreary by the tedious Bartholomew hunt and by "No. "Believe in life after death?" What twenty-eight years of suffering had never taught her, quite resembling the She hung up. FIROUZ AND HIS WIFE (175) I tried to extend the day by inviting her out for dinner as I wait till your vampire gets home broken heart 4 michele bardsley driving her back to her cabin? "Wally gave her tests. Sundays on Wednesday. 22_n_; ii. He knew that when his time came to bound for Eugene. When he was with her, looking no less dramatic than her sister, eyes wide as they "The lab didn't find any ipecac in your spew. " Yet he was following Otter. This was one of those seemingly wait till your vampire gets home broken heart 4 michele bardsley chapter in this work, for once looking neither impish nor mischievous, like Santa Claus leaves them, and I heavy and as unwieldy as a shovel, pinioned him. on Jack's face. " "But it's only a formality!" he interrupted me. poultry-yard. Kemerezzeman and the Jeweller's Wife dcccclxiii she already wait till your vampire gets home broken heart 4 michele bardsley. There the matter must remain. He needed to tap his deep well of strength and "Good," he said, after Parting hath sundered us. They put off and took on cargo at ports on We ought, Martin, the month prior to Naomi's murder and again in January 65, of course? Listen!" beautiful, the When Agnes woke at 1:50 A, and whenever the prefect of police and the magistrates sought him, to avoid the situation in which they had been placed, he has less to fear from wild creatures than from his mother's - stitions, The, seats emerged from the wall on either side of The scent of recently mown grass saturated the still air: the intoxicating layer of mud. Her sore, but at a pace that the boy can match. " to half unscrew his mind. Besides, and sent back to the Governor, when the guards turned back again. | 652.666667 | 5,736 | 0.78175 | eng_Latn | 0.999927 |
b53b82033326711279b4517c6fee0d7cd6973304 | 1,252 | md | Markdown | src/sorting-algorithms/selection-sort/README.md | codemons/codebase-c | 51194497ec356b264d5da620c4b404cfaf59f09b | [
"MIT"
] | 1 | 2017-06-07T18:00:00.000Z | 2017-06-07T18:00:00.000Z | src/sorting-algorithms/selection-sort/README.md | codemons/codebase-c | 51194497ec356b264d5da620c4b404cfaf59f09b | [
"MIT"
] | null | null | null | src/sorting-algorithms/selection-sort/README.md | codemons/codebase-c | 51194497ec356b264d5da620c4b404cfaf59f09b | [
"MIT"
] | null | null | null | [Selection Sort](http://shivajivarma.com/code-base/2015/01/02/selection-sort/)
===============
__Selection sort__ algorithm divides the input list into two parts: the sublist of items already sorted, which is built up from left to right at the front (left) of the list, and the sublist of items remaining to be sorted that occupy the rest of the list.
Initially, the sorted sublist is empty and the unsorted sublist is the entire input list.
The algorithm proceeds by finding the smallest (or largest, depending on sorting order) element in the unsorted sublist, exchanging it with the leftmost unsorted element (putting it in sorted order), and moving the sublist boundaries one element to the right.
> Program to perform sort on set of numbers using Selection sort technique.
### Example
```
Enter size of the array :: 8
Enter elements into the array :: 5 7 6 3 10 2 4 1
Sorted array :: 1 2 3 4 5 6 7 10
```
### CODE
```c
void selectionSort(int arr[],int arrSize)
{
int i,j,k;
for(i = 0; i <= arrSize-2; i++)
for(j = i+1; j <= arrSize-1; j++)
if(arr[i] > arr[j])
{
int temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
}
```
:+1:
| 32.947368 | 259 | 0.642971 | eng_Latn | 0.996857 |
b53c570f37feebea038c9091853835f25a6978ae | 14,026 | md | Markdown | README.md | ktheory/aws-sdk-core-ruby | c7cd0862f7ab6a90dac3719d50ab388231174e71 | [
"Ruby",
"Apache-2.0"
] | null | null | null | README.md | ktheory/aws-sdk-core-ruby | c7cd0862f7ab6a90dac3719d50ab388231174e71 | [
"Ruby",
"Apache-2.0"
] | null | null | null | README.md | ktheory/aws-sdk-core-ruby | c7cd0862f7ab6a90dac3719d50ab388231174e71 | [
"Ruby",
"Apache-2.0"
] | null | null | null | # AWS SDK for Ruby V2 [![Build Status](https://travis-ci.org/aws/aws-sdk-core-ruby.png?branch=master)](https://travis-ci.org/aws/aws-sdk-core-ruby) [![Code Climate](https://codeclimate.com/github/aws/aws-sdk-core-ruby.png)](https://codeclimate.com/github/aws/aws-sdk-core-ruby) [![Coverage Status](https://coveralls.io/repos/aws/aws-sdk-core-ruby/badge.png?branch=master)](https://coveralls.io/r/aws/aws-sdk-core-ruby?branch=master)
This repository contains the code for the V2 AWS SDK for Ruby. Code is organized
into three gems. Installing `aws-sdk --pre` will install the full v2 Ruby SDK.
* aws-sdk
* aws-sdk-resources
* aws-sdk-core
For version 1.0 of the Ruby SDK, see [aws/aws-sdk-ruby](http://github.com/aws/aws-sdk-ruby).
## Upgrade Notes
### 2.0.0 stable Upgrading Notes
The `aws-sdk-core` gem has moved from developer preview to a stable 2.0.0
release. Deprecated interfaces have been removed.
* 2.0.0 stable release of `aws-sdk-core` is now available
gem install aws-sdk-core
* 2.0.0 previews of `aws-sdk` and `aws-sdk-resources` are now available
gem install aws-sdk --pre
* Removed deprecated constructor on service modules.
Aws::EC2.new # removed
Aws::EC2::Client.new # do this
* Removed deprecated service helpers on Aws module.
Aws.ec2 # removed
Aws::EC2::Client.new # use this
### 2.0.0.rc15 Upgrading Notes
RC15 updates the `Aws::DynamoDB::Client` API operations to accept and return
simple attribute values. Prior to rc14 values were specified as:
{ s: 'string-value' }
{ n: "5.0" }
This update applies a plugin that allows users to specify values using simple
Ruby types, such as Integer, Float, Set, String, etc.
"string-value"
5.0
This affects **every** DynamoDB request and response structure
that accepts or returns an attribute value. To revert to the older format,
disable simple attributes:
# disable this new default behavior
Aws::DynamoDB::Client.new(simple_attributes: false)
**Please Note** - RC15 may be the final release candidate version prior to
a 2.0.0 final release of `aws-sdk-core`.
### 2.0.0.rc14 Upgrading Notes
RC14 simplifies the API versioning strategy. This may require small changes for
users that use the API version locking options. Also, there are minor changes
when configuring raw endpoints.
* Versioned client classes removed, e.g. `Aws::S3::Client::V20060301.new` should
be replaced with `Aws::S3::Client.new` The `:api_version` constructor option
is no longer accepted.
* Aws helper methods for client construction deprecated; For example,
calling `Aws.s3` will generate a deprecation warning. Call `Aws::S3::Client.new`
instead. Top-level helpers will be removed as of v2.0.0 final.
* When configuring an `:endpoint` directly, you must now specify the
HTTP scheme, e.g. "http://localhost:3000", instead of "localhost:3000".
Please note, this should only be done for testing. Normally you only
need to configure a `:region`.
### 2.0.0.rc11 Upgrading Notes
RC 11 requires a few minor updates. These should be the final public-facing
changes before 2.0.0 final.
* The prefered constructor for services is now using the client
class, example:
# deprecated, will be removed for 2.0.0 final
Aws::S3.new
# preferred
Aws::S3::Client.new
* The `:raw_json` option for JSON protocol based services has been
renamed to `:simple_json`
* The short name for Aws::SimpleDB has been renamed from `sdb` to
`simpledb`.
## Links of Interest
* [Documentation](http://docs.amazonwebservices.com/sdkforruby/api/frames.html)
* [Release Notes](http://aws.amazon.com/releasenotes/SDK/Ruby/Core)
* [Issues](http://github.com/aws/aws-sdk-core-ruby/issues)
* [Forums](https://forums.aws.amazon.com/forum.jspa?forumID=125)
* [License](http://aws.amazon.com/apache2.0/)
## Installation
You can install the AWS SDK Core from rubygems:
gem install aws-sdk-core
If you are using Bundler, we recommend that you express a major version
dependency (this library uses [semantic versioning](http://semver.org/)):
gem 'aws-sdk-core', '~> 2.0'
**Note:** AWS SDK Core requires Ruby 1.9.3+.
## Configuration
To use the Ruby SDK, you must configure a region and your AWS account
access credentials.
### Region
You can export a default region to ENV:
```
export AWS_REGION='us-west-2'
```
Or you can configure a region in code:
```ruby
# default region
Aws.config[:region] = 'us-west-2'
# per-service :region
s3 = Aws::S3::Client.new(region:'us-east-1')
```
### Credentials
Please take care to never commit credentials to source control. We
strongly recommended loading credentials from an external source. By default,
the Ruby SDK will attempt to load credentials from the following
sources:
* `ENV['AWS_ACCESS_KEY_ID']` and `ENV['AWS_SECRET_ACCESS_KEY']`
* The shared credentials ini file at `HOME/.aws/credentials`
* From an instance profile when running on EC2
Alternatively, you can specify your credentials directly using one of the
following credential classes:
* `Aws::Credentials`
* `Aws::SharedCredentials`
* `Aws::InstanceProfileCredentials`
```ruby
# default credentials
Aws.config[:credentials] = Aws::SharedCredentials.new(profile_name:'myprofile')
# per-service :credentials
s3 = Aws::S3::Client.new(credentials: Aws::SharedCredentials.new(profile_name:'myprofile')
```
## Basic Usage
To make a request, you need to construct a service client.
```ruby
s3 = Aws::S3::Client.new
```
Each client provides one method per API operation. Refer to the
[API documentation](http://docs.amazonwebservices.com/sdkforruby/api/frames.html)
for a complete list of available methods.
```ruby
# get a list of buckets in Amazon S3
resp = s3.list_buckets
puts resp.buckets.map(&:name)
```
API methods accept a request params as a hash, and return structured responses.
```ruby
resp = s3.list_objects(bucket: 'aws-sdk-core', max_keys: 2)
resp.contents.each do |object|
puts "#{object.key} => #{object.etag}"
end
```
## Paging Responses
Many AWS operations limit the number of results returned with each response.
A simple paging interface is provided that works with every AWS request.
```ruby
# yields once per response, even works with non-paged requests
s3.list_objects(bucket:'aws-sdk').each do |resp|
puts resp.contents.map(&:key)
end
```
If you prefer to control paging yourself, all returned responses have the
same helper methods:
```ruby
# make a request that returns a truncated response
resp = s3.list_objects(bucket:'aws-sdk')
resp.last_page? #=> false
resp.next_page? #=> true
resp = resp.next_page # send a request for the next response page
resp = resp.next_page until resp.last_page?
```
## Waiters
Waiters are a utility to poll for a particular state. Waiters are named
and are invoked from a client object via `#wait_until`.
```ruby
begin
ec2.wait_until(:instance_running, instance_ids:['i-12345678'])
puts "instance running"
rescue Aws::Waiters::Errors::WaiterFailed => error
puts "failed waiting for instance running: #{error.message}"
end
```
Waiters are configurable and have sensible defaults. You can configure:
* maximum number of attempts before failing
* time between polling requests
* callbacks
* before each attempt
* before waiting/sleeping
* callbacks can trigger success or failure
See the documentation for each service client class to get a list of
supported waiters and additional examples.
## Resource Interfaces
**Resource interfaces are currently experimental. While `aws-sdk-core` is very stable,
`aws-sdk-resources` should be considered unstable.**
A handful of services provide resource-oriented interfaces that abstract the client
APIs.
```ruby
s3 = Aws::S3::Resource.new
# reference an existing bucket
bucket = s3.bucket('aws-sdk')
# enumerate every object in a bucket
bucket.objects.each do |obj|
puts "#{object.key} => #{obj.etag}"
end
# batch operations, delete objects in batches of 1k
bucket.objects(prefix: '/tmp-files/').delete
# single object operations
obj = bucket.object('hello')
obj.put(body:'Hello World!')
obj.etag
obj.delete
```
Currently there are Resource-oriented interfaces for:
* `Aws::S3`
* `Aws::IAM`
* `Aws::EC2` - partial
* `Aws::SQS`
* `Aws::SNS`
* `Aws::Glacier`
Documentation is currently fairly sparse on the resource classes, expect a lot of
improvement on these over the coming weeks.
## Interactive Console
AWS SDK Core ships with a REPL that acts as an interactive console. You
can access the REPL by running `aws.rb` from the command line.
```ruby
$ aws.rb
Aws> ec2.describe_instances.reservations.first.instances.first
<struct
instance_id="i-1234567",
image_id="ami-7654321",
state=<struct code=16, name="running">,
...>
```
Call `#service_classes` to get a list of available service helpers and
the class they construct.
```ruby
Aws> service_clients
{:autoscaling=>Aws::AutoScaling::Client,
:cloudformation=>Aws::CloudFormation::Client,
:cloudfront=>Aws::CloudFront::Client,
:cloudsearch=>Aws::CloudSearch::Client,
...
:swf=>Aws::SWF::Client}
```
## Versioning
This project uses [semantic versioning](http://semver.org/). When the project
leaves the developer preview state, we will continue by versioning from
`2.0`. Until then, all versions will be suffixed by a release candidate
version.
## Supported Services
| Service Name | Service Class | API Versions |
| ----------------------------------- | ------------------------- | ------------------------------ |
| Amazon CloudFront | CloudFront | 2014-05-31 |
| Amazon CloudSearch | CloudSearch | 2013-01-01 |
| Amazon CloudSearch Domain | CloudSearchDomain | 2013-01-01 |
| Amazon CloudWatch | CloudWatch | 2010-08-01 |
| Amazon CloudWatch Logs | CloudWatchLogs | 2014-03-28 |
| Amazon Cognito Identity | CognitoIdentity | 2014-06-30 |
| Amazon Cognito Sync | CognitoSync | 2014-06-30 |
| Amazon DynamoDB | DynamoDB | 2012-08-10 |
| Amazon Elastic Compute Cloud | EC2 | 2014-06-15 |
| Amazon Elastic MapReduce | EMR | 2009-03-31 |
| Amazon Elastic Transcoder | ElasticTranscoder | 2012-09-25 |
| Amazon ElastiCache | ElastiCache | 2014-07-15 |
| Amazon Glacier | Glacier | 2012-06-01 |
| Amazon Kinesis | Kinesis | 2013-12-02 |
| Amazon Redshift | Redshift | 2012-12-01 |
| Amazon Relational Database Service | RDS | 2013-09-09 |
| Amazon Route 53 | Route53 | 2013-04-01 |
| Amazon Route 53 Domains | Route53Domains | 2014-05-15 |
| Amazon Simple Email Service | SES | 2010-12-01 |
| Amazon Simple Notification Service | SNS | 2010-03-31 |
| Amazon Simple Queue Service | SQS | 2012-11-05 |
| Amazon Simple Storage Service | S3 | 2006-03-01 |
| Amazon Simple Workflow Service | SWF | 2012-01-25 |
| Amazon SimpleDB | SimpleDB | 2009-04-15 |
| Auto Scaling | AutoScaling | 2011-01-01 |
| AWS CloudFormation | CloudFormation | 2010-05-15 |
| AWS CloudTrail | CloudTrail | 2013-11-01 |
| AWS Data Pipeline | DataPipeline | 2012-10-29 |
| AWS Direct Connect | DirectConnect | 2012-10-25 |
| AWS Elastic Beanstalk | ElasticBeanstalk | 2010-12-01 |
| AWS Identity and Access Management | IAM | 2010-05-08 |
| AWS Import/Export | ImportExport | 2010-06-01 |
| AWS OpsWorks | OpsWorks | 2013-02-18 |
| AWS Security Token Service | STS | 2011-06-15 |
| AWS Storage Gateway | StorageGateway | 2013-06-30 |
| AWS Support | Support | 2013-04-15 |
| Elastic Load Balancing | ElasticLoadBalancing | 2012-06-01 |
## License
This library is distributed under the
[apache license, version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
```no-highlight
copyright 2013. amazon web services, inc. all rights reserved.
licensed under the apache license, version 2.0 (the "license");
you may not use this file except in compliance with the license.
you may obtain a copy of the license at
http://www.apache.org/licenses/license-2.0
unless required by applicable law or agreed to in writing, software
distributed under the license is distributed on an "as is" basis,
without warranties or conditions of any kind, either express or implied.
see the license for the specific language governing permissions and
limitations under the license.
```
| 35.964103 | 432 | 0.630828 | eng_Latn | 0.916794 |
b53d2844b5843f15894ef009e8cddcaaa22fd9d6 | 173 | md | Markdown | README.md | andres-zibula/breakout-js | 8eede3ecac814c21b75712a93ceca3e0ac900f0a | [
"MIT"
] | null | null | null | README.md | andres-zibula/breakout-js | 8eede3ecac814c21b75712a93ceca3e0ac900f0a | [
"MIT"
] | null | null | null | README.md | andres-zibula/breakout-js | 8eede3ecac814c21b75712a93ceca3e0ac900f0a | [
"MIT"
] | null | null | null | # Breakout
![](https://github.com/andres-zibula/project-images/blob/master/breakout_demo/breakout_demo.gif)
An implementation in HTML5 and JavaScript of the game Breakout. | 34.6 | 96 | 0.803468 | eng_Latn | 0.280172 |
b53e3fbec9d7e451104b37401d944926e7fc905e | 3,003 | md | Markdown | markdown/9-Manage-security/9f-restore-default-file-contexts.md | victorbrca/rhcsa-study-guide | 33696da0f163ba59542ed0ff85436e40a18a86c4 | [
"MIT"
] | 16 | 2020-12-18T15:06:21.000Z | 2021-11-09T12:01:31.000Z | markdown/9-Manage-security/9f-restore-default-file-contexts.md | victorbrca/rhcsa-study-guide | 33696da0f163ba59542ed0ff85436e40a18a86c4 | [
"MIT"
] | null | null | null | markdown/9-Manage-security/9f-restore-default-file-contexts.md | victorbrca/rhcsa-study-guide | 33696da0f163ba59542ed0ff85436e40a18a86c4 | [
"MIT"
] | 3 | 2020-12-18T18:01:15.000Z | 2021-09-25T13:40:00.000Z | # 9.f Restore default file contexts
## Changing SELinux Context
### Temporarily Changing Context
You can use `chcon` to temporarily change the context of files.
**⚠️ WARNING:** _Changes with `chcon` will not survive `restorecon` or system relabel._
Changing the context of a file
# chcon unconfined_u:object_r:tmp_t:s0 test_file.txt
Changing just the context type of a file
# chcon -t [context_type] [file]
For example
# ls -lZ /tmp/test
-rw-r--r--. 1 root root unconfined_u:object_r:user_tmp_t:s0 403 Dec 1 13:48 /tmp/test
Change the context from 'user_tmp_t' to 'tmp_t'
# chcon -t tmp_t /tmp/test
Confirm the changes
# ls -lZ /tmp/test
-rw-r--r--. 1 root root unconfined_u:object_r:tmp_t:s0 403 Dec 1 13:48 /tmp/test
Changing a the context of a directory recursively
# chcon -R [context] [dir]
### Persistently Changing Context
Make change persistent, even after relabeling (use absolute path)
# semanage fcontext -a -t [context_type] [/absolut/path/to/file]
# restorecon [/absolut/path/to/file]
Changes context of all files in '/root/my_web' (existing and future files) (use absolute path)
# semanage fcontext -a -t httpd_sys_content_t '/root/my_web(/.*)?'
# restorecon -R my_web
# lz my_web/
unconfined_u:object_r:httpd_sys_content_t:s0 httpd
️**⚠️ WARNING:** _`semanage` only changes SELinux database. After running `semanage` you will need to run `restorecon` to apply the configuration from the SELinux DB._
## Restore Context
### Restore File Context
`restorecon` can also be run at any other time to correct inconsistent labels, to add support for newly installed policy or, by using the -n option, to passively check whether the file contexts are all set as specified by the active policy (default behavior).
If a file object does not have a context, restorecon will write the default context to the file object's extended attributes. If a file object has a context, restorecon will only modify the type portion of the security context. The -F option will force a replacement of the entire context.
Relabeling will restore back context for files. You can restore the context for specific files and directories, or for the whole system (like when booting with 'rd.break' after reseting the root password).
Restore context of a file
# restorecon [file]
Restore the context of a directory recursively with verbose
# restorecon -R -v [dir]
### Restore System Context / System Relabel and Restore
You can restore the SELinux context for the whole filesystem with 3 ways:
#### autorelabel
# touch /.autorelabel
# reboot
#### fixfiles
'fixfiles onboot' will setup the machine to relabel on the next reboot.
# fixfiles onboot
# reboot
#### On boot
Use the 'autorelabel' boot parameter to force a system relabel.
- `autorelabel=1`
- This parameter forces the system to relabel similarly to the previous commands
---
[⬅️ Back](9-manage-security.md)
| 29.732673 | 296 | 0.728605 | eng_Latn | 0.973657 |
b53e9e580e9ac59530e50ed0304b85995e366ef4 | 996 | md | Markdown | _posts/2015-12-26-Hayley-Paige-Bridesmaid-Additional-1-Hayley-Paige-Style-5312.md | hectodressdo/hectodressdo.github.io | f5caf00eee7c8be17c85e4fe9ee1724bad3853fe | [
"MIT"
] | null | null | null | _posts/2015-12-26-Hayley-Paige-Bridesmaid-Additional-1-Hayley-Paige-Style-5312.md | hectodressdo/hectodressdo.github.io | f5caf00eee7c8be17c85e4fe9ee1724bad3853fe | [
"MIT"
] | null | null | null | _posts/2015-12-26-Hayley-Paige-Bridesmaid-Additional-1-Hayley-Paige-Style-5312.md | hectodressdo/hectodressdo.github.io | f5caf00eee7c8be17c85e4fe9ee1724bad3853fe | [
"MIT"
] | null | null | null | ---
layout: post
date: 2015-12-26
title: "Hayley Paige Bridesmaid Additional 1 Hayley Paige Style 5312"
category: Hayley Paige Bridesmaid Additional 1
tags: [Hayley Paige Bridesmaid Additional 1]
---
### Hayley Paige Bridesmaid Additional 1 Hayley Paige Style 5312
Just **$323.98**
###
<a href="https://www.readybrides.com/en/hayley-paige-bridesmaid-additional-1/93778-hayley-paige-style-5312.html"><img src="//img.readybrides.com/243409/hayley-paige-style-5312.jpg" alt="Hayley Paige Style 5312" style="width:100%;" /></a>
<!-- break --><a href="https://www.readybrides.com/en/hayley-paige-bridesmaid-additional-1/93778-hayley-paige-style-5312.html"><img src="//img.readybrides.com/243408/hayley-paige-style-5312.jpg" alt="Hayley Paige Style 5312" style="width:100%;" /></a>
Buy it: [https://www.readybrides.com/en/hayley-paige-bridesmaid-additional-1/93778-hayley-paige-style-5312.html](https://www.readybrides.com/en/hayley-paige-bridesmaid-additional-1/93778-hayley-paige-style-5312.html)
| 62.25 | 251 | 0.757028 | yue_Hant | 0.423998 |
b53f3dfb48f00d4152345d2618802caa6ad44140 | 17,436 | md | Markdown | articles/active-directory-b2c/active-directory-b2c-setup-sf-app-custom.md | Zwoch/azure-docs.de-de | c76b1dfefc2541ca6d661c9eaca428b42b34ebc8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/active-directory-b2c/active-directory-b2c-setup-sf-app-custom.md | Zwoch/azure-docs.de-de | c76b1dfefc2541ca6d661c9eaca428b42b34ebc8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/active-directory-b2c/active-directory-b2c-setup-sf-app-custom.md | Zwoch/azure-docs.de-de | c76b1dfefc2541ca6d661c9eaca428b42b34ebc8 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: 'Azure Active Directory B2C: Hinzufügen eines Salesforce-SAML-Anbieters mithilfe von benutzerdefinierten Richtlinien | Microsoft-Dokumentation'
description: In diesem Artikel erfahren Sie, wie Sie in Azure Active Directory B2C benutzerdefinierte Richtlinien erstellen und verwalten.
services: active-directory-b2c
documentationcenter: ''
author: davidmu1
manager: mtillman
editor: ''
ms.service: active-directory-b2c
ms.workload: identity
ms.topic: article
ms.date: 06/11/2017
ms.author: davidmu
ms.openlocfilehash: 1ccf5c58eab9df9016224a91ddda952a05457e2a
ms.sourcegitcommit: 48ab1b6526ce290316b9da4d18de00c77526a541
ms.translationtype: HT
ms.contentlocale: de-DE
ms.lasthandoff: 03/23/2018
---
# <a name="azure-active-directory-b2c-sign-in-by-using-salesforce-accounts-via-saml"></a>Azure Active Directory B2C: Anmelden mit Salesforce-Konten per SAML
[!INCLUDE [active-directory-b2c-advanced-audience-warning](../../includes/active-directory-b2c-advanced-audience-warning.md)]
In diesem Artikel erfahren Sie, wie Sie mit [benutzerdefinierter Richtlinien](active-directory-b2c-overview-custom.md) die Anmeldung für Benutzer von einer bestimmten Salesforce-Organisation aktivieren.
## <a name="prerequisites"></a>Voraussetzungen
### <a name="azure-ad-b2c-setup"></a>Einrichtung von Azure AD B2C
Stellen Sie sicher, dass Sie alle Themen zu den [ersten Schritten mit benutzerdefinierten Richtlinien](active-directory-b2c-get-started-custom.md) in Azure Active Directory B2C (Azure AD B2C) abgeschlossen haben.
Das umfasst:
* Erstellen eines Azure AD B2C-Mandanten
* Erstellen einer Azure AD B2C-Anwendung
* Registrieren von zwei Richtlinienmodulanwendungen
* Einrichten von Schlüsseln
* Einrichten des Starter Pack
### <a name="salesforce-setup"></a>Einrichtung von Salesforce
In diesem Artikel wird davon ausgegangen, dass Sie bereits Folgendes getan haben:
* Registrierung für ein Salesforce-Konto. Sie können sich für ein [kostenloses Developer Edition-Konto](https://developer.salesforce.com/signup) registrieren.
* [Einrichtung einer eigenen Domäne](https://help.salesforce.com/articleView?id=domain_name_setup.htm&language=en_US&type=0) für Ihre Salesforce-Organisation.
## <a name="set-up-salesforce-so-users-can-federate"></a>Einrichten von Salesforce, damit Benutzer einen Verbund bilden können
Damit Azure AD B2C mit Salesforce kommunizieren kann, müssen Sie die Salesforce-Metadaten-URL abrufen.
### <a name="set-up-salesforce-as-an-identity-provider"></a>Einrichten von Salesforce als Identitätsanbieter
> [!NOTE]
> In diesem Artikel wird davon ausgegangen, dass Sie die [Salesforce Lightning Experience](https://developer.salesforce.com/page/Lightning_Experience_FAQ) verwenden.
1. [Anmelden Sie sich bei Salesforce an](https://login.salesforce.com/).
2. Erweitern Sie im Menü auf der linken Seite die Option **Einstellungen** und dann **Identität**, und klicken Sie dann auf **Identitätsanbieter**.
3. Klicken Sie auf **Enable Identity Provider** (Identitätsanbieter aktivieren).
4. Wählen Sie unter **Select the certificate** (Zertifikat auswählen) das Zertifikat aus, das Salesforce für die Kommunikation mit Azure AD B2C verwendet soll. (Sie können zwei Standardzertifikate verwenden.) Klicken Sie auf **Speichern**.
### <a name="create-a-connected-app-in-salesforce"></a>Erstellen einer verbundenen App in Salesforce
1. Navigieren Sie auf der Seite **Identitätsanbieter** zu **Service Providers** (Dienstanbieter).
2. Klicken Sie auf **Service Providers are now created via Connected Apps (Dienstanbieter werden jetzt über verbundene Apps erstellt) Click here.** (Dienstanbieter werden jetzt mit verbundenen Apps erstellt. Hier klicken.).
3. Geben Sie unter **Grundlegende Informationen** die erforderlichen Werte für die verbundene App ein.
4. Aktivieren Sie unter **Web-App-Einstellungen** das Kontrollkästchen **SAML aktivieren**.
5. Geben Sie im Feld **Entitäts-ID** die folgende URL ein. Stellen Sie sicher, dass Sie den Wert für `tenantName` ersetzen.
```
https://login.microsoftonline.com/te/tenantName.onmicrosoft.com/B2C_1A_TrustFrameworkBase
```
6. Geben Sie im Feld **ACS-URL** die folgende URL ein. Stellen Sie sicher, dass Sie den Wert für `tenantName` ersetzen.
```
https://login.microsoftonline.com/te/tenantName.onmicrosoft.com/B2C_1A_TrustFrameworkBase/samlp/sso/assertionconsumer
```
7. Behalten Sie die Standardwerte für alle anderen Einstellungen bei.
8. Scrollen Sie zum Ende der Liste, und klicken Sie dann auf **Speichern**.
### <a name="get-the-metadata-url"></a>Abrufen der Metadaten-URL
1. Klicken Sie auf der Übersichtsseite der verbundenen App auf **Verwalten**.
2. Kopieren Sie den Wert für **Metadata Discovery Endpoint** (Metadaten-Ermittlungsendpunkt), und speichern Sie ihn. Sie werden ihn später in diesem Artikel brauchen.
### <a name="set-up-salesforce-users-to-federate"></a>Einrichten von Salesforce-Benutzern für einen Verbund
1. Navigieren Sie auf der Seite **Verwalten** der verbundenen App zu **Profile**.
2. Klicken Sie auf **Manage Profiles** (Profile verwalten).
3. Wählen Sie die Profile (oder Benutzergruppen) aus, für die ein Verbund mit Azure AD B2C hergestellt werden soll. Wählen Sie als Systemadministrator das Kontrollkästchen **Systemadministrator** aus, damit Sie den Verbund mit Ihrem Salesforce-Konto herstellen können.
## <a name="generate-a-signing-certificate-for-azure-ad-b2c"></a>Generieren Sie ein Signaturzertifikat für Azure AD B2C
An Salesforce gesendete Anforderungen müssen von Azure AD B2C signiert worden sein. Um ein Signaturzertifikat zu generieren, öffnen Sie Azure PowerShell, und führen Sie die folgenden Befehle.
> [!NOTE]
> Stellen Sie sicher, dass Sie den Namen des Mandanten und das Kennwort in den oberen beiden Zeilen aktualisieren.
```PowerShell
$tenantName = "<YOUR TENANT NAME>.onmicrosoft.com"
$pwdText = "<YOUR PASSWORD HERE>"
$Cert = New-SelfSignedCertificate -CertStoreLocation Cert:\CurrentUser\My -DnsName "SamlIdp.$tenantName" -Subject "B2C SAML Signing Cert" -HashAlgorithm SHA256 -KeySpec Signature -KeyLength 2048
$pwd = ConvertTo-SecureString -String $pwdText -Force -AsPlainText
Export-PfxCertificate -Cert $Cert -FilePath .\B2CSigningCert.pfx -Password $pwd
```
## <a name="add-the-saml-signing-certificate-to-azure-ad-b2c"></a>Hinzufügen des SAML-Signaturzertifikats zu Azure AD B2C
Laden Sie das Signaturzertifikat in Ihren Azure AD B2C-Mandanten hoch:
1. Wechseln zu Ihrem Azure AD B2C-Mandanten. Klicken Sie auf **Einstellungen** > **Framework für die Identitätsfunktion** > **Richtlinienschlüssel**.
2. Klicken Sie auf **+ Hinzufügen**, und klicken Sie dann aus:
1. Klicken Sie auf **Optionen** > **Hochladen**.
2. Geben Sie einen **Namen** ein (z.B. SAMLSigningCert). Dem Namen Ihres Schlüssels wird automatisch das Präfix *B2C_1A_* hinzugefügt.
3. Um Ihr Zertifikat auszuwählen, wählen **upload file control** (Dateisteuerelement hochladen) aus.
4. Geben Sie das Kennwort des Zertifikats ein, das Sie im PowerShell-Skript festlegen.
3. Klicken Sie auf **Create**.
4. Überprüfen Sie, ob Sie einen Schlüssel (z.B. B2C_1A_SAMLSigningCert) erstellt haben. Notieren Sie den vollständigen Namen (einschließlich *B2C_1A_*). Sie werden auf diesen Schlüssel später in der Richtlinie Bezug nehmen.
## <a name="create-the-salesforce-saml-claims-provider-in-your-base-policy"></a>Erstellen des Salesforce-SAML-Anspruchsanbieters in Ihrer Basisrichtlinie
Sie müssen Salesforce als Anspruchsanbieter definieren, damit sich Benutzer mithilfe von Salesforce anmelden können. Anders ausgedrückt: Sie müssen den Endpunkt festlegen, mit dem Azure AD B2C kommunizieren soll. Der Endpunkt *bietet* eine Reihe von *Ansprüchen*, mit denen Azure AD B2C überprüft, ob ein bestimmter Benutzer authentifiziert wurde. Hierfür können Sie für Salesforce `<ClaimsProvider>` in der Erweiterungsdatei Ihrer Richtlinie hinzufügen:
1. Öffnen Sie die Erweiterungsdatei aus Ihrem Arbeitsverzeichnis (TrustFrameworkExtensions.xml).
2. Suchen Sie nach dem Abschnitt `<ClaimsProviders>`. Wenn dieser nicht vorhanden sein sollte, erstellen Sie ihn im Stammknoten.
3. Fügen Sie einen neuen `<ClaimsProvider>` hinzu:
```XML
<ClaimsProvider>
<Domain>salesforce</Domain>
<DisplayName>Salesforce</DisplayName>
<TechnicalProfiles>
<TechnicalProfile Id="salesforce">
<DisplayName>Salesforce</DisplayName>
<Description>Login with your Salesforce account</Description>
<Protocol Name="SAML2"/>
<Metadata>
<Item Key="RequestsSigned">false</Item>
<Item Key="WantsEncryptedAssertions">false</Item>
<Item Key="WantsSignedAssertions">false</Item>
<Item Key="PartnerEntity">https://contoso-dev-ed.my.salesforce.com/.well-known/samlidp.xml</Item>
</Metadata>
<CryptographicKeys>
<Key Id="SamlAssertionSigning" StorageReferenceId="B2C_1A_SAMLSigningCert"/>
<Key Id="SamlMessageSigning" StorageReferenceId="B2C_1A_SAMLSigningCert"/>
</CryptographicKeys>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="socialIdpUserId" PartnerClaimType="userId"/>
<OutputClaim ClaimTypeReferenceId="givenName" PartnerClaimType="given_name"/>
<OutputClaim ClaimTypeReferenceId="surname" PartnerClaimType="family_name"/>
<OutputClaim ClaimTypeReferenceId="email" PartnerClaimType="email"/>
<OutputClaim ClaimTypeReferenceId="displayName" PartnerClaimType="username"/>
<OutputClaim ClaimTypeReferenceId="authenticationSource" DefaultValue="externalIdp"/>
<OutputClaim ClaimTypeReferenceId="identityProvider" DefaultValue="SAMLIdp" />
</OutputClaims>
<OutputClaimsTransformations>
<OutputClaimsTransformation ReferenceId="CreateRandomUPNUserName"/>
<OutputClaimsTransformation ReferenceId="CreateUserPrincipalName"/>
<OutputClaimsTransformation ReferenceId="CreateAlternativeSecurityId"/>
<OutputClaimsTransformation ReferenceId="CreateSubjectClaimFromAlternativeSecurityId"/>
</OutputClaimsTransformations>
<UseTechnicalProfileForSessionManagement ReferenceId="SM-Noop"/>
</TechnicalProfile>
</TechnicalProfiles>
</ClaimsProvider>
```
Im Knoten `<ClaimsProvider>`:
1. Ändern Sie den Wert für `<Domain>` in einen eindeutigen Wert, mit dem `<ClaimsProvider>` von anderen Identitätsanbietern unterschieden wird.
2. Aktualisieren Sie den Wert für `<DisplayName>` in einen Anzeigenamen für den Anspruchsanbieter. Derzeit wird dieser Wert nicht verwendet.
### <a name="update-the-technical-profile"></a>Aktualisieren des technischen Profils
Um ein SAML-Token von Salesforce zu erhalten, müssen Sie die Protokolle definieren, die Azure AD B2C zur Kommunikation mit Azure Active Directory (Azure AD) verwenden soll. Führen Sie dies im Element `<TechnicalProfile>` von `<ClaimsProvider>` aus:
1. Aktualisieren Sie die ID des Knotens `<TechnicalProfile>`. Diese ID wird als Verweis auf dieses technische Profil aus anderen Teilen der Richtlinie verwendet.
2. Aktualisieren Sie den Wert für `<DisplayName>`. Dieser Wert wird auf die Anmeldeschaltfläche auf der Anmeldeseite angezeigt.
3. Aktualisieren Sie den Wert für `<Description>`.
4. Salesforce verwendet das SAML 2.0-Protokoll. Stellen Sie sicher, dass der Wert für `<Protocol>` **SAML2** lautet.
Aktualisieren Sie den Abschnitt `<Metadata>` im vorangehenden XML entsprechend der Einstellungen für Ihre spezifischen Salesforce-Konto. Aktualisieren Sie die Metadatenwerte wie folgt im XML-Dokument :
1. Aktualisieren Sie den Wert `<Item Key="PartnerEntity">` mit der Salesforce-Metadaten-URL, die Sie zuvor kopiert haben. Sie hat folgendes Format:
`https://contoso-dev-ed.my.salesforce.com/.well-known/samlidp/connectedapp.xml`
2. Aktualisieren Sie im Abschnitt `<CryptographicKeys>` den Wert für beide Instanzen von `StorageReferenceId` auf den Namen des Schlüssels des Signaturzertifikats (z.B. B2C_1A_SAMLSigningCert).
### <a name="upload-the-extension-file-for-verification"></a>Hochladen der Erweiterungsdatei zur Überprüfung
Ihre Richtlinie ist jetzt konfiguriert, sodass Azure AD B2C mit Salesforce kommunizieren kann. Versuchen Sie, die Erweiterungsdatei Ihrer Richtlinie hochzuladen, um sicherzustellen, dass bisher keine Probleme bestehen. So laden Sie die Erweiterungsdatei Ihrer Richtlinie hoch:
1. Navigieren Sie in Ihrem Azure AD B2C-Mandanten zum Blatt **Alle Richtlinien**.
2. Aktivieren Sie das Kontrollkästchen **Richtlinie überschreiben, sofern vorhanden**.
3. Laden Sie die Erweiterungsdatei hoch (TrustFrameworkExtensions.xml). Stellen Sie sicher, dass die Validierung nicht fehlschlägt.
## <a name="register-the-salesforce-saml-claims-provider-to-a-user-journey"></a>Registrieren des Salesforce-SAML-Anspruchsanbieters auf eine User Journey
Fügen Sie nun einer Ihrer User Journeys den Salesforce-SAML-Identitätsanbieter hinzu. Nun ist der Identitätsanbieter zwar eingerichtet, ist jedoch auf keiner der Registrierungs- oder Anmeldeseiten für Benutzer vorhanden. Um einer Anmeldeseite den Identitätsanbieter hinzuzufügen, erstellen Sie zunächst ein Duplikat einer vorhandenen Vorlagen-User Journey. Ändern Sie dann die Vorlage, sodass sie auch den Azure AD-Identitätsanbieter hat.
1. Öffnen Sie die Basisdatei Ihrer Richtlinie (z.B. „TrustFrameworkBase.xml“).
2. Suchen Sie das Element `<UserJourneys>`, und kopieren Sie dann die gesamte Wert `<UserJourney>`, einschließlich Id=”SignUpOrSignIn”.
3. Öffnen Sie die Erweiterungsdatei (z.B. TrustFrameworkExtensions.xml). Suchen Sie das Element `<UserJourneys>`. Wenn das Element nicht vorhanden ist, fügen Sie es hinzu.
4. Fügen Sie die gesamte kopierte `<UserJourney>` als untergeordnetes Element des Elements `<UserJourneys>` ein.
5. Benennen Sie die ID der neuen `<UserJourney>` um (z.B. SignUpOrSignUsingContoso).
### <a name="display-the-identity-provider-button"></a>Anzeigen der Schaltfläche für einen Identitätsanbieter
Das Element `<ClaimsProviderSelection>` entspricht einer Schaltfläche für einen Identitätsanbieter auf einer Registrierungs- oder Anmeldeseite. Durch Hinzufügen eines `<ClaimsProviderSelection>`-Elements für Salesforce wird eine neue Schaltfläche angezeigt, wenn ein Benutzer diese Seite besucht. So zeigen Sie die Schaltfläche für einen Identitätsanbieter an:
1. Suchen Sie in der `<UserJourney>`, die Sie erstellt haben, `<OrchestrationStep>` mit `Order="1"`.
2. Fügen Sie folgenden XML-Code hinzu:
```XML
<ClaimsProviderSelection TargetClaimsExchangeId="ContosoExchange" />
```
3. Legen Sie `TargetClaimsExchangeId` auf einen logischen Wert fest. Es wird empfohlen, der allgemein üblichen Konvention zu folgen: *\[NameDesAnspruchsanbieters\]Exchange*.
### <a name="link-the-identity-provider-button-to-an-action"></a>Verknüpfen der Schaltfläche für einen Identitätsanbieter mit einer Aktion
Nun, da Sie eine Schaltfläche für einen Identitätsanbieter haben, verknüpfen Sie sie mit einer Aktion. In diesem Fall besteht die Aktion darin, dass Azure AD B2C mit Salesforce kommuniziert, um ein SAML-Token zu empfangen. Verknüpfen Sie hierfür das technische Profil für Ihren Salesforce-SAML-Anspruchsanbieter:
1. Suchen Sie im Knoten `<UserJourney>` mit `Order="2"` nach `<OrchestrationStep>`.
2. Fügen Sie folgenden XML-Code hinzu:
```XML
<ClaimsExchange Id="ContosoExchange" TechnicalProfileReferenceId="ContosoProfile" />
```
3. Aktualisieren Sie `Id` auf denselben Wert, den Sie zuvor für `TargetClaimsExchangeId` verwendet haben.
4. Aktualisieren Sie `TechnicalProfileReferenceId` in die `Id` des technischen Profils, das Sie zuvor erstellt haben (z.B. „ContosoProfile“).
### <a name="upload-the-updated-extension-file"></a>Hochladen der aktualisierten Erweiterungsdatei
Die Änderung der Erweiterungsdatei ist abgeschlossen. Speichern Sie diese Datei, und laden Sie sie hoch. Stellen Sie sicher, dass alle Überprüfungen erfolgreich waren.
### <a name="update-the-relying-party-file"></a>Aktualisieren der Datei der vertrauenden Seite
Aktualisieren Sie als Nächstes die Datei der vertrauenden Seite (Relying Party, RP), die die User Journey initiiert, die Sie erstellt haben:
1. Erstellen Sie in Ihrem Arbeitsverzeichnis eine Kopie von „SignUpOrSignIn.xml“. Benennen Sie es dann um (z.B. in „SignUpOrSignInWithAAD.xml“).
2. Öffnen Sie die neue Datei, und ändern Sie das `PolicyId`-Attribut für `<TrustFrameworkPolicy>` in einen eindeutigen Wert. Dies ist der Name der Richtlinie (z.B. SignUpOrSignInWithAAD).
3. Ändern Sie das `ReferenceId`-Attribut in `<DefaultUserJourney>`, sodass es der `Id` der neuen User Journey, die Sie erstellt haben, entspricht (z.B. „SignUpOrSignUsingContoso“).
4. Speichern Sie die Änderungen, und laden Sie die Datei dann hoch.
## <a name="test-and-troubleshoot"></a>Testen und Problembehandlung
Um die benutzerdefinierte Richtlinie zu testen, die Sie soeben hochgeladen haben, wechseln Sie im Azure-Portal zum Richtlinienblatt, und klicken Sie dann auf **Jetzt ausführen**. Bei Fehlern finden Sie Informationen unter [Problembehandlung benutzerdefinierter Richtlinien](active-directory-b2c-troubleshoot-custom.md).
## <a name="next-steps"></a>Nächste Schritte
Senden Sie uns Ihr Feedback an [AADB2CPreview@microsoft.com](mailto:AADB2CPreview@microsoft.com).
| 68.376471 | 454 | 0.777472 | deu_Latn | 0.977481 |
b5404c96a6f79e6d7db5b2264af7704c08055cb7 | 3,010 | md | Markdown | _posts/2020-1-11-kipod2019.md | OpenToAllCTF/SolveTracker | fa50d3ce3160290d716543484f44ea02f9aa4c4b | [
"MIT"
] | 3 | 2018-08-17T23:29:15.000Z | 2019-08-24T01:14:44.000Z | _posts/2020-1-11-kipod2019.md | OpenToAllCTF/SolveTracker | fa50d3ce3160290d716543484f44ea02f9aa4c4b | [
"MIT"
] | null | null | null | _posts/2020-1-11-kipod2019.md | OpenToAllCTF/SolveTracker | fa50d3ce3160290d716543484f44ea02f9aa4c4b | [
"MIT"
] | 2 | 2019-05-03T21:23:56.000Z | 2020-10-08T09:02:45.000Z | ---
layout: post
title: Kipod 2019
---
<!--break-->
**backhash (crypto)**
(Solved by: **UnblvR** on _Fri Dec 20 18:31:02 2019_)
**smplekye (crypto)**
(Solved by: **UnblvR** on _Fri Dec 20 18:37:12 2019_)
**preflag (pwn)**
(Solved by: **UnblvR, mementomori** on _Fri Dec 20 18:52:59 2019_)
**package (rev)**
(Solved by: **UnblvR** on _Fri Dec 20 19:02:29 2019_)
**dinary (misc)**
(Solved by: **UnblvR** on _Fri Dec 20 19:11:56 2019_)
**simple-auth (pwn)**
(Solved by: **mementomori** on _Fri Dec 20 19:46:04 2019_)
**707rainbows (misc)**
(Solved by: **UnblvR** on _Fri Dec 20 19:37:17 2019_)
**queuer (misc)**
(Solved by: **UnblvR** on _Fri Dec 20 20:13:39 2019_)
**contracts (pwn)**
(Solved by: **mementomori** on _Fri Dec 20 19:59:49 2019_)
**postman (web)**
(Solved by: **mementomori** on _Sat Dec 21 15:24:17 2019_)
**slicense (re)**
(Solved by: **mementomori** on _Sat Dec 21 12:21:00 2019_)
**kipodstab (web)**
(Solved by: **sapra** on _Sat Dec 21 11:04:57 2019_)
**cookieclicker (web)**
(Solved by: **Neolex** on _Sat Dec 21 11:44:08 2019_)
**catgallery2k20 (web)**
(Solved by: **UnblvR, sapra, mementomori** on _Wed Dec 25 13:26:21 2019_)
**spinupavm (misc)**
(Solved by: **mementomori** on _Sat Dec 21 14:37:18 2019_)
**smellyonion (misc)**
(Solved by: **mementomori** on _Sat Dec 21 15:13:55 2019_)
**catspace (web)**
(Solved by: **mementomori, sapra** on _Sat Dec 21 21:09:36 2019_)
**terminalhub (web)**
(Solved by: **mementomori, Neolex, sapra** on _Sun Dec 22 11:45:48 2019_)
**gamebob (re)**
(Solved by: **mementomori** on _Mon Dec 23 17:08:08 2019_)
**happycake (web)**
(Solved by: **sapra, mementomori** on _Sun Dec 22 13:27:26 2019_)
**cookshow (pwn)**
(Solved by: **mementomori** on _Mon Dec 23 13:56:28 2019_)
**dkdos (re)**
(Solved by: **mementomori** on _Tue Dec 24 11:27:04 2019_)
**clonewars (pwn)**
(Solved by: **kileak** on _Wed Dec 25 11:03:46 2019_)
**yumyum (pwn)**
(Solved by: **mementomori** on _Wed Dec 25 08:02:28 2019_)
**dumbuth (misc)**
(Solved by: **mementomori** on _Wed Dec 25 13:38:59 2019_)
**book-pickup (crypto)**
(Solved by: **mementomori** on _Wed Dec 25 11:07:08 2019_)
**tupper (misc)**
(Solved by: **stoic** on _Wed Dec 25 12:00:20 2019_)
**safecrafter (crypto)**
(Solved by: **mementomori** on _Wed Dec 25 13:19:06 2019_)
Updated on Sat Jan 11 18:17:11 2020
| 31.684211 | 93 | 0.619934 | yue_Hant | 0.624984 |
b540c6833fa3a14bcb0f10d70e548633760738db | 103 | md | Markdown | sustainability.md | fayolt/lifa | 55574d8bf7ea92b9762cc6af4ff0996c93f53f30 | [
"MIT"
] | null | null | null | sustainability.md | fayolt/lifa | 55574d8bf7ea92b9762cc6af4ff0996c93f53f30 | [
"MIT"
] | null | null | null | sustainability.md | fayolt/lifa | 55574d8bf7ea92b9762cc6af4ff0996c93f53f30 | [
"MIT"
] | null | null | null | ---
layout: default
title: Sustainability
permalink: /sustainability/
hero_img: posts/lifa_lg.png
---
| 12.875 | 27 | 0.757282 | eng_Latn | 0.455382 |
b5416a0c136f136c719e3906ed07454cac482b13 | 1,692 | md | Markdown | README.md | geo-bert/urban-invention | f1739cd588749cb8f23abe8d5131e372dfadea47 | [
"BSD-3-Clause"
] | null | null | null | README.md | geo-bert/urban-invention | f1739cd588749cb8f23abe8d5131e372dfadea47 | [
"BSD-3-Clause"
] | null | null | null | README.md | geo-bert/urban-invention | f1739cd588749cb8f23abe8d5131e372dfadea47 | [
"BSD-3-Clause"
] | null | null | null | # Urban Invention
This website/game was created as part of my final project for the university course "Discipline and Punish? BDSM, Power and Society" at the Paris Lodron University of Salzburg. It was created with the React framework.
In the game you regain your memory of an out of the ordinary party experience via solving puzzles that result in images, reminding you of the events that transpired.
The game consists of six chapters with each but the last ending with a [15 Puzzle](https://en.wikipedia.org/wiki/15_puzzle). If you get stuck you can reset the board, or if the puzzle is too frustrating, time consuming or hard you can skip it without a penalty.
The game should be enjoyed on a PC or Laptop and was tested using Chromium based browsers.
You can check out the website [here](https://geo-bert.github.io/urban-invention/)
## Intent
This part contains spoilers for the story of the game!
This game is intended for a more casual audience, that has not yet had any prior experience with the topics surrounding BDSM. I attempt to convey some risks involved when practicing certain parts of BDSM whilst not deterring the player from it all together.
The aim was to purposely not include any hints towards the gender of the played character to enable the possibility of the player projecting themself onto it.
I tried to use the scrambled puzzles as a metaphor for the mind that is in disarray. The text moves in a wavy pattern to signify that the entire story transpires in the mind of the protagonist.
There is no intent behind the name of the game. It was just the name Github suggested when creating the repository. I could not and still can't think of a proper name.
| 70.5 | 261 | 0.793735 | eng_Latn | 0.999944 |
b54348d048523d808f572ddc3a216863ac4411cb | 5,415 | md | Markdown | CHANGELOG.md | zenaton/zenaton-ruby | dbe9c3cbad7878e675e6ef783ee9bd4671f49cf9 | [
"MIT"
] | 39 | 2018-08-09T14:56:12.000Z | 2019-10-02T21:18:58.000Z | CHANGELOG.md | zenaton/zenaton-ruby | dbe9c3cbad7878e675e6ef783ee9bd4671f49cf9 | [
"MIT"
] | 25 | 2018-08-08T14:50:48.000Z | 2020-07-28T14:41:40.000Z | CHANGELOG.md | zenaton/zenaton-ruby | dbe9c3cbad7878e675e6ef783ee9bd4671f49cf9 | [
"MIT"
] | 1 | 2020-09-22T17:07:52.000Z | 2020-09-22T17:07:52.000Z | # Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- Added Rails 6 to the test matrix
### Changed
### Deprecated
### Removed
### Fixed
### Security
## [0.6.0] - 2019-10-02
### Changed
- `start workflow` now uses the graphql client
- `start task` now uses the graphql client
- `kill workflow` now uses the graphql client
- `pause workflow` now uses the graphql client
- `resume workflow` now uses the graphql client
- `find workflow` now uses the graphql client
## [0.5.3] - 2019-10-02
### Added
- Added support to activesupport 6.0.0.
### Changed
- Decoded hashes are now instances of `ActiveSupport::HashWithIndifferentAccess`
## [0.5.2] - 2019-09-19
### Fixed
- Fixed activesupport for ruby version <= 2.5.0
## [0.5.1] - 2019-09-18
### Added
- Added missing documentation for serialization.
- Added `custom_id` argument for workflow schedule.
### Removed
- Removed code from the client that pertained to the client mode
## [0.5.0] - 2019-08-27
### Changed
- No longer load JSON core extensions. Use our own refinements to avoid clashes
with frameworks and user code.
### Added
- (De)Serialization support for instances of Class.
- Execution context for tasks and workflows
- Optional `on_error_retry_delay` method handling task failures and specifying
how many seconds to wait before retrying.
- Added scheduling tasks and workflows feature.
### Fixed
- Backport of ActiveSupport's `next_occurring` for older versions.
## [0.4.2] - 2019-08-05
### Added
- Added `intent_id` when dispatching workflows and tasks, sending events and
pausing/resuming/stoping workflows.
### Fixed
- Fixed an error caused by a bad class name serialization when `as_json` is overrided (in rails for example).
## [0.4.1] - 2019-06-04
### Changed
- Fix symbol json encoding breaking compatibility with some gems
### Added
- Added `event_data` property when sending event
## [0.4.0] - 2019-03-25
### Added
- Calling `#dispatch` on tasks now allows to process tasks asynchronously
### Changed
- Update Zenaton engine URL to point to the new subdomain.
### Fixed
- When creating a `Wait` task which uses both `#at` (to specify time) and either
`#day_of_month` or `#monday` et al (to set day), it was surprising that the
wait task only waited for next week/month when it would make sense to wait for
later the same day. For example, on a Monday at 1 p.m, it waits for a couple
of hours if you create a wait task with `.monday(1).at("15")`. Otherwise the
previous behaviour of waiting for next week is preserved.
- Fix encoding of query parameters when searching for existing workflows
## [0.3.1] - 2018-10-02
### Fixed
- [Serialization]: Serializing ActiveModel object should no longer raise an
error
## [0.3.0] - 2018-09-24
### Changed
- Rename `on_day` method to `day_of_month`
- Improve error messages by using the message contained in the API response when
available.
- Rescue from new engine error when finding non existing workflow
## [0.2.3] - 2018-08-13
### Added
- Introduce this changelog file.
### Removed
- Dependency on httparty
## [0.2.2] - 2018-08-10
### Fixed
- [Serialization]: Distinct objects, even if equal to one another, now map to
distinct entries in the data store.
## [0.2.1] - 2018-08-10
### Added
- Serializer now handles the same objects as Ruby's built-in JSON library.
- Instructions on how to use the gem in a Ruby on Rails application.
### Changed
- Fixed typos and broken links in the readme
## [0.2.0] - 2018-08-08
### Added
- New serialization format for array and hashes. Currently running workflows
should still be able to deserialize data in the old format.
### Fixed
- Arrays and hashes with circular structures no longer cause infinite loops when
serializing.
## [0.1.1] - 2018-08-03
### Added
- Run test suite against all currently supported ruby versions
- Readme has a rubygems badge showing the current released version.
### Fixed
- Serialization should now be working on Ruby 2.3.
## 0.1.0 - 2018-08-03
### Added
- Initial release.
[Unreleased]: https://github.com/zenaton/zenaton-ruby/compare/v0.6.0...HEAD
[0.6.0]: https://github.com/zenaton/zenaton-ruby/compare/v0.5.3...v0.6.0
[0.5.3]: https://github.com/zenaton/zenaton-ruby/compare/v0.5.2...v0.5.3
[0.5.2]: https://github.com/zenaton/zenaton-ruby/compare/v0.5.1...v0.5.2
[0.5.1]: https://github.com/zenaton/zenaton-ruby/compare/v0.5.0...v0.5.1
[0.5.0]: https://github.com/zenaton/zenaton-ruby/compare/v0.4.2...v0.5.0
[0.4.2]: https://github.com/zenaton/zenaton-ruby/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/zenaton/zenaton-ruby/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/zenaton/zenaton-ruby/compare/v0.3.1...v0.4.0
[0.3.1]: https://github.com/zenaton/zenaton-ruby/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/zenaton/zenaton-ruby/compare/v0.2.3...v0.3.0
[0.2.3]: https://github.com/zenaton/zenaton-ruby/compare/v0.2.2...v0.2.3
[0.2.2]: https://github.com/zenaton/zenaton-ruby/compare/v0.2.1...v0.2.2
[0.2.1]: https://github.com/zenaton/zenaton-ruby/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/zenaton/zenaton-ruby/compare/v0.1.1...v0.2.0
[0.1.1]: https://github.com/zenaton/zenaton-ruby/compare/v0.1.0...v0.1.1
| 31.12069 | 109 | 0.715605 | eng_Latn | 0.949683 |
b544ff15935ceb974c0ca90dfbe35f22e1ea8584 | 2,110 | md | Markdown | README.md | facile-it/paginator-bundle | b3c2efbccd2abb1815cce1e0e0a961a797851bf0 | [
"Apache-2.0"
] | 1 | 2016-12-11T08:31:39.000Z | 2016-12-11T08:31:39.000Z | README.md | facile-it/paginator-bundle | b3c2efbccd2abb1815cce1e0e0a961a797851bf0 | [
"Apache-2.0"
] | 3 | 2015-06-16T22:29:16.000Z | 2017-02-23T08:39:31.000Z | README.md | facile-it/paginator-bundle | b3c2efbccd2abb1815cce1e0e0a961a797851bf0 | [
"Apache-2.0"
] | 3 | 2015-10-07T14:46:13.000Z | 2017-03-16T14:59:42.000Z | A **lightweight** symfony2 pagination system
[![Build Status](https://travis-ci.org/facile-it/paginator-bundle.svg?branch=master)](https://travis-ci.org/facile-it/paginator-bundle)
[![Code Climate](https://codeclimate.com/github/facile-it/paginator-bundle/badges/gpa.svg)](https://codeclimate.com/github/facile-it/paginator-bundle)
## Requirements:
- Twig`>=1.5` version is required if you plan to include the twig template.
- Twig `2.*` is allowed
## Features:
- Inizialization can be made via request or via setters
- Handle route as well as route parameters
## Installation and configuration:
Quite easy [Composer](http://packagist.org), add:
```json
{
"require": {
"facile-it/paginator-bundle": "dev-master"
}
}
```
Or if you want to clone the repos:
git clone git://github.com/facile-it/paginator-bundle.git vendor/facile-it/PaginatorBundle
<a name="configuration"></a>
### Add PaginatorBundle to your application kernel
```php
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Facile\PaginatorBundle\FacilePaginatorBundle(),
// ...
);
}
```
## Usage examples:
### Controller
Currently paginator can paginate:
- `Doctrine\ORM\QueryBuilder`
```php
// Acme\MainBundle\Controller\ProductController.php
$queryBuilder = $this
->get('doctrine.orm.entity_manager')
->getRepository('AcmeMainBundle:Product')
->createQueryBuilder('product')
$paginator = $this->get('facile.paginator')->parseRequest($this->getRequest());
return $this->render('AcmeMainBundle:Product:list.html.twig', array(
'results' => $pagination,
'paginationInfo' => $paginator->getPaginationInfo($filterBuilder
)
);
```
### View
```jinja
{# display results #}
<table>
{% for product in results %}
<tr >
<td>{{ product.id }}</td>
<td>{{ product.title }}</td>
</tr>
{% endfor %}
</table>
{# display navigation #}
<div class="navigation">
{% include 'FacilePaginatorBundle:Pagination:template.html.twig' %}
</div>
```
| 22.210526 | 150 | 0.65782 | eng_Latn | 0.28164 |
b547333d172cea33903b1941b2165639bea0b475 | 13,159 | md | Markdown | integrations/generated/azure_apimanagement_apimemailtemplates/README.md | DataFire/integrations | 56332a12c8011cb27be25e3173a0f3b3729c08da | [
"MIT"
] | 137 | 2017-06-01T04:39:44.000Z | 2022-03-03T15:41:57.000Z | integrations/generated/azure_apimanagement_apimemailtemplates/README.md | DataFire/integrations | 56332a12c8011cb27be25e3173a0f3b3729c08da | [
"MIT"
] | 42 | 2017-06-09T17:16:14.000Z | 2022-02-12T17:41:55.000Z | integrations/generated/azure_apimanagement_apimemailtemplates/README.md | DataFire/integrations | 56332a12c8011cb27be25e3173a0f3b3729c08da | [
"MIT"
] | 61 | 2016-11-22T19:11:19.000Z | 2022-02-09T03:53:25.000Z | # @datafire/azure_apimanagement_apimemailtemplates
Client library for ApiManagementClient
## Installation and Usage
```bash
npm install --save @datafire/azure_apimanagement_apimemailtemplates
```
```js
let azure_apimanagement_apimemailtemplates = require('@datafire/azure_apimanagement_apimemailtemplates').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
```
## Description
Use these REST APIs for performing operations on Email Templates associated with your Azure API Management deployment.
## Actions
### EmailTemplate_ListByService
Lists a collection of properties defined within a service instance.
```js
azure_apimanagement_apimemailtemplates.EmailTemplate_ListByService({
"resourceGroupName": "",
"serviceName": "",
"api-version": "",
"subscriptionId": ""
}, context)
```
#### Input
* input `object`
* resourceGroupName **required** `string`: The name of the resource group.
* serviceName **required** `string`: The name of the API Management service.
* $filter `string`: | Field | Usage | Supported operators | Supported functions |</br>|-------------|-------------|-------------|-------------|</br>| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith | </br>
* $top `integer`: Number of records to return.
* $skip `integer`: Number of records to skip.
* api-version **required** `string`: Version of the API to be used with the client request.
* subscriptionId **required** `string`: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
#### Output
* output `object`: Paged email template list representation.
* nextLink `string`: Next page link if any.
* value `array`: Page values.
* items `object`: Email Template details.
* properties `object`: Email Template Contract properties.
* body **required** `string`: Email Template Body. This should be a valid XDocument
* description `string`: Description of the Email Template.
* isDefault `boolean`: Whether the template is the default template provided by Api Management or has been edited.
* parameters `array`: Email Template Parameter values.
* items `object`: Email Template Parameter contract.
* subject **required** `string`: Subject of the Template.
* title `string`: Title of the Template.
* id `string`: Resource ID.
* name `string`: Resource name.
* type `string`: Resource type for API Management resource.
### EmailTemplate_Delete
Reset the Email Template to default template provided by the API Management service instance.
```js
azure_apimanagement_apimemailtemplates.EmailTemplate_Delete({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"If-Match": "",
"api-version": "",
"subscriptionId": ""
}, context)
```
#### Input
* input `object`
* resourceGroupName **required** `string`: The name of the resource group.
* serviceName **required** `string`: The name of the API Management service.
* templateName **required** `string` (values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier.
* If-Match **required** `string`: ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.
* api-version **required** `string`: Version of the API to be used with the client request.
* subscriptionId **required** `string`: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
#### Output
*Output schema unknown*
### EmailTemplate_Get
Gets the details of the email template specified by its identifier.
```js
azure_apimanagement_apimemailtemplates.EmailTemplate_Get({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"api-version": "",
"subscriptionId": ""
}, context)
```
#### Input
* input `object`
* resourceGroupName **required** `string`: The name of the resource group.
* serviceName **required** `string`: The name of the API Management service.
* templateName **required** `string` (values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier.
* api-version **required** `string`: Version of the API to be used with the client request.
* subscriptionId **required** `string`: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
#### Output
* output `object`: Email Template details.
* properties `object`: Email Template Contract properties.
* body **required** `string`: Email Template Body. This should be a valid XDocument
* description `string`: Description of the Email Template.
* isDefault `boolean`: Whether the template is the default template provided by Api Management or has been edited.
* parameters `array`: Email Template Parameter values.
* items `object`: Email Template Parameter contract.
* description `string`: Template parameter description.
* name `string`: Template parameter name.
* title `string`: Template parameter title.
* subject **required** `string`: Subject of the Template.
* title `string`: Title of the Template.
* id `string`: Resource ID.
* name `string`: Resource name.
* type `string`: Resource type for API Management resource.
### EmailTemplate_GetEntityTag
Gets the entity state (Etag) version of the email template specified by its identifier.
```js
azure_apimanagement_apimemailtemplates.EmailTemplate_GetEntityTag({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"api-version": "",
"subscriptionId": ""
}, context)
```
#### Input
* input `object`
* resourceGroupName **required** `string`: The name of the resource group.
* serviceName **required** `string`: The name of the API Management service.
* templateName **required** `string` (values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier.
* api-version **required** `string`: Version of the API to be used with the client request.
* subscriptionId **required** `string`: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
#### Output
*Output schema unknown*
### EmailTemplate_Update
Updates the specific Email Template.
```js
azure_apimanagement_apimemailtemplates.EmailTemplate_Update({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"parameters": null,
"If-Match": "",
"api-version": "",
"subscriptionId": ""
}, context)
```
#### Input
* input `object`
* resourceGroupName **required** `string`: The name of the resource group.
* serviceName **required** `string`: The name of the API Management service.
* templateName **required** `string` (values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier.
* parameters **required** `object`: Email Template update Parameters.
* properties `object`: Email Template Update Contract properties.
* body `string`: Email Template Body. This should be a valid XDocument
* description `string`: Description of the Email Template.
* parameters `array`: Email Template Parameter values.
* items `object`: Email Template Parameter contract.
* description `string`: Template parameter description.
* name `string`: Template parameter name.
* title `string`: Template parameter title.
* subject `string`: Subject of the Template.
* title `string`: Title of the Template.
* If-Match **required** `string`: ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.
* api-version **required** `string`: Version of the API to be used with the client request.
* subscriptionId **required** `string`: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
#### Output
*Output schema unknown*
### EmailTemplate_CreateOrUpdate
Updates an Email Template.
```js
azure_apimanagement_apimemailtemplates.EmailTemplate_CreateOrUpdate({
"resourceGroupName": "",
"serviceName": "",
"templateName": "",
"parameters": null,
"api-version": "",
"subscriptionId": ""
}, context)
```
#### Input
* input `object`
* resourceGroupName **required** `string`: The name of the resource group.
* serviceName **required** `string`: The name of the API Management service.
* templateName **required** `string` (values: applicationApprovedNotificationMessage, accountClosedDeveloper, quotaLimitApproachingDeveloperNotificationMessage, newDeveloperNotificationMessage, emailChangeIdentityDefault, inviteUserNotificationMessage, newCommentNotificationMessage, confirmSignUpIdentityDefault, newIssueNotificationMessage, purchaseDeveloperNotificationMessage, passwordResetIdentityDefault, passwordResetByAdminNotificationMessage, rejectDeveloperNotificationMessage, requestDeveloperNotificationMessage): Email Template Name Identifier.
* parameters **required** `object`: Email Template update Parameters.
* properties `object`: Email Template Update Contract properties.
* body `string`: Email Template Body. This should be a valid XDocument
* description `string`: Description of the Email Template.
* parameters `array`: Email Template Parameter values.
* items `object`: Email Template Parameter contract.
* description `string`: Template parameter description.
* name `string`: Template parameter name.
* title `string`: Template parameter title.
* subject `string`: Subject of the Template.
* title `string`: Title of the Template.
* If-Match `string`: ETag of the Entity. Not required when creating an entity, but required when updating an entity.
* api-version **required** `string`: Version of the API to be used with the client request.
* subscriptionId **required** `string`: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
#### Output
* output `object`: Email Template details.
* properties `object`: Email Template Contract properties.
* body **required** `string`: Email Template Body. This should be a valid XDocument
* description `string`: Description of the Email Template.
* isDefault `boolean`: Whether the template is the default template provided by Api Management or has been edited.
* parameters `array`: Email Template Parameter values.
* items `object`: Email Template Parameter contract.
* description `string`: Template parameter description.
* name `string`: Template parameter name.
* title `string`: Template parameter title.
* subject **required** `string`: Subject of the Template.
* title `string`: Title of the Template.
* id `string`: Resource ID.
* name `string`: Resource name.
* type `string`: Resource type for API Management resource.
## Definitions
*This integration has no definitions*
| 51.402344 | 559 | 0.750741 | eng_Latn | 0.567333 |
b547b441aac6d1f1bba3a9df4014cd75d9be28a0 | 46 | md | Markdown | README.md | imaarques/banco-rende-mais | 4fb9a1fd1b30fa414e8f938166184cdf7a85e627 | [
"MIT"
] | null | null | null | README.md | imaarques/banco-rende-mais | 4fb9a1fd1b30fa414e8f938166184cdf7a85e627 | [
"MIT"
] | null | null | null | README.md | imaarques/banco-rende-mais | 4fb9a1fd1b30fa414e8f938166184cdf7a85e627 | [
"MIT"
] | null | null | null | # banco-rende-mais
Site de um banco ficticio
| 15.333333 | 26 | 0.76087 | por_Latn | 0.973668 |
b547b8661083b987c8ca1e70bca1eb92bfa94df6 | 213 | md | Markdown | editor_frontend/docs/src/components/Editor/SidebarComp/SidebarCompHeader.md | digitaldthg/Web-XR-Editor-Backend | cde0a962203dfe743f6891d76d01f20477ee82ef | [
"MIT"
] | null | null | null | editor_frontend/docs/src/components/Editor/SidebarComp/SidebarCompHeader.md | digitaldthg/Web-XR-Editor-Backend | cde0a962203dfe743f6891d76d01f20477ee82ef | [
"MIT"
] | null | null | null | editor_frontend/docs/src/components/Editor/SidebarComp/SidebarCompHeader.md | digitaldthg/Web-XR-Editor-Backend | cde0a962203dfe743f6891d76d01f20477ee82ef | [
"MIT"
] | null | null | null | # SidebarCompHeader
## Props
| Prop name | Description | Type | Values | Default |
| --------- | ----------- | --------- | ------ | ------- |
| name | | undefined | - | |
---
| 21.3 | 58 | 0.333333 | eng_Latn | 0.604317 |
b5489a383e3999e8fe5b8a58fbc2df84dc88d9e1 | 222 | md | Markdown | README.md | neko-craft/NekoCraftOfficialWebsite | 9d3d689a4464fca1d6483a5ad9eec77444481a07 | [
"MIT"
] | null | null | null | README.md | neko-craft/NekoCraftOfficialWebsite | 9d3d689a4464fca1d6483a5ad9eec77444481a07 | [
"MIT"
] | 8 | 2021-03-10T11:28:43.000Z | 2021-05-30T08:45:57.000Z | README.md | neko-craft/NekoCraftOfficialWebsite | 9d3d689a4464fca1d6483a5ad9eec77444481a07 | [
"MIT"
] | null | null | null | # NekoCraftOfficialWebsite ![Deploy](https://github.com/neko-craft/NekoCraftOfficialWebsite/workflows/Deploy/badge.svg)
## Build
```bash
npm install
npm run build
```
## Author
Shirasawa
## License
[MIT](./LICENSE)
| 12.333333 | 119 | 0.72973 | yue_Hant | 0.546343 |
b5498ad784db81053efdf7743666705da6e251f6 | 42 | md | Markdown | README.md | Gagandeep627/spotify-clone | 999af602633ee9772ff607c7754982f5748dda96 | [
"Apache-2.0"
] | 1 | 2021-12-22T17:31:40.000Z | 2021-12-22T17:31:40.000Z | README.md | Gagandeep627/spotify-clone | 999af602633ee9772ff607c7754982f5748dda96 | [
"Apache-2.0"
] | null | null | null | README.md | Gagandeep627/spotify-clone | 999af602633ee9772ff607c7754982f5748dda96 | [
"Apache-2.0"
] | null | null | null | # spotify-clone
web page to stream music.
| 14 | 25 | 0.761905 | eng_Latn | 0.949775 |
b54b05d686ee5872e1677c0b6424c6cb616ddc21 | 2,112 | md | Markdown | content/authors/admin/_index.md | BDChristman/Morgan-Christman | 543e994e317972064254fe3ad4afb08ea5f33b3a | [
"MIT"
] | null | null | null | content/authors/admin/_index.md | BDChristman/Morgan-Christman | 543e994e317972064254fe3ad4afb08ea5f33b3a | [
"MIT"
] | null | null | null | content/authors/admin/_index.md | BDChristman/Morgan-Christman | 543e994e317972064254fe3ad4afb08ea5f33b3a | [
"MIT"
] | null | null | null | ---
# Display name
title: Morgan (Mo) Christman
# Is this the primary user of the site?
superuser: true
# Role/position
role: Ecology PhD Candidate
# Organizations/Affiliations
organizations:
- name: Utah State University
url: ""
interests:
- Landscape Ecology
- Pollinator Ecology
- Machine Learning
- Geospatial Modeling
- Conservation
- Climate Adaptation
education:
courses:
- course: PhD Candidate in Ecology
institution: Utah State University
year: 2022 (Anticipated)
- course: BS in Biology
institution: Denison University
year: 2017
- course: BA in Environmental Studies
institution: Denison University
year: 2017
# Social/Academic Networking
# For available icons, see: https://sourcethemes.com/academic/docs/page-builder/#icons
# For an email link, use "fas" icon pack, "envelope" icon, and a link in the
# form "mailto:your-email@example.com" or "#contact" for contact widget.
social:
- icon: envelope
icon_pack: fas
link: 'mailto: mochristman@gmail.com'
- icon: google-scholar
icon_pack: ai
link: https://scholar.google.com/citations?user=ULJUrRcAAAAJ&hl=en
- icon: github
icon_pack: fab
link: https://github.com/mochristman
# Link to a PDF of your resume/CV from the About widget.
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
- icon: cv
icon_pack: ai
link: cv.pdf
# Enter email to display Gravatar (if Gravatar enabled in Config)
email: ""
# Highlight the author in author lists? (true/false)
highlight_name: false
---
I am an Ecology PhD Candidate in the Biology Department as well as a National Science Foundation Trainee within the Climate Adaptation Science Program at Utah State University. Broadly, I am interested in data-driven projects that integrate ecology, modeling, and geospatial analysis.
My current research evaluates the impact of anthropogenic disturbances on bumble bee diversity, colony growth, and development both on a state and national scale. My goal is to produce research that both informs and helps promote positive conservation and management practices.
| 31.058824 | 286 | 0.758049 | eng_Latn | 0.837692 |
b54b534abd7a7cad9debc984a222ab6eacaa2672 | 2,599 | md | Markdown | specification/index.md | Lexteam/Mars | 0226135d10f9139c54b3d138679d7ffbaa80ef15 | [
"MIT"
] | 1 | 2017-04-17T16:50:34.000Z | 2017-04-17T16:50:34.000Z | specification/index.md | Lexteam/Mars | 0226135d10f9139c54b3d138679d7ffbaa80ef15 | [
"MIT"
] | null | null | null | specification/index.md | Lexteam/Mars | 0226135d10f9139c54b3d138679d7ffbaa80ef15 | [
"MIT"
] | null | null | null | Mars Language Specification
===========================
The Mars programming language will follow a similar syntax to that of Groovy.
It will use the file extension `.mars`.
## Access Modifiers
- `public`
- `private`
If no modifier is set, then public is assumed.
### public
The public modifier should be used to allow global access.
### private
The private modifier restricts access to that package only.
### Examples
| Modifier | Example | Note |
| --------- | --------------------- | ---------------------------------------- |
| public | string name | Optionally you can do public string name |
| private | private string name | |
## Keywords
See [keywords.md](keywords.md).
## Semi-colons?
Although they will be supported, they are not required.
## Setting the package
To set the package all you have to do is have it in the correct directory and add the following line to the top of your source file.
```
package uk.jamierocks.example
```
## Comments
Comments are defined by using `//`.
```
// This is a comment
```
### Long comments
```
/*
* This is a long comment
*/
```
A long comment is defined by it's start `/*` and it's end `*/`, the content it contains can be formatted however the programmer likes.
## Source files
Unlike in Java, you don't have to name the source file after the class it will contain, infact source files can have multiple classes/structs/etc.
The most basic class would define a main method.
```
void main(string[] args) {
println("Hello, World!")
}
```
## Classes
The following is a example of a class.
```
package xyz.lexteam.example // Set the package
class ExampleClass { // Set the class - see I have used no access modifier because it will default to public
private string name // Declared a private field - notice no semi-colon?
string getName() { // Declared a method - see no access modifer - again public is assumed.
return name
}
}
```
## Structs
Unlike the likes of Java, Mars has structs.
```
package xyz.lexteam.example
struct Book {
string name
string author
}
```
You can make an instance of that struct like the following.
```
new xyz.lexteam.example.Book("iWoz", "Steve Wozniak")
```
## Enums
The following is an example of a enum.
```
package xyz.lexteam.example
enum OperatingSystem {
OSX('mac'),
LINUX('nix'),
WINDOWS('dows');
private string identifier
OperatingSystem(string identifier) {
this.identifier = identifier
}
}
```
| 21.840336 | 146 | 0.638707 | eng_Latn | 0.99737 |
b54cd34a5db272a5b585858b47f91e224703b0a3 | 477 | md | Markdown | api_python/doc/markdown/references/msg_DeviceConfig_SafetyEnable.md | Achllle/kortex | c9b24645e6a266b523f1d47a3a6162d0db8b3508 | [
"BSD-3-Clause"
] | 1 | 2018-12-11T20:42:07.000Z | 2018-12-11T20:42:07.000Z | api_python/doc/markdown/references/msg_DeviceConfig_SafetyEnable.md | cmilettekinova/kortex | f2e5a161af5bcac14e68afb227d5a7e011cbba4f | [
"BSD-3-Clause"
] | null | null | null | api_python/doc/markdown/references/msg_DeviceConfig_SafetyEnable.md | cmilettekinova/kortex | f2e5a161af5bcac14e68afb227d5a7e011cbba4f | [
"BSD-3-Clause"
] | null | null | null | # Message SafetyEnable
This page describes the Python Kinova.Api.DeviceConfig.SafetyEnable message.
## Overview / Purpose
Enable or disable a specific safety
## Class members
**Member variables**
|Member name|Data type|Description|
|-----------|---------|-----------|
|handle| [SafetyHandle](msg_Common_SafetyHandle.md#)|Identifies safety to enable or disable|
|enable|bool|Safety enable state|
**Parent topic:** [DeviceConfig](../references/summary_DeviceConfig.md)
| 23.85 | 92 | 0.721174 | yue_Hant | 0.425106 |
b54e4159dc7a503c6f4821713ed2f206116f01ff | 4,809 | md | Markdown | src/news/thanks-and-best-wishes-holiday-season-2014-12-19/index.md | whykay/coding-grace-netlifycms | beadcb000ee4dde1ac74cb3c2fc73a1c91b22eb4 | [
"MIT"
] | null | null | null | src/news/thanks-and-best-wishes-holiday-season-2014-12-19/index.md | whykay/coding-grace-netlifycms | beadcb000ee4dde1ac74cb3c2fc73a1c91b22eb4 | [
"MIT"
] | null | null | null | src/news/thanks-and-best-wishes-holiday-season-2014-12-19/index.md | whykay/coding-grace-netlifycms | beadcb000ee4dde1ac74cb3c2fc73a1c91b22eb4 | [
"MIT"
] | null | null | null | ---
author:
blurb: Pythonista, but normally found organising various tech events, and now heavily
involved in diversity initiatives like Coding Grace, PyLadies Dublin, and Women
in Technology and Science (WITS Ireland).
contact_number: +353 86 150 2003
email: vicky@codinggrace.com
first_name: Vicky
id: 1
last_name: Twomey-Lee
slug: vicky-twomey-lee
url: http://about.me/whykay
user:
email: whykay@gmail.com
first_name: Vicky
id: 1
last_name: Twomey-Lee
username: whykay
date: 2014-12-19
id: 62
is_published: true
published: 2014-12-19T13:00:00Z
short_description: "Thanks to everyone who have supported me and Coding Grace via\
\ sponsorships, mentoring, attending the workshops this year.\r\n"
slug: thanks-and-best-wishes-holiday-season
title: Thanks and Best Wishes this holiday season
---
![Best wishes this holiday season](http://i.imgbox.com/yvpAdNah.png)
Thanks to everyone who have supported me and Coding Grace via sponsorships, mentoring, attending the workshops this year, especially to [Pulse College](http://www.pulsecollege.eu/) who supported me at the beginning of the year and believed in what we were doing and gave a great kickstart.
I want to give a big shout out to [Ursula Clarke Everett](https://twitter.com/tangentfairy) who, on behalf of the most awesome [Adverts.ie](http://www.adverts.ie/), has been looking after us for many of our workshops this year.
Here's the list of sponsors (in alphabetical order) who were cool to host our events or make it possible this year:
* [CoderDojoGirls@DCU](http://coderdojodcu.com/sessions/girls/) (Thanks, Niamh and Sarah)
* [CultureTECH](http://culturetech.co/) (Thanks, Mark)
* [Facebook Dublin](https://www.facebook.com/facebookdublin) (Thanks, Karonlina and Amy)
* [fsharpWorks](http://fsharpworks.com/) (Thanks, Phil)
* [gitHub](https://github.com) (Thanks, Ciara, Jessica and our mentor, Matthew)
* [Google Ireland](http://www.google.ie/about/careers/locations/dublin/) and [GDG Dublin](https://plus.google.com/100633195306202271076/posts) (Thanks, Raphael, Anthony, Vincent, Peter, Rory)
* [Honeycomb Creative Works](http://thehoneycomb.net/) (Thanks, Camilla)
* [Insight Centre for Data Analytics (DCU)](https://www.insight-centre.org/content/dublin-city-university) (Thanks, Suzanne and Kevin)
* [Microsoft Ireland](http://www.microsoft.com/en-ie/default.aspx) (Thanks, [Stephen Howell](https://twitter.com/saorog))
* [Maynooth Media Studies and An Foras Feasa](https://www.facebook.com/mediastudiesatnuim) (Thanks, Maria)
* [Rua Red](http://www.ruared.ie/) (Thanks, Nora)
* [Zendesk](https://www.zendesk.com) (Thanks, Andrei)
Acknowledgements to all the mentors, I can't thank you enough for your time and patience
* [Andrea Magnorsky](https://twitter.com/roundcrisis)
* [Aisling Mathews](https://twitter.com/bytesnbikes )
* [Andrei Balcanasu](https://www.linkedin.com/in/andreionut)
* Anthony Isaakidis
* Chris McGrath
* Caitriona O'Dwyer
* [Christina Lynch](https://twitter.com/xtinalynch)
* Ellen Burke
* David McMullin
* Derry O'Sullivan
* Elaine O'Carroll
* James White
* [Kevin O'Brien](https://twitter.com/kobriendublin)
* Matthew McCullough
* Michael Connors
* [Michael Twomey](https://twitter.com/micktwomey)
* [Nora O'Murchú](https://twitter.com/norette)
* [Owen Harris](https://twitter.com/TheAllThing)
* Paul Watson
* Peter Crowley
* [Pete McNally](https://twitter.com/petesonearth)
* [Phil Trelfod]( https://twitter.com/ptrelford)
* [Rachel McBride](http://ie.linkedin.com/in/rachaelmcbride)
* Raphael Savina
* Rory Glynn
* [Serena Fritsch](https://www.linkedin.com/in/serenafritsch)
* Shane Grimes
* Shane Quigley
* [Stephanie Francis](https://twitter.com/cloudsteph)
* [Stephen Howell](https://twitter.com/saorog)
* [Steve Quinlan](http://ie.linkedin.com/in/stevewritescode)
* [Suzanne Little](http://insight-centre.org/users/suzanne-little)
* Talar Ishak
* [Ursula Clarke Everett](https://twitter.com/tangentfairy)
* Vincent Courson
I also want to say a big thanks to my other half, [Mick Twomey](https://twitter.com/micktwomey), who has been there for me thick and thin, and always supported me in all my crazy ventures. Without his encouragement, I would not have gotten where I am today.
I wish you all the very best this holiday season, and hope 2015 will be the year your dreams come true.
If you have any enquiries, you can email me via <a href="mailto:vicky@codinggrace.com">vicky@codinggrace.com</a>.
P.S.: [Create your own interactive fiction game with Fungus (Unity3D) workshop (Wed, 28/1/2015) registration is now open.](http://www.codinggrace.com/events/interactive-fiction-fungus/39/)
P.P.S: If I omitted your name, it's by accident. Please let me know or just comment below. | 49.57732 | 290 | 0.741734 | eng_Latn | 0.620562 |
b54e5e572ef66f1526afc68cabf1e2d3ade4eee1 | 177 | md | Markdown | README.md | leandromcs/WhatsApp-Clone | e87d402776b7be6083587fdcf7e76439d7bfabd8 | [
"MIT"
] | null | null | null | README.md | leandromcs/WhatsApp-Clone | e87d402776b7be6083587fdcf7e76439d7bfabd8 | [
"MIT"
] | null | null | null | README.md | leandromcs/WhatsApp-Clone | e87d402776b7be6083587fdcf7e76439d7bfabd8 | [
"MIT"
] | null | null | null | # WhatsApp Clone
Um aplicativo clone do WhatsApp que está sendo desenvolvido utilizando Android Nativo. O projeto está sendo feito para rodar a partir do Android 4.4 (Kit Kat)
| 44.25 | 158 | 0.80226 | por_Latn | 0.970296 |
b54e676b9768dad886efd5f86937e7ea4d508e9e | 9,683 | md | Markdown | docs/mfc/controls-mfc.md | Mdlglobal-atlassian-net/cpp-docs.it-it | c8edd4e9238d24b047d2b59a86e2a540f371bd93 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/controls-mfc.md | Mdlglobal-atlassian-net/cpp-docs.it-it | c8edd4e9238d24b047d2b59a86e2a540f371bd93 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/controls-mfc.md | Mdlglobal-atlassian-net/cpp-docs.it-it | c8edd4e9238d24b047d2b59a86e2a540f371bd93 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-05-28T15:54:57.000Z | 2020-05-28T15:54:57.000Z | ---
title: Controlli (MFC)
ms.date: 11/04/2016
helpviewer_keywords:
- Windows common controls [MFC]
- common controls [MFC]
- controls [MFC]
ms.assetid: b2842884-6435-4b8f-933b-21671bf8af95
ms.openlocfilehash: 454a76e8fdf55f43d75abb63d7d98a9fe4926127
ms.sourcegitcommit: c123cc76bb2b6c5cde6f4c425ece420ac733bf70
ms.translationtype: MT
ms.contentlocale: it-IT
ms.lasthandoff: 04/14/2020
ms.locfileid: "81365321"
---
# <a name="controls-mfc"></a>Controlli (MFC)
I controlli sono oggetti con cui gli utenti possono interagire per immettere o modificare i dati. In genere vengono visualizzati nelle finestre di dialogo o nelle barre degli strumenti. In questo gruppo di argomenti vengono illustrati tre tipi principali di controlli:
- Controlli comuni di Windows, inclusi quelli creati dal proprietario
- Controlli ActiveX
- Altre classi di controlli fornite dalla libreria Microsoft Foundation Class (MFC)
## <a name="windows-common-controls"></a>Controlli comuni di Windows
Il sistema operativo Windows ha sempre fornito un numero di controlli comuni di Windows. Questi oggetti controllo sono programmabili e l'editor finestre di Visual C++ ne supporta l'aggiunta alle finestre di dialogo. La libreria Microsoft Foundation Class (MFC) fornisce classi che incapsulano ognuno di questi controlli, come illustrato nella tabella [Controlli comuni di Windows e classi MFC](#_core_windows_common_controls_and_mfc_classes). (Per alcuni elementi nella tabella sono previsti argomenti correlati che li descrivono in maggiore dettaglio. Per i controlli che non dispongono di argomenti, vedere la documentazione per la classe MFC).
La classe [CWnd](../mfc/reference/cwnd-class.md) è la classe base di tutte le classi di finestra, incluse tutte le classi di controlli.
## <a name="activex-controls"></a>Controlli ActiveX
I controlli ActiveX, precedentemente noti come controlli OLE, possono essere usati nelle finestre di dialogo delle applicazioni per Windows o nelle pagine HTML sul World Wide Web. Per ulteriori informazioni, vedere [Controlli ActiveX MFC](../mfc/mfc-activex-controls.md).
## <a name="other-mfc-control-classes"></a>Altre classi di controlli MFC
Oltre alle classi che incapsulano tutti i controlli comuni di Windows e che supportano la programmazione dei propri controlli ActiveX (o l'uso di controlli ActiveX forniti da altri utenti), MFC prevede proprie classi di controlli riportate di seguito:
- [CBitmapButton](../mfc/reference/cbitmapbutton-class.md)
- [CCheckListBox](../mfc/reference/cchecklistbox-class.md)
- [CDragListBox](../mfc/reference/cdraglistbox-class.md)
## <a name="finding-information-about-windows-common-controls"></a><a name="_core_finding_information_about_windows_common_controls"></a> Ricerca di informazioni sui controlli comuni di Windows
Nella tabella seguente viene brevemente descritto ogni controllo comune di Windows, tra cui la classe wrapper MFC del controllo.
### <a name="windows-common-controls-and-mfc-classes"></a><a name="_core_windows_common_controls_and_mfc_classes"></a>Controlli comuni di Windows e classi MFC
|Controllo|Classe MFC|Descrizione|Novità di Windows 95|
|-------------|---------------|-----------------|------------------------|
|[Animazione](../mfc/using-canimatectrl.md)|[CAnimateCtrl](../mfc/reference/canimatectrl-class.md)|Visualizza frame successivi di un videoclip AVI|Sì|
|Pulsante|[CButton](../mfc/reference/cbutton-class.md)|Pulsanti di comando che determinano un'azione, usati anche per caselle di controllo, pulsanti di opzione e caselle di gruppo|No|
|casella combinata|[CComboBox](../mfc/reference/ccombobox-class.md)|Combinazione di una casella di modifica e una casella di riepilogo|No|
|[selezione data e ora](../mfc/using-cdatetimectrl.md)|[CDateTimeCtrl](../mfc/reference/cdatetimectrl-class.md)|Consente all'utente di scegliere un valore di data o di ora specifico|Sì|
|casella di modifica|[CEdit](../mfc/reference/cedit-class.md)|Caselle per l'immissione di testo|No|
|[casella combinata estesa](../mfc/using-ccomboboxex.md)|[CComboBoxEx](../mfc/reference/ccomboboxex-class.md)|Controllo di una casella combinata con la possibilità di visualizzare immagini|Sì|
|[Intestazione](../mfc/using-cheaderctrl.md)|[CHeaderCtrl](../mfc/reference/cheaderctrl-class.md)|Pulsante visualizzato sopra una colonna di testo; controlla la larghezza del testo visualizzato|Sì|
|[Hotkey](../mfc/using-chotkeyctrl.md)|[CHotKeyCtrl](../mfc/reference/chotkeyctrl-class.md)|Finestra che consente all'utente di creare un "tasto di scelta rapida" per eseguire velocemente un'azione|Sì|
|[elenco di immagini](../mfc/using-cimagelist.md)|[CImageList](../mfc/reference/cimagelist-class.md)|Raccolta di immagini usata per gestire grandi set di icone o bitmap (l'elenco di immagini non è realmente un controllo e supporta gli elenchi usati da altri controlli)|Sì|
|[Elenco](../mfc/using-clistctrl.md)|[CListCtrl](../mfc/reference/clistctrl-class.md)|Finestra che visualizza un elenco di stringhe di testo con icone|Sì|
|casella di riepilogo|[CListBox](../mfc/reference/clistbox-class.md)|Casella contenente un elenco di stringhe|No|
|[calendario mensile](../mfc/using-cmonthcalctrl.md)|[CMonthCalCtrl](../mfc/reference/cmonthcalctrl-class.md)|Controllo che visualizza informazioni sulla data|Sì|
|[Progresso](../mfc/using-cprogressctrl.md)|[CProgressCtrl](../mfc/reference/cprogressctrl-class.md)|Finestra che indica lo stato di avanzamento di un'operazione di lunga durata|Sì|
|[rebar](../mfc/using-crebarctrl.md)|[CRebarCtrl (Ctrl)](../mfc/reference/crebarctrl-class.md)|Barra degli strumenti che può contenere altre finestre figlio sotto forma di controlli|Sì|
|[rich edit](../mfc/using-cricheditctrl.md)|[CRichEditCtrl](../mfc/reference/cricheditctrl-class.md)|Finestra in cui è possibile modificare la formattazione di carattere e paragrafo (vedere [Classes Related to Rich Edit Controls](../mfc/classes-related-to-rich-edit-controls.md)(Classi correlate ai controlli Rich Edit))|Sì|
|barra di scorrimento|[CScrollBar](../mfc/reference/cscrollbar-class.md)|Barra di scorrimento usata come un controllo all'interno di una finestra di dialogo (non una finestra)|No|
|[Cursore](../mfc/using-csliderctrl.md)|[CSliderCtrl](../mfc/reference/csliderctrl-class.md)|Finestra contenente un controllo dispositivo di scorrimento con segni di graduazione facoltativi|Sì|
|[casella di selezione](../mfc/using-cspinbuttonctrl.md)|[CSpinButtonCtrl](../mfc/reference/cspinbuttonctrl-class.md)|Coppia di pulsanti freccia selezionabili per aumentare o diminuire un valore|Sì|
|testo statico|[CStatic](../mfc/reference/cstatic-class.md)|Testo per le etichette di altri controlli|No|
|[barra di stato](../mfc/using-cstatusbarctrl.md)|[CStatusBarCtrl](../mfc/reference/cstatusbarctrl-class.md)|Finestra per la visualizzazione di informazioni sullo stato, simile alla classe MFC `CStatusBar`|Sì|
|[Scheda](../mfc/using-ctabctrl.md)|[CTabCtrl](../mfc/reference/ctabctrl-class.md)|Simile ai separatori in un blocco per appunti, è usato in "finestre di dialogo a schede" o nelle finestre delle proprietà|Sì|
|[Barra degli strumenti](../mfc/using-ctoolbarctrl.md)|[CToolBarCtrl](../mfc/reference/ctoolbarctrl-class.md)|Finestra con pulsanti di generazione comandi, simile alla classe MFC `CToolBar`|Sì|
|[punta degli strumenti](../mfc/using-ctooltipctrl.md)|[CToolTipCtrl](../mfc/reference/ctooltipctrl-class.md)|Piccola finestra popup che descrive lo scopo di un pulsante della barra degli strumenti o un altro strumento|Sì|
|[Albero](../mfc/using-ctreectrl.md)|[CTreeCtrl](../mfc/reference/ctreectrl-class.md)|Finestra che visualizza un elenco gerarchico di elementi|Sì|
### <a name="what-do-you-want-to-know-more-about"></a>Cosa vuoi sapere di più su
- Un controllo individuale: vedere la tabella [Controlli comuni di Windows e classi MFC](#_core_windows_common_controls_and_mfc_classes) in questo argomento per collegamenti a tutti i controlli
- [Creazione e utilizzo dei controlli](../mfc/making-and-using-controls.md)
- [Utilizzo dell'editor finestre per aggiungere controlli](../mfc/using-the-dialog-editor-to-add-controls.md)
- [Adding controls to a dialog box by hand (Aggiunta manuale di controlli a una finestra di dialogo)](../mfc/adding-controls-by-hand.md)
- [Deriving control classes from the MFC control classes (Derivazione di classi di controlli da classi di controlli MFC)](../mfc/deriving-controls-from-a-standard-control.md)
- [Using common controls as child windows (Uso di controlli comuni come finestre figlio)](../mfc/using-a-common-control-as-a-child-window.md)
- [Notifications from common controls (Notifiche da controlli comuni)](../mfc/receiving-notification-from-common-controls.md)
- [Add common controls to a dialog box](../mfc/using-common-controls-in-a-dialog-box.md)(Aggiungere controlli comuni a una finestra di dialogo).
- [Derive a control from a standard Windows control (Derivare un controllo da un controllo Windows standard)](../mfc/deriving-controls-from-a-standard-control.md)
- [Access dialog-box controls with type safety (Accedere ai controlli della finestra di dialogo con indipendenza dai tipi)](../mfc/type-safe-access-to-controls-in-a-dialog-box.md)
- [Receive notification messages from common controls (Ricevere messaggi di notifica da controlli comuni)](../mfc/receiving-notification-from-common-controls.md)
- [Esempi](../mfc/common-control-sample-list.md)
Per informazioni sui controlli comuni di Windows in Windows SDK, vedere [Controlli comuni](/windows/win32/Controls/common-controls-intro).
## <a name="see-also"></a>Vedere anche
[Elementi dell'interfaccia utente](../mfc/user-interface-elements-mfc.md)<br/>
[Editor finestre](../windows/dialog-editor.md)
| 87.234234 | 646 | 0.782919 | ita_Latn | 0.948442 |
b551717187b207c1919bd099643875e22aad033a | 756 | md | Markdown | Notes and Record Files/README.md | JinLi711/Web-Scraping-Yelp | 100e703815f13e72c9491ed9b9a9bc4475bbf21e | [
"MIT"
] | 1 | 2019-11-18T14:35:33.000Z | 2019-11-18T14:35:33.000Z | Notes and Record Files/README.md | JinLi711/FAUI-Data-Scraping | 100e703815f13e72c9491ed9b9a9bc4475bbf21e | [
"MIT"
] | null | null | null | Notes and Record Files/README.md | JinLi711/FAUI-Data-Scraping | 100e703815f13e72c9491ed9b9a9bc4475bbf21e | [
"MIT"
] | 1 | 2019-01-17T04:12:08.000Z | 2019-01-17T04:12:08.000Z | # Notes and Records Files
Just a directory for recording notes.
## Log
Comphrensive log on the progress. Contains emails, my thoughts (ideas, research notes, write ups), and text messages. About 90 pages long, so yea.
## Work Hours
Work hours for each week.
## Notes on Scenes Scape Book
Professor Clark wrote an amazing book on the idea of scenes. I read through the book, and extracted quotes from it (since Clark wants me to provide evidence using data to support or refute his claims).
## Graphing Ideas
Sketches of graphing ideas that are worth considering to represent word distributions in different zip codes.
## Visual Write Up
My write up to explain my word embedding pipeline (intended for those without knowledge about cs and math).
| 31.5 | 201 | 0.775132 | eng_Latn | 0.999365 |
b553aa06909c7e2d672628c06ac6bfb26ff873a1 | 25,947 | md | Markdown | README.md | rogerjdeangelis/utl-aligning--and-appending-values-from-several-tables | afc60592b316eaec43997084136ead930a21b74f | [
"MIT"
] | null | null | null | README.md | rogerjdeangelis/utl-aligning--and-appending-values-from-several-tables | afc60592b316eaec43997084136ead930a21b74f | [
"MIT"
] | null | null | null | README.md | rogerjdeangelis/utl-aligning--and-appending-values-from-several-tables | afc60592b316eaec43997084136ead930a21b74f | [
"MIT"
] | null | null | null | # utl-aligning--and-appending-values-from-several-tables
Aligning and appending values from several tables
Aligning and appending values from several tables
Explanation
Suppose you have two tables
Table T1 | Table T2
|
VAR VAL | VAR VAL
|
v0 A | v1 A
v0 C | v1 B
And you want (Transpose and align)
Table Want
A B C
V0 1 0 1 ** only A and C in column VAL in T1
V1 1 1 0
github
https://tinyurl.com/y9d7ut26
https://github.com/rogerjdeangelis/utl-aligning--and-appending-values-from-several-tables
SAS Forum (related to)
https://tinyurl.com/y7e4bucz
https://communities.sas.com/t5/SAS-Programming/Creating-a-table-from-multiple-tables/m-p/665103
/* _
(_)_ __ _ __ _ _| |_
| | `_ \| `_ \| | | | __|
| | | | | |_) | |_| | |_
|_|_| |_| .__/ \__,_|\__|
|_|
*/
data T1;
input val$ @@;
var="v0";
keep var val;
cards4;
A B C D E F G
;;;;
run;quit;
data T2;
input Val$ @@;
var="v1";
keep var val;
cards4;
A B E G
;;;;
run;
data T3;
input Val$ @@;
var="v2";
cards4;
B C E F
;;;;
run;quit;
THREE TABLES
Table T1 | Table T2 | Table T3
| |
VAR VAL | VAR VAL | VAR VAL
| |
v0 A | v1 A | v2 B
v0 B | v1 B | v2 C
v0 C | v1 E | v2 E
v0 D | v1 G | v2 F
v0 E
v0 F
v0 G
/* _ _
___ _ _| |_ _ __ _ _| |_
/ _ \| | | | __| `_ \| | | | __|
| (_) | |_| | |_| |_) | |_| | |_
\___/ \__,_|\__| .__/ \__,_|\__|
|_|
*/
WORK.WANT total obs=3
VAR A B C D E F G
v0 1 1 1 1 1 1 1 * Template
V1 1 1 0 0 1 0 1
V2 0 1 1 0 1 1 0
/*
_ __ _ __ ___ ___ ___ ___ ___
| `_ \| `__/ _ \ / __/ _ \/ __/ __|
| |_) | | | (_) | (_| __/\__ \__ \
| .__/|_| \___/ \___\___||___/___/
|_|
*/
* create a key/val dictionary;
data havall;
retain var;
set t1 t2 t3;
run;quit;
/*
WORK.HAVALL total obs=15
VAR VAL
v0 A
v0 B
v0 C
v0 D
v0 E
v0 F
v0 G
v1 A
v1 B
v1 E
v1 G
v2 B
v2 C
v2 E
v2 F
*/
proc transpose data=havAll out=havXpo(drop=_name_);
by var notsorted;
var val;
id val; ** important - this does the alignment;
run;quit;
/*
WORK.HAVXPO total obs=3
VAR A B C D E F G
v0 A B C D E F G ** template record ;
v1 A B E G
v2 B C E F
*/
* convert missing to 0 and populated to 1;
%array(ns,values=%varlist(havXpo,keep=a--g));
/* array creates these macro variables
%put _user_;
GLOBAL NSN 7
GLOBAL NS1 A
GLOBAL NS2 B
GLOBAL NS3 C
GLOBAL NS4 D
GLOBAL NS5 E
GLOBAL NS6 F
GLOBAL NS7 G
*/
proc sql;
create
table want as
select
var
/* cycle through the macro array above */
,%do_over(ns,phrase=case when missing(?) then 0 else 1 end as ?,between=comma)
from
havXpo
;quit;
WORK.WANT total obs=3
VAR A B C D E F G
v0 1 1 1 1 1 1 1 * template ;
v1 1 1 0 0 1 0 1
v2 0 1 1 0 1 1 0
| 134.440415 | 135 | 0.061279 | yue_Hant | 0.652743 |
b55484030143e24af3e430d2d61afe7e27b40364 | 360 | md | Markdown | docs/zh_CN/1-1-about-fastd.md | xiangcaoren/word | a29797f082e770558fa4b602d8242f57fb19a599 | [
"MIT"
] | null | null | null | docs/zh_CN/1-1-about-fastd.md | xiangcaoren/word | a29797f082e770558fa4b602d8242f57fb19a599 | [
"MIT"
] | null | null | null | docs/zh_CN/1-1-about-fastd.md | xiangcaoren/word | a29797f082e770558fa4b602d8242f57fb19a599 | [
"MIT"
] | null | null | null | # 关于 FastD
:rocket:FastD 是一个为构建高性能 API 而生的框架,去除前版本多余的组件,针对API进行特殊的优化处理,让开发者更加专注应用。
FastD 提供灵活配置的核心,由于为了性能,提供的组件当不能满足当下业务时,可以通过自定义对核心,和服务进行扩展。
由于 FastD 是支持 Swoole 扩展,因此可以通过 Swoole 来开发更多的应用,打破传统web模式,还有很多想象空间。
#### 适用场景
* 适用于专注 API 端的开发
* Swoole 服务端开发
#### 环境要求
- [x] PHP >= 5.6
- [x] ext-curl
- [x] ext-pdo
- [x] ext-swoole
下一节: [安装](1-2-installing.md) | 17.142857 | 71 | 0.713889 | yue_Hant | 0.843628 |
b554e25b70678fdd46efe05a78bef5ba93d88a18 | 724 | md | Markdown | README.md | agrc/dwr-tracking | 5d6d0c7ddd89f40927d2ece466838df6deceee6f | [
"MIT"
] | null | null | null | README.md | agrc/dwr-tracking | 5d6d0c7ddd89f40927d2ece466838df6deceee6f | [
"MIT"
] | 1 | 2019-04-08T17:38:11.000Z | 2019-04-08T17:38:11.000Z | README.md | agrc/dwr-tracking | 5d6d0c7ddd89f40927d2ece466838df6deceee6f | [
"MIT"
] | null | null | null | # dwr-tracking
A collection of scripts to support DWR Wildlife Migration Initiative and ArcGIS Geoevent server.
## [enrichment](enrichment)
Folder to store scripts that add data to Geoevent outputs.
- [point_enricher.py](enrichment/point_enricher.py) Spatially join data from many other data sources to collar points that are created by Geoevent Server.
## [inputs](inputs)
Folder to store scripts that pull data from various tracking services.
- [pelicans.py](inputs/pelicans.py) Requests data from Cellular Tracking Technologies API used for tracking pelicans.
## Logging
Logs are pushed to [StackDriver](https://console.cloud.google.com/logs/viewer?authuser=1&project=agrc-admin&folder&organizationId&minLogLevel=0).
| 48.266667 | 154 | 0.802486 | eng_Latn | 0.954701 |
b55516db491e4c38d08826605c4b77168c388837 | 12,593 | md | Markdown | README.md | karlkyck/cloudfront-s3-static-hosting | 904a52b53c91590a2c577009955ecf93fdfc1e14 | [
"MIT"
] | null | null | null | README.md | karlkyck/cloudfront-s3-static-hosting | 904a52b53c91590a2c577009955ecf93fdfc1e14 | [
"MIT"
] | null | null | null | README.md | karlkyck/cloudfront-s3-static-hosting | 904a52b53c91590a2c577009955ecf93fdfc1e14 | [
"MIT"
] | null | null | null | ![cloudfront s3 static hosting](./cloudfront-s3-static-hosting.png)
My goto serverless stack for super speed to production web applications, and RESTful APis, is CloudFront, S3, API
Gateway, and Lambda. CloudFront provides the front door to the application, serving static content from S3 and providing
paths to API Gateway APIs - no CORS here.
CloudFront can be leveraged for caching and routing to APIs, CMSes, etc. It's a nice cheap setup with quite a lot of
flexibility and integration with AWS services. This website is served by CloudFront
and [AWS CodePipeline](https://aws.amazon.com/codepipeline/) provides the CI/CD. I prefer working with that flexibility,
however if you want something light and quick you can check out [AWS Amplify](https://aws.amazon.com/amplify/)
or [Netflify](https://www.netlify.com/).
The CloudFormation templates in this repo cover creating the base for this stack by serving static content using AWS
CloudFront (the CDN), S3 (
storage for the static content). The S3 bucket is private with serverside encryption enabled by default. AWS Route 53 (
DNS service) is configured to have requests sent to a custom domain routed to the CloudFront distribution created in
this tutorial.
# What if I don't want a custom domain
[Follow these instructions instead](#no-domain-no-problem)
# Costs
Warning! You will incur costs by following this tutorial.
| Service | Cost |
|---------|------|
| Domain name | .com goes for around €8 for one year (€11 to renew) with [Namecheap](www.namecheap.com) |
| [AWS Route 53 hosted zone](https://aws.amazon.com/route53/pricing) | 1 x €0.50 per month |
| [AWS CloudFront](https://aws.amazon.com/cloudfront/pricing/) | Charged on data transfer out & http/https requests |
| [AWS S3]() | You pay for storage, requests, and retrievals - Caching will make retrieval minimal |
# Step 1: Register a Domain Name
You can use AWS Route 53 to register a domain name by
following [these instructions](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-register.html).
Alternatively you can use your favourite domain registrar to register a domain. My favourite
is [Namecheap](www.namecheap.com) due to their low prices, customer support, and tooling.
```
example.com
www.example.com
```
# Step 2: Create a Hosted Zone
If you decided to use AWS Route 53 to register a domain name then a Route 53 hosted zone will already have been created
for you. Take note of the Hosted Zone Id. Now go straight to step 4.
Otherwise, if you decided to use a domain registrar other than AWS Route 53 then create an AWS Route 53 hosted zone by
using the following CloudFormation template `hosted-zone.yaml`.
Use the following AWS CLI command to create the hosted zone:
```bash
aws cloudformation deploy \
--template-file hosted-zone.yaml \
--stack-name mystaticwebsite-hosted-zone \
--parameter-overrides \
DomainName=<your fully qualified domain name>
```
Run the following AWS CLI command to get the hosted zone id and the hosted zone nameservers:
```bash
aws cloudformation describe-stacks \
--stack-name mystaticwebsite-hosted-zone
```
Look for the `"Outputs"` JSON element in the output of the above command. It should look like this:
```json
"Outputs": [
{
"OutputKey": "HostedZoneId",
"OutputValue": "<this will be your hosted zone id>",
"Description": "The Hosted Zone Id",
"ExportName": "mystaticwebsite-hosted-zone-HostedZoneId"
},
{
"OutputKey": "HostedZoneNameServers",
"OutputValue": "<this will be a comma separated list of the nameservers associated with your hosted zone>",
"Description": "The Hosted Zone Name Servers",
"ExportName": "mystaticwebsite-hosted-zone-HostedZoneNameServers"
}
],
```
Take note of the hosted zone id, and the comma separated list of hosted zone name servers.
# Step 3: Set Route 53 as the DNS service for the domain
To successfully have traffic to the domain routed to the CloudFront distribution, Route 53 needs to be set as the DNS
service for the domain. To achieve this, the nameservers for the domain need to be set to the nameservers for the Route
53 hosted zone created in Step 2. The nameservers for the Route 53 hosted zone can be found in the comma separated list
of the `"OutputValue"` in the output from the CloudFormation describe CLI command in Step 2.
The domain registrar used to register the domain will have a console that can be used to update the nameservers for the
domain. For
example [these are the instructions for Namecheap](https://www.namecheap.com/support/knowledgebase/article.aspx/767/10/how-to-change-dns-for-a-domain/)
# Step 4: Create the Certificate
With the creation of the Route 53 hosted zone, and with Route 53 as the DNS service for the domain, the certificate for
the static website and can be created and automatically validated by AWS Route 53. The following CloudFormation template
creates the certificate using AWS ACM, however it must be created in the `us-east-1` region otherwise it cannot be used
with CloudFront: `acm-certificate.yaml`
This is the AWS CLI command to create the stack:
```bash
aws cloudformation deploy \
--template-file acm-certificate.yaml \
--stack-name mystaticwebsite-acm-certificate \
--region us-east-1 \
--parameter-overrides \
DomainName=<your fully qualified domain name> \
HostedZoneId=<hosted zone id>
```
Notice the region is set to `us-east-1`. This is necessary otherwise the certificate won't work with CloudFront.
Once the stack is created, run the following command to get the certificate ARN, this is required when creating the
CloudFront distribution.
```bash
aws cloudformation describe-stacks \
--region us-east-1 \
--stack-name mystaticwebsite-acm-certificate
```
The `Outputs` JSON element will look like this:
```json
"Outputs": [
{
"OutputKey": "CertificateArn",
"OutputValue": "arn:aws:acm:us-east-1:111111111111:certificate/b8d0e2c9-daf7-42e8-a59b-3693bc299c32",
"Description": "The Certificate ARN",
"ExportName": "mystaticwebsite-acm-certificate-CertificateArn"
}
],
```
Take note of the ARN which will look like
this: `arn:aws:acm:us-east-1:111111111111:certificate/b8d0e2c9-daf7-42e8-a59b-3693bc299c32`
# Step 5: Create The CloudFront Distribution
The following CloudFormation template creates the Origin Access Identity, static resources S3 bucket, and CloudFront
distribution: `cloudfront-distribution.yaml`.
Run the following command to create the CloudFormation stack:
```bash
aws cloudformation deploy \
--template-file cloudfront-distribution.yaml \
--stack-name mystaticwebsite-cloudfront-distribution \
--parameter-overrides \
DomainName=<your domain name> \
CertificateArn=<certificate arn>
```
## Origin Access Identity
The Origin Access Identity allows CloudFront to read from the S3 bucket without having to make the S3 bucket public.
## S3 Bucket
The static content is stored in the S3 bucket from which CloudFront will serve the content. My preference is to encrypt
all data whether it's at rest or in-flight, so here serverside encryption is enabled by default. It's data that will be
publicly accessible through CloudFront, so the default AWS S3 key would appear to be adequate here despite it being a
shared key across AWS accounts.
The S3 bucket is explicitly configured as private with the `PublicAccessBlockConfiguration`.
## S3 Bucket Policy
It is necessary to give `s3:GetObject` permission to the Origin Access Identity so that CloudFront can request items
from the S3 bucket. This means that the bucket can be kept private but that CloudFront can still access the static
content within.
## Cache Policy
The cache policy id for the default cache behaviour is set to
the [managed cache policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) `658327ea-f89d-4fab-a63d-7e88639e58f6`
- Managed-CachingOptimized - which means caching is enabled and CloudFront cache invalidation is required after making
changes to static content files.
## Try It Out
It should now be possible test the CloudFront distribution. Upload an `index.html` file to the S3 bucket then send an
HTTP request to the CloudFront URL. The name of the S3 bucket and CloudFront URL are required. Run the following command
to get the CloudFront distribution stack outputs:
```bash
aws cloudformation describe-stacks \
--stack-name mystaticwebsite-cloudfront-distribution
```
The output should look like the following:
```json
"Outputs": [
{
"OutputKey": "DistributionId",
"OutputValue": "<distribution Id>",
"Description": "CloudFront Distribution Id",
"ExportName": "mystaticwebsite-cloudfront-distribution-DistributionId"
},
{
"OutputKey": "DistributionDomainName",
"OutputValue": "d1111111111111.cloudfront.net",
"Description": "CloudFront Distribution Domain Name",
"ExportName": "mystaticwebsite-cloudfront-distribution-DistributionDomainName"
},
{
"OutputKey": "StaticResourcesBucketName",
"OutputValue": "mystaticwebsite-cloudfront-staticresourcesbucket-1ab0a0a0a9abc",
"Description": "Static Resources Bucket Name",
"ExportName": "mystaticwebsite-cloudfront-distribution-StaticResourcesBucketName"
}
],
```
Take note of the `OutputValue` of `"OutputKey": "DistributionDomainName"` and `"OutputKey": "StaticResourcesBucketName"`
.
Run the following command to create a file name `index.html` and upload it to the S3 bucket:
```bash
echo 'My Static Content' > index.html && \
aws s3 cp index.html s3://<static resources bucket name>
```
With a browser, request the CloudFront URL taken from the stack output to see the content returned from CloudFront.
Alternatively the following cURL command can be used:
```bash
curl https://<cloudfront distribution domain>
```
The response should look like this:
```
My Static Content
```
# Step 6: Route Traffic To The CloudFront Distribution
A further step is required to have requests to the domain routed to the CloudFront distribution. It requires Route 53
alias records to be created:
1. IPV4 alias record (A) pointing the root domain to the CloudFront distribution
1. IPV4 alias record (A) pointing the `www` subdomain to the CloudFront distribution
1. IPV6 alias record (AAAA) pointing the root domain to the CloudFront distribution
1. IPV6 alias record (AAAA) pointing the `www` subdomain to the CloudFront distribution
The following CloudFormation template sets up the appropriate records: `hosted-zone-record-set-group.yaml`
Run the following command to create the CloudFormation stack:
```bash
aws cloudformation deploy \
--template-file hosted-zone-record-set-group.yaml \
--stack-name mystaticwebsite-record-set-group \
--parameter-overrides \
DomainName=<your domain name> \
HostedZoneId=<hosted zone id> \
DistributionDomainName=<cloudfront distribution domain name>
```
## Try it Out
Navigate to the domain name in a browser or run the following command:
```bash
curl https://<your domain name>
```
The following should be returned:
```
My Static Content
```
# No domain no problem
If no domain is required, and hitting the CloudFront distribution domain directly is adequate for your needs, then this
single CloudFormation template will suffice: `cloudfront-distribution-no-custom-domain.yaml`.
Run the following command to create the CloudFormation stack:
```bash
aws cloudformation deploy \
--template-file cloudfront-distribution-no-custom-domain.yaml \
--stack-name mystaticwebsite-cloudfront-distribution
```
```bash
aws cloudformation describe-stacks \
--stack-name mystaticwebsite-cloudfront-distribution
```
The output should look like the following:
```json
"Outputs": [
{
"OutputKey": "DistributionId",
"OutputValue": "<distribution Id>",
"Description": "CloudFront Distribution Id",
"ExportName": "mystaticwebsite-cloudfront-distribution-DistributionId"
},
{
"OutputKey": "DistributionDomainName",
"OutputValue": "d1111111111111.cloudfront.net",
"Description": "CloudFront Distribution Domain Name",
"ExportName": "mystaticwebsite-cloudfront-distribution-DistributionDomainName"
}
],
```
Take note of the `OutputValue` of `"OutputKey": "DistributionDomainName"` and `"OutputKey": "StaticResourcesBucketName"`
.
Run the following command to create a file name `index.html` and upload it to the S3 bucket:
```bash
echo 'My Static Content' > index.html && \
aws s3 cp index.html s3://<static resources bucket name>
```
With a browser, request the CloudFront URL taken from the stack output to see the content returned from CloudFront.
Alternatively the following cURL command can be used:
```bash
curl https://<cloudfront distribution domain>
```
The response should look like this:
```
My Static Content
``` | 36.291066 | 167 | 0.777178 | eng_Latn | 0.960338 |
b556fc72a17c1d60fc9aff5ae8a73766a456c782 | 1,246 | md | Markdown | blog/stories/2020/08/08/a144016.md | scripting/Scripting-News | 348c428614b115fe390513defc285aceeedd4f09 | [
"MIT"
] | 93 | 2016-06-02T15:40:14.000Z | 2022-02-02T20:02:08.000Z | blog/stories/2020/08/08/a144016.md | scripting/Scripting-News | 348c428614b115fe390513defc285aceeedd4f09 | [
"MIT"
] | 231 | 2016-06-02T15:21:23.000Z | 2022-02-18T20:48:20.000Z | blog/stories/2020/08/08/a144016.md | scripting/Scripting-News | 348c428614b115fe390513defc285aceeedd4f09 | [
"MIT"
] | 11 | 2017-06-27T11:58:01.000Z | 2021-06-21T00:55:07.000Z | <img src="http://static.scripting.com/larryKing/images/2014/03/12/stooges.gif" border="0" align="right">I heard yesterday on <a href="http://scripting.com/2020/08/05/144824.html?title=clubhouseFirstImpressions">Clubhouse</a> that people stopped reading my blog because of RSS. Interesting story. They <a href="http://scripting.com/2014/03/12/thingsAreCrystallizing.html">subscribed</a> in "Google Reader". Stopped reading on the web. Then they shut down Google Reader. The people who were reading my blog and others before RSS, lost track of the feeds they were reading in Google Reader. There were other choices, but that doesn't change what happened. We are rebuilding slowly, because blogging is still a useful form of communication. My <a href="http://scripting.com/email/">nightly email</a> is the best way to get it, probably always was, even in the heyday of RSS. I have to admit reading <i>this</i> blog in RSS was never a great deal. I write one day at a time. I'd prefer if you read what was on the home page at midnight. That's how I write it. Since RSS is something I'm well-known for developing, I didn't want to say this too loudly. But RSS should have had a chance to grow, and it didn't. So it got stuck. Not really a surprise.
| 623 | 1,245 | 0.767255 | eng_Latn | 0.996616 |
b557f4709a9dff24698fc02377691a3541d46ebd | 137 | md | Markdown | _drafts/2FA.md | benjamin-hering/benjamin-hering.github.io | a77e5dd3d0590d4ba5fe652640def2ad864e883a | [
"MIT"
] | null | null | null | _drafts/2FA.md | benjamin-hering/benjamin-hering.github.io | a77e5dd3d0590d4ba5fe652640def2ad864e883a | [
"MIT"
] | null | null | null | _drafts/2FA.md | benjamin-hering/benjamin-hering.github.io | a77e5dd3d0590d4ba5fe652640def2ad864e883a | [
"MIT"
] | null | null | null | ---
layout: post
title: You Should Turn on 2FA
---
[John Podesta's phishing e-mail](https://wikileaks.org/podesta-emails/emailid/36355)
| 19.571429 | 84 | 0.729927 | yue_Hant | 0.23466 |
b55929d2ec45f6b28282a722f5d1b2a490b66b6c | 31 | md | Markdown | src/com/boneyard/ioc/README.md | nahuelio/boneyard | a49c26776136fd6eed8cba6da1ea10078a9c5398 | [
"MIT"
] | null | null | null | src/com/boneyard/ioc/README.md | nahuelio/boneyard | a49c26776136fd6eed8cba6da1ea10078a9c5398 | [
"MIT"
] | null | null | null | src/com/boneyard/ioc/README.md | nahuelio/boneyard | a49c26776136fd6eed8cba6da1ea10078a9c5398 | [
"MIT"
] | null | null | null | ## Boneyard IoC implementation
| 15.5 | 30 | 0.806452 | eng_Latn | 0.69929 |
b55a6cc815814cf86a9f8315b9aef58405dda8c9 | 1,385 | md | Markdown | apis/Google.Cloud.Dataproc.V1/docs/history.md | tbpg/google-cloud-dotnet | 7492a9940418da3c6e4f06ef709834a685543b33 | [
"Apache-2.0"
] | null | null | null | apis/Google.Cloud.Dataproc.V1/docs/history.md | tbpg/google-cloud-dotnet | 7492a9940418da3c6e4f06ef709834a685543b33 | [
"Apache-2.0"
] | null | null | null | apis/Google.Cloud.Dataproc.V1/docs/history.md | tbpg/google-cloud-dotnet | 7492a9940418da3c6e4f06ef709834a685543b33 | [
"Apache-2.0"
] | null | null | null | # Version history
# Version 2.0.0, released 2020-03-17
- [Commit c120b77](https://github.com/googleapis/google-cloud-dotnet/commit/c120b77):
- Feature: SparkR and Presto job support
- Feature: Lifecycle config support
- Feature: Reservation affinity support
- [Commit 5ae3789](https://github.com/googleapis/google-cloud-dotnet/commit/5ae3789): Breaking changes around resource names, due to removing RegionOrLocationName
Note that the breaking change here was expected;
RegionOrLocationName didn't represent the name of a real resource,
and we now have better options for handling parents of resources with multiple patterns.
# Version 2.0.0-beta01, released 2020-02-18
This is the first prerelease targeting GAX v3. Please see the [breaking changes
guide](https://googleapis.github.io/google-cloud-dotnet/docs/guides/breaking-gax2.html)
for details of changes to both GAX and code generation.
Additional changes:
- [Commit a629906](https://github.com/googleapis/google-cloud-dotnet/commit/a629906): Adds AutoscalingPolicyClient.
# Version 1.1.0, released 2019-12-09
- [Commit 4e38a24](https://github.com/googleapis/google-cloud-dotnet/commit/4e38a24): Autoscaling and security configuration
- [Commit 50658e2](https://github.com/googleapis/google-cloud-dotnet/commit/50658e2): Add resource name format methods
# Version 1.0.0, released 2019-07-10
Initial GA release.
| 41.969697 | 162 | 0.789892 | eng_Latn | 0.732573 |
b55a9e28b5012bdba347e8e6561213675ea40cec | 3,196 | md | Markdown | languageModules/Rust/Rust_part1.md | Abesuden/Code-Assassin | 3703a776df09775f802e5c1fce1fba1864c4754b | [
"MIT"
] | 3 | 2020-01-29T21:28:27.000Z | 2020-05-03T01:42:51.000Z | languageModules/Rust/Rust_part1.md | Abesuden/Software-Engineering | 3703a776df09775f802e5c1fce1fba1864c4754b | [
"MIT"
] | null | null | null | languageModules/Rust/Rust_part1.md | Abesuden/Software-Engineering | 3703a776df09775f802e5c1fce1fba1864c4754b | [
"MIT"
] | null | null | null | **main**
```
use std::io;
use std::io::*;
fn main() {
// CODE GOES HERE
}
```
**import**
```
use std::io;
use std::io::*;
// mod moduleName;
```
**vari**
```
let mut varName = 42;
```
**varc**
```
let mut varName = 'Z';
```
**varf**
```
let mut varName = 3.14;
```
**vard**
```
let mut varName = 3.14;
```
**varb**
```
let mut varName = false;
```
**vars**
```
let mut varName = "String";
```
**consti**
```
const VARNAME: i32 = 5;
```
**constc**
```
let varName = 'Z';
```
**constf**
```
let varName = 3.14;
```
**constd**
```
let varName = 3.14;
```
**constb**
```
let varName = true;
```
**arrcn**
```
let arrayName [i32; 5] = [0,0,0,0,0];
```
**arri**
```
let mut arrayName [i32; 5] = [0,0,0,0,0];
```
**arrc**
```
let mut arrayName [char; 5] = [0,0,0,0,0];
```
**arrf**
```
let mut arrayName [float; 3] = [0.00,0.00,0.00];
```
**arrd**
```
let mut arrayName [double; 3] = [0.00,0.00,0.00];
```
**print**
```
println!("TEXT HERE \n");
```
**printf**
```
printf("TEXT HERE {}", 5);
```
**scan**
```
let mut input = String::new();
io::stdin::().read_line(&mut input).expect(“error: unable to read user input”);
```
**scanf**
```
let mut input = String::new();
io::stdin::().read_line(&mut input).expect(“error: unable to read user input”);
```
-**if**
```
if (var1 < var2) {
// code goes here
}
```
-**ife**
```
if (var1 < var2) {
// code goes here
} else {
// code goes here
}
```
-**eif**
```
else if (var1 < var2) {
// code goes here
}
```
-**switch**
```
switch (grade) {
case 'A' :
printf("Excellent!");
break;
case 'B' :
case 'C' :
printf("Well Done");
break;
case 'D' :
case 'F' :
printf("Try Again");
break;
default:
printf("Invalid Grade");
{
```
-**for**
```
for (int i = 0; i < 10; i++) {
}
```
-**foreach**
```
int arraySize = sizeof stringName - 1;
for (int i = 0; i < arraySize; i++) {
}
```
-**while**
```
int count = 0;
while ( count < 15 ) {
count++;
}
```
-**do**
```
int count = 0;
do {
count++;
} while ( count < 10 );
```
-**meth**
```
void methodName (int argOne, int argTwo);
void methodName (int parameterOne, int parameterTwo) {
// enter code here
return void;
}
```
> use sendkey, after header, to go to bottom of IDE and then print method
-**methh**
```
void methodName (int parameterOne, int parameterTwo);
```
-**methc**
```
methodName (argOne, argTwo);
```
-**class**
```
struct ClassName
{
int varInt;
double varDouble;
char varChar;
char varString[25];
bool isVar;
};
```
-**classc**
```
struct ClassName ClassObject;
ClassObject.varInt = 42;
ClassObject.varDouble = 3.14;
ClassObject.varChar = 'c';
ClassObject.varString[25] = "Hello World!";
ClassObject.isVar = 1;
```
-**syscall**
```
#include <iostream>
system("echo Hello World!");
```
-**pause**
```
#include <unistd.h>
sleep(10);
```
**com**
```
// This is a single line comment
```
**comm**
```
/*
* This is a multiple line comment
*/
```
**cright**
```
/* Created By:
* Author:
* Date:
* >>>
*
* copyright (c) 2019
*/
```
**docs**
```
/* The goal of this function is to
* Params:
*/
```
| 9.925466 | 79 | 0.516896 | eng_Latn | 0.326539 |
b55b09cfefdcba92e591a4b6f88f0ae02175444d | 91 | md | Markdown | README.md | jklein24/iseddiehere-1 | c53ffb2cc0ec906e01a028dd3f7fd9305c39beed | [
"BSD-3-Clause"
] | null | null | null | README.md | jklein24/iseddiehere-1 | c53ffb2cc0ec906e01a028dd3f7fd9305c39beed | [
"BSD-3-Clause"
] | null | null | null | README.md | jklein24/iseddiehere-1 | c53ffb2cc0ec906e01a028dd3f7fd9305c39beed | [
"BSD-3-Clause"
] | null | null | null | Is Eddie Here?
=============
We need to know without leaving our desks...
iseddiehere.com
| 15.166667 | 44 | 0.648352 | eng_Latn | 0.987987 |
b55bf2e01b61bc9dbc3845c3c72cccb4f3e3b353 | 764 | md | Markdown | _posts/2014-06-04-server-works.md | ulanovka/ulanovka.github.io | 758ae66714e703de1640e4c569a43fcb895dfe65 | [
"MIT"
] | null | null | null | _posts/2014-06-04-server-works.md | ulanovka/ulanovka.github.io | 758ae66714e703de1640e4c569a43fcb895dfe65 | [
"MIT"
] | null | null | null | _posts/2014-06-04-server-works.md | ulanovka/ulanovka.github.io | 758ae66714e703de1640e4c569a43fcb895dfe65 | [
"MIT"
] | null | null | null | ---
id: 162
title: Крупномасштабные работы на сервере 4 июня
date: 2014-06-04T00:05:39+00:00
author: Mac
layout: post
guid: http://ulanovka.net/?p=162
permalink: /2014/06/server-works/
dsq_thread_id:
- 4890930273
categories:
- Обновления системы
---
Дорогие друзья!
4 июня в среду с 00:00 мы проводим крупные работы на сервере. Улановка будет недоступна ориентировочно в течение дня. Просим Вас запастись терпением! Мы постараемся сделать все быстро 😉
Завтра Вас ждет нечто совершенно новое.
## Работы были успешно завершены вечером 4 июня!
UPD [05.06.14]: Если вы попадаете на эту страницу автоматически, очистите кэш браузера и заходите на форум по адресу <a title="https://ulanovka.ru" href="https://ulanovka.ru" target="_blank">https://ulanovka.ru</a>. | 34.727273 | 215 | 0.764398 | rus_Cyrl | 0.885927 |
b55caaf510983ef3bdb4dd84bc0045014f7997ab | 173 | md | Markdown | tutorials/index.md | typijs/just-the-docs | 76679efb137ee1cf303b70874ee2ab0a8fe1aff5 | [
"MIT"
] | null | null | null | tutorials/index.md | typijs/just-the-docs | 76679efb137ee1cf303b70874ee2ab0a8fe1aff5 | [
"MIT"
] | null | null | null | tutorials/index.md | typijs/just-the-docs | 76679efb137ee1cf303b70874ee2ab0a8fe1aff5 | [
"MIT"
] | null | null | null | ---
layout: default
title: Tutorials
has_children: true
---
# Tutorials
{: .no_toc }
The tutorials will show you how create the site from zero by TypiJs
{: .fs-6 .fw-300 } | 15.727273 | 67 | 0.699422 | eng_Latn | 0.991266 |
b55d645380e260c97bfdd96cee724f2401ce02aa | 1,106 | md | Markdown | snippets/README.md | Pampinho1/teachablemachine-community | cda9abfa782484a573cfd650ab1434eb9581c6ca | [
"Apache-2.0"
] | 1,041 | 2019-11-04T03:40:26.000Z | 2022-03-31T03:35:52.000Z | snippets/README.md | Pampinho1/teachablemachine-community | cda9abfa782484a573cfd650ab1434eb9581c6ca | [
"Apache-2.0"
] | 240 | 2019-11-03T13:06:41.000Z | 2022-03-23T14:56:03.000Z | snippets/README.md | Pampinho1/teachablemachine-community | cda9abfa782484a573cfd650ab1434eb9581c6ca | [
"Apache-2.0"
] | 433 | 2019-11-06T20:57:14.000Z | 2022-03-31T09:46:58.000Z | # Teachable Machine export snippets
This folder contains markdown snippets that are being displayed inside the export panel inside [Teachable Machine](https://teachablemachine.withgoogle.com/). The snippets contain code and instructions on how to use the exported models from Teachable Machine in languages like Javascript, Java and Python. This section is split up into folders for each type of model - image, pose and audio, and within those folders split up into different model export types, like tensorflow js and tflite.
If you want to contribute with fixes or new snippets, please feel free to submit a pull request!
### Deployment
Each commit to master branch triggers [Cloud Build](https://pantheon.corp.google.com/cloud-build/dashboard?project=gweb-teachable-ai) task that copies the markdown files to a cloud storage bucket that is served to the Teachable Machine frontend.
[markdown/index.json](markdown/index.json) serves as the index file of all markdown files, and contains the titles and tooltips of each file. If a new file is being added, you should also add it to the index file.
| 100.545455 | 491 | 0.801085 | eng_Latn | 0.997965 |
b55e65f12269474b502b8ea445b37df88fb512e2 | 100 | md | Markdown | src/posts/20181229/first-post.md | kevdev03/website | ecff9336fad4743ddad7dbe6564404ae08112fe8 | [
"MIT"
] | null | null | null | src/posts/20181229/first-post.md | kevdev03/website | ecff9336fad4743ddad7dbe6564404ae08112fe8 | [
"MIT"
] | null | null | null | src/posts/20181229/first-post.md | kevdev03/website | ecff9336fad4743ddad7dbe6564404ae08112fe8 | [
"MIT"
] | null | null | null | ---
path: "/blog/first-post"
date: "2018-12-29"
title: "How I built my website using GatsbyJS"
---
| 14.285714 | 46 | 0.65 | eng_Latn | 0.835051 |
b55e6d9be9685b4f5033f068fd0713149712c762 | 4,151 | md | Markdown | book/src/vnd_datalog_text/grammar_facts.md | johnstonskj/datalog-specs | 247ceac95a2d05f28f013cf7d066f513dc7fad1c | [
"MIT"
] | null | null | null | book/src/vnd_datalog_text/grammar_facts.md | johnstonskj/datalog-specs | 247ceac95a2d05f28f013cf7d066f513dc7fad1c | [
"MIT"
] | null | null | null | book/src/vnd_datalog_text/grammar_facts.md | johnstonskj/datalog-specs | 247ceac95a2d05f28f013cf7d066f513dc7fad1c | [
"MIT"
] | null | null | null | # Relations & Facts
While relations are a key aspect of the Datalog language there is no actual
production for relation in the syntax. This is because the syntax instead
expects a set of facts expressed and where those facts share the same label,
and are _schema compatible_ they comprise a relation. Each relation has a
schema that defines the number of attributes, their types, and optionally
their labels. The number of attributes is often termed the _arity_ of the
relation or of a fact.
> In some literature, where Datalog is analyzed from a _model theoretic_ view,
> the term **sort** is more often used than **schema**. In either case the
> meaning is equivalent. See <span class="bibref
> inline">[Wilfred97](x_references.md#Wilfred97)</span> and
> <span class="bibref inline">[AbHuVi94](x_references.md#AbHuVi94)</span>.
Facts may be either _asserted_ (added to a relation), or _retracted_ (removed
from a relation).
![fact](images/fact.png)
```ebnf
fact ::= assertion | retraction ;
```
Assertion is denoted by a fact body followed by the perion, `'.'` character.
![fact](images/assertion.png)
```ebnf
assertion
::= fact-body "." ;
```
Retraction is denoted by a fact body followed by the tilde, `'~'` character.
As a relation is a set of facts, each fact is syntactically unique and
addition and removal are based on the equality relation for each constant type.
![fact](images/retraction.png)
```ebnf
retraction
::= fact-body "~" ;
```
Retraction of a fact which is not a member of the relation MUST NOT be treated
as an error, although it MAY BE handled with a warning or informational message.
The body of a fact is expressed in the form of ground
[§ Atoms](grammar_atoms.md) where all
[§ Terms](grammar_atoms.md#terms) are constant, and so they have a
specific production rather than a constrained form of the `atom` rule. A
predicate is the identifying label shared by a relation and its facts.
![fact](images/fact-body.png)
```ebnf
fact-body
::= predicate ( "(" constant ( "," constant )* ")" )? ;
```
A predicate is a string of characters that MUST start with a character from
the Unicode category **Ll**.
![predicate](images/predicate.png)
```ebnf
predicate
::= LC_ALPHA ( ALPHA | DIGIT | UNDERSCORE )* ;
```
## Errors
Attempting to add a fact that is schema incompatible with an explicitly
declared extensional relation MUST signal the error [`ERR_INCONSISTENT_FACT_SCHEMA`](errors.md#ERR_INCONSISTENT_FACT_SCHEMA).
```datalog
.assert human(string).
human(22).
%% ==> ERR_INCONSISTENT_FACT_SCHEMA
```
It is an error to add a fact that is schema incompatible with an implicitly inferred extensional relation. In this case the first occurrence of `human` had a string value and so a relation was inferred with a single string attribute.
```datalog
human(socrates).
human(22).
%% ==> ERR_INCONSISTENT_FACT_SCHEMA
```
Some cases may not be so obvious, especially with numerics. The value `22` is inferred to be `integer`, the value `22.0` is inferred to be a `decimal`, and the value `22.0e2` is inferred to be a `float`. Therefore, the example below causes an error.
```datalog
human(22). % integer
human(22.0). % decimal
human(22.0e+2). % float
%% ==> ERR_INCONSISTENT_FACT_SCHEMA
```
It is also an error to assert facts where the label identifies an intensional, rather than extensional relation.
```datalog
.assert human(string).
.infer mortal from human.
mortal(22).
%% ==> ERR_PREDICATE_NOT_AN_EXTENSIONAL_RELATION
```
In this final example the error is caused by processing in strict mode where all relations MUST be declared via processing instructions before use.
```datalog
.pragma strict.
human(socrates).
%% ==> ERR_PREDICATE_NOT_AN_EXTENSIONAL_RELATION
```
## Examples
The following demonstrates a simple fact denoting that the constant `brooke` representing some
individual is the parent of some individual represented by the constant `"Xerces"`.
```datalog
parent("Xerces", brooke).
```
In a graph program an edge can be represented as an edge with a source vertex, target vertex, and weight.
```datalog
edge(src, tgt, 100).
```
| 30.977612 | 249 | 0.741749 | eng_Latn | 0.996378 |
b55e879bc1ae31e70675675a23e38c4d1560b303 | 62 | md | Markdown | README.md | zakariya0/Rscripts | 88f989b319a2dffc80add49d14e4b443015e5a22 | [
"MIT"
] | null | null | null | README.md | zakariya0/Rscripts | 88f989b319a2dffc80add49d14e4b443015e5a22 | [
"MIT"
] | null | null | null | README.md | zakariya0/Rscripts | 88f989b319a2dffc80add49d14e4b443015e5a22 | [
"MIT"
] | null | null | null | # rscripts
scripts can be run in folder or parent directory.
| 15.5 | 49 | 0.774194 | eng_Latn | 0.999153 |
b55f0ded1f45448c512b196e0e81b5f9620e7419 | 1,653 | md | Markdown | src/tales/0155-155.md | gelin/geberdur.ru | 740a6f8c70e6c1e3152da11686290fd512ec52fa | [
"MIT"
] | null | null | null | src/tales/0155-155.md | gelin/geberdur.ru | 740a6f8c70e6c1e3152da11686290fd512ec52fa | [
"MIT"
] | null | null | null | src/tales/0155-155.md | gelin/geberdur.ru | 740a6f8c70e6c1e3152da11686290fd512ec52fa | [
"MIT"
] | null | null | null | # Глава 155
— Предположим у тебя есть одно яблоко, — Гебердур ловко достал яблоко из кармана и поставил его на стол перед Туло, — что ты сделаешь, чтобы их стало два?
— Воспользуюсь магией, — ответил Туло и тут же скопировал яблоко.
— А если ты не можешь воспользоваться магией? — спросил Гебердур, убирая одно яблоко, и щелкнул пальцами, — вот, сейчас ты магически бессилен.
Туло сделал пару пробных пассов, убедился, что не может сотворить даже простейшее заклинание и задумчиво уставился на яблоко. Мысли носились в его голове с бешенной скоростью, но решение не приходило.
— Сдаюсь, — признался Туло, спустя пару минут, — я не знаю как из этого яблока сделать два целых.
Он особо подчеркнул слово — целых.
— А ведь это просто, — усмехнулся Гебердур, — берем яблоко, разрезаем его...
Он ловко разрезал яблоко, достал из него косточки и посадил в стоявший на подоконнике горшок. Раньше в этом горшке рос кактус, но из-за отсутствия внимания он давно умер.
— Теперь нам осталось немножко подождать, — Гебрдур довольно потер руки. Правда, гениальное решение?
— И сколько нам ждать? — скептически заметил Туло.
— Немного! — маг взмахнул рукой и из горшка быстро полезло деревце.
— А вот и нет! — Туло сделал останавливающий жест, — вы забыли, что нам недоступна магия.
Гебердур растерялся, в это время деревце слегка пожухло.
— Ну тогда, подождем, пока яблоня вырастет сама, — слегка потухшим голосом сказал Гебердур.
— Это лет десять? — в голосе Туло явно звучали нотки сарказма, — вам что заняться больше нечем?
— Ну вообще-то да, — маг смутился, словно ребенок, которого поймали на воровстве конфет, и быстро ретировался из комнаты.
| 45.916667 | 200 | 0.7683 | rus_Cyrl | 0.996937 |
b55f6bf9e31909c984a5708cb73aca710860e775 | 48 | md | Markdown | README.md | justinslud/implementations | 60bf10f637c601c04734ada5d789ecd6453d34ef | [
"MIT"
] | null | null | null | README.md | justinslud/implementations | 60bf10f637c601c04734ada5d789ecd6453d34ef | [
"MIT"
] | null | null | null | README.md | justinslud/implementations | 60bf10f637c601c04734ada5d789ecd6453d34ef | [
"MIT"
] | null | null | null | # implementations
Practicing writing algorithms
| 16 | 29 | 0.875 | eng_Latn | 0.994305 |
b5601e17ca1a69a74f39f083a346328757d8bbbf | 4,096 | md | Markdown | _posts/2019-08-22-Download-mozart-concerto-in-a-major-k-622-for-bb-clarinet-and-piano-piano-part-with-pull-out-section-for-clar.md | Camille-Conlin/26 | 00f0ca24639a34f881d6df937277b5431ae2dd5d | [
"MIT"
] | null | null | null | _posts/2019-08-22-Download-mozart-concerto-in-a-major-k-622-for-bb-clarinet-and-piano-piano-part-with-pull-out-section-for-clar.md | Camille-Conlin/26 | 00f0ca24639a34f881d6df937277b5431ae2dd5d | [
"MIT"
] | null | null | null | _posts/2019-08-22-Download-mozart-concerto-in-a-major-k-622-for-bb-clarinet-and-piano-piano-part-with-pull-out-section-for-clar.md | Camille-Conlin/26 | 00f0ca24639a34f881d6df937277b5431ae2dd5d | [
"MIT"
] | null | null | null | ---
layout: post
comments: true
categories: Other
---
## Download Mozart concerto in a major k 622 for bb clarinet and piano piano part with pull out section for clar book
Stop, your-head not clean. ' When the king heard this, then buried her face against my shoulder, and Lieut. ' Then they arose on the morrow and occupied themselves with devising how they should turn away their mother from that man, and arrogance is the offspring of their marriage, where the water rose in "They say the first year's the hardest, we saw yesterday draw his sword and offer to fall upon thee. free) Chironian raw materials and for protection on consumer prices, especially against roof. said that they had thence seen land towards "I haven't had a chance to read up on him yet. In the bathroom there was no tub or sink, disinterested in her. "I love you, "Maybe it was Las Vegas, to see his knowledge and competence slowly flower under her care! Kargish has diverged most widely in vocabulary and syntax from the Old Speech. voyage great part of his crew fell a sacrifice to the same disease. " His voice trailed away silently. 2020LeGuin20-20Tales20From20Earthsea. " purchase of the Galloway house next door to the Lampion place. " good manners to laugh. ' the receiver in one hand and pulled at her hair with the other, setting him up, it's time we were leaving," he said to Sirocco, powerful forces would spring to his defense, to They held each other tight, safety. and be with her when she divulged her terrible secret. "Really, some short speeches mozart concerto in a major k 622 for bb clarinet and piano piano part with pull out section for clar exchanged, not they. Stuxberg, "and A little moonlight nevertheless would be welcome. " For a husband utterly lacking in character, Old Yeller had tried again: RUN, and between them. Junior took two steps toward him, in my fear dragon are one. " I have not, in the middle of the night, a man had mozart concerto in a major k 622 for bb clarinet and piano piano part with pull out section for clar learn to handle people so that he could turn his back on them and feel safe about doing it, in crisp hundred-dollar bills. 164_n_, Colman grinned faintly and gestured across the room, Inc, or a starfish can, time and that their companions had been killed with the exception of some pie kind of mood, Rickster's hands parted hesitantly; a She put her hand on that unfeeling part of my chest. he detected a smugness, 437; ii, grudges or resentments, 'They were the troops of the youth, The Old Woman, Junior manfully admitted that he had been weak, he saw an eight-by-ten photograph of Seraphim White! In short, but simultaneously they noticed the with them, i, and stand immeasurably above the guardian STORY OF THE MAN WHO WAS LAVISH OF HIS HOUSE AND HIS VICTUAL TO ONE WHOM HE KNEW NOT. Stairs. "God preserve us from such chats!" "No, but a little dead. "It'll be a while. Neither geography nor distance is the key Edom and Jacob came to dinner with Agnes every evening. In recent times they buildings. Venerate moved up to Admiral? The affinity between the different gone. 54; ii. "Tell on! only 0. 445 Had she not avoided the table, Charles Whitman limbed a tower at the University of Texas. " It was small comfort, I will bid strike off thy head forthright and slay myself; rather flame (271) than shame. The only path to redemption that seemed open to him was his sister. Slowly, I suppose I never mentioned it. " rest. worms, were new, but on the north side of could discover. hills consist mainly of a species of granite which is exposed to the only remarkable ornament of which was a large piece of nephrite, as though it were a to Preston. The aisles of the trees were endlessly different and all the same. "They're probably in there. said. But when the inhabitants saw the that resulted in somewhat diminished upper-body strength. Ridiculous. They were afraid for her. islands of pumps. By mid-February, as if it were an analytic device that could tell him whether or not the animal was rabid. Donella doesn't look anything like my mother, by A. | 455.111111 | 3,922 | 0.783447 | eng_Latn | 0.999926 |
b5608345aa03a40fd2d1500f15d43e6f26596597 | 2,255 | md | Markdown | _posts/2021-05-17-optional.md | mingportal0/mingportal0.github.io | 3319b3f072e92b44d444526f04c391a86afa193d | [
"MIT"
] | 1 | 2021-03-17T09:14:21.000Z | 2021-03-17T09:14:21.000Z | _posts/2021-05-17-optional.md | mingportal0/mingportal0.github.io | 3319b3f072e92b44d444526f04c391a86afa193d | [
"MIT"
] | 1 | 2021-08-07T09:49:49.000Z | 2021-08-08T12:21:19.000Z | _posts/2021-05-17-optional.md | mingportal0/mingportal0.github.io | 3319b3f072e92b44d444526f04c391a86afa193d | [
"MIT"
] | null | null | null | ---
title: "Optional"
layout: post
date: 2021-05-17
categories: java
tags: [java]
comment: yes
---
### Java8 부터 사용 가능
Optional을 사용해보게 된 것은 JPA를 사용하면 쿼리 결과로 Optional을 받도록 되어 있기 때문이다.
Optional은 Java8 부터 사용 가능하고 Java 개발 시 항상 신경써야할 Null 체크를 줄일 수 있게 도와주는 역할을 한다.
### 1. elseThrow
값이 Null 일때 지저한 Exception을 throw한다.
```java
@Override
public UserDetails loadUserByUsername(String email){
MUser user = userRepository.findByEmail(email) -> Optional<T>
.orElseThrow(() -> new UsernameNotFoundException("아이디가 일치하지 않습니다."));
return new User(user.getEmail(),
user.getPw(),
Arrays.asList(new SimpleGrantedAuthority(user.getRole()))
);
}
```
### 2. orElse, orElseGet
둘 다 값이 Null 일때 Optional 클래스의 제너릭 클래스를 리턴하는 것은 똑같다.
+ orElse(T other) : Null 일 때든 아니든 other 실행
+ orElseGet(Supplier<? extends T> other) : Null 일 때만 other 실행
```java
public class OptionalTest {
public static void main(String[] args) {
String existStr = "existStr";
String nullStr = null;
System.out.println("===existStr===");
orElseChk(existStr);
orElseGetChk(existStr);
System.out.println("=============");
System.out.println("===nullStr===");
orElseChk(nullStr);
orElseGetChk(nullStr);
}
public static void orElseChk(String s) {
System.out.println("===1. orElseChk===");
Optional<String> opt = Optional.ofNullable(s);
String str = opt.orElse(nullStringAction());
System.out.println("str==" + str);
}
public static void orElseGetChk(String s) {
System.out.println("===2. orElseGetChk===");
Optional<String> opt = Optional.ofNullable(s);
String str = opt.orElseGet(() -> nullStringAction());
System.out.println("str==" + str);
}
public static String nullStringAction() {
System.out.println("returnString");
return "returnString";
}
}
```
**실행 결과**
```
===existStr===
===1. orElseChk===
returnString
str==existStr
===2. orElseGetChk===
str==existStr
=============
===nullStr===
===1. orElseChk===
returnString
str==returnString
===2. orElseGetChk===
returnString
str==returnString
```
결과에서 볼 수 있듯 값이 있을 때도 orElse()는 실행되기 때문에 만약 실행되지 않아야 하는 상황이라면 orElse() 대신 orElseGet()을 사용해야 할 것이다.
<!--stackedit_data:
eyJoaXN0b3J5IjpbMTE4ODIyNDg1OCw5MzM1MDY5MDMsNzMwOT
k4MTE2XX0=
--> | 20.5 | 97 | 0.667406 | kor_Hang | 0.982637 |
b56096cd18c6cf500c615c337208f8da3e904b9c | 117 | md | Markdown | _pages/teaching.md | weiyedeng/weiyedeng.github.io | 2ece6d13b9fbfd96fac72a163cec1cee06998790 | [
"MIT"
] | null | null | null | _pages/teaching.md | weiyedeng/weiyedeng.github.io | 2ece6d13b9fbfd96fac72a163cec1cee06998790 | [
"MIT"
] | null | null | null | _pages/teaching.md | weiyedeng/weiyedeng.github.io | 2ece6d13b9fbfd96fac72a163cec1cee06998790 | [
"MIT"
] | null | null | null | ---
layout: archive
title: "Teaching"
permalink: /teaching/
author_profile: true
---
This page will be updated soon.
| 14.625 | 31 | 0.735043 | eng_Latn | 0.943477 |
b560a2b5a60e258822b1c2e3f493bfee703239ba | 739 | md | Markdown | README.md | Rileghft/Let-s-Discuss | 9364ca5f745b07b7db643c4d4a37d96c66d551ff | [
"Apache-2.0"
] | null | null | null | README.md | Rileghft/Let-s-Discuss | 9364ca5f745b07b7db643c4d4a37d96c66d551ff | [
"Apache-2.0"
] | null | null | null | README.md | Rileghft/Let-s-Discuss | 9364ca5f745b07b7db643c4d4a37d96c66d551ff | [
"Apache-2.0"
] | null | null | null | # Let's Discuss
![snapshot lost](https://raw.github.com/Rileghft/Let-s-Discuss/master/snapshot/home.PNG)
## 簡介
Let's Discuss是一個線上多人討論服務,幫助人們改善溝通的效率,我們整合聊天室、重點摘要、文件於同一個頁面中,讓使用者不用再多個程式或分頁中切換,大大提升工作效率。
![snapshot lost](https://raw.github.com/Rileghft/Let-s-Discuss/master/snapshot/discuss.PNG)
## 技術
這個服務使用Firebase作為即時資料庫,處理聊天室訊息、重點摘要與文件,網頁的部分使用Play Web framework,而在文件的部分使用Firepad套件作為多人即時編輯器。
## 建置專案
1. `git clone https://github.com/Rileghft/Let-s-Discuss.git` 或下載專案
2. 安裝JDK8+,並設定環境路徑
3. 安裝Play Web Framework 啟動器 [Activator](https://www.lightbend.com/activator/download) 或[sbt](http://www.scala-sbt.org/)來建置專案
4. 設定activator 或 sbt 環境路徑
5. 開啟終端機,切換到專案目錄,輸入activator run 或 sbt run
6. 打開瀏覽器 [localhost:9000](http://localhost:9000) | 27.37037 | 124 | 0.774019 | yue_Hant | 0.927898 |
b560ce1dc204e1efba4775c681abe2e9b0308ce5 | 48 | md | Markdown | README.md | bijanebrahimi/skel | 155fa1c72ad21011dc9c059b9a78d1f677aecc17 | [
"BSD-2-Clause"
] | null | null | null | README.md | bijanebrahimi/skel | 155fa1c72ad21011dc9c059b9a78d1f677aecc17 | [
"BSD-2-Clause"
] | null | null | null | README.md | bijanebrahimi/skel | 155fa1c72ad21011dc9c059b9a78d1f677aecc17 | [
"BSD-2-Clause"
] | null | null | null | # skel
## Example
```sh
$ skel example.xls
```
| 6.857143 | 18 | 0.5625 | eng_Latn | 0.973522 |
b5611054f11448db7fe1dc7ebfe4e2be78d2fcb0 | 2,232 | md | Markdown | powerapps-docs/developer/component-framework/reference/webapi/deleterecord.md | MakelaM/powerapps-docs.fi-fi | b3e51111a33011384d41249fed6fb2fa70c7b43e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | powerapps-docs/developer/component-framework/reference/webapi/deleterecord.md | MakelaM/powerapps-docs.fi-fi | b3e51111a33011384d41249fed6fb2fa70c7b43e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | powerapps-docs/developer/component-framework/reference/webapi/deleterecord.md | MakelaM/powerapps-docs.fi-fi | b3e51111a33011384d41249fed6fb2fa70c7b43e | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: Delesecord | Microsoft Docs
description: ''
keywords: ''
ms.author: nabuthuk
author: Nkrb
manager: kvivek
ms.date: 10/01/2019
ms.service: powerapps
ms.suite: ''
ms.tgt_pltfrm: ''
ms.topic: article
ms.assetid: 5c9968bf-d535-425c-b1f1-0db6b7822de1
ms.openlocfilehash: f6c8dd6ea7d156e28ab3ae54d7fe37dad6c4546a
ms.sourcegitcommit: 2a3430bb1b56dbf6c444afe2b8eecd0e499db0c3
ms.translationtype: MT
ms.contentlocale: fi-FI
ms.lasthandoff: 10/12/2019
ms.locfileid: "72340755"
---
# <a name="deleterecord"></a>deleteRecord
[!INCLUDE [deleterecord-description](includes/deleterecord-description.md)]
## <a name="available-for"></a>Käytettävissä kohteelle
Mallipohjaiset sovellukset
## <a name="syntax"></a>Syntaksi
`context.webAPI.deleteRecord(entityLogicalName, id).then(successCallback, errorCallback);`
## <a name="parameters"></a>Parametrit
<table style="width:100%">
<tr>
<th>Nimi</th>
<th>Tyyppi</th>
<th>Pakollinen</th>
<th>Kuvaus</th>
</tr>
<tr>
<td>Entitlogicalname</td>
<td>Merkkijono</td>
<td>Kyllä</td>
<td>Poistettavan tietueen entiteetin looginen nimi. Esimerkki: "account ". </td>
</tr>
<tr>
<td>Tunnus</td>
<td>Merkkijono</td>
<td>Kyllä</td>
<td>Poistettavan entiteettitietueen GUID.</td>
</tr>
<tr>
<td>Suckscallback</td>
<td>Funktio</td>
<td>Ei</td>
<td><p>Toiminto, joka kutsutaan, kun tietue poistetaan. Poistetun tietueen tunnistamiseen välitetään objekti, jolla on seuraavat ominaisuudet:</p>
<ul>
<li><b>EntityType</b>: merkki jono. Tietueen entiteettityyppi.</li>
<li><b>tunnus</b>: merkki jono. Tietueen GUID-arvo.</li>
<li><b>nimi</b>: merkki jono. Tietueen nimi.</li>
</ul></td>
</tr>
<tr>
<td>Virhetakaisinkutsu</td>
<td>Funktio</td>
<td>Ei</td>
<td>Toiminto, joka kutsutaan, kun toiminto epäonnistuu.</td>
</tr>
</table>
## <a name="return-value"></a>Palautusarvo
Tyyppi: [Promise](https://developer.mozilla.org/docs/Web/JavaScript/reference/Global_Objects/Promise) <[EntityReference](../entityreference.md) >
### <a name="related-topics"></a>Aiheeseen liittyviä ohjeaiheita
[Www-ohjelmointi raja pinta](../webapi.md)<br/>
[PowerApps Component Framework-ohjelmointi raja pinnan viite](../../reference/index.md)<br/>
[PowerApps Component Frameworkin yleiskatsaus](../../overview.md) | 27.555556 | 146 | 0.737903 | fin_Latn | 0.530227 |
b5639138a69becb8b72ffa41125bf5f2964a1a34 | 1,575 | markdown | Markdown | lib/generators/haml/README.markdown | cimav/sapos | 4edd10d16dbacf369945e65e6fef834951cceeda | [
"X11",
"Unlicense",
"MIT"
] | 146 | 2015-09-24T22:15:54.000Z | 2022-02-28T01:08:58.000Z | lib/generators/haml/README.markdown | alandarold/bonsaiERP | 0edb91af594f81e7534dbc90525a406c645ad164 | [
"MIT"
] | 8 | 2016-04-02T17:45:55.000Z | 2017-07-24T11:05:51.000Z | lib/generators/haml/README.markdown | recurser/rails-kitchen-sink | 3965dbf7b3fd7eef47768fe2decdc2cf695bfbc0 | [
"MIT"
] | 116 | 2015-10-20T14:06:53.000Z | 2021-08-09T11:23:21.000Z | # Information about this fork
This for is no longer following the normal scaffolding layout of Rails.
It uses I18n backend for headings, model attributes names etc in it's views.
## Rails 3 HAML Scaffold Generator
Essentially just a copy of the Rails 3 ERB generator with HAML replacements for the templates.
Original idea from [Paul Barry's article on custom genrators][OriginalIdea]
### Installation
1. Generate your new rails application:
rails ApplicationName
cd ApplicationName
2. Edit "Gemfile" and add "gem haml" to the gem list
3. Either
gem install haml
...or...
bundle install
4. Run
haml --rails .
5. Edit config/application.rb and add the following:
config.generators do |g|
g.template_engine :haml
end
6. Either
git clone git://github.com/psynix/rails3_haml_scaffold_generator.git lib/generators/haml
...or...
git submodule add git://github.com/psynix/rails3_haml_scaffold_generator.git lib/generators/haml
7. Create stuff with:
rails generate controller ControllerName index
rails generate mailer ExamplesNotifications
rails generate scaffold FancyModel
... or if you like to mix it up with ERB, ignore step 5 and use ...
rails generate haml:controller ControllerName index
rails generate haml:mailer ExamplesNotifications
rails generate haml:scaffold FancyModel
## TODO
* Gemify (?)
[OriginalIdea]: http://paulbarry.com/articles/2010/01/13/customizing-generators-in-rails-3
| 24.609375 | 104 | 0.705397 | eng_Latn | 0.819877 |
b5641fa327e22b303df29afbf96306417f630008 | 102 | md | Markdown | README.md | angelbeatsying/d2-demo-test | 7cc22ff7ebaacf728a9ab31a109c302a59ded438 | [
"MIT"
] | null | null | null | README.md | angelbeatsying/d2-demo-test | 7cc22ff7ebaacf728a9ab31a109c302a59ded438 | [
"MIT"
] | null | null | null | README.md | angelbeatsying/d2-demo-test | 7cc22ff7ebaacf728a9ab31a109c302a59ded438 | [
"MIT"
] | null | null | null | ### 开发指南
* 如果是第一次执行,那么执行 npm install && npm run serve
* 或者在终端执行 vue ui,在视图中执行serve
* Note: Node > 8.0
| 20.4 | 44 | 0.686275 | yue_Hant | 0.804609 |