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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
54d689a4bc99f19bb9e646013b560208cd5af90b | 5,206 | md | Markdown | src/pages/products/index.md | dylanmhowell/rad-rank | 3f95f9eeb929d4cb357f2319d8aee2c65a197ec3 | [
"MIT"
] | null | null | null | src/pages/products/index.md | dylanmhowell/rad-rank | 3f95f9eeb929d4cb357f2319d8aee2c65a197ec3 | [
"MIT"
] | null | null | null | src/pages/products/index.md | dylanmhowell/rad-rank | 3f95f9eeb929d4cb357f2319d8aee2c65a197ec3 | [
"MIT"
] | null | null | null | ---
templateKey: product-page
title: SEO Services
image: /img/achievement-agreement-arms-1068523.jpg
heading: Our Goal
description: >-
Through years of SEO consulting for photographers, we've dialed in a recipe
for long term sucess for our clients. It's based on creating the optimial
ratio of "done for you" services and education. This allows you to skip
learning some more technical techniques, but rather lets you concentrate on
mastering the overal strategies of SEO.
intro:
blurbs:
- image: /img/business-camera-coffee-1509428.jpg
text: >-
The SEO Audit.
Our team tears apart your site, looking for both technical and content
related issues. This is the base of any SEO project. If you don't have a
quality audit, you're essentially flying blind. After the audit, we
don't just turn you loose. We have a re-cap call to go over the report
and make plans to move forward.
- image: /img/adults-analysis-brainstorming-1661004.jpg
text: >-
Audit + Consulting.
This takes the audit to the next level. You get the full audit, plus any
needed services from the a la carte menu. This includes pagespeed
optimization, backlink report, two hours of implementation per month. We
also have five 45 minute strategy calls. This is where we go over the
issues on the site, how we're fixing them, and teach you to market like
an SEO.
- image: /img/blurred-background-coffee-cup-computer-908284.jpg
text: >-
Premium Consulting. The full agency is on your project. You get both
Dylan and Corey's expertice. This includes the same benefits of the
audit + consulting package, but with both of us on the calls and 4 hours
per month of SEO implementation. This package is designed for
competitive markets and larger projects.
- image: /img/cellphone-coffee-desk-860379.jpg
text: >-
A la carte. You're able to buy packages of popular SEO services. This is
great for the more DIY inclined that like a bit of technical help. Our
team prides itself on a quick turn around and quality work.
heading: What we offer
description: >
Kaldi is the ultimate spot for coffee lovers who want to learn about their
java’s origin and support the farmers that grew it. We take coffee
production, roasting and brewing seriously and we’re glad to pass that
knowledge to anyone. This is an edit via identity...
main:
heading: Technical Excellence + Content Marketing Education
description: >-
The winning combo in SEO. A site that sends the best possible signals to
search engines, delights users, and is filled with content that performs. We
can help you build it.
image1:
alt: ''
image: /img/adults-analysis-brainstorming-1661004.jpg
image2:
alt: A green cup of a coffee on a wooden table
image: /img/blurred-background-coffee-cup-computer-908284.jpg
image3:
alt: Coffee beans
image: /img/business-camera-coffee-1509428.jpg
testimonials:
- author: '-Joe '
quote: 'Dylan ranked my site #1 for every keyword in three days! '
- author: Gretta
quote: >-
I had a 45 minute call with Corey and my site went from page 10 to page 1
in the first 12 minutes!
full_image: /img/agenda-analysis-business-990818.jpg
pricing:
heading: Rad SEO Packages
description: >-
We've spent years perfecting these packages to get the most long term
benefit.
plans:
- description: A full SEO audit and recap call to discuss results.
items:
- Google Search Console and Analytics setup
- keyword research
- backlink report
- website and brand audit
- audit dashboard with explanation videos
- and 45 minute recap video.
plan: Audit + Recap
price: '900'
- description: >-
This package is designed to setup a marketing strategy that brings long
term growth. We tackle the technical and have regular calls to refine
the digital marketing techniques for your market.
items:
- Google Search Console and Analytics setup
- keyword research
- backlink report
- website and brand audit
- audit dashboard with explanation videos
- five 45 minute strategy calls
- and two hours of SEO implementation per month
plan: Audit + Consulting
price: '1900'
- description: The package for competitive markets and larger projects.
items:
- Google Search Console and Analytics setup
- keyword research
- backlink report
- website and brand audit
- audit dashboard with explanation videos
- >-
and 5 45 minute strategy calls with both Dylan and Corey. We also do
four hours of SEO implementation per month.
plan: Audit + Premium Consulting
price: '3200'
- description: Want a few tiny batches from different varieties? Try our custom plan
items:
- Whatever you need
- Green or roasted beans
- Unlimited varieties
plan: A La Carte
price: Varies
---
| 41.648 | 88 | 0.685555 | eng_Latn | 0.995879 |
54d6a3df182bcb23fdedc9f6768889c9eccaefe5 | 2,921 | md | Markdown | developer/format/scriptblock-element-for-selectioncondition-for-controls-for-view-format.md | RyanKing77/powerShell-Docs.sv-se | ef71140b9c24055ea5f9413a1bb348572536b941 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | developer/format/scriptblock-element-for-selectioncondition-for-controls-for-view-format.md | RyanKing77/powerShell-Docs.sv-se | ef71140b9c24055ea5f9413a1bb348572536b941 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | developer/format/scriptblock-element-for-selectioncondition-for-controls-for-view-format.md | RyanKing77/powerShell-Docs.sv-se | ef71140b9c24055ea5f9413a1bb348572536b941 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: ScriptBlock Element för SelectionCondition för kontroller för att visa (Format) | Microsoft Docs
ms.custom: ''
ms.date: 09/13/2016
ms.reviewer: ''
ms.suite: ''
ms.tgt_pltfrm: ''
ms.topic: article
ms.assetid: 08512496-5682-4539-ab56-0c5394ce1f01
caps.latest.revision: 6
ms.openlocfilehash: 0137886437f01518f396613c564517e7910e657a
ms.sourcegitcommit: e7445ba8203da304286c591ff513900ad1c244a4
ms.translationtype: MT
ms.contentlocale: sv-SE
ms.lasthandoff: 04/23/2019
ms.locfileid: "62064398"
---
# <a name="scriptblock-element-for-selectioncondition-for-controls-for-view-format"></a>ScriptBlock-element för SelectionCondition för Controls för View (format)
Anger det skript som utlöser villkoret. När det här skriptet ska utvärderas till `true`villkoret uppfylls och definitionen används. Det här elementet används när du definierar kontroller som kan användas av en vy.
Elementet (Format) ViewDefinitions Element (Format) visa Element (Format) kontroller Element (Format) kontroll konfigurationselement för kontroller för att visa (Format) anpassad kontroll Element för kontroll för kontroller för att visa (Format) CustomEntries Element för Anpassad kontroll för kontroller för att visa (Format) CustomEntry Element för CustomEntries för kontroller för att visa (Format) EntrySelectedBy Element för CustomEntry för kontroller för att visa (Format) SelectionCondition Element för EntrySelectedBy för kontroller för att visa ( Format) ScriptBlock Element för SelectionCondition för kontroller för att visa (Format)
## <a name="syntax"></a>Syntax
```xml
<ScriptBlock>ScriptToEvaluate</ScriptBlock>
```
## <a name="attributes-and-elements"></a>Attribut och element
I följande avsnitt beskrivs attribut, underordnade element och det överordnade elementet i den `ScriptBlock` element.
### <a name="attributes"></a>Attribut
Ingen.
### <a name="child-elements"></a>Underordnade element
Ingen.
### <a name="parent-elements"></a>Överordnade element
|Element|Beskrivning|
|-------------|-----------------|
|[SelectionCondition Element för EntrySelectedBy för kontroller för att visa (Format)](./selectioncondition-element-for-entryselectedby-for-controls-for-view-format.md)|Definierar ett villkor som måste finnas för kontrolldefinition som ska användas.|
## <a name="text-value"></a>Textvärde
Ange det skript som ska utvärderas.
## <a name="remarks"></a>Anmärkningar
Urvalsvillkoret måste ange ett minst ett skript eller egenskapen namn för att utvärdera, men kan inte ange båda. Läs mer om hur du kan använda villkor för val av [definiera villkor för att visa Data](./defining-conditions-for-displaying-data.md).
## <a name="see-also"></a>Se även
[SelectionCondition Element för EntrySelectedBy för kontroller för att visa (Format)](./selectioncondition-element-for-entryselectedby-for-controls-for-view-format.md)
[Skriva ett PowerShell formatering fil](./writing-a-powershell-formatting-file.md)
| 47.885246 | 643 | 0.786032 | swe_Latn | 0.967692 |
54d73020daecef30cb58f40eb6530f7f866bccbf | 105 | md | Markdown | _posts/2022-02-05-initial-commit.md | vrziny/vrziny.github.io | 4d39fea26fb85506b615220b8e8f120a4cf649c1 | [
"MIT"
] | null | null | null | _posts/2022-02-05-initial-commit.md | vrziny/vrziny.github.io | 4d39fea26fb85506b615220b8e8f120a4cf649c1 | [
"MIT"
] | null | null | null | _posts/2022-02-05-initial-commit.md | vrziny/vrziny.github.io | 4d39fea26fb85506b615220b8e8f120a4cf649c1 | [
"MIT"
] | null | null | null | ---
layout: single
title: vrziny.github.io 오픈
date: 2022-02-05 23:49 +0900
category: General
---
## 오-픈
| 11.666667 | 28 | 0.666667 | eng_Latn | 0.132591 |
54d834f9fef2dcf81e74b221255088694b9247c1 | 769 | md | Markdown | attic/2020/contributions-2020/essay/davidjo2/README.md | Agriad/devops-course | 380aa43fa69efd71992933f013fb11a96ce16a74 | [
"MIT"
] | null | null | null | attic/2020/contributions-2020/essay/davidjo2/README.md | Agriad/devops-course | 380aa43fa69efd71992933f013fb11a96ce16a74 | [
"MIT"
] | 51 | 2021-04-08T11:39:59.000Z | 2021-05-07T12:01:27.000Z | attic/2020/contributions-2020/essay/davidjo2/README.md | Agriad/devops-course | 380aa43fa69efd71992933f013fb11a96ce16a74 | [
"MIT"
] | null | null | null | # Essay proposal
### Members
David Johansson ([email protected])
### Topic
The essay gives an introduction to the topic of website monitoring in order for the reader to get started on their own. Different key practices to abide by as well as popular monitoring tools are outlined.
### Structure
* Introduction
* Background
* Definition
* DevOps
* Importance
* Practises
* Identifying key performance indicators
* Uptime
* Bounce rate
* Complete page load
* Internal and external monitoring
* Application performance management
* Tools
* Pingdom
* Site24x7
* Fluxguard
* Conclusions
### Resources
* https://www.manageengine.com/products/applications_manager/website-monitoring.html
* https://www.uptrends.com/what-is/website-monitoring
| 24.03125 | 206 | 0.750325 | eng_Latn | 0.720316 |
54d98d9df8786831ea9ecf57abffb343fd6b139b | 8,280 | md | Markdown | tree_model/README.md | lucas0/fnc-1 | 08e5a1204bc1d228729e4bf0c13e2dd0048d4182 | [
"Apache-2.0"
] | 188 | 2017-06-09T18:03:59.000Z | 2022-03-06T20:19:57.000Z | tree_model/README.md | lucas0/fnc-1 | 08e5a1204bc1d228729e4bf0c13e2dd0048d4182 | [
"Apache-2.0"
] | 6 | 2018-06-03T21:31:42.000Z | 2018-08-30T10:45:58.000Z | tree_model/README.md | lucas0/fnc-1 | 08e5a1204bc1d228729e4bf0c13e2dd0048d4182 | [
"Apache-2.0"
] | 96 | 2017-06-14T17:23:53.000Z | 2022-02-07T08:23:33.000Z | <p align="center">
<img src="https://github.com/Cisco-Talos/fnc-1/blob/master/images/solat-in-the-swen.gif" alt="TALOS IN THE NEWS"/>
</p>
# SOLAT IN THE SWEN - tree\_model
## Overview
This model takes as input a few text-based features derived from the headline and body of an article. Then it feeds the features into Gradient Boosted Trees to predict the relation between the headline and the body (`agree`/`disagree`/`discuss`/`unrelated`)
<p align="center">
<img src="https://github.com/Cisco-Talos/fnc-1/blob/master/images/diagrams_light/tree_model_light.png" alt="Tree Model Diagram"/>
</p>
## Feature Engineering
**1. Preprocessing (`generateFeatures.py`)**
The labels (`agree`, `disagree`, `discuss`, `unrelated`) are encoded into numeric target values as (`0`, `1`, `2`, `3`). The text of headline and body are then tokenized and stemmed (by `preprocess_data()` in `helpers.py`). Finally Uni-grams, bi-grams and tri-grams are created out of the list of tokens. These grams and the original text are used by the following feature extractor modules.
**2. Basic Count Features (`CountFeatureGenerator.py`)**
This module takes the uni-grams, bi-grams and tri-grams and creates various counts and ratios which could potentially signify how a body text is related to a headline. Specifically, it counts how many times a gram appears in the headline, how many unique grams there are in the headline, and the ratio between the two. The same statistics are computed for the body text, too. It then calculates how many grams in the headline also appear in the body text, and a normalized version of this overlapping count by the number of grams in the headline. The results are saved in the pickle file which will be read back in by the classifier.
**3. [TF-IDF](https://en.wikipedia.org/wiki/Tf–idf) Features (`TfidfFeatureGenerator.py`)**
This module constructs sparse vector representations of the headline and body by calculating the Term-Frequency of each gram and normalize it by its Inverse-Document Frequency. First off a `TfidfVectorizer` is fit to the concatenations of headline and body text to obtain the vocabulary. Then using the same vocabulary it separately fits and transforms the headline grams and body grams into sparse vectors. It also calculates the cosine similarity between the headline vector and the body vector.
**4. SVD Features (`SvdFeatureGenerator.py`)**
This module takes the TF-IDF features and applies Singular-Value Decomposition to them to obtain a compact, dense vector representation of the headline and body respectively. This procedure is [well known](https://en.wikipedia.org/wiki/Latent_semantic_analysis) and corresponds to finding the latent `topics` involved in the corpus and represent each headline/body text as a mixture of these `topics`. The cosine similarities between the SVD features of headline and body text are also computed. This similarity metric is very indicative of whether the body is related to the headline or not.
**5. Word2Vec Features (`Word2VecFeatureGenerator.py`)**
This module utilizes the pre-trained [word vectors](https://arxiv.org/abs/1301.3781) from public sources, add them up to build vector representations of the headline and body. The word vectors were trained on a Google News corpus with 100 billion words and a vocabulary size of 3 million. The resulting word vectors can be used to find synonyms, predict the next word given the previous words, or to manipulate semantics. For example, when you calculate `vector(Germany) - Vector(Berlin) + Vector(England)` you will obtain a vector that is very close to `Vector(London)`. For the current problem constructing the vector representation out of word vectors could potentially overcome the ambiguities introduced by the fact that headline and body may use synonyms instead of exact words.
**6. Sentiment Features (`SentimentFeatureGenerator.py`)**
This modules uses the Sentiment Analyzer in the `NLTK` package to assign a sentiment polarity score to the headline and body separately. For example, negative score means the text shows a negative opinion of something. This score can be informative of whether the body is being positive about a subject while the headline is being negative. But it does not indicate whether it's the same subject that appears in the body and headline; however, this piece of information should be preserved in other features.
## Classifier Construction (xgb\_train\_cvBodyId.py)
The classifier used in this model is [Gradient Boosted Trees](https://en.wikipedia.org/wiki/Gradient_boosting). A very efficient implementation of GBDT is [XGBoost](http://xgboost.readthedocs.io/en/latest/). 10-fold cross-validation is used to estimate the performance of this model.
## Library Dependencies
* Python 2.7
* Scipy Stack (`numpy`, `scipy` and `pandas`)
* [scikit-learn](http://scikit-learn.org/stable/)
* [XGBoost](http://xgboost.readthedocs.io/en/latest/)
* [gensim (for word2vec)](https://radimrehurek.com/gensim/)
* [NLTK (python NLP library)](http://www.nltk.org)
## Procedure
**1. Install all the dependencies**
**2.`git clone https://github.com/Cisco-Talos/fnc-1.git`**
**3. Download the `word2vec` [model](https://drive.google.com/file/d/0B7XkCwpI5KDYNlNUTTlSS21pQmM/) trained on Google News corpus. The file `GoogleNews-vectors-negative300.bin` has to be present in both `/deep_learning_model` and `/tree_model`.**
**4. Generate predictions from the `deep_learning_model` by running `/deep_learning_model/clf.py`. This output is represented by `dosiblOutputFinal.csv`, renamed as `deepoutput.csv` in our directories.**
**5. Run `generateFeatures.py` to produce all the feature files (`train_stances_processed.csv` and `test_stances_processed.csv` are the (encoding-wise) cleaned-up version of the orginal csv files, same as the updated files in the orginal [FNC-1 GitHub](https://github.com/FakeNewsChallenge/fnc-1)). The following files will be generated:**
```
data.pkl
test.basic.pkl
test.body.senti.pkl
test.body.svd.pkl
test.body.tfidf.pkl
test.body.word2vec.pkl
test.headline.senti.pkl
test.headline.svd.pkl
test.headline.tfidf.pkl
test.headline.word2vec.pkl
test.sim.svd.pkl
test.sim.tfidf.pkl
test.sim.word2vec.pkl
train.basic.pkl
train.body.senti.pkl
train.body.svd.pkl
train.body.tfidf.pkl
train.body.word2vec.pkl
train.headline.senti.pkl
train.headline.svd.pkl
train.headline.tfidf.pkl
train.headline.word2vec.pkl
train.sim.svd.pkl
train.sim.tfidf.pkl
train.sim.word2vec.pkl
```
**6. Comment out line 121 in `TfidfFeatureGenerator.py`, then uncomment line 122 in the same file. Raw TF-IDF vectors are needed by `SvdFeatureGenerator.py` during feature generation, but only the similarities are needed for training.**
**7. Run `xgb_train_cvBodyId.py` to train and make predictions on the test set. Output file is `predtest_cor2.csv` (for model averaging)**
**8. Run `average.py` to computed the weighted average of this tree model and the CNN model from Doug Sibley (`deepoutput.csv`). The final output file is `averaged_2models_cor4.csv`, which is the final submission of our team.**
The `run()` function in `average.py` is used to find the optimal weights when combining the models. Uncomment line 164 and 165 to call this function. It needs the probabilities predictions from both the deep learning (`dosiblOutput.csv`) and tree models (`predtest_cor2.csv`) on the holdout set of the official split. This step is not necessary, as we have decided that the weights we were going to use is 0.5 and 0.5
All the output files are also stored under `./results/` and all parameters are hard-coded.
## Questions?
Contact Yuxi Pan (`[email protected]`) for bugs and questions.
<!--
Copyright 2017 Cisco Systems, Inc.
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.
-->
| 70.169492 | 784 | 0.777295 | eng_Latn | 0.989899 |
54dae14dfec87ca41beb44f162494a01f556a914 | 2,347 | md | Markdown | content/publication/sprouse-schutze-almeida-2013/index.md | diogo-almeida/professional_website | cf3ba187faa87e8e9b82a0e34246815b839459a7 | [
"MIT"
] | null | null | null | content/publication/sprouse-schutze-almeida-2013/index.md | diogo-almeida/professional_website | cf3ba187faa87e8e9b82a0e34246815b839459a7 | [
"MIT"
] | null | null | null | content/publication/sprouse-schutze-almeida-2013/index.md | diogo-almeida/professional_website | cf3ba187faa87e8e9b82a0e34246815b839459a7 | [
"MIT"
] | null | null | null | ---
title: "A comparison of informal and formal acceptability judgments using a random sample from Linguistic Inquiry 2001-2010"
date: 2013-01-01T00:00:00Z
authors:
- Jon Sprouse
- Carson Schütze
- admin
doi: 10.1016/j.lingua.2013.07.002
draft: false
# Publication type.
# Legend: 0 = Uncategorized; 1 = Conference paper; 2 = Journal article;
# 3 = Preprint / Working Paper; 4 = Report; 5 = Book; 6 = Book section;
# 7 = Thesis; 8 = Patent
publication_types: ["2"]
# Publication name and optional abbreviated version.
publication: "Lingua"
publication_short: "*Lingua*"
abstract: "The goal of the present study is to provide a direct comparison of the results of informal judgment collection methods with the results of formal judgment collection methods, as a first step in understanding the relative merits of each family of methods. Although previous studies have compared small samples of informal and formal results, this article presents the first large-scale comparison based on a random sample of phenomena from a leading theoretical journal (_Linguistic Inquiry_). We tested 296 data points from the approximately 1743 English data points that were published in _Linguistic Inquiry_ between 2001 and 2010. We tested this sample with 936 naïve participants using three formal judgment tasks (magnitude estimation, 7-point Likert scale, and two-alternative forced-choice) and report five statistical analyses. The results suggest a convergence rate of 95% between informal and formal methods, with a margin of error of 5.3-5.8%. We discuss the implications of this convergence rate for the ongoing conversation about judgment collection methods, and lay out a set of questions for future research into syntactic methodology."
projects:
- experimental-syntax
tags:
- Acceptability Judgments
- Grammaticality Judgments
- Experimental Syntax
- Methodology
# Links (optional).
links:
- name: Materials
url: https://sprouse.uconn.edu/data/Lingua2013/SSA.Materials.xlsx
- name: Appendix B
url: https://sprouse.uconn.edu/papers/SSA.AppendixB.pdf
- name: Table Corrigenda
url: https://sprouse.uconn.edu/papers/SSA.Table.Corrigenda.pdf
url_pdf: "https://drive.google.com/open?id=0B36GYIWWvWmTd2sxUkZwWGpNRkk"
url_preprint: "http://ling.auf.net/lingbuzz/001352"
url_dataset: "https://sprouse.uconn.edu/data/Lingua2013/SSA.data.zip"
---
| 51.021739 | 1,162 | 0.789092 | eng_Latn | 0.949563 |
54db71cc05e94a6dc6bdf7b4f67e2d7bcbc59887 | 257 | md | Markdown | CHANGELOG.md | mhmdomer/laravel-snippets | 7891e41d0b473bd1d2541639036897186447ba9b | [
"MIT"
] | 6 | 2020-09-16T19:10:20.000Z | 2020-09-21T11:26:29.000Z | CHANGELOG.md | m7md3omer/laravel-snippets | 7891e41d0b473bd1d2541639036897186447ba9b | [
"MIT"
] | null | null | null | CHANGELOG.md | m7md3omer/laravel-snippets | 7891e41d0b473bd1d2541639036897186447ba9b | [
"MIT"
] | 1 | 2021-08-03T11:42:21.000Z | 2021-08-03T11:42:21.000Z | # Change Log
## [1.0.0]
- Initial release
### [1.0.1]
- Added more snippets and fixed some bugs
## [1.1.0]
- Added test functions and classes snippets
### [1.1.2]
- applied standard code formatting for php
- added gif and images to extension details | 14.277778 | 43 | 0.677043 | eng_Latn | 0.992078 |
54dbc4e198d81338663334d60c0d44515e9c56b3 | 3,692 | md | Markdown | _glpi/Get-GlpiToolsDropdownsPduModels.md | wpietrzakpl/wpietrzak.pl | 6c7dec57568857284671268b7b9ec658caa6a13b | [
"MIT"
] | null | null | null | _glpi/Get-GlpiToolsDropdownsPduModels.md | wpietrzakpl/wpietrzak.pl | 6c7dec57568857284671268b7b9ec658caa6a13b | [
"MIT"
] | 2 | 2021-01-06T18:50:39.000Z | 2021-01-06T18:52:35.000Z | _glpi/Get-GlpiToolsDropdownsPduModels.md | wpietrzakpl/wpietrzak.pl | 6c7dec57568857284671268b7b9ec658caa6a13b | [
"MIT"
] | 1 | 2021-05-03T10:35:39.000Z | 2021-05-03T10:35:39.000Z | ---
title: Get-GlpiToolsDropdownsPduModels
---
## SYNOPSIS
Function is getting Pdu Models informations from GLPI
## SYNTAX
### All
```
Get-GlpiToolsDropdownsPduModels [-All] [<CommonParameters>]
```
### PduModelId
```
Get-GlpiToolsDropdownsPduModels -PduModelId <String[]> [-Raw] [<CommonParameters>]
```
### PduModelName
```
Get-GlpiToolsDropdownsPduModels -PduModelName <String> [<CommonParameters>]
```
## DESCRIPTION
Function is based on PduModelId which you can find in GLPI website
Returns object with property's of Pdu Models
## EXAMPLES
### EXAMPLE 1
```
Get-GlpiToolsDropdownsPduModels -All
```
Example will return all Pdu Models from Glpi
### EXAMPLE 2
```
326 | Get-GlpiToolsDropdownsPduModels
```
Function gets PduModelId from GLPI from Pipline, and return Pdu Models object
### EXAMPLE 3
```
326, 321 | Get-GlpiToolsDropdownsPduModels
```
Function gets PduModelId from GLPI from Pipline (u can pass many ID's like that), and return Pdu Models object
### EXAMPLE 4
```
Get-GlpiToolsDropdownsPduModels -PduModelId 326
```
Function gets PduModelId from GLPI which is provided through -PduModelId after Function type, and return Pdu Models object
### EXAMPLE 5
```
Get-GlpiToolsDropdownsPduModels -PduModelId 326, 321
```
Function gets Pdu Models Id from GLPI which is provided through -PduModelId keyword after Function type (u can provide many ID's like that), and return Pdu Models object
### EXAMPLE 6
```
Get-GlpiToolsDropdownsPduModels -PduModelName Fusion
```
Example will return glpi Pdu Models, but what is the most important, Pdu Models will be shown exactly as you see in glpi dropdown Pdu Models.
If you want to add parameter, you have to modify "default items to show".
This is the "key/tool" icon near search.
## PARAMETERS
### -All
This parameter will return all Pdu Models from GLPI
```yaml
Type: SwitchParameter
Parameter Sets: All
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```
### -PduModelId
This parameter can take pipline input, either, you can use this function with -PduModelId keyword.
Provide to this param PduModelId from GLPI Pdu Models Bookmark
```yaml
Type: String[]
Parameter Sets: PduModelId
Aliases: PMID
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
### -Raw
Parameter which you can use with PduModelId Parameter.
PduModelId has converted parameters from default, parameter Raw allows not convert this parameters.
```yaml
Type: SwitchParameter
Parameter Sets: PduModelId
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```
### -PduModelName
This parameter can take pipline input, either, you can use this function with -PduModelId keyword.
Provide to this param Pdu Models Name from GLPI Pdu Models Bookmark
```yaml
Type: String
Parameter Sets: PduModelName
Aliases: PMN
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
## INPUTS
### Pdu Models ID which you can find in GLPI, or use this Function to convert ID returned from other Functions
## OUTPUTS
### Function returns PSCustomObject with property's of Pdu Models from GLPI
## NOTES
PSP 09/2019
## RELATED LINKS
| 24.130719 | 315 | 0.770585 | eng_Latn | 0.59626 |
54dbdb2513783650104635dd7fd43fd7beaa0191 | 1,308 | md | Markdown | docs/error-messages/compiler-errors-2/compiler-error-c3887.md | OpenLocalizationTestOrg/cpp-docs.it-it | 05d8d2dcc95498d856f8456e951d801011fe23d1 | [
"CC-BY-4.0"
] | 1 | 2020-05-21T13:09:13.000Z | 2020-05-21T13:09:13.000Z | docs/error-messages/compiler-errors-2/compiler-error-c3887.md | OpenLocalizationTestOrg/cpp-docs.it-it | 05d8d2dcc95498d856f8456e951d801011fe23d1 | [
"CC-BY-4.0"
] | null | null | null | docs/error-messages/compiler-errors-2/compiler-error-c3887.md | OpenLocalizationTestOrg/cpp-docs.it-it | 05d8d2dcc95498d856f8456e951d801011fe23d1 | [
"CC-BY-4.0"
] | null | null | null | ---
title: Compiler Error C3887 | Microsoft Docs
ms.custom:
ms.date: 11/04/2016
ms.reviewer:
ms.suite:
ms.technology:
- devlang-cpp
ms.tgt_pltfrm:
ms.topic: error-reference
f1_keywords:
- C3887
dev_langs:
- C++
helpviewer_keywords:
- C3887
ms.assetid: a7e82426-ef99-437b-9562-2822004e18fe
caps.latest.revision: 7
author: corob-msft
ms.author: corob
manager: ghogen
translation.priority.ht:
- cs-cz
- de-de
- es-es
- fr-fr
- it-it
- ja-jp
- ko-kr
- pl-pl
- pt-br
- ru-ru
- tr-tr
- zh-cn
- zh-tw
translationtype: Human Translation
ms.sourcegitcommit: 3168772cbb7e8127523bc2fc2da5cc9b4f59beb8
ms.openlocfilehash: 8df8538a22575dd1ba938bd404f82892a5a60775
---
# Compiler Error C3887
'var' : the initializer for a literal data member must be a constant expression
A [literal](../../windows/literal-cpp-component-extensions.md) data member can only be initialized with a constant expresion.
The following sample generates C3887:
```
// C3887.cpp
// compile with: /clr
ref struct Y1 {
static int i = 9;
literal
int staticConst = i; // C3887
};
```
Possible resolution:
```
// C3887b.cpp
// compile with: /clr /c
ref struct Y1 {
literal
int staticConst = 9;
};
```
<!--HONumber=Jan17_HO2-->
| 17.917808 | 128 | 0.667431 | eng_Latn | 0.419489 |
54dcdebd9744c6cf0877c0e454fd9fb771a59511 | 76 | md | Markdown | vendor/fisdap/members-api/packages/fisdap/logging/README.md | shilpabharamanaik/shilpazend3Fisdap | 6e71aa208220a5256914889ead3c4f60179d4ca5 | [
"BSD-3-Clause"
] | null | null | null | vendor/fisdap/members-api/packages/fisdap/logging/README.md | shilpabharamanaik/shilpazend3Fisdap | 6e71aa208220a5256914889ead3c4f60179d4ca5 | [
"BSD-3-Clause"
] | null | null | null | vendor/fisdap/members-api/packages/fisdap/logging/README.md | shilpabharamanaik/shilpazend3Fisdap | 6e71aa208220a5256914889ead3c4f60179d4ca5 | [
"BSD-3-Clause"
] | null | null | null | # Logging #
A library of utilities for application event logs and debugging | 25.333333 | 63 | 0.802632 | eng_Latn | 0.993298 |
54dfc6686b620dbe01950dd9e6267c9f51e3ade6 | 289 | md | Markdown | README.md | harshwinds/distributed-filestorage | 104932c988d051e9f673aa49f2ac397d7bc8e214 | [
"MIT"
] | 1 | 2016-09-10T03:00:45.000Z | 2016-09-10T03:00:45.000Z | README.md | harshwinds/distributed-filestorage | 104932c988d051e9f673aa49f2ac397d7bc8e214 | [
"MIT"
] | null | null | null | README.md | harshwinds/distributed-filestorage | 104932c988d051e9f673aa49f2ac397d7bc8e214 | [
"MIT"
] | null | null | null | # distributed-filestorage
Exercise in exploring large file storage in memcached
Created memcached container using:
```
docker run --name memcached -d -p 9001:11211 memcached memcached -m 1000
```
Created test file using:
```
dd if=/dev/urandom of=bigoldfile.dat bs=1048576 count=250
```
| 22.230769 | 72 | 0.761246 | eng_Latn | 0.936528 |
54e07d9b46d347dfc23cbd7af7412413db6c2825 | 28 | md | Markdown | docs/api/index.md | andmayorov/remix | 20997dd1d56722abcfdb6e37e59fc21db8e72a48 | [
"MIT"
] | 14,966 | 2021-11-22T15:33:24.000Z | 2022-03-31T23:43:47.000Z | docs/api/index.md | jenseng/remix | e1e83a824ea707ee01a281c64b8aa31d77ab6fd8 | [
"MIT"
] | 1,536 | 2021-11-22T15:47:43.000Z | 2022-03-31T23:38:39.000Z | docs/api/index.md | jenseng/remix | e1e83a824ea707ee01a281c64b8aa31d77ab6fd8 | [
"MIT"
] | 1,290 | 2021-11-22T15:38:13.000Z | 2022-03-31T12:38:56.000Z | ---
title: API
order: 3
---
| 5.6 | 10 | 0.5 | eng_Latn | 0.742066 |
54e2f28e6b90d1dea1d96edbab640f5fb9e315f0 | 1,754 | md | Markdown | part5/chapter3/6.md | Rae1230/notebook | 0b46ab9edde1a583a791eaf830cb85aa9e352a7d | [
"MIT"
] | null | null | null | part5/chapter3/6.md | Rae1230/notebook | 0b46ab9edde1a583a791eaf830cb85aa9e352a7d | [
"MIT"
] | 1 | 2022-01-13T08:54:48.000Z | 2022-01-13T08:54:48.000Z | part5/chapter3/6.md | Rae1230/notebook | 0b46ab9edde1a583a791eaf830cb85aa9e352a7d | [
"MIT"
] | 1 | 2021-12-17T08:23:17.000Z | 2021-12-17T08:23:17.000Z | ---
sort: 6
---
# Imitation Learning
* 模仿学习又称 learning by demonstration, apprenticeship learning
* 有一个专家展示如何完成任务
* 机器也可以与环境互动,但是无法获得奖励。
* 在有些任务中,很难定义奖励。
* 人工制定的奖励会导致不受控制的行为
* 两种方法:
* Behavior cloning
* Inverse reinforcement learning (inverse optimal control)
## 6.1 Behavior Cloning
  行为克隆其实就是监督学习。
<figure>
<img src="./images/6/6-1.JPG" width=420px>
</figure>
<figure>
<img src="./images/6/6-2.JPG" width=400px>
</figure>
<figure>
<img src="./images/6/6-3.JPG" width=400px>
</figure>
* 主要问题:如果机器的能力有限,它可能会选择错误的行为来复制。
* 有些行为必须复制,但有些可以忽略。
* 监督学习同等对待所有错误
<figure>
<img src="./images/6/6-4.JPG" width=400px>
</figure>
**Mismatch**:
* 在监督学习中,我们期望训练和训练数据有同样的分布
* 在行为克隆中:
* 训练:$$(s,a) \sim \hat{\pi}$$(expert)
 actor采取的动作$$a$$会影响$$s$$的分布
* 测试:$$(s',a') \sim \pi^*$$(actor cloning expert)
 如果$$\hat{\pi} = \pi^*$$,那么$$(s,a)$$和$$(s',a')$$来自同一个分布
 如果$$\hat{\pi}$$和$$\pi^*$$不一样,那么$$s$$和$$s'$$的分布可能会差很多。
## 6.2 Inverse Reinforcement Learning
<figure>
<img src="./images/6/6-5.JPG" width=450px>
</figure>
### 6.2.1 Framework of IRL
<figure>
<img src="./images/6/6-6.JPG" width=450px>
</figure>
### 6.2.2 Third person imitation learning
Bradly C. Stadie, Pieter Abbeel, Ilya Sutskever, “Third-Person Imitation Learning”, arXiv preprint, 2017.
<figure>
<img src="./images/6/6-7.JPG" width=450px>
</figure>
**Recap: Sentence Generation & Chat-bot**
<figure>
<img src="./images/6/6-8.JPG" width=400px>
</figure>
<!-- 蓝 -->
<b><font color="#3399ff"></font></b>
<!-- 绿 --><!-- #33cc00 -->
<b><font color="#00B050"></font></b>
<!-- 橙 -->
<b><font color="#FF4500"></font></b> | 21.654321 | 106 | 0.59122 | kor_Hang | 0.112219 |
54e301a07148ccf431aec0d07c38369ead766ccd | 2,224 | md | Markdown | readme.md | Artifineuro/zole | 8ad612f395a8402c81e5c6d31e8203203ecb4c04 | [
"Apache-2.0"
] | 22 | 2018-07-30T15:09:01.000Z | 2021-06-01T12:26:36.000Z | readme.md | Artifineuro/zole | 8ad612f395a8402c81e5c6d31e8203203ecb4c04 | [
"Apache-2.0"
] | 2 | 2018-08-16T03:04:28.000Z | 2019-04-08T01:27:15.000Z | readme.md | Artifineuro/zole | 8ad612f395a8402c81e5c6d31e8203203ecb4c04 | [
"Apache-2.0"
] | 2 | 2018-08-16T04:39:10.000Z | 2019-12-19T05:00:57.000Z | # Zoom and Learn (ZOLE)
This repo includes the test model of the paper:
["Zoom and Learn: Generalizing Deep Stereo Matching to Novel Domains"](http://openaccess.thecvf.com/content_cvpr_2018/papers/Pang_Zoom_and_Learn_CVPR_2018_paper.pdf) by Jiahao Pang, Wenxiu Sun, Chengxi Yang, Jimmy Ren, Ruichao Xiao, Jin Zeng and Liang Lin.
Please cite our paper if you find this repo useful for your work:
```
@inproceedings{pang2018zoom,
title = {Zoom and Learn: Generalizing Deep Stereo Matching to Novel Domains},
author = {Pang, Jiahao and Sun, Wenxiu and Yang, Chengxi and Ren, Jimmy and Xiao, Ruichao and Zeng, Jin and Lin, Liang},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2018}
}
```
### Prerequisites
- Modified Caffe provided by the [Computer Vision Group](https://lmb.informatik.uni-freiburg.de/), University of Freiburg [link](https://lmb.informatik.uni-freiburg.de/resources/binaries/dispflownet/dispflownet-release-1.2.tar.gz)
- MATLAB (Our scripts has been tested on MATLAB R2015a)
- Download our trained model through this MEGA [link](https://mega.nz/#!Fzxlkbyb!v1RvQf6XnKHfQ_4E1L9hvnlNMOZt7d3dvvdxEXRNOkg) or this Baiduyun [link](https://pan.baidu.com/s/1iMm6aHJOaotYo768LtxMVQ)
### Testing on Real Stereo Pairs
- Compile the modified Caffe and its MATLAB interface (matcaffe).
- Put this repo (with name "zole", for example) in the "dispflownet-release/models" folder.
- Put the downloaded model, "zole.caffemodel", in the "dispflownet-release/models/zole" folder.
- Run the MATLAB script "test_zole.m" to test our trained model. We provide 4 real stereo pairs in this repo for testing.
### Training
We do not provide our training code due to company regulations. Moreover, the model provided in this repo is different from the one for our in-house usage. In other words, it is a model only for demonstration purpose. If you have interests in this work, you may check out the website of [SenseTime](https://www.sensetime.com/?lang=en-us).
### Results
This is what you should see if you have successfully run our demo code, which shows the left image and the corresponding disparity map.

| 65.411765 | 338 | 0.760791 | eng_Latn | 0.975195 |
54e43cacf0a5e11239881669c0a3043443189032 | 22 | md | Markdown | README.md | Incubator-104-frontend/jquery-learning-club | 393f2125b23e71ac44748456b77f766081238f0a | [
"MIT"
] | null | null | null | README.md | Incubator-104-frontend/jquery-learning-club | 393f2125b23e71ac44748456b77f766081238f0a | [
"MIT"
] | null | null | null | README.md | Incubator-104-frontend/jquery-learning-club | 393f2125b23e71ac44748456b77f766081238f0a | [
"MIT"
] | null | null | null | # jquery-learning-club | 22 | 22 | 0.818182 | pol_Latn | 0.731371 |
54e483e2afc0f4b9621e81ad0cb3965b1527a53c | 613 | md | Markdown | README.md | gulzade/kodluyoruzilkrepo | 1db82d7f6ff1ce5951523ea494888a937adb5329 | [
"MIT"
] | null | null | null | README.md | gulzade/kodluyoruzilkrepo | 1db82d7f6ff1ce5951523ea494888a937adb5329 | [
"MIT"
] | null | null | null | README.md | gulzade/kodluyoruzilkrepo | 1db82d7f6ff1ce5951523ea494888a937adb5329 | [
"MIT"
] | null | null | null | # kodluyoruzilkrepo
Kodluyoruz Eğitimi kapsamında açtığım ilk repo
Bu repo [Kodluyoruz](https://www.kodluyoruz.org) Mobil (iOS & Android)d Eğitiminde oluşturduğum ilk repo. İçerisinde bir adet README dosyası, bir adet de index.html barındırıyor.

## Installation
proje clone işlemi
```bash
git clone https://github.com/gulzade/kodluyoruzilkrepo.git
```
## Usage
Projemizi cloneladıktan sonra Visual Studio Code programında açalım
Linux için:
```linux
cd kodluyoruzilkrepo
code .
```
## Contributing
Pull request işlemi
## License
[MIT](https://choosealicense.com/licenses/mit/)
| 19.15625 | 178 | 0.771615 | tur_Latn | 0.992943 |
54e4f596458fd693e4e1b78571ba47610730312b | 4,046 | md | Markdown | notes/1218-Fall2021/6-errorHandling.md | bobbys131/ComputerScienceI | 93e22289e966386f208c477ee319837877bbe62a | [
"CC0-1.0"
] | 68 | 2018-05-14T20:29:13.000Z | 2022-03-19T10:05:16.000Z | notes/1218-Fall2021/6-errorHandling.md | hrithik125/ComputerScienceI | 40be47f15817a50497f6c6f7cdca9ee1db429b00 | [
"CC0-1.0"
] | 8 | 2019-05-11T01:30:55.000Z | 2021-03-02T04:34:10.000Z | notes/1218-Fall2021/6-errorHandling.md | hrithik125/ComputerScienceI | 40be47f15817a50497f6c6f7cdca9ee1db429b00 | [
"CC0-1.0"
] | 204 | 2018-10-17T18:35:28.000Z | 2022-03-29T16:51:50.000Z |
# CSCE 155E - Computer Science I
## Error Handling
### Fall 2021
* Programs always have potential for errors
* Some errors can be unexpected
* Many errors *can* be anticipated and protected against
* We can anticipate and write code to *handle* those errors
* Or sometimes we let errors be *fatal* errors
* In C our general strategy will be *defensive programming*
* "Look before we leap"
* If we are about to perform a potentially dangerous or invalid operation, we check and if so, then we don't do it, we do something else
* Generally if an error occurs in a function you:
* DON'T QUIT out of the program
* Instead, you report the error back to the calling function
* It is the calling function's responsibility to determine *how* the error gets handled
* Generally, errors are reported back to the calling function using *error codes*
* Error codes are integers
* 0 generally indicates *no error*
* non-zero error codes indicate *some kind of* error
* The actual value can be used to determine what *kind* of error occurred
* Each different kind can be handled differently
* So what about actual outputs to functions?
* You can use a pass-by-reference variable to return any actual result!
* Common mistakes:
* You do NOT echo/print an error message inside a function!
* You do *not* generally make errors inside a function fatal (you don't call `exit()`)
* Demonstration: modify our loan function(s) to do some basic error handling
$$P = \frac{rate \times principle}{1-(1+rate)^{-n}}$$
## C Enumerated Types
* Many pieces of data have a fixed and limited number of possible values
* Example: Days of the week, months, error codes
* In C you can define an enumerated type to hold human-readable "terms" for your list of possible values
* Example:
```c
typedef enum {
SUNDAY,
MONDAY,
TUESDAY,
WEDNESDAY,
THURSDAY,
FRIDAY,
SATURDAY,
} DayOfWeek;
```
* Observations:
* Use `UPPER_UNDERSCORE_CASING` for list items
* Use `UpperCamelCasing` for the names of the enumerated type
* One per line
* Later on in your program...
```c
DayOfWeek today = WEDNESDAY;
DayOfWeek nextLecture = MONDAY;
```
* You use `typedef enum` to define it, you provide a comma-delimited list of items inside curly brackets
* A semicolon is necessary at the end of the name of the enumerated type
* You generally declare enumerated types in a header file.
## How does this actually work
* Internally, C assigns an `int` value to each element starting with zero (default)
* `SUNDAY` has a value of zero
* `MONDAY` has a value of 1
* `SATURDAY` has a value of 6
* Consequently you *can* but really shouldn't do:
```c
DayOfWeek when = MONDAY + TUESDAY;
when = MONDAY + 50;
```
* Take away: understand that enumerated types are integers, but DO NOT TREAT THEM like integers
* But you CAN use them in expressions:
```c
if(today == SATURDAY) {
printf("We can watch football!\n");
}
```
## Exercises
* Design (and rigorously test) a function to compute the amount of change: given a dollar amount in the range 0 thru .99 and "outputs" the number of quarters, dimes, nickels and pennies to make change.
* Rigorous testing = automated, unit testing
* A *unit* in coding is simply some indivisible piece of code: it could be a snippet, it could be an entire module or library
* USUALLY: our unit is a function
* A unit test is a triple: input, expected output and an actual output
* Your code *passes* the unit test if the expected output "matches" the actual output
* Generally the expected output is computed using *some other means*: your calculator, an online resource,
* You can have *false positives*: your test passes but your code is actually wrong
* You can have *false negatives*: your test fails but your code is actually correct (your test may be wrong)
* Unit testing never provides 100% assurance that your code is correct, only a high-degree of certainty
* The more tests you have, the more certainty you have
* Tests should also *cover* your code well:
```c
```
| 37.119266 | 201 | 0.733317 | eng_Latn | 0.997851 |
54e55f944d6cd24d882761c7df652a3de924fccf | 683 | md | Markdown | sdk/core/core-util/review/core-util.api.md | BearerPipelineTest/azure-sdk-for-js | 6c6ffd78bb7a49f11d868bf15ece260b330b8be9 | [
"MIT"
] | null | null | null | sdk/core/core-util/review/core-util.api.md | BearerPipelineTest/azure-sdk-for-js | 6c6ffd78bb7a49f11d868bf15ece260b330b8be9 | [
"MIT"
] | null | null | null | sdk/core/core-util/review/core-util.api.md | BearerPipelineTest/azure-sdk-for-js | 6c6ffd78bb7a49f11d868bf15ece260b330b8be9 | [
"MIT"
] | null | null | null | ## API Report File for "@azure/core-util"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
// @public
export function delay(timeInMs: number): Promise<void>;
// @public
export function getErrorMessage(e: unknown): string;
// @public
export function getRandomIntegerInclusive(min: number, max: number): number;
// @public
export function isError(e: unknown): e is Error;
// @public
export const isNode: boolean;
// @public
export function isObject(input: unknown): input is UnknownObject;
// @public
export type UnknownObject = {
[s: string]: unknown;
};
// (No @packageDocumentation comment for this package)
```
| 20.69697 | 97 | 0.715959 | eng_Latn | 0.853594 |
54e58cc94189b4c874ec1d9cebd51e3f9ed58054 | 1,287 | md | Markdown | layouts/serverless_v0.5__SUBSET/README.md | nfour/js-structures | f21c672ae4400de7803f6015ddc8acb39694ad57 | [
"MIT"
] | 4 | 2016-07-13T05:08:24.000Z | 2019-05-06T21:31:47.000Z | layouts/serverless_v0.5__SUBSET/README.md | nfour/js-structures | f21c672ae4400de7803f6015ddc8acb39694ad57 | [
"MIT"
] | 2 | 2016-07-23T11:58:47.000Z | 2016-09-07T00:20:00.000Z | layouts/serverless_v0.5__SUBSET/README.md | nfour/js-structures | f21c672ae4400de7803f6015ddc8acb39694ad57 | [
"MIT"
] | 2 | 2019-05-06T05:48:29.000Z | 2021-11-07T22:54:12.000Z | # LAYOUT - SERVERLESS SUBSET
A serverless subset layout, intended to be contained enough to be dropped into any existing layout; [layouts/react-redux](../react-redux) or simply [layouts/base](../base).
### FEATURES
- Fully featured babel for lambda compatibility
- Configured webpack.config for lambda compatibility
### LAYOUT MERGING
In, for example, the [layouts/react-redux](../react-redux) layout, there are several places where integration is usually required.
- Copy in `./backend`
- Change the `gulpfile.babel.js` dist folder to `./backend/client/dist`
- Add `cd ./backend && npm i` to the `install:all` npm script
### USAGE
- `cd ./backend`
- `npm i`
- `sls init` to init
- `sls client deploy` to deploy `./backend/client/dist` to S3
- It may also be necessary to set up `sls meta sync`
- Consider adding npm or gulp scripts to automate some of this.
### HINTS
#### CLOUD FORMATION
- DYANMODB - `"Type": "AWS::DynamoDB::Table"`
- When `"DeletionPolicy": "Retain"` is set, removing the stage/resources will fail. Remove this in development or set a meta variable.
### FOLDER STRUCTURE
```
./backend
./functions
./<functionName>
handler.js
s-function.js
./lib
- Should contain functionality for the lambda handlers.
```
| 31.390244 | 172 | 0.693862 | eng_Latn | 0.966413 |
54e6a2f77b0180a722b33298377fc586e7f17316 | 795 | md | Markdown | README.md | morgantaylor193/screenshot | c84face337543a97f20e226d2ec122f37396de3f | [
"MIT"
] | null | null | null | README.md | morgantaylor193/screenshot | c84face337543a97f20e226d2ec122f37396de3f | [
"MIT"
] | null | null | null | README.md | morgantaylor193/screenshot | c84face337543a97f20e226d2ec122f37396de3f | [
"MIT"
] | null | null | null | # Screenshot
A simple tool to parse an array of urls, take screenshots of those URL's and then save them locally.
## Run
`npm run screenshot`
## Config
#### Device
`string = 'iPhone X'`
A list of device options can be found here https://github.com/GoogleChrome/puppeteer/blob/master/DeviceDescriptors.js
#### directory
`string = 'screenshots/'`
Define where you would like to store your screenshots.
#### fileType
`string = '.jpg'`
Define what file format you would like to save your screenshots as.
#### urls
`string[] = ['https://www.google.com']`
Define the URL's you would like to pass. Be sure to inclue the full url with the protocol.
#### fileNames
`?string[] = []`
Optional - Define a unique name for each screenshot file. If not passed in the current date will be used.
| 29.444444 | 117 | 0.715723 | eng_Latn | 0.979528 |
54e70248dda21080298ad65fe4e7c9e8f82435e6 | 1,001 | md | Markdown | _posts/2018-10-09-omero-5-4-9.md | snoopycrimecop/www.openmicroscopy.org | eb4192bd940a8bfdbb38d676b5e7a2345f01d682 | [
"CC-BY-4.0"
] | 6 | 2018-02-28T16:19:30.000Z | 2018-09-05T21:32:31.000Z | _posts/2018-10-09-omero-5-4-9.md | snoopycrimecop/www.openmicroscopy.org | eb4192bd940a8bfdbb38d676b5e7a2345f01d682 | [
"CC-BY-4.0"
] | 250 | 2016-12-13T16:02:36.000Z | 2019-05-15T10:53:48.000Z | _posts/2018-10-09-omero-5-4-9.md | snoopycrimecop/www.openmicroscopy.org | eb4192bd940a8bfdbb38d676b5e7a2345f01d682 | [
"CC-BY-4.0"
] | 23 | 2016-08-11T15:49:01.000Z | 2019-01-07T20:31:54.000Z | ---
layout: post
title: Release of OMERO 5.4.9
intro-blurb: The OME team is pleased to announce the release of OMERO 5.4.9.
---
This release addresses a critical import issue where files can be silently
skipped.
Import improvements include:
- ``ImportCandidates`` returns filesets even when files are shared between
several filesets independently of the scanning order
- insight: bug fixes for the lightweight importer UI
Other improvements include:
- BlitzGateway: new API to read ``OriginalFile`` as file-like objects
- server: add code to dispose of `Graphics` objects in the server
- Javadoc: add links to developer documentation for graph operations
Upgrade information is on the [server upgrade page](https://docs.openmicroscopy.org/omero/5.4.9/sysadmins/server-upgrade.html).
The software is also available at [archived downloads](https://downloads.openmicroscopy.org/omero/5.4.9).
Any problems or comments, please use the [OME Forums or mailing lists]({{ site.baseurl }}/support/).
| 35.75 | 127 | 0.777223 | eng_Latn | 0.994564 |
54e8f7d7cd6021e8df5865eb09a38601456e51ff | 2,907 | md | Markdown | docs/GettingStartedGuide.md | OleksiiZubko/here-data-sdk-typescript | 16a8fbd34bac0a3d3b52b7a2f5bb2fea6d484f7b | [
"Apache-2.0"
] | null | null | null | docs/GettingStartedGuide.md | OleksiiZubko/here-data-sdk-typescript | 16a8fbd34bac0a3d3b52b7a2f5bb2fea6d484f7b | [
"Apache-2.0"
] | 1 | 2020-06-02T09:59:00.000Z | 2020-06-02T09:59:00.000Z | docs/GettingStartedGuide.md | OleksiiZubko/here-data-sdk-typescript | 16a8fbd34bac0a3d3b52b7a2f5bb2fea6d484f7b | [
"Apache-2.0"
] | null | null | null | # Getting Started Guide
HERE Data SDK for TypeScript includes the core components to access the HERE APIs from any web-based application.
In this guide, learn how to authenticate to and start working with the HERE platform using the Data SDK:
- [Prerequisites](#prerequisites)
- [Concepts](#concepts)
- [Get credentials](#get-credentials)
- [Available components](#available-components)
- [Examples](#examples)
## Prerequisites
To start using Data SDK for TypeScript, you need a platform user account.
Working with the Data SDK requires knowledge of the following subjects:
- Basic understanding of the core [HERE platform concepts](#concepts).
- Basic proficiency with TypeScript.
## Concepts
To use Data SDK for TypeScript, you need to understand the following concepts related to the HERE platform:
* [Catalogs](https://developer.here.com/documentation/data-user-guide/portal/layers/catalogs.html)
* [Layers](https://developer.here.com/documentation/data-user-guide/portal/layers/layers.html)
* [Partitions](https://developer.here.com/documentation/data-user-guide/portal/layers/partitions.html)
* [HERE Resource Names (HRNs)](https://developer.here.com/documentation/data-user-guide/shared_content/topics/concepts/hrn.html)
For more details, see the [Data User Guide](https://developer.here.com/documentation/data-user-guide/index.html).
## Get credentials
To work with catalog or service requests to the HERE platform, you need to get authentication and authorization credentials.
You can authenticate to the HERE platform within your application with the platform credentials available on the HERE portal by means of the Data SDK authentication library. For the available authentication options, see the [Identity & Access Management Developer Guide](https://developer.here.com/documentation/identity-access-management/dev_guide/index.html).
After you set up the credentials, you can use them to access the Data SDK libraries.
## Available components
The Data SDK package contains several independent modules that focus on a specific set of responsibilities:
- `olp-sdk-authentication` – gets OAuth2 bearer tokens used to confirm platform requests.
- `olp-sdk-core` – contains code that is common for `@here/olp-sdk-dataservice-read`, `@here/olp-sdk-dataservice-api`, and `@here/olp-sdk-authentication`.
- `olp-sdk-dataservice-read` – gets layer and partition data from platform catalogs.
- `olp-sdk-dataservice-write` – writes data to layers.
- `olp-sdk-dataservice-api` – gets data from the HERE platform.
- `olp-sdk-fetch` – adds a subset of the fetch API for Node.js.
## Reference documentation
The API reference documentation for the Data SDK is available on our <a href="https://heremaps.github.io/here-data-sdk-typescript/" target="_blank">GitHub Pages</a>.
## Examples
To better understand HERE Data SDK for TypeScript, see the [Examples section](../examples/README.md).
| 49.271186 | 361 | 0.783626 | eng_Latn | 0.917165 |
54e95e0377af3723e9ea61560ac6588be319fa7e | 2,655 | md | Markdown | _posts/2018-12-05-Download-honda-d16a-engine-manual.md | Anja-Allende/Anja-Allende | 4acf09e3f38033a4abc7f31f37c778359d8e1493 | [
"MIT"
] | 2 | 2019-02-28T03:47:33.000Z | 2020-04-06T07:49:53.000Z | _posts/2018-12-05-Download-honda-d16a-engine-manual.md | Anja-Allende/Anja-Allende | 4acf09e3f38033a4abc7f31f37c778359d8e1493 | [
"MIT"
] | null | null | null | _posts/2018-12-05-Download-honda-d16a-engine-manual.md | Anja-Allende/Anja-Allende | 4acf09e3f38033a4abc7f31f37c778359d8e1493 | [
"MIT"
] | null | null | null | ---
layout: post
comments: true
categories: Other
---
## Download Honda d16a engine manual book
and by the directness of their regard, setting fires, I'll see it's done, a chemical used in the manufacturing of the drug. The co-op teacher monitors your studies, ii, where dragons have degenerated into animals without high intelligence, Colman caught a brief close-up glimpse of her shoulder-length auburn hair and finely formed features as she leaned toward honda d16a engine manual screen to cut the connection, confirming her intuition. "I'm. More likely the poison had been in his cheese sandwich or in his water bottle. Junior strove always to live in the future, he was combining vowels and consonants: "ba-ba-ba, he's still close to eight big ones ahead, and the brims Huddled in the hostile night. For what had it been, and fulrmp," Amos told her. And don't say Hawaii. _ Descent honda d16a engine manual the engine ) to both? " of the population, iii, they wouldn't likely reveal the finessed details of strong in her fear and willful in her vileness, but to him it had been mere groundwork, girl, a man -with exquisite artistic taste, and a moment later his hand holding the huge fragment of a broken mirror time they came scanning in his vicinity, Polly thought he looked baffled. Turnabout was satisfying. " admiration for my superior officer. He prayed to it. Sad, nor hateful. " degree of purpose it's never had before! Kolyutschin Bay. Leilani enjoyed a dish of Shredded Wheat garnished with a sliced banana peeled and doused in from other men. It might have been by Robert Heinlein to some of the honda d16a engine manual author's science fiction for general "Why don't you tell me what you think. 105) consist of a number of round balls of card. do something. door was closed, an excellent On the Isle of the Wise. It's not what I thought it would be. Not a penny! " them. After a hesitation, one with poor control of patients' records and a less professional staff, and we'll never tell the difference, as she follows honda d16a engine manual Senator Robert F, as fast as he can go. The 27th so far from being the case that criminal statistics have been At her touch, you wouldn't last long. she'd crossed herself during Edom's rant about the Tri-State Tornado of 1925. though he honda d16a engine manual want to become involved. that he had a soft spot for kids. Flexed his hands. 438 After arranging to have the gallery deliver his acquisition, but Nolan had no choice. So these people try to hold to each other. mortally cold that she came close up against him for the warmth of his body. " business, but I heard, you take the watch. | 295 | 2,557 | 0.783804 | eng_Latn | 0.99992 |
54ec97742ae5061eafbc4cffa5e88b76965ef32a | 760 | md | Markdown | src/diary/20.07/post-200721.md | hrntsm/hrntsm.github.io | 3d90400d2ee316722fb2f1a0ba5b2621b82713fa | [
"MIT"
] | null | null | null | src/diary/20.07/post-200721.md | hrntsm/hrntsm.github.io | 3d90400d2ee316722fb2f1a0ba5b2621b82713fa | [
"MIT"
] | 14 | 2020-10-06T02:44:36.000Z | 2022-02-27T16:35:13.000Z | src/diary/20.07/post-200721.md | hrntsm/hrntsm.github.io | 3d90400d2ee316722fb2f1a0ba5b2621b82713fa | [
"MIT"
] | null | null | null | ---
title: "Async! Show me your moves!!!"
date: "2020-07-21"
draft: false
path: "/diary/async-show-me-your-moves"
tags: ["Python"]
---
# やったこと
+ VRAAの担当部分を少しやった
+ ここ三日くらい悩んでいた仕事の実装が取り合えず動くようになった
# 技術メモ
+ 非同期で投げっぱなしは Fire and Forget
+ [Pythonのasyncioで(結果を待たない非同期実行|投げっぱなしジャーマン|fire and forget)する](http://zentoo.hatenablog.com/entry/2016/06/13/045354)
+ [Python, pathlibの使い方(パスをオブジェクトとして操作・処理)](https://note.nkmk.me/python-pathlib-usage/)
+ やっぱりパスはオブジェクトで扱ったほうが楽だけど、拡張子を抜いた完全パスを取得するなら以下のほうが楽かも
```python
pre, ext = os.path.splitext(args.output_path)
```
+ [pathlib --- オブジェクト指向のファイルシステムパス](https://docs.python.org/ja/3/library/pathlib.html)
+ pathlib は結構使ってるからそろそろちゃんと公式ドキュメント読むべき
# その他
+ さてはオメー非同期だな、相変わらずなんもわからん…
+ 袖机を少しだけ片付けたがあまり片付かない。多分積ん読が原因 | 26.206897 | 117 | 0.753947 | yue_Hant | 0.742046 |
54ed697e6c7dd0e8e4cc62f3104b5aa6ed522758 | 2,299 | md | Markdown | README.md | nidi3/use-webjars-maven-plugin | dfead70e4eea5a78da48bb182c057916a3305501 | [
"Apache-2.0"
] | 3 | 2019-06-03T13:26:50.000Z | 2019-09-18T00:11:45.000Z | README.md | nidi3/use-webjars-maven-plugin | dfead70e4eea5a78da48bb182c057916a3305501 | [
"Apache-2.0"
] | null | null | null | README.md | nidi3/use-webjars-maven-plugin | dfead70e4eea5a78da48bb182c057916a3305501 | [
"Apache-2.0"
] | null | null | null | # use-webjars-maven-plugin
Use webjars as if they would be npm modules.
# Why?
[Webjars](http://www.webjars.org/documentation) work well in the JVM world.
But as soon as a project comes into contact with the javascript / npm / node.js
eco system, things start to get complicated.
There are mainly two reasons for that:
- webjars basically are zip files. Therefore the contents is not directly available without unzipping.
- webjars encode their version in the directory structure. Therefore every tool processing them must configure somewhere the version number.
This plugin treats webjars the same way as npm does with its modules:
- unpack the webjar
- strip the version from its path
This way, tools like minifiers, css postprocessors, unit test runners etc. can be used with less hassle.
# Usage
The basic configuration looks like this:
````xml
<build>
<plugins>
<plugin>
<groupId>guru.nidi.maven.plugins</groupId>
<artifactId>use-webjars-maven-plugin</artifactId>
<version>0.0.1</version>
<executions>
<execution>
<goals>
<goal>unpack</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>angularjs</artifactId>
<version>1.5.7</version>
</dependency>
</dependencies>
````
Running `mvn package` results in this file structure:
````
src
...
target
webjars
META-INF
resources
webjars
angularjs
<contents of angularjs>
````
# Configuration
The [plugin site](https://nidi3.github.io/use-webjars-maven-plugin/site/unpack-mojo.html) lists all options.
## Flatten
Adding
````
<configuration>
<flatten>true</flatten>
</configuration>
````
omits `META-INF/resources/webjars` and results in
````
src
...
target
webjars
angularjs
<contents of angularjs>
````
## Further settings
The plugin is based on [`maven-dependency-plugin:unpack-dependencies`](https://maven.apache.org/plugins/maven-dependency-plugin/unpack-dependencies-mojo.html)
and supports all its settings. | 26.732558 | 159 | 0.649413 | eng_Latn | 0.910826 |
54eeb91b6f2c39515494a0aed97e802aba1855b0 | 2,523 | md | Markdown | test_cases/API.md | Idea-Pool/evaluation-pytest-requests | 2d185bae059c3823fbdfc0728e4fbd596aecbfce | [
"MIT"
] | 1 | 2020-12-17T09:13:42.000Z | 2020-12-17T09:13:42.000Z | test_cases/API.md | Idea-Pool/evaluation-pytest-requests | 2d185bae059c3823fbdfc0728e4fbd596aecbfce | [
"MIT"
] | null | null | null | test_cases/API.md | Idea-Pool/evaluation-pytest-requests | 2d185bae059c3823fbdfc0728e4fbd596aecbfce | [
"MIT"
] | 1 | 2021-03-26T08:28:20.000Z | 2021-03-26T08:28:20.000Z | > Write test cases which test the following actions/checks:
> - [x] check GET
> - [x] check POST
> - [x] check DELETE
> - [ ] check authentication
> - [x] check query parameters: mandatory, optional
> - [ ] check schema
# Test cases
## `TC-1` The "GET movie by id" request should return with status code 200
1. **Given** the {movie_id} is added to the GET request
2. **When** the "GET movie by id" request is sent
3. **Then** the response should contain status code 200
## `TC-2` The "GET movie by id" response should contain the proper movie title
1. **Given** the {movie_id} is added to the GET request
2. **When** the "GET movie by id" request is sent
3. **Then** the response should contain the proper movie title
## `TC-3` The "POST movie rating" request should return with status code 201
1. **Give** the {movie_id} is added to the POST request
2. **And** the {"value": 8.0} is added to the POST request's body
3. **When** the "POST movie rating" request is sent
4. **Then** the response should contain status code 201
## `TC-4` The "POST movie rating" response should contain the proper status message
1. **Give** the {movie_id} is added to the POST request
2. **And** the {"value": 8.0} is added to the POST request's body
3. **When** the "POST movie rating" request is sent
4. **Then** the response should contain the "Success." status message
## `TC-5` The "POST movie rating" should handle the invalid rating
1. **Give** the {movie_id} is added to the POST request
2. **And** the {"value": 10.1} is added to the POST request's body
3. **When** the "POST movie rating" request is sent
4. **Then** the response should contain the proper status message
## `TC-6` The "DELETE movie rating by id" request should return with status code 200
1. **Given** the {movie_id} is added to the DELETE request
2. **When** the "DELETE movie rating by id" request is sent
3. **Then** the response should contain status code 200
## `TC-7` The "DELETE movie rating by id" response should contain the proper status message
1. **Given** the {movie_id} is added to the DELETE request
2. **When** the "DELETE movie rating by id" request is sent
3. **Then** the response should contain the "The item/record was deleted successfully." status message
## `TC-8` The "GET movie by id" request should return with status code 404 if the movie_id parameter is not added
1. **Given** the {movie_id} is not added to the GET request
2. **When** the "GET movie by id" request is sent
3. **Then** the response should contain status code 404 | 48.519231 | 113 | 0.711455 | eng_Latn | 0.994482 |
54ef5f337bbd2b4b8fa92a5d411a7a38194055ba | 1,818 | md | Markdown | 300-logic/.articles/terms/lo.HIERARCHY1.md | mandober/dust-dllci | 3afc7936579dfefd7f823d774c4ac17cc6c57666 | [
"Unlicense"
] | 1 | 2019-01-18T21:56:33.000Z | 2019-01-18T21:56:33.000Z | 300-logic/.articles/terms/lo.HIERARCHY1.md | mandober/eiirp | 3afc7936579dfefd7f823d774c4ac17cc6c57666 | [
"Unlicense"
] | 1 | 2018-06-11T13:41:09.000Z | 2018-06-11T13:41:09.000Z | 300-logic/.articles/terms/lo.HIERARCHY1.md | mandober/dust-dllci | 3afc7936579dfefd7f823d774c4ac17cc6c57666 | [
"Unlicense"
] | null | null | null | # Logic
* Logic (in general)
- about logic
- history of logic
- philosophy of logic
- philosophical logic
- metalogic
- logic in computer science
- natural language
- formal semantics of natural languages
- formal logic
- formal language of logic
- formal logic system
- symbolic logic
- Mathematical logic
* Logical fallacies
- paradoxes
- antinomy
- fallacies
* syllogistic logic
- categorical syllogisms
- categorical propositions
* sentential logic
* Formal system
- formal system
- formal logic
- formal language
- formal grammar
* Language
* Language definition
- statement
- proposition
- formal language
- formal grammar
- alphabet
- symbols, letters
- collation
- formula
- well-formed formula
- logical constants
- logical variables
- logical connectives
- atomic statements
- compound statements
* basic logical concepts
- methods of deduction
- reasoning
- analogical reasoning
- causal reasoning
- Inference
- Formal proof
- Semantics of logic
- Syntax of logic
* schools of logic
- formal logic vs Informal logic
- Classical logic vs Non-classical logic
* Theories
- Argumentation theory
- Metamathematics
- Set theory
* Logical forms
- logical form
- statement
- sentence
- wff
- premise
- logical truth
- truth value
* Foundations
- Analytic and synthetic propositions (Analytic-synthetic distinction)
- Fallacies
- Contradiction
- Paradox
- Antinomy
- Definition
- Description
- Entailment
- Linguistic entailments
- Name
- Necessity
- sufficiency
- Reference
- Substitution
- Truth
- Validity
- Probability
* Rules of inference
- inference
* (other)
- Logicians
- Logic symbols
| 17.150943 | 74 | 0.678218 | eng_Latn | 0.889163 |
54f12024b7206ef1e562976b6f559fe47507dc75 | 58 | md | Markdown | README.md | lucmichalski/awesome-prestashop | 03f00e15eee8ccb5d507fae1f56c18e77b1e8da0 | [
"Apache-2.0"
] | null | null | null | README.md | lucmichalski/awesome-prestashop | 03f00e15eee8ccb5d507fae1f56c18e77b1e8da0 | [
"Apache-2.0"
] | null | null | null | README.md | lucmichalski/awesome-prestashop | 03f00e15eee8ccb5d507fae1f56c18e77b1e8da0 | [
"Apache-2.0"
] | null | null | null | # awesome-prestashop
Awesome list of PrestaShop resources
| 19.333333 | 36 | 0.844828 | eng_Latn | 0.697306 |
54f285061959427a80975e4bd40c9009fe267a9b | 75 | md | Markdown | src/documents/big/big15.html.md | georgeOsdDev/slidepad | 7e8e93d2ce2ee18f40c94d3e9031bf2176f29256 | [
"MIT"
] | 7 | 2015-01-28T17:55:32.000Z | 2019-10-05T12:07:27.000Z | src/documents/big/big15.html.md | georgeOsdDev/slidepad | 7e8e93d2ce2ee18f40c94d3e9031bf2176f29256 | [
"MIT"
] | 2 | 2017-02-15T23:49:40.000Z | 2020-03-18T08:52:31.000Z | src/documents/big/big15.html.md | georgeOsdDev/slidepad | 7e8e93d2ce2ee18f40c94d3e9031bf2176f29256 | [
"MIT"
] | 4 | 2018-04-23T07:04:19.000Z | 2022-03-22T21:03:13.000Z | ---
title: 'big15'
pageOrder: 15
tags: ['big']
---
_thx!_
[Back to Home](/) | 10.714286 | 17 | 0.573333 | eng_Latn | 0.223173 |
54f2eb210cd2076f352cda27bcba56ee67912159 | 346 | md | Markdown | README.md | loraxx753/pytxttut | 34cdaed2c1f1b295697ca6cc94ae77289f4b4be3 | [
"MIT"
] | null | null | null | README.md | loraxx753/pytxttut | 34cdaed2c1f1b295697ca6cc94ae77289f4b4be3 | [
"MIT"
] | null | null | null | README.md | loraxx753/pytxttut | 34cdaed2c1f1b295697ca6cc94ae77289f4b4be3 | [
"MIT"
] | null | null | null | # pytxttut
A 0 - 60 Python3 tutorial that ends with making a functional text editor (using OSX)
## Outline So Far
* Install Sumblime Text
* Install [Package Control for Sublime Text](https://packagecontrol.io/installation#st3)
* Create a [Floobits Account](https://floobits.com/signup)
* Install brew
* Using brew, install:
* python3
* git
| 28.833333 | 89 | 0.742775 | kor_Hang | 0.410746 |
54f48b1a8ff0c866d9a4dd0d1e8d970e796e9319 | 573 | md | Markdown | _posts/2020-12-28-没想到南宁美食节这么多人,美食火爆,4块猪红肠10元太难吃,广告吹到天上有地下没,差点挤死人,这种地.md | NodeBE4/society | 20d6bc69f2b0f25d6cc48a361483263ad27f2eb4 | [
"MIT"
] | 1 | 2020-09-16T02:05:28.000Z | 2020-09-16T02:05:28.000Z | _posts/2020-12-28-没想到南宁美食节这么多人,美食火爆,4块猪红肠10元太难吃,广告吹到天上有地下没,差点挤死人,这种地.md | NodeBE4/society | 20d6bc69f2b0f25d6cc48a361483263ad27f2eb4 | [
"MIT"
] | null | null | null | _posts/2020-12-28-没想到南宁美食节这么多人,美食火爆,4块猪红肠10元太难吃,广告吹到天上有地下没,差点挤死人,这种地.md | NodeBE4/society | 20d6bc69f2b0f25d6cc48a361483263ad27f2eb4 | [
"MIT"
] | null | null | null | ---
layout: post
title: "没想到南宁美食节这么多人,美食火爆,4块猪红肠10元太难吃,广告吹到天上有地下没,差点挤死人,这种地方最后远离【九哥记】"
date: 2020-12-28T09:15:01.000Z
author: 九歌爱旅游
from: https://www.youtube.com/watch?v=iiDJZgLrA-0
tags: [ 九哥记 ]
categories: [ 九哥记 ]
---
<!--1609146901000-->
[没想到南宁美食节这么多人,美食火爆,4块猪红肠10元太难吃,广告吹到天上有地下没,差点挤死人,这种地方最后远离【九哥记】](https://www.youtube.com/watch?v=iiDJZgLrA-0)
------
<div>
♥关于九哥♥ 大家好鸭!我是九哥,一枚来自广东90的妹子, 已在广州生活了6年。 我爱广州,喜欢旅游,(会听粤语,但是让我讲粤语你听了绝对后悔的)在这里跟大家分享关于广州的一些新鲜事情,也会分享我的生活琐事。有钱的话,会到其他地方旅游,体验不同的人文风俗,分享一些当地的有趣事情!了解世界不同的角落,跟着我的脚步,我将带你看更真实的世界。感谢大家对我的支持和订阅!#广州#九哥记#穷游#廣州#九哥記#窮遊
</div>
| 33.705882 | 202 | 0.764398 | yue_Hant | 0.475079 |
54f4995091e8f2961e28e2d5b86a0502e82a3d4a | 186 | md | Markdown | content/blog/cranberries.md | jacksmedia/friday13 | fedc804515057dee21eaa734d4e711574ac82b58 | [
"RSA-MD"
] | null | null | null | content/blog/cranberries.md | jacksmedia/friday13 | fedc804515057dee21eaa734d4e711574ac82b58 | [
"RSA-MD"
] | null | null | null | content/blog/cranberries.md | jacksmedia/friday13 | fedc804515057dee21eaa734d4e711574ac82b58 | [
"RSA-MD"
] | null | null | null | ---
templateKey: blog-post
featuredpost: false
featuredimage: ../assets/Cranberries.png
title: Cranberries
description: Fruit
testfield: 564
---
 | 20.666667 | 41 | 0.774194 | eng_Latn | 0.162562 |
54f64ad956ba85f2debb1c90e95b5a4d0fcfe77b | 795 | md | Markdown | _posts/2020/2020-05-02-24.md | bossm0n5t3r/bossm0n5t3r.github.io | a9a7b9a84c527b27d87cd298fc628566af366894 | [
"MIT"
] | 3 | 2020-09-08T16:01:24.000Z | 2021-12-16T16:49:28.000Z | _posts/2020/2020-05-02-24.md | bossm0n5t3r/bossm0n5t3r.github.io | a9a7b9a84c527b27d87cd298fc628566af366894 | [
"MIT"
] | 13 | 2020-10-02T16:30:31.000Z | 2021-05-19T15:05:56.000Z | _posts/2020/2020-05-02-24.md | bossm0n5t3r/bossm0n5t3r.github.io | a9a7b9a84c527b27d87cd298fc628566af366894 | [
"MIT"
] | null | null | null | ---
layout: post
title: "[React] React 공부하기"
description: "[React] React 공부하기"
categories: [React]
tags: [React]
redirect_from:
- /2020/05/02/
math: false
published: true
---
# [React] React 공부하기
<img src="/assets/img/posts/logos/react-logo.svg" width="300">
## 개요
- 최근 리액트를 자주 쓰게 되고, 공부를 해야했다.
- 일주일 이상 코드를 읽으니 어느 정도 눈에 들어오고, 흐름이 눈에 보였다.
- 하지만 스스로 평가하기에 이는 엄밀하게 아는 것이 아닌, 간단한 정리들을 내 스스로 세운 것일뿐, 증명되지는 않았다.
- 따라서 오늘부터 순차적으로 리액트의 개념에 대해서 간략히 정리하고 공부해 볼 생각이다.
- 물론, 따라가고 공부할 문서는 [https://ko.reactjs.org/docs/getting-started.html](https://ko.reactjs.org/docs/getting-started.html)이며, 리액트 공식 문서이므로 상당히 믿음이 간다.
- 앞으로, 얼마나 계속할지는 모르겠지만... 꾸준히 해볼 요량이다...
- 작성된 문서는 이 글의 묶어서 정리하겠다.
## 공부한 내용
- [JSX 소개](https://bossm0n5t3r.github.io/blog/25/)
- [엘리먼트 렌더링](https://bossm0n5t3r.github.io/blog/26/)
| 25.645161 | 147 | 0.683019 | kor_Hang | 1.000001 |
54f77d184a6a53c877641238e381a8f2a30a525a | 1,152 | md | Markdown | docs/Entity.md | EmilianC/Jewel3D | ce11aa686ab35d4989f018c948b26abed6637d77 | [
"MIT"
] | 30 | 2017-02-02T01:57:13.000Z | 2020-07-04T04:38:20.000Z | docs/Entity.md | EmilianC/Jewel3D | ce11aa686ab35d4989f018c948b26abed6637d77 | [
"MIT"
] | null | null | null | docs/Entity.md | EmilianC/Jewel3D | ce11aa686ab35d4989f018c948b26abed6637d77 | [
"MIT"
] | 10 | 2017-07-10T01:31:54.000Z | 2020-01-13T20:38:57.000Z | # Dynamic Queries
A query will only return active Components and Entities. Any Component or Tag can be part of a query.
Queries are implemented in a LINQ-style fashion. This means that they are very efficient (zero dynamic allocations),
but also that Components/Tags of the queried types should not be created or deleted during the loop.
# Examples
```cpp
class Player : public Component<Player> { /**/ };
class Network : public Component<Network> { /**/ };
class Friendly : public Tag<Friendly> {};
class Enemy : public Tag<Enemy> {};
class SquadLeader : public Tag<SquadLeader> {};
// Process all Entities with a Player Component.
for (Entity& e : With<Player>())
{
//...
}
// Using All<>() processes the Component directly.
// This avoids the cost of calling Entity.Get<>().
for (Player& p : All<Player>())
{
//...
}
// Process all enemy players.
for (Entity& e : With<Player, Enemy>())
{
//...
}
// Process all friendly players.
for (Entity& e : With<Player, Friendly>())
{
//...
}
// Process all friendly SquadLeaders on the network.
for (Entity& e : With<Player, Friendly, Network, SquadLeader>())
{
//...
}
``` | 25.6 | 116 | 0.673611 | eng_Latn | 0.981611 |
54f7f967322061ad28a09a802f8f106a7dd9fff4 | 375 | md | Markdown | _posts/2021-07-08/2021-06-23-You-wanna-see-how-elastic-my-pussy-is-20210623073721382790.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | _posts/2021-07-08/2021-06-23-You-wanna-see-how-elastic-my-pussy-is-20210623073721382790.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | _posts/2021-07-08/2021-06-23-You-wanna-see-how-elastic-my-pussy-is-20210623073721382790.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | ---
title: "You wanna see how elastic my pussy is?"
metadate: "hide"
categories: [ Pussy ]
image: "https://preview.redd.it/988qpo11tw671.jpg?auto=webp&s=633c0fb7740d0440d8320312af6551df08df79a8"
thumb: "https://preview.redd.it/988qpo11tw671.jpg?width=1080&crop=smart&auto=webp&s=ad4e8708a12ee2457a1b04afa9b8f84b313f345a"
visit: ""
---
You wanna see how elastic my pussy is?
| 37.5 | 125 | 0.776 | eng_Latn | 0.090611 |
54f96b820faa2dedc14b047ed72647b74d8b41ed | 150 | md | Markdown | README.md | LearnYouDocker/learnyoudocker | c43b7a85eb94174e299e609aba67ec71f6a30761 | [
"MIT"
] | 1 | 2015-04-19T18:26:33.000Z | 2015-04-19T18:26:33.000Z | README.md | LearnYouDocker/learnyoudocker | c43b7a85eb94174e299e609aba67ec71f6a30761 | [
"MIT"
] | null | null | null | README.md | LearnYouDocker/learnyoudocker | c43b7a85eb94174e299e609aba67ec71f6a30761 | [
"MIT"
] | null | null | null | # learnyoudocker
LearnYouDocker is a ruby gem currently to help you learn how to use docker. It is
currently in very early stages of development.
| 25 | 82 | 0.786667 | eng_Latn | 0.999894 |
54fa35c3aeca82cb8f10a2994fb9b6381b3256bd | 116 | md | Markdown | experiments/svhntomnist/README.md | lgraesser/im2im2im | 835d84b782921f6c40d8cc4416c3fc492187eb58 | [
"MIT"
] | 7 | 2018-04-17T09:56:37.000Z | 2021-08-28T10:03:22.000Z | experiments/svhntomnist/README.md | lgraesser/im2im2im | 835d84b782921f6c40d8cc4416c3fc492187eb58 | [
"MIT"
] | null | null | null | experiments/svhntomnist/README.md | lgraesser/im2im2im | 835d84b782921f6c40d8cc4416c3fc492187eb58 | [
"MIT"
] | 2 | 2018-03-03T20:39:49.000Z | 2018-04-17T03:48:23.000Z | Very basic experiment checking if svhn to mnist can be learned using out of the box settings from the original repo
| 58 | 115 | 0.818966 | eng_Latn | 0.999888 |
54fa653246a9dc14cb8cb0f00dc7fcd4ad87771e | 48 | md | Markdown | _includes/03-links.md | JoshChang8/markdown-portfolio | 1cb7189947a6d1bc470a3817e9f22701657fa43a | [
"MIT"
] | null | null | null | _includes/03-links.md | JoshChang8/markdown-portfolio | 1cb7189947a6d1bc470a3817e9f22701657fa43a | [
"MIT"
] | 5 | 2022-01-07T21:36:48.000Z | 2022-01-07T22:07:43.000Z | _includes/03-links.md | JoshChang8/markdown-portfolio | 1cb7189947a6d1bc470a3817e9f22701657fa43a | [
"MIT"
] | null | null | null | [GitHub Profile](https://github.com/JoshChang8)
| 24 | 47 | 0.770833 | yue_Hant | 0.256788 |
54fa8330fecbcce130743e1cfc03b8135191fd15 | 928 | md | Markdown | README.md | AliBakerSartawi/tic-tac-toe | b5b3ac880e5f4dbba0815068262dda8d771fd7e8 | [
"MIT"
] | null | null | null | README.md | AliBakerSartawi/tic-tac-toe | b5b3ac880e5f4dbba0815068262dda8d771fd7e8 | [
"MIT"
] | null | null | null | README.md | AliBakerSartawi/tic-tac-toe | b5b3ac880e5f4dbba0815068262dda8d771fd7e8 | [
"MIT"
] | 4 | 2021-05-28T15:52:50.000Z | 2021-05-30T06:48:34.000Z | # 🐍🐍 Snake Warz 🐍🐍
What's better than playing a snake game all alone??? Playing it with someone else 🙃... as enemies ⚔️!!
Don't hate on us if the servers are lagging, Heroku's running things with some cheese 🧀 budget... but if it's free, we can't complain 🤷.
Anywayz... **[enjoy](https://snake-warz.herokuapp.com/)** 🔥🔥🔥
*good to note*:
- members of the online community proposed ways to achieve a **responsive square canvas**, some of them used `resize` listeners and `js`...
- It can be easily achieved with the following code...
```css
canvas {
width: clamp(200px, 33vw, 600px);
height: clamp(200px, 33vw, 600px);
}
```
*clamp makes wonders 👽👽👽*
---
## The Dream Team
**[Ali Sartawi](https://github.com/AliBakerSartawi)** 🤯
**[Ahmad Abu-Yahya](https://github.com/AhmadAbuyahya)** 🤠
**[Mohammad Al-Khazali](https://github.com/abu-al3ees)** *abu-al3ees* 😈
**[Mohammad Al-Za'areer](https://github.com/MOH-ZR)** 😎 | 29 | 139 | 0.675647 | eng_Latn | 0.89383 |
54faf7e3b707822934b61462d7f86348fbc29f08 | 2,679 | md | Markdown | README.md | JhonatanGuilherme/Alura-Flix | 01ac076da8db67794115aad3971a1a8bcb238367 | [
"MIT"
] | null | null | null | README.md | JhonatanGuilherme/Alura-Flix | 01ac076da8db67794115aad3971a1a8bcb238367 | [
"MIT"
] | null | null | null | README.md | JhonatanGuilherme/Alura-Flix | 01ac076da8db67794115aad3971a1a8bcb238367 | [
"MIT"
] | null | null | null | ## Projeto desenvolvido durante a Imersão React da Alura para criação de site inspirado na Netflix.
### Aulas
- [x] **[Aula 1 - React Components e AluraFlix](#aula-1)**
- [x] **[Aula 2 - Roteamento e State](#aula-2)**
- [x] **[Aula 3 - Formulários reutilizáveis e mais components](#aula-3)**
- [x] **[Aula 4 - Ajax, validação e o back-end](#aula-4)**
- [x] **[Aula 5 - Gerenciamento de videos com React e JavaScript](#aula-5)**
### Tecnologias utilizadas
- **JavaScript;**
- **React;**
- **React-Router-DOM;**
- **Styled-Components;**
### Deploy
O site foi hospedado no site da [Vercel](https://vercel.com/) através do link: [https://aluraflix-john.vercel.app/](https://aluraflix-john.vercel.app/)
O back-end da aplicação foi hospedado na nuvem da [Heroku](https://heroku.com).
---
### **Aula 1**
- **Conteúdo**
- Criação do projeto;
- Instalação do Styled Components;
- Criação de components;
- Criação da page Home;
- [Deploy do projeto](#deploy);
- Para **criar** um ambiente com React, usar o seguinte código no terminal:
```powershell
npx create-react-app [nome do app]
```
- Para **iniciar** um ambiente com React, usar o seguinte código no terminal:
```powershell
npm start
```
- Abrir [http://localhost:3000/](http://localhost:3000/) no navegador para visualizar a aplicação.
---
### **Aula 2**
- **Conteúdo**
- Instalação do React Router DOM;
- Integração do Browser Router, Switch e Route para SPA;
- Instalação do React-Slick;
- Criação das pages CadastroVídeo e CadastroCategoria;
- Para **instalar** o React Router DOM, usar o seguinte código no terminal:
```powershell
npm install react-router-dom
```
- Para **instalar** o React-Slick, usar o seguinte código no terminal:
```powershell
npm install react-slick
```
---
### Aula 3
- **Conteúdo**
- Atualização do CadastroCategoria;
- Implementação de formulários;
---
### Aula 4
- **Conteúdo**
- Instalação do ESLint;
- Integração dos PropTypes;
- Instalação do Json Server;
- Instalação do Concurrently;
- Para **instalar** o ESLint, usar o seguinte código no terminal:
```powershell
npx eslint --init
```
- Para **instalar** o PropTypes, usar o seguinte código no terminal:
```powershell
npm install prop-types
```
- Para **instalar** o Json Server, usar o seguinte código no terminal:
```powershell
npm install json-server
```
- Para **instalar** o Concurrently, usar o seguinte código no terminal:
```powershell
npm install concurrently
```
---
### Aula 5
- **Conteúdo**
- Organização de projeto;
- Atualização do CadastroVídeo;
- Criação de repositórios e adição funcional de categorias e vídeos;
---
| 23.094828 | 151 | 0.674879 | por_Latn | 0.986751 |
54fb5090e9b0c969499c7de0ee32441eed1e9be5 | 526 | md | Markdown | src/winform/CheckInbyFace/CheckInbyFace/README.md | volnet/CheckInByFace | f3a9665c36ca9ded2e57bd577d59429c8d1b513e | [
"Apache-2.0"
] | null | null | null | src/winform/CheckInbyFace/CheckInbyFace/README.md | volnet/CheckInByFace | f3a9665c36ca9ded2e57bd577d59429c8d1b513e | [
"Apache-2.0"
] | null | null | null | src/winform/CheckInbyFace/CheckInbyFace/README.md | volnet/CheckInByFace | f3a9665c36ca9ded2e57bd577d59429c8d1b513e | [
"Apache-2.0"
] | null | null | null | CheckInbyFace WinForm program
===============================
Usage
-------------------------------
1. unzip the CheckInbyFace.'version'.zip file.
2. init the Data\users.json for your data.
3. config the .config file for your exchange data file path.
- DataCommunicateMode: File
- DataCommunicateMode.File.FilePath: relative path to the execute folder.
- ResultFolderPath: output result file folder.
- ${ResultFolderPath}SaveFrames\
- ${ResultFolderPath}checkin-result.json
You can share the files to other program. | 32.875 | 74 | 0.686312 | eng_Latn | 0.37194 |
54fbd33a326c14dd9c90de6ac58742a358e41cf4 | 5,621 | md | Markdown | src/pages/evening-menu.md | rbbri/pearl | 6258014a05ddc4a25735996947d31226adcd93ea | [
"MIT"
] | null | null | null | src/pages/evening-menu.md | rbbri/pearl | 6258014a05ddc4a25735996947d31226adcd93ea | [
"MIT"
] | 7 | 2021-03-10T09:58:11.000Z | 2022-02-27T00:40:38.000Z | src/pages/evening-menu.md | rbbri/pearl | 6258014a05ddc4a25735996947d31226adcd93ea | [
"MIT"
] | null | null | null | ---
templateKey: evening-menu
about:
title: Dinner at Hackney Wick's favourite local.
content: >-
Dinner at Pearl takes you on a journey as our well-travelled head chef, Daria, serves dishes from around the world. Created alongside her Mexican Chef-de-Partie, Victor, we serve the best Tacos in East London with authentic salsas, flavours, and a corn tortilla base. Head to the bar and order one of our 'Trio of Margaritas' to wash it down. Our evening menu caters for vegans, vegetarians and meat lovers. And of course, our famous burgers feature on this menu too, alongside spicy addition, 'The Mexican'.
eveningTimes: 5pm–10pm Monday–Sunday
menu:
- section:
title: Tacos
description: £4 each or 3 for £10
featured: false
full: true
items:
- item:
title: Vegan Oyster Mushroom
price:
info:
description: With pickled red cabbage, black beans, pico de gallo and coriander
- item:
title: Taco el Pastor
price:
info:
description: Slow roast pork, pineapple, white onion, salsa verde and coriander
- item:
title: Fish Taco
price:
info:
description: Salmon, avocado, jalpeno, chipotle mayo and lime
- section:
title: Bar Snacks
description:
featured: false
full: false
items:
- item:
title: Olives
price: £3.50
info: (ve/gf)
description:
- item:
title: Chorizo Croquettes
price: £6
info:
description: With aioli
- item:
title: Soup of the Day
price: £6
info:
description: >-
Served with a side of sourdough
- item:
title: Halloumi Fries
price: £6
info: (v/gf)
description: >-
Served with chimichurri mayonnaise dip
- item:
title: Skinny Fries
price: £3
info: (ve/gf)
description:
- item:
title: Sweet Potato Fries
price: £4
info: (ve/gf)
description: Add homemade chimichurri mayo (ve) 50p
- section:
title: Sharers
description:
featured: false
full: false
items:
- item:
title: Sourdough Bread
price: £2.50
info: (ve/gf option)
description: Add one, two or three dips £4.50 / £6.50 / £7.50
- item:
title: Spanakopita
price: £8
info: (v)
description: Four Greek-style pastries filled with spinach and feta cheese
- item:
title: Vegan Thali
price: £9
info: (ve/n)
description: >-
A selection of hummus, romesco, and baba ganoush dips with toasted sourdough and seasonal veggies
- item:
title: It's Nacho Business
price: £6
info: (v/ve option available) (gf)
description: >-
Cheese, jalapeños, guacamole Pico de Gallo, spicy beans and coriander
- section:
title: Banging Burgers
description: >-
All served with skinny fries or sweet potato chips in a brioche bun with tomato and lettuce
featured: true
full: false
items:
- item:
title: Our Famous Cheeseburger
price: £10.50
info: (gf option available)
description: >-
With cheddar or blue cheese and caramelised onions
- item:
title: Mushroom Bhaji Burger
price: £10.50
info: (v)(ve/gf options available)
description: >-
With coriander and lime slaw
- item:
title: The Mexican
price: £11.50
info:
description: >-
Mexican pulled pork, avocado, pineapple salsa, nachos, cheese, and fresh coriander
- section:
title: Big Plates
description:
featured: true
full: false
items:
- item:
title: Mother Clucker
price: £11
info: (gf)
description: Half roasted chicken, homemade slaw, and a side of lemon & garlic roasted baby potatoes
- item:
title: Vegan Thai Curry
price: £10
info: (ve)(n)
description: Spicy yellow curry with pieces of tofu and mango rice
- item:
title: Melanzane Parmigiana
price: £10
info: (ve/gf options available)
description: Slow-cooked aubergine in rich tomato sauce, parmesan gratin, and sourdough bread
- item:
title: Fried Polenta
price: £9.50
info: (ve)(n)
description: With grilled vegetables, romesco sauce, and toasted hazelnuts
--- | 38.238095 | 513 | 0.484789 | eng_Latn | 0.952383 |
54fc0c368950e980339dee6bb8c5b8c64c087bdd | 6,683 | md | Markdown | _posts/2010-3-3-《环球时报》老总:英文版唯一禁区是领导人私生活.md | backup53/1984bbs | 152406c37afab79176f0d094de5ac4cb0c780730 | [
"MIT"
] | 18 | 2020-01-02T21:43:02.000Z | 2022-02-14T02:40:34.000Z | _posts/2010-3-3-《环球时报》老总:英文版唯一禁区是领导人私生活.md | wzxwj/1984bbs | 152406c37afab79176f0d094de5ac4cb0c780730 | [
"MIT"
] | 3 | 2020-01-01T16:53:59.000Z | 2020-01-05T10:14:11.000Z | _posts/2010-3-3-《环球时报》老总:英文版唯一禁区是领导人私生活.md | backup53/1984bbs | 152406c37afab79176f0d094de5ac4cb0c780730 | [
"MIT"
] | 13 | 2020-01-20T14:27:39.000Z | 2021-08-16T02:13:21.000Z | ---
layout: default
date: 2010-3-3
title: 《环球时报》老总:英文版唯一禁区是领导人私生活
categories: 自由新闻社
---
# 《环球时报》老总:英文版唯一禁区是领导人私生活
orangeking
1楼 大 中 小 发表于 2010-3-3 18:59 只看该作者
《环球时报》老总:英文版唯一禁区是领导人私生活
以下来自英文版环球时报记者 @wentommy 的tweet 所述内容仅对英文版环球时报 Global Times 有效
全体大会回来。老总半个小时讲演,“说真话”提了不下50次。“环球时报英文版的报道没有任何禁区,选题会上问这能不能报的话将成为历史。"
老总说,推动中国民主进程是媒体的历史责任。但环球时报不鼓动社会动荡。我们要监督政府,逼政府说真话。必须让政府在舆论压力下工作。
谈到兄弟报纸《中国日报》三月份高调改版,在央视大作广告,老总说,让他们做”国家媒体“去吧,我们是老百姓的报纸,钱要花在做内容上。让老百姓有讲真话的地方。
老总说:明天环球时报英文版的头版两会报道,将是历史上在中国媒体上没有出现过的两会报道。他期待着编辑记者做出这个意想不到的头版。
老总说,我们要逐步洗刷环球时报在读者心目中“民族主义”的色彩。首先从说真话开始。
老总委婉地揶揄了一下官媒。“中国日报的记者肯定比环球时报英文版的语言水平高。我们也许没他们写得漂亮,还带点乡音,但我相信读者更爱看我们的报纸。罗京,哦,死了,不说了。康辉的普通话标准吧,但很多人怎么感觉他说的全是假话呢?”
老总说,我们不高调打广告宣传。但给发行部下了死命令,一周之内,北京主要城区每个报摊必须能买到环球时报英文版。如买不到,举报。
让政府在舆论压力下工作的语境,是前几天外交部某司长就环球时报关于中美关系报道急电老总。老总说只给你5分钟时间。媒体不会配合政府部门工作,而是监督你们。
对了,老总提到报道唯一的禁区是国家领导人的私生活。
---
[Terminusbot](https://github.com/TerminusBot) 整理,讨论请前往 [2049bbs.xyz](http://2049bbs.xyz/)
---
康宁
我当时就震惊了
2楼 大 中 小 发表于 2010-3-3 19:03 只看该作者
哈哈。。。
黄阿狗
金玉其内 败絮其外
3楼 大 中 小 发表于 2010-3-3 19:14 只看该作者
谈到兄弟报纸《中国日报》三月份高调改版,在央视大作广告,老总说,让他们做”国家媒体“去吧,我们是外国老百姓的报纸,钱要花在做内容上,国内做广告,外国老百姓也看不到哇。让外国老百姓有看真话的地方。
黄阿狗
金玉其内 败絮其外
4楼 大 中 小 发表于 2010-3-3 19:19 只看该作者
huangagou
人民日报火星文版明天将正式出版!在全体动员大会上,老总激动的说:麻痹哟!环球搞英文版讲真话,我们难道不会讲么?难道我们就真的瞎了么?他作为子报敢讲,我们作为爹报难道就不敢讲么?作为一个正部级单位,我们不讲面子往哪里搁?对了,老总提到报道唯一的内容是国家领导人的私生活。
吉四六
离42岁自焚还有12年
5楼 大 中 小 发表于 2010-3-3 19:19 只看该作者
我们有用英文的表达自由,我们有用英文的出版自由。
DaemonEye
不河蟹的围观团团员
6楼 大 中 小 发表于 2010-3-3 19:25 只看该作者
如果是真的 我就订一份全当锻炼e文了
qiushuihan
不明真相的群众之一
7楼 大 中 小 发表于 2010-3-3 19:28 只看该作者
对内一套,对外一套,还说真话,真会装。
咧咧嘴
8楼 大 中 小 发表于 2010-3-3 19:30 只看该作者
太监要造反
peteryang84
9楼 大 中 小 发表于 2010-3-3 19:31 只看该作者
global times和环球时报根本不是一个东西。
singsingchow
10楼 大 中 小 发表于 2010-3-3 19:32 只看该作者
扯淡,信他们才怪,英文版没有自我审查是不可能的
国家领导人几百位,徒子徒孙遍中国,说是私生活就是私生活,
此禁区的伸缩性之大,堪比气球
老大哥
11楼 大 中 小 发表于 2010-3-3 19:34 只看该作者
坐等解释这一现象?
funnylaugh
12楼 大 中 小 发表于 2010-3-3 20:13 只看该作者
引用:
> 原帖由 老大哥 于 2010-3-3 19:34 发表 
> 坐等解释这一现象?
忽悠老外我们是民主自由的
qiushuihan
不明真相的群众之一
13楼 大 中 小 发表于 2010-3-3 20:50 只看该作者
引用:
> 原帖由 peteryang84 于 2010-3-3 19:31 发表
> 
> global times和环球时报根本不是一个东西。
@wentommy:是。@silvercloudy 你们中文版和英文版是一个老总旗下的么。
透露社记者
14楼 大 中 小 发表于 2010-3-3 20:51 只看该作者
整个国家的事情,都tm是几个领导人的私生活
4dmx
15楼 大 中 小 发表于 2010-3-3 20:54 只看该作者
学会用英文装B了?
cyf_4321
16楼 大 中 小 发表于 2010-3-3 21:15 只看该作者
目送这位老总,我们会缅怀您的
cyf_4321
17楼 大 中 小 发表于 2010-3-3 21:26 只看该作者
我还想问一句,他,精神分裂了吗?
wistreer
推特:@wistreer
18楼 大 中 小 发表于 2010-3-3 21:33 只看该作者
引用:
> 原帖由 吉四六 于 2010-3-3 19:19 发表 
> 我们有用英文的表达自由,我们有用英文的出版自由。
精辟
napalm613
在墙外和墙内的人一起围观
19楼 大 中 小 发表于 2010-3-3 21:54 只看该作者
引用:
> 原帖由 cyf_4321 于 2010-3-3 21:15 发表
> 
> 目送这位老总,我们会缅怀您的
+1984
abu
20楼 大 中 小 发表于 2010-3-3 23:25 只看该作者
引用:
> 原帖由 黄阿狗 于 2010-3-3 19:14 发表 
>
> 谈到兄弟报纸《中国日报》三月份高调改版,在央视大作广告,老总说,让他们做”国家媒体“去吧,我们是外国老百姓的报纸,钱要花在做内容上,国内做广告,外国老百姓也看不到哇。让外国老百姓有看真话的地方。
黄兄太油菜了!
庄三水
21楼 大 中 小 发表于 2010-3-4 09:12 只看该作者
老总要告诉我们的是,作为天朝子民,只有掌握了外语才能享受到言论自由
viviennagz
22楼 大 中 小 发表于 2010-3-4 09:16 只看该作者
再提醒我,要学好英文,减少被骗的幅度。
放逐
我所能想到的最残忍的事,就是和这个政权一起慢慢变老
23楼 大 中 小 发表于 2010-3-4 10:35 只看该作者
关注
明心见性
24楼 大 中 小 发表于 2010-3-4 12:16 只看该作者
关注中 这个周末去看看 能不能买到一份
眼见为实
iamiam
25楼 大 中 小 发表于 2010-3-4 12:46 只看该作者
哈哈,笑了笑了
柳叶眉 该用户已被删除
26楼 大 中 小 发表于 2010-3-4 14:59 只看该作者
老总半个小时讲演,“说真话”提了不下50次。.
这不够啊,还差950次呢。
秋千
ANTI GFW
27楼 大 中 小 发表于 2010-3-4 15:05 只看该作者
讲真话成了名词
模棱两可
28楼 大 中 小 发表于 2010-3-4 16:13 只看该作者
引用:
> 原帖由 吉四六 于 2010-3-3 19:19 发表 
> 我们有用英文的表达自由,我们有用英文的出版自由。
笑。
czwsongbiao
29楼 大 中 小 发表于 2010-3-4 16:47 只看该作者
引用:
> 原帖由 柳叶眉 于 2010-3-4 14:59 发表 
> 老总半个小时讲演,“说真话”提了不下50次。.
>
> 这不够啊,还差950次呢。
haha
nobnow
@nobnow
30楼 大 中 小 发表于 2010-3-4 17:01 只看该作者
回复 24楼 明心见性 的话题
信diang员领导干部,母猪能上树
rcy
31楼 大 中 小 发表于 2010-3-4 17:36 只看该作者
有些事情汉语没法表达***
foxboson
一个无所事事却又满腔抱负的失业大老板爱美女爱美食爱财猥琐懒惰
32楼 大 中 小 发表于 2010-3-4 17:46 只看该作者
那是给洋大大们看的
哀江南
33楼 大 中 小 发表于 2010-3-4 18:21 只看该作者
讲真话都成了媒体人值得炫耀的事情了~~~~~~~~~~
情何以堪啊。
doordie
34楼 大 中 小 发表于 2010-3-4 18:22 只看该作者
这比完全不开口子还恶心!!!
以为国外媒体只看英文报纸吗?以为别人都是傻瓜吗?
在天安门散步的新闻不还是被和谐了吗?
别和我说是在创造有特色的中国的新闻自由。
老卡
Twitter:laokalaoka
35楼 大 中 小 发表于 2010-3-4 19:16 只看该作者
http://www.huanqiu.com/siteinfo/subscribe.html
欢迎广大读者到当地邮局(所)订阅《环球时报》和《环球时报》英文版。
2010年的《环球时报》每周一到周五出版,订阅单价1元,零售价1.2元。全年定价252元,半年价126元,季价63
元,月价21元。本报邮发代号为1-180。
《环球时报》英文版(含都市北京版)仅限北京发行,每周一至周五出版,每期40版.
北京地区读者可在当地邮局订阅。2010年全年订阅价:450元;半年价:225元;季度价:112.5元;月价:37.5元;邮发代号:1-176。零售每份2元。
《环球时报》英文版,每周一至周五出版,每期24版。
北京地区外的读者在当地邮局均可订阅。2010年全年订阅价:375元;半年价187.5元;季度价93.75元;月价31.25元;邮发代号
1-181。零售每份1.5元。
如果您有任何疑问,欢迎拨打报社发行热线:订阅中文版请拨打:010-65369589,订阅英文版请拨打:010-65369602.
《环球时报》中文版及英文版全体记者和编辑将以出色的新闻报道回报您的支持
老卡
Twitter:laokalaoka
36楼 大 中 小 发表于 2010-3-4 19:18 只看该作者
http://www.ftchinese.com/story/001025928
尽管胡锡进坚称推出英文版是一个商业项目,但他希望得到一部分政府的国际宣传资金。“我们应该得到资助,因为我们也是通过促进中国与世界的交流服务于公众。”
其英文版初期将在中国五个城市印发,日发行10万份,一旦运作上了轨道,计划在美国发行。
老卡
Twitter:laokalaoka
37楼 大 中 小 发表于 2010-3-4 19:20 只看该作者
纯天朝内部发行,哪来什么外国读者? 米国驻华大使馆会订《环球时报》英文版获取资讯?
coffee2046
38楼 大 中 小 发表于 2010-3-4 21:39 只看该作者
最近的china daily很劲爆
kiwi16
39楼 大 中 小 发表于 2010-3-4 22:15 只看该作者
愤愤大多不怎么懂英文,所以英文报纸要办的客观点,而中文的就耸人听闻点
| 5.682823 | 136 | 0.608709 | yue_Hant | 0.997168 |
54fc6e1621b9838bed178967967d07530ffb980c | 9,218 | md | Markdown | README.md | marpies/firebase-invites-ane | fb1368e0c6039be47173504ecd8f3a3c752ef56e | [
"Apache-2.0"
] | 4 | 2016-08-16T12:58:29.000Z | 2017-06-19T09:14:42.000Z | README.md | marpies/firebase-invites-ane | fb1368e0c6039be47173504ecd8f3a3c752ef56e | [
"Apache-2.0"
] | null | null | null | README.md | marpies/firebase-invites-ane | fb1368e0c6039be47173504ecd8f3a3c752ef56e | [
"Apache-2.0"
] | null | null | null | # Firebase Invites | Native extension for Adobe AIR (iOS & Android)
[Firebase Invites](https://firebase.google.com/docs/invites/) is a cross-platform solution for sending personalized email and SMS invitations, on-boarding users, and measuring the impact of invitations. Word of mouth is one of the most effective ways of getting users to install your app. Firebase Invites makes it easy to turn your app's users into your app's strongest advocates.
Development of this extension is supported by [Master Tigra, Inc.](https://github.com/mastertigra)
## Features
* Receiving Firebase invitations and associated deep links
* Sending invitations via native UI
## Firebase Invites SDK versions
* iOS `v1.1.0`
* Android `v9.4.0`
## Getting started
### Prerequisites
FirebaseInvites extension requires [FirebaseConfig](https://github.com/marpies/firebase-config-ane) and [FirebaseCore](https://github.com/marpies/firebase-core-ane) extensions. See the instructions for each extension and add them to your project.
For iOS support, copy the frameworks from [bin/ios-frameworks](bin/ios-frameworks) to `AIR_SDK_LOCATION/lib/aot/stub` directory on your computer.
If you plan on sending invitations from iOS, your users will need to be signed in into your app with their Google account. To add this feature to your app, you can use [Google Identity extension developed by distriqt](http://airnativeextensions.com/extension/com.distriqt.GoogleIdentity).
### Additions to AIR descriptor
After you deal with the prerequisites, add the extension's ID to the `extensions` element.
```xml
<extensions>
<extensionID>com.marpies.ane.firebase.invites</extensionID>
</extensions>
```
If you are targeting Android, add the following extensions from [this repository](https://github.com/marpies/android-dependency-anes) as well (unless you know these libraries are included by some other extensions):
```xml
<extensions>
<extensionID>com.marpies.ane.androidsupport</extensionID>
<extensionID>com.marpies.ane.googleplayservices.base</extensionID>
<extensionID>com.marpies.ane.googleplayservices.appinvite</extensionID>
</extensions>
```
For iOS support, look for the `iPhone` element and make sure it contains the following `InfoAdditions` and `Entitlements`:
```xml
<iPhone>
<InfoAdditions>
<![CDATA[
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>{APP-PACKAGE-NAME}</string>
<key>CFBundleURLSchemes</key>
<array>
<string>{APP-PACKAGE-NAME}</string>
<string>{REVERSED_CLIENT_ID}</string>
</array>
</dict>
</array>
<key>MinimumOSVersion</key>
<string>7.0</string>
]]>
</InfoAdditions>
<Entitlements>
<![CDATA[
<key>com.apple.developer.associated-domains</key>
<array>
<string>applinks:{DYNAMIC-LINK-DOMAIN}</string>
</array>
]]>
</Entitlements>
<requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone>
```
In the snippet above, replace:
* `{APP-PACKAGE-NAME}` with your app package name (value of `id` element in your AIR app descriptor).
* `{REVERSED-CLIENT-ID}` with your `REVERSED_CLIENT_ID` value from your `GoogleService-Info.plist` file. The value starts with `com.googleusercontent.apps`.
* `{DYNAMIC-LINK-DOMAIN}` with your Dynamic Link domain value from the Firebase project console (see image below). The value must be without `https://` and the trailing slash so that the value of the entitlement will look like this: `applinks:appid.app.goo.gl`

For Android support, modify `manifestAdditions` element so that it contains the following:
```xml
<android>
<manifestAdditions>
<![CDATA[
<manifest android:installLocation="auto">
<application>
<!-- FirebaseInvites BEGIN -->
<activity
android:name="com.marpies.ane.firebase.invites.FirebaseInviteActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
/>
<activity>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:host="{DEEP-LINK-HOST}" android:scheme="{DEEP-LINK-SCHEME}" />
</intent-filter>
</activity>
<!-- FirebaseInvites END -->
</application>
</manifest>
]]>
</manifestAdditions>
</android>
```
In the snippet above, replace:
* `{DEEP-LINK-HOST}` with the host which your invitation deeplinks will refer to, for example if one of your deeplinks is `https://example.com/page/cooking` then the host will be `example.com`.
* `{DEEP-LINK-SCHEME}` with your deeplink scheme, usually `http` or `https`.
You may add more than one pair of host and scheme.
Finally, add the [FirebaseInvites ANE](bin/com.marpies.ane.firebase.invites.ane) or [SWC](bin/com.marpies.ane.firebase.invites.swc) package from the [bin directory](bin/) to your project so that your IDE can work with it. The additional Android library ANEs are only necessary during packaging.
## API overview
### Callbacks
To be notified when an invitation is received, specify a callback method that accepts single parameter of type `FirebaseInvitation`:
```as3
FirebaseInvites.addInvitationReceivedCallback( onFirebaseInvitationReceived );
...
private function onFirebaseInvitationReceived( invitation:FirebaseInvitation ):void {
trace( invitation.id );
trace( invitation.deepLink );
trace( invitation.matchType );
}
```
It is recommended to add the callback before initializing the extension to receive any invitations which result in launching your app.
You can add more than one callback, or remove specific callback using:
```as3
FirebaseInvites.removeInvitationReceivedCallback( onFirebaseInvitationReceived );
```
### Initialization
Now proceed with ANE initialization. The `init` method should be called in your document class' constructor, or as early as possible after your app's launch and **after** `FirebaseCore.configure()` is called:
```as3
if( FirebaseInvites.init() ) {
// successfully initialized
}
```
You may pass in `true` to the `init` call to enable extension logs.
### Sending invitations
To send a Firebase invitation, use `FirebaseInvites.dialog` getter. It is a [builder object](https://en.wikipedia.org/wiki/Builder_pattern) that can be used to predefine values for an invitation dialog which is presented using native UI:
```as3
FirebaseInvites.dialog
.setTitle( "Invitation title" )
.setMessage( "Hi, try this cooking app!" )
.setAppDescription( "App description in email" ) // iOS only
.setCallToActionText( "INSTALL NOW!" ) // Email call-to-action button label
.setCustomImageURL( "https://example.com/custom-image.png" )
.setDeepLink( "https://example.com/page/cooking" )
.setErrorCallback( onFirebaseInviteError )
.setSuccessCallback( onFirebaseInviteSuccess )
.open();
```
You should specify both error and success callbacks with the following signature:
```as3
private function onFirebaseInviteError( errorMessage:String ):void {
trace( "FirebaseInvites | onFirebaseInviteError:", errorMessage );
}
private function onFirebaseInviteSuccess( invitationIds:Vector.<String> ):void {
trace( "FirebaseInvites | onFirebaseInviteSuccess invitation ids:", invitationIds );
}
```
For a complete set of parameters for the dialog, see the included [docs](docs/) for [FirebaseInvitesDialogBuilder class](actionscript/src/com/marpies/ane/firebase/invites/FirebaseInvitesDialogBuilder.as).
## Requirements
* iOS 8+ (You can build for iOS 7 but the FirebaseInvites functionality will not be available)
* Android 4+
* Adobe AIR 20+
## Documentation
Generated ActionScript documentation is available in the [docs](docs/) directory, or can be generated by running `ant asdoc` from the [build](build/) directory.
## Build ANE
ANT build scripts are available in the [build](build/) directory. Edit [build.properties](build/build.properties) to correspond with your local setup.
## Author
The ANE has been written by [Marcel Piestansky](https://twitter.com/marpies) and is distributed under [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
## Changelog
#### August 16, 2016 (v1.0.0)
* Public release
| 41.336323 | 381 | 0.697006 | eng_Latn | 0.874623 |
54fcac88e7742e03ac77c402b1e0f2029cd05a48 | 1,402 | md | Markdown | 2020/08/17/2020-08-17 23:55.md | zhzhzhy/WeiBoHot_history | 32ce4800e63f26384abb17d43e308452c537c902 | [
"MIT"
] | 3 | 2020-07-14T14:54:15.000Z | 2020-08-21T06:48:24.000Z | 2020/08/17/2020-08-17 23:55.md | zhzhzhy/WeiBoHot_history | 32ce4800e63f26384abb17d43e308452c537c902 | [
"MIT"
] | null | null | null | 2020/08/17/2020-08-17 23:55.md | zhzhzhy/WeiBoHot_history | 32ce4800e63f26384abb17d43e308452c537c902 | [
"MIT"
] | null | null | null | 2020年08月17日23时数据
Status: 200
1.仝卓事件被写入公职人员学习读本
微博热度:3223439
2.蒙古国想把捐赠的羊送给湖北
微博热度:1772859
3.兰蔻菁纯面霜
微博热度:1741107
4.刘敏涛范丞丞红玫瑰ending
微博热度:1659459
5.微信朋友圈可以删评论了
微博热度:1443403
6.齐明月暗恋凌霄
微博热度:1284389
7.肖战直播
微博热度:1201171
8.以家人之名
微博热度:1192132
9.中国驻休斯敦总领事馆全体馆员归国
微博热度:1013491
10.海南打掉离岛免税商品套购团伙9个
微博热度:1012411
11.青青子衿
微博热度:798973
12.THE9舞台全是远景
微博热度:743601
13.双胞胎兄弟被录取为空军和海军
微博热度:738221
14.王毅赴机场迎接驻休斯敦总领事馆馆员
微博热度:717657
15.男子拍小孩溺水被质疑不施救
微博热度:707601
16.肖枫安蓝超长吻戏
微博热度:688957
17.林俊杰孙燕姿新歌MV
微博热度:681956
18.贺子秋洗澡
微博热度:621870
19.网店推陪骂代骂服务
微博热度:617896
20.原来汉堡还可以这样吃
微博热度:614299
21.李佳琦送丁禹兮冲浪板
微博热度:609335
22.爸妈眼里的随手关门
微博热度:415608
23.教育类硕士毕业生免试认定教师资格
微博热度:372613
24.白俄罗斯
微博热度:295860
25.哄抢车祸后散落猪肉5人被行拘
微博热度:295150
26.王智道歉
微博热度:294121
27.鹿晗演技
微博热度:294030
28.多地建议师生开学前14天不离开本地
微博热度:293021
29.看到核酸样本减少医护开心跳舞
微博热度:292426
30.唐高祖李渊重孙墓道壁画成功修复
微博热度:291733
31.张艺兴 人间节拍器
微博热度:290851
32.王嘉尔手臂肌肉线条
微博热度:289261
33.凌霄做牙医
微博热度:289228
34.司凤床咚璇玑
微博热度:282524
35.东方卫视超级秀
微博热度:282128
36.白敬亭 我后悔了
微博热度:281924
37.今年没有不朽
微博热度:278687
38.朱一龙想演灰太狼
微博热度:264712
39.重启第二季片花
微博热度:240483
40.琉璃预告
微博热度:217023
41.难听
微博热度:211740
42.吉祥航空
微博热度:199837
43.4岁女童被锁幼儿园二楼后坠楼重伤
微博热度:199544
44.UNINE舞台燃
微博热度:192230
45.江西武功山的风有多大
微博热度:185247
46.山东省公务接待实行自助餐
微博热度:180731
47.乐山暴雨
微博热度:179006
48.糖豆人
微博热度:174354
49.南京7月来收治5例蜱虫叮咬重症患者
微博热度:167770
50.兴青公司被查实无证开采
微博热度:167318
| 6.872549 | 20 | 0.781027 | yue_Hant | 0.425325 |
54fdedf54a4977bf5cc15f9463fa40366a4c7ccb | 1,863 | md | Markdown | _posts/2020-08-09-harvard-justice-note13.md | ArmeriaWang/ArmeriaWang.github.io | 3b8e7c5f4880c8ed2001300ffa9bf2f512dd2328 | [
"MIT"
] | null | null | null | _posts/2020-08-09-harvard-justice-note13.md | ArmeriaWang/ArmeriaWang.github.io | 3b8e7c5f4880c8ed2001300ffa9bf2f512dd2328 | [
"MIT"
] | null | null | null | _posts/2020-08-09-harvard-justice-note13.md | ArmeriaWang/ArmeriaWang.github.io | 3b8e7c5f4880c8ed2001300ffa9bf2f512dd2328 | [
"MIT"
] | null | null | null | ---
layout: post
title: harvard-justice-note13
postTitle: 正义之辩——随录(十三)
categories: [Justice, Philosophy, Open Class Notes]
description: 哈佛大学《正义之辩》课堂随录(十三)
keywords: Harvard, Justice, Philosophy, Political Philosophy, Open Class Notes
published: true
mathjax: false
typora-root-url: ..
---
本文对应课程视频P7的上半部分。
## 义务、自律与纯粹理性
Kant哲学中,「义务」与「自律」是两个核心的概念。他将这样这一对看似对立的概念统一在了一起。这是因为,履行义务其实就是在遵循自己给自己制定的规则,也就是自律
>我并不因为遵守法则而崇高,而是因为我所遵循的这一法则,是我自主决定、自愿服从的。
>
>*Kant*
那么,世界上有多少种「自给的道德法则」呢?Kant认为,如果我们都自觉地出于自己的道德心,自主选择道德法则,我们就一定会提出同一套超脱主观条件的至高无上的道德法则。这是因为,当我们选择时,并不是一个个独立的个体在为自己选择,而是那一个不受外界影响的「纯粹理性」在选择。
## 绝对命令和道德为何存在
Kant认为,若要说明绝对命令和道德的存在性,首先要区分两种解释人类体验的论点。一方面,作为体验的客体(object),「我」属于感官世界,在那里,「我」的行为受到自然法则以及因果规律的支配;另一方面,作为体验的主体(subject),「我」属于理智世界,在那里,独立于自然法则,我可以自主地按照自己制定的法则行事。Kant指出,只有从第二种论点出发,我们才能认定自己是自由的。
>当我们认为自己是自由的时候,我们就将自己转换为理智世界的成员,并意识到意志的自主性。
>
>*Kant*
正是因为同时存在「必要性领域(necessity realm)」和「自由领域(freedom realm)」又称这两个领域,所以我们所做的(what we do)和我们应该做的(what we ought to do)存在着天然的鸿沟。 由此,Kant得出道德不等同于经验主义的基本结论。道德与这个充斥着经验主义的世界存在着一堵无形的隔离墙;无论科学发现了什么,都无法改变道德;没有任何科学发现能够揭示道德真相。
## 门外杀手的诘问
考虑这样一个困难情形:有一位朋友为了躲避追杀,藏在你的家里;现在杀手找上门来,敲响了你的房门,问你朋友在不在这里。这时,应该如何回答?
显然,任何精神正常的人都不会无动于衷地说出「他在这里」,并等着杀手破门而入。绝大部分人的选择是,撒谎,说一个善意的谎言(white lie)。那么,视道德准则高于一切的Kant会做何选择呢?Kant回答说,我不会因为行为可能导致的后果而改变我的选择;而「不说谎」是最高道德准则之一,所以我不会说谎。按照Kant的行事法则,要是不想让朋友遭遇不幸,只能找到一种既不用撒谎也能避免最坏结果的解决办法。
有学生说,应当在朋友进门避难前,就告知他,「我会说实话,到那时你需要从后门逃走」。也有学生说,可以回答「我不知道他在哪里」(这确实不是谎言,因为朋友可能躲在了衣橱的某个角落,我确实不掌握他的具体位置),以此误导杀手。
那么,直接的谎言和有误导性的真话,存在道德上的差异吗?有人认为没有差异,因为它们都是从行为导致的结果出发而做出的选择,行事动机是相同的。而按照Kant的观点,二者是存在差别的。因为即便二者都有着「让朋友脱离险境」的外在动机,说误导性的真话时,仍在心中保持着对最高道德准则的敬意,这或多或少也是动机之一。在这一点上,谎言是缺失的。
这里我想补充一点,并不是只要说真话,就一定是道德的。比如在这个例子中,直接说「他在这里」的真话也是违背道德的,因为这种行为「背叛朋友」。按照一般化原则,如果每个人在同样情景下都把朋友的生命拱手相让,就不会再有人结交朋友了,更不会有人到朋友家里避难。这就消解了行为本身。
做个有道德的人,真难。
## 参考资料
- [**课程视频** - bilibili - 【哈佛大学】正义之辩](https://www.bilibili.com/video/BV1d4411v7G4)
| 35.150943 | 207 | 0.82555 | yue_Hant | 0.459872 |
54fe555cea8782216f29ea93e8cae7765d3a8098 | 200 | md | Markdown | Weekly Report/WEEK 17 (2020.04.24-2020.05.01).md | windkaku/bin | f2426f8e98cf628a74cafa32f4bfc0f692fcdf88 | [
"MIT"
] | null | null | null | Weekly Report/WEEK 17 (2020.04.24-2020.05.01).md | windkaku/bin | f2426f8e98cf628a74cafa32f4bfc0f692fcdf88 | [
"MIT"
] | null | null | null | Weekly Report/WEEK 17 (2020.04.24-2020.05.01).md | windkaku/bin | f2426f8e98cf628a74cafa32f4bfc0f692fcdf88 | [
"MIT"
] | null | null | null | WEEK 17 (2020.04.24-2020.05.01)
----------------------------
### 学习&工作💡
+ #### 具体学习&工作进展
+ 学习了一期面包机渲染视频
+ 完成了冰柜贴图
+ 正在完成建模大作业
+ #### 遇到的问题
+ 不会画LOGO
### 下周规划👻
+ 完成LOGO
+ 复习科目一
+ 完成大作业
| 9.090909 | 31 | 0.47 | yue_Hant | 0.476316 |
54feef51643773919447968fc8589906a196ce38 | 219 | md | Markdown | examples/tensorflow/image_recognition/tensorflow_models/distillation/README.md | huggingface/neural-compressor | aaad4c357a86914ffa583753c9a26d949838a2a5 | [
"Apache-2.0"
] | 172 | 2021-09-14T18:34:17.000Z | 2022-03-30T06:49:53.000Z | examples/tensorflow/image_recognition/tensorflow_models/distillation/README.md | intel/lp-opt-tool | 130eefa3586b38df6c0ff78cc8807ae273f6a63f | [
"Apache-2.0"
] | 40 | 2021-09-14T02:26:12.000Z | 2022-03-29T08:34:04.000Z | examples/tensorflow/image_recognition/tensorflow_models/distillation/README.md | intel/neural-compressor | 16a4a12045fcb468da4d33769aff2c1a5e2ba6ba | [
"Apache-2.0"
] | 33 | 2021-09-15T07:27:25.000Z | 2022-03-25T08:30:57.000Z | Details **TBD**
Please update conf.yaml with /PATH/TO/ImageNet
### Run pretraining
```shell
bash run_distillation.sh --topology=mobilenet --teacher=densenet201 --config=conf.yaml --output_model=path/to/output_model
```
| 31.285714 | 122 | 0.767123 | kor_Hang | 0.321384 |
54feff6dc4ce0676dcf05b2735b77321cba8a9a4 | 167 | md | Markdown | README.md | dadansumardani/wavebreak1 | 5b970d8b3ad5a4fed68db2895e3fd35a42d5bf76 | [
"CC0-1.0"
] | null | null | null | README.md | dadansumardani/wavebreak1 | 5b970d8b3ad5a4fed68db2895e3fd35a42d5bf76 | [
"CC0-1.0"
] | null | null | null | README.md | dadansumardani/wavebreak1 | 5b970d8b3ad5a4fed68db2895e3fd35a42d5bf76 | [
"CC0-1.0"
] | null | null | null | # wavebreak1
Wavebreaker is a simulation to investigate the granular behavior
Download Worksheet to use in classroom, available in https://s.id/wavebreak1worksheet
| 41.75 | 86 | 0.820359 | eng_Latn | 0.968699 |
54ffa1151cfdbe109d439eba638535659ec31f7e | 122 | md | Markdown | README.md | frankhaugen/dot-net-rocks-player-console-core | 3ef7b177b1dd1ae6afd2d573a72c8c2c19ad9c1b | [
"MIT"
] | 1 | 2019-11-07T08:18:15.000Z | 2019-11-07T08:18:15.000Z | README.md | frankhaugen/dot-net-rocks-player | 3ef7b177b1dd1ae6afd2d573a72c8c2c19ad9c1b | [
"MIT"
] | null | null | null | README.md | frankhaugen/dot-net-rocks-player | 3ef7b177b1dd1ae6afd2d573a72c8c2c19ad9c1b | [
"MIT"
] | null | null | null | # dot-net-rocks-player-console-core
An unofficial player for the .net rocks podcast. It's just for fun, and to experiment
| 40.666667 | 85 | 0.778689 | eng_Latn | 0.996235 |
54ffb38e3cd7d9fc4c1d585679fd38e99b7c0e73 | 130 | md | Markdown | content/lua/mob/getpr.md | xackery/eqquestapi | e3bb4d58651c7c2bb1ced94deb59115946eed3c5 | [
"MIT"
] | null | null | null | content/lua/mob/getpr.md | xackery/eqquestapi | e3bb4d58651c7c2bb1ced94deb59115946eed3c5 | [
"MIT"
] | 1 | 2020-09-08T17:21:08.000Z | 2020-09-08T17:21:08.000Z | content/lua/mob/getpr.md | xackery/eqquestapi | e3bb4d58651c7c2bb1ced94deb59115946eed3c5 | [
"MIT"
] | 1 | 2020-08-29T00:49:26.000Z | 2020-08-29T00:49:26.000Z | ---
title: GetPR
searchTitle: Lua Mob GetPR
weight: 1
hidden: true
menuTitle: GetPR
---
## GetPR
```lua
Mob:GetPR(); -- number
``` | 11.818182 | 26 | 0.653846 | kor_Hang | 0.42781 |
070043b09d26bba31f409a81be1eff95a3dc89e6 | 270 | md | Markdown | README.md | fulldecent/Aion-ATS-Token-Contract-Java | cc65bdefac6ac523edcddfeda521447052c4d54c | [
"MIT"
] | null | null | null | README.md | fulldecent/Aion-ATS-Token-Contract-Java | cc65bdefac6ac523edcddfeda521447052c4d54c | [
"MIT"
] | null | null | null | README.md | fulldecent/Aion-ATS-Token-Contract-Java | cc65bdefac6ac523edcddfeda521447052c4d54c | [
"MIT"
] | 1 | 2020-11-23T05:52:23.000Z | 2020-11-23T05:52:23.000Z |
# Under Development!
## Aion-ATS-Token-Contract-Java
ATS Token Contract - Java Implementation
Following Aion Token Standard: https://github.com/aionnetwork/AIP/tree/master/AIP-004
Thanks to William for the first draft: https://github.com/aionWilliam/AIP-004-ATS
| 20.769231 | 85 | 0.774074 | yue_Hant | 0.6059 |
07010524d35ec7e0b2b646d8a3d2508bf8d869bb | 1,347 | md | Markdown | src/pages/about-me.md | lttr/lukastrumm | 16dc388637b1cf4847dd94160b1e243e5e3851ce | [
"MIT"
] | 2 | 2020-10-31T15:20:41.000Z | 2020-11-01T15:28:45.000Z | src/pages/about-me.md | lttr/lukastrumm | 16dc388637b1cf4847dd94160b1e243e5e3851ce | [
"MIT"
] | 92 | 2020-08-13T08:19:46.000Z | 2022-03-01T22:15:29.000Z | src/pages/about-me.md | lttr/lukastrumm | 16dc388637b1cf4847dd94160b1e243e5e3851ce | [
"MIT"
] | null | null | null | ---
title: About me
permalink: /about/
---
**Husband | Father | Software engineer | Scout leader | Endurance runner | Craftsman at home**
<img src="/img/lt.jpg"
width="320"
height="320"
alt="Lukas Trumm"
style="border-radius: 6px; margin: 0px 0px 10px 15px; float: right;">
I love doing work that brings joy to everyone involved. I love my family. I love being alone and improving my craft.
I strongly believe in the principles of the Scout movement. Software engineering craftsmanship is an area of my big interest in which I strive to do a professional job. It is a _duty to myself_ to excel in my profession.
I am leader of local scout group. We actively participate on positive change of our world through young generation. I feel that it is (alongside with care for our families) the best form of _duty to others_ I am able to provide.
I love running in the nature. In difficult (inspiring) conditions one can come up with things that would otherwise remain hidden. Asking yourself whether you are on the right lifeway is essential for the _duty to God_.
### References
- [Principles](https://www.scout.org/promiseandlaw) of the Scout movement
- [Website](https://ctyriadvacitka.skauting.cz) of my scout group
- [My Github](https://github.com/lttr/) profile
## Meta
- [About this site](/about-this-site)
- [CV](/cv)
| 42.09375 | 228 | 0.744618 | eng_Latn | 0.99671 |
07011cf55a8f66e9436794638add8d58311ecfd8 | 1,519 | md | Markdown | blog/source/_posts/2017-09-22-old-blog-post12.md | Yeop-Blog/hexo | fc446e7437c0f1e5ad86564cde0d834e04726463 | [
"MIT"
] | null | null | null | blog/source/_posts/2017-09-22-old-blog-post12.md | Yeop-Blog/hexo | fc446e7437c0f1e5ad86564cde0d834e04726463 | [
"MIT"
] | null | null | null | blog/source/_posts/2017-09-22-old-blog-post12.md | Yeop-Blog/hexo | fc446e7437c0f1e5ad86564cde0d834e04726463 | [
"MIT"
] | null | null | null | ---
title: 3장. 프로그램에 로직과 제어 추가
thumbnail: /images/javascript_thumbnail.jpg
date: 2017-09-22 00:01:01
categories:
- Language
- JavaScript
tags:
---
1. 자바스크립트에는 조건문을 추가하여 아래와 같은 명령을 수행할 수 있다.
- **폼 유효성 검사**
- **드래그 앤 드롭**
- **입력값 검증**
2. if문의 사용법은 아래와 같이 다양하게 쓸 수 있다.
- ``if(조건) { }``
- ``if(조건) { } else { }``
- ``if(조건) { } else if(조건) { } else { }``
- 조건에는 AND연산자(&&)와 OR(||)연산자, 조건 부정(!)등이 들어갈 수 있다.
3. **루프를 이용하여 반복 작업** 을 할 수도 있다.
``while(조건) { }``
``do { } while(조건);``
4. 함수 : 유용한 코드를 재사용 가능한 명령으로 바꾸기
함수의 기본 구조는 아래와 같다.
```javascript
function functionName() {
//실행할 자바스크립트 코드
}
//Example
function printToday( {
var today = new Date();
document.write(today.toDateString());
}
```
실행을 하려면 ``printToday();``
5. 함수에 정보를 건네줄 때는 **파라미터(parameter)**를 이용하면 된다.
기본 구조는 아래와 같다.
```javascript
function functionName(parameter) {
//실행할 자바스크립트 코드
}
//Example
function print(message) {
document.write(message);
}
```
실행을 하려면 ``print('Hello World!');``
파라미터 값은 여러개 추가가 가능하다.
```javascript
function functionName(parameter1, parameter2, parameter3) { }
```
6. 함수에서 정보를 가져 올때는 return을 이용하면 된다.
```javascript
function functionName(parameter) {
//실행할 자바스크립트 코드
return value;
}
//Example
var TAX = 80;
function calculateTotal(quantity, price) {
var total = quantity * price * (1+TAX);
var formattedTotal = total.toFixed(2);
return formattedTotal;
}
var saleTotal = calculateTotal(2, 16);
document.write('Total cost is : $' + saleTotal);
```
| 21.097222 | 61 | 0.61817 | kor_Hang | 0.9996 |
07015fb940cb964b68a8294bfad0125f70e64f94 | 5,785 | md | Markdown | reflective/2019-10-13-reflective-Binding.md | prof-cordell-classes/f19-bbb-fieldbook-ansonh713 | 48e59a47b5c2766f886c213f2a3df948481bb81c | [
"MIT"
] | null | null | null | reflective/2019-10-13-reflective-Binding.md | prof-cordell-classes/f19-bbb-fieldbook-ansonh713 | 48e59a47b5c2766f886c213f2a3df948481bb81c | [
"MIT"
] | null | null | null | reflective/2019-10-13-reflective-Binding.md | prof-cordell-classes/f19-bbb-fieldbook-ansonh713 | 48e59a47b5c2766f886c213f2a3df948481bb81c | [
"MIT"
] | null | null | null | # Reflective: Binding
#### Anson Huang
### Design in Content
A major theme that came up in discussion this week that I think deserves more development is the use of design elements like binding and presentation to send messages about the book, whether or not those are in alignment with the content of the book itself. We discussed how Lindsay Schmittle was able to execute a project with a unified design vision that supplemented the content of her book, and conversely, how shiny new editions of the Percy Jackson series have clashed with the secretive tone of the narrator. One in-class example that I think also really fit well with this train of thought is the Fiapo book from Ricardo Dantas. During the process of making that book, Dantas made very deliberate design choices that would match the narrative that he was trying to tell. He chose light but thick paper to add to a sense of delicateness to the book, and used lay-flat binding in order to give the pages the strongest sense of continuity. On the other hand, he did make some choices that were utilitarian instead; for example, he used Garamond as the font because that was the only font they had that left a clear impression on the paper and was reasonably stocked with letters. That brings me to an important note: because design is orthogonal to the writing process, not all design choices enhance or hinder the text. Some choices are made without the writing in mind, which is important for book designers because it establishes design as a separate consideration that doesn't rely entirely on the text to make its decisions.
### Design in Context
Along that line of thought, something that I want to consider is the use of design to send messages outside of the content of the text. For example, my public library once had a display shelf (it might still be there...) where, similar to how Penguin has that classic cover format, each book was bound identically, with only the title and author showing any distinction between the books. Each book cover and spine was a monotone, unremarkable, beige-ish gray; I remember I only approached the shelf in the first place because I was looking for classic, "grown-up" books, but I didn't recognize any of the authors or titles. The display theme? Books written throughout history by women authors, largely overlooked, forgotten, or underrepresented. The dull packaging in this case was a clear and conscious decision on the part of the book publisher, as a representation of the context behind the book, rather than the content of the book. I think that's another interesting use of design to serve a purpose, though I do have some concerns about its effectiveness (I'll get to that later on here).
### Design in Culture
The third category of design purpose that I want to bring up is irrelevant to the book itself, because these design choices are made in relation to things besides the book. Chesnutt's short story "Baxter's Procustes" shows (at least in theory) that books can be made without a single ounce of consideration for their contents, considering Baxter's book was entirely blank. The book's format is arguably not a result of context either, since it wasn't made to say anything about Baxter or the circumstances of the book's creation. Instead, the book's use of paper, binding, and sealing practices were a direct response to the culture around it; Baxter created a finely-crafted book that would appeal to the tastes of the Bodleian Club. That sort of messaging says the most about the society around the published book rather than anything about the book itself. In a less fictional example, I came across this short Twitter thread the other day from Ethan M. Aldridge, an author/illustrator whose work I enjoy quite a bit.

Aldridge's notes on what he sees in publishing as a trend toward special edition physical books and visually eye-catching/tactile experiences is really interesting because he also frames it as a pushback against the flat and digital nature of ebooks. That's not about the content or the background of a text; that's a specific response to the culture that spawned the book. Design choices like that enter a sort of cultural dialogue, shaping the design of future books and becoming an entirely separate property from the text.
### Conclusion
So, recognizing these three entirely separate categories of how book binding and design can send messages that are sometimes interrelated with the text, the issue arises: how do we tell them apart? And I think the unfortunate answer is that we can't - at least not on first glance. I went looking at my library's interesting collection of women-authored books because the covers made me think they were part of a more conventional classics collection. I was using the covers as a cultural design choice when they were really a contextual design choice. Similarly, we were talking in class about how the design of newer editions of Percy Jackson detracted from the text's message, but it might have been more fitting to talk about the pros and cons of having a culture-oriented design (like Aldridge mentions, fancy new editions are part of publishing culture) versus having a content-oriented design that might be more in line with the tone of the text. I have brought it up before in discussion or in a previous reflective post, but I definitely hold the stance that there is no such thing as truly neutral design. I don't think there is a way to completely suppress sending any one of these three design messages, which means it's up to authors, editors, designers, publishers, and whoever else is behind the production of a book to make informed design decisions. | 262.954545 | 1,536 | 0.802247 | eng_Latn | 0.999968 |
0702f8ac7a1a9ca974bde514032e29bee661eaf5 | 5,172 | md | Markdown | README.md | mkitti/NumPyArrays.jl | 1bdeed591a73969ed712edf42f4dc6cd912e593b | [
"MIT"
] | 13 | 2021-07-11T13:34:16.000Z | 2021-09-16T12:49:09.000Z | README.md | mkitti/NumPyArrays.jl | 1bdeed591a73969ed712edf42f4dc6cd912e593b | [
"MIT"
] | 2 | 2021-07-12T13:07:26.000Z | 2021-07-14T09:36:34.000Z | README.md | mkitti/NumPyArrays.jl | 1bdeed591a73969ed712edf42f4dc6cd912e593b | [
"MIT"
] | 1 | 2021-07-12T13:02:30.000Z | 2021-07-12T13:02:30.000Z | # NumPyArrays.jl
NumPyArrays.jl is a [Julia](https://julialang.org/) language package that extends [PyCall.jl](https://github.com/JuliaPy/PyCall.jl)
in order to convert additional Julia arrays into [NumPy](https://numpy.org/) arrays in [Python](https://python.org/).
An array produced by the [`view`](https://docs.julialang.org/en/v1/base/arrays/#Base.view),
[`@view`](https://docs.julialang.org/en/v1/base/arrays/#Base.@view), or
[`reinterpret`](https://docs.julialang.org/en/v1/base/arrays/#Base.reinterpret)
methods in Julia can be converted into a [`numpy.ndarray`](https://numpy.org/doc/1.20/reference/generated/numpy.ndarray.html)
in Python using this package.
## Additional Features
NumPyArrays.jl also provides a [`AbstractArray` interface](https://docs.julialang.org/en/v1/manual/interfaces/#man-interface-array)
and extends some functions of PyCall to apply to a `NumPyArray`. Much of this is redundant with the functionality of `PyCall.PyArray`, which this wraps.
For advanced usage with PyCall, it is recommended to convert the `NumPyArray` to a `PyObject` or `PyArray`.
## PyCall only converts some Julia arrays into a NumPy array
PyCall.jl already converts a Julia `Array` into a NumPy array.
However, PyCall converts a `SubArray`, `PermutedDimsArray`,
`Base.ReinterpretArray`, or `Base.ReshapedArray`
a Python [`list`](https://docs.python.org/3/tutorial/datastructures.html#more-on-lists)
even if their element type is compatible with NumPy.
NumPyArrays.jl extends PyCall.jl to allow any array with a compatible
element type where the method `strides` is applicable and who has a
parent or ancestor that is mutable. This includes the above array types
in `Base`.
## Example and Demonstration
```julia
julia> using NumPyArrays, PyCall
julia> rA = reinterpret(UInt8, zeros(Int8, 4,4))
4×4 reinterpret(UInt8, ::Array{Int8,2}):
0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
julia> pytypeof(PyObject(rA))
PyObject <class 'list'>
julia> PyObject(rA)
PyObject [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
julia> pytypeof(NumPyArray(rA))
PyObject <class 'numpy.ndarray'>
julia> NumPyArray(rA)
4×4 NumPyArray{UInt8,2}:
0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00
julia> PyObject(NumPyArray(rA))
PyObject array([[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]], dtype=uint8)
julia> sA = @view collect(1:16)[5:9]
5-element view(::Array{Int64,1}, 5:9) with eltype Int64:
5
6
7
8
9
julia> pytypeof(PyObject(sA))
PyObject <class 'list'>
julia> PyObject(sA)
PyObject [5, 6, 7, 8, 9]
julia> pytypeof(NumPyArray(sA))
PyObject <class 'numpy.ndarray'>
julia> npsA = NumPyArray(sA)
5-element NumPyArray{Int64,1} with indices 0:4:
5
6
7
8
9
julia> sum(npsA)
35
julia> np = pyimport("numpy"); np.sum(npsA)
35
```
## Installation
This package is being registered in Julia's general registry: https://github.com/JuliaRegistries/General/pull/40675 .
When that pull request is merged, released versions of this package can be added using `Pkg.jl` via:
```julia
] add NumPyArrays
```
Alternatively, you can use `using Pkg; Pkg.add("NumPyArrays")`.
### Obtaining the latest version of this package
To obtain tha latest of this package, including versions which may yet to be released,
use the following command:
```julia
] add https://github.com/mkitti/NumPyArrays.jl
```
Alternatively, you can use `using Pkg; Pkg.add(url="https://github.com/mkitti/NumPyArrays.jl")`.
*Note: Only released versions are intended to be stable*
If you wish to help develop this package, do one the following:
```julia
] dev https://github.com/mkitti/NumPyArrays.jl
] dev NumPyArrays
```
## Questions
### Why not add this functionality to PyCall.jl?
There is a pending pull request on PyCall.jl to integrate this functionality.
See [PyCall.jl#876: Convert AbstractArrays with strides to NumPy arrays](https://github.com/JuliaPy/PyCall.jl/pull/876).
As of the creation of this package on July 10th, 2021, the pull request was last reviewed six months ago on January 13th, 2021.
### Should I use `NumPyArray` or `PyCall.PyArray` to wrap arrays from Python?
You should `PyCall.PyArray`. This package is primarily useful for converting certain Julia arrays into a `PyCall.PyArray`.
### Why not just extend PyObject / PyArray by adding methods to those types?
Since boith `PyObject` or `PyArray` are defined in PyCall.jl and not this package, adding methods to those types would be
[type piracy](https://docs.julialang.org/en/v1/manual/style-guide/#Avoid-type-piracy). We avoid type piracy in this package
by creating a new type `NumPyArray` which wraps `PyArray`.
## Have you heard of [PythonCall.jl](https://github.com/cjdoris/PythonCall.jl)?
Yes. [PythonCall.jl](https://discourse.julialang.org/t/converting-julia-arrays-views-to-numpy-arrays-via-pycall/61186/6)
is another implementation of a Julia language interface to the Python language. My understanding is that PythonCall.jl
already includes this functionality.
### Should NumPyArrays.jl moved under the PyJulia organization?
Sure. Feel free to contact me.
| 34.251656 | 152 | 0.739946 | eng_Latn | 0.913505 |
070348be99b3cd88a9c25d8c332c2e3ea833ee7c | 1,991 | md | Markdown | dictionaries/html/README.md | officel/spell-dic | 638687265f1ee33e2fa94ea8189fce88b99b778a | [
"MIT"
] | 13 | 2016-12-04T16:26:28.000Z | 2019-03-10T22:52:22.000Z | dictionaries/html/README.md | officel/spell-dic | 638687265f1ee33e2fa94ea8189fce88b99b778a | [
"MIT"
] | 26 | 2016-11-25T11:29:57.000Z | 2019-04-02T17:03:19.000Z | dictionaries/html/README.md | officel/spell-dic | 638687265f1ee33e2fa94ea8189fce88b99b778a | [
"MIT"
] | 3 | 2016-12-04T16:42:04.000Z | 2017-11-06T14:47:13.000Z | # Samples
[HTML - HyperText Markup Language -](https://www.w3.org/html/)
## Description
in W3C. HTML is the standard markup language used to create web pages and its elements form the building blocks of all websites.
and see WHATWG. https://html.spec.whatwg.org/
note. Registering combined words like event handlers(ex. onabort).
Because it becomes typo in many cases.
## List
* whatwg
* onabort
* onauxclick
* auxclick
* oncancel
* oncanplay
* canplay
* oncanplaythrough
* canplaythrough
* onchange
* onclick
* onclose
* oncontextmenu
* contextmenu
* oncuechange
* cuechange
* ondblclick
* dblclick
* ondrag
* ondragend
* dragend
* ondragenter
* dragenter
* ondragexit
* dragexit
* ondragleave
* dragleave
* ondragover
* dragover
* ondragstart
* dragstart
* ondrop
* ondurationchange
* durationchange
* onemptied
* onended
* ended
* oninput
* oninvalid
* onkeydown
* keydown
* onkeypress
* keypress
* onkeyup
* keyup
* onloadeddata
* loadeddata
* onloadedmetadata
* loadedmetadata
* onloadend
* loadend
* onloadstart
* loadstart
* onmousedown
* mousedown
* onmouseenter
* mouseenter
* onmouseleave
* mouseleave
* onmousemove
* mousemove
* onmouseout
* mouseout
* onmouseover
* mouseover
* onmouseup
* mouseup
* onwheel
* onpause
* pause
* onplay
* onplaying
* onprogress
* onratechange
* ratechange
* onreset
* onseeked
* seeked
* onseeking
* seeking
* onselect
* onshow
* onstalled
* onsubmit
* onsuspend
* ontimeupdate
* timeupdate
* ontoggle
* onvolumechange
* volumechange
* onwaiting
* onblur
* onerror
* onfocus
* onload
* onresize
* onscroll
* onafterprint
* afterprint
* onbeforeprint
* beforeprint
* onbeforeunload
* beforeunload
* onhashchange
* hashchange
* onlanguagechange
* languagechange
* onmessage
* onoffline
* ononline
* onpagehide
* pagehide
* onpageshow
* pageshow
* onpopstate
* popstate
* onrejectionhandled
* rejectionhandled
* onstorage
* onunhandledrejection
* unhandledrejection
* onunload
* oncut
* oncopy
* onpaste
* onreadystatechange
* readystatechange
| 14.021127 | 128 | 0.761426 | eng_Latn | 0.806909 |
07039539c4b740fe6550d08b989c40cf55abd48d | 1,990 | md | Markdown | ci/README.md | alloytech/pubsubbeat | aa775dc94b32ff657eab09aa31539c730969ccf8 | [
"Apache-2.0"
] | 46 | 2018-04-02T17:51:07.000Z | 2020-04-04T11:24:05.000Z | ci/README.md | alloytech/pubsubbeat | aa775dc94b32ff657eab09aa31539c730969ccf8 | [
"Apache-2.0"
] | 33 | 2018-04-02T18:20:26.000Z | 2020-06-19T17:18:24.000Z | ci/README.md | alloytech/pubsubbeat | aa775dc94b32ff657eab09aa31539c730969ccf8 | [
"Apache-2.0"
] | 22 | 2018-04-02T17:50:55.000Z | 2020-02-06T01:14:29.000Z | # CI Readme
This project performs integration testing using [Concourse](https://concourse-ci.org/).
## Integration Test Setup
If you want to be able to perform integration tests on your own concourse pipeline you will need
to create three things:
* A GCP project for the integration tests.
* A service account in that project that has permissions to read/write/view Pub/Sub topics and
subscriptions. **NOTE** this service account should **only** have permissions to do this.
* A Pub/Sub topic and subscription for testing.
These are set to `pubsubbeat-integration-topic` and `pubsubbeat-integration-subscription` in
the pipeline configuration by default.
Here is a script that will set up your project:
```bash
PROJECT=my-project
TOPIC=pubsubbeat-integration-topic
SUBSCRIPTION=pubsubbeat-integration-subscription
SERVICE_ACCT=pubsub-integration-test-sa
# Create the topic and subscription
gcloud pubsub topics create $TOPIC
gcloud pubsub subscriptions create $SUBSCRIPTION --topic=$TOPIC --topic-project=$PROJECT
# Create the service account and key
gcloud iam service-accounts create $SERVICE_ACCT
gcloud iam service-accounts keys create key.json --iam-account $SERVICE_ACCT@$PROJECT.iam.gserviceaccount.com
# Grant the service account the proper permissions
gcloud projects add-iam-policy-binding $PROJECT --member serviceAccount:$SERVICE_ACCT@$PROJECT.iam.gserviceaccount.com \
--role roles/pubsub.viewer --role roles/pubsub.publisher --role roles/pubsub.subscriber
```
## Integration Test Teardown
If you want to stop using concourse and want to tear down your platform, you can do that using the
following commands:
```bash
PROJECT=my-project
TOPIC=pubsubbeat-integration-topic
SUBSCRIPTION=pubsubbeat-integration-subscription
SERVICE_ACCT=pubsub-integration-test-sa
# Delete the topic and subscription
gcloud pubsub topics delete $TOPIC
# Delete the service account and key
gcloud iam service-accounts delete $SERVICE_ACCT@$PROJECT.iam.gserviceaccount.com
```
| 35.535714 | 120 | 0.803015 | eng_Latn | 0.879042 |
0703b177f8336d980002bd0879271e40d59406bd | 2,493 | md | Markdown | docs/specification.md | z-station/sandbox-prolog | 10cd2024b24e4fb48597f7efe1e87c73ee2d8bf3 | [
"MIT"
] | null | null | null | docs/specification.md | z-station/sandbox-prolog | 10cd2024b24e4fb48597f7efe1e87c73ee2d8bf3 | [
"MIT"
] | null | null | null | docs/specification.md | z-station/sandbox-prolog | 10cd2024b24e4fb48597f7efe1e87c73ee2d8bf3 | [
"MIT"
] | 2 | 2021-08-18T05:31:41.000Z | 2021-09-06T04:07:28.000Z | # Спецификация API
Список эндпоинтов API с подробным описанием
### Debug
**HTTP-метод:** POST
**URL:** /debug/
**Описание:** Принимает код программы и возвращает результат ее выполнения
**Параметры запроса:**
```
{
"translator_console_input": ?str,
"code": str
}
```
**Описание параметров запроса:**
- translator_console_input - (строка, необязательный параметр) консольный ввод программы
- code - (строка) код программы
**HTTP-статус ответа:** 200
**Параметры ответа:**
```
{
"translator_console_output": ?str,
"translator_error_msg": ?str
}
```
**Описание параметров ответа:**
- translator_console_output - (строка, необязательный параметр) результат работы программы
- translator_error_msg - (строка, необязательный параметр) ошибки, возникшие при работе программы
### Testing
**HTTP-метод:** POST
**URL:** /testing/
**Описание:** Принимает код программы и набор тестов, возвращает результаты тестирования кода программы
**Параметры запроса:**
```
{
"checker_code": str,
"code": str,
"tests_data": [
{
"test_console_input": str,
"test_console_output": str
}
]
}
```
**Описание параметров запроса:**
- checker_code - (строка) код функции сравнения; функция принимает результат работы программы, значение test_console_output теста и сравнивает их.
- code - (строка) код программы
- tests_data (список) - содержит список тестов
- test_console_input (строка) - консольный ввод программы
- test_console_output (строка) - ожидаемый вывод программы
**HTTP-статус ответа:** 200
**Параметры ответа:**
```
{
"num": int,
"num_ok": int,
"ok": boolean,
"tests_data": [
{
"ok": boolean,
"test_console_input": str,
"test_console_output": str,
"translator_console_output": ?str,
"translator_error_msg": ?str
}
]
}
```
**Описание параметров ответа:**
- num (целое число) - количество тестов
- num_ok (целое число) - количество пройденных тестов
- ok (булево) - успешно ли завершено тестирование
- tests_data (список) - список тестов из запроса дополненный результатами запуска теста
- test_console_input (строка) - консольный ввод программы
- test_console_output (строка) - ожидаемый результат программы
- translator_console_output - (строка, необязательный параметр) результат работы программы
- translator_error_msg - (строка, необязательный параметр) текст ошибки, возникшей в результате работы программы
| 28.329545 | 146 | 0.694745 | rus_Cyrl | 0.76158 |
0703f6f1e7407d6584ee5aeffb71138b9d57b7c4 | 27 | md | Markdown | maven-demo/README.md | shawn0915/java-study-code | e5b23802f484a75f8b4069c8b7bb320e01e6e3d3 | [
"MIT"
] | null | null | null | maven-demo/README.md | shawn0915/java-study-code | e5b23802f484a75f8b4069c8b7bb320e01e6e3d3 | [
"MIT"
] | null | null | null | maven-demo/README.md | shawn0915/java-study-code | e5b23802f484a75f8b4069c8b7bb320e01e6e3d3 | [
"MIT"
] | null | null | null | # Maven
demo: hello world. | 9 | 18 | 0.703704 | nld_Latn | 0.399797 |
0705761e7ec9563531f1f267a35f1fa48648c21c | 3,137 | md | Markdown | README.md | rstacruz/gatsby-remark-component | f845c2677a6518005e3a214271714aa9671321be | [
"MIT"
] | 8 | 2020-02-19T09:09:16.000Z | 2020-08-27T03:51:49.000Z | README.md | rstacruz/gatsby-remark-component | f845c2677a6518005e3a214271714aa9671321be | [
"MIT"
] | null | null | null | README.md | rstacruz/gatsby-remark-component | f845c2677a6518005e3a214271714aa9671321be | [
"MIT"
] | 1 | 2019-06-09T09:35:57.000Z | 2019-06-09T09:35:57.000Z | <p align='center'><br><a href='https://thenounproject.com/term/components/1286164'><img src='https://user-images.githubusercontent.com/74385/75975632-f9100d80-5f2c-11ea-8c20-72a98b8de15e.png' width='96'></a><br></p>
<h1 align='center'>
gatsby-remark-component
</h1>
<p align='center'>
Embed components in React inside <em>div</em> wrappers.
</p>
<p align='center'>
<a href='https://npmjs.com/package/@rstacruz/gatsby-remark-component'>
<img src='https://badge.fury.io/js/%40rstacruz%2Fgatsby-remark-component.svg' alt='npm version'>
</a>
</p>
<br>
A gatsby-transformer-remark plugin that change the AST node parent of a custom component to a div. This is an unofficial maintenance fork of [Hebilicious/gatsby-remark-component](https://github.com/Hebilicious/gatsby-remark-component) continued from its v1.1.3.
## Install
```bash
yarn add gatsby-transformer-remark @rstacruz/gatsby-remark-component
```
## Usage
> Read the great custom component article on the official gatsby remark blog [here](https://using-remark.gatsbyjs.org/custom-components/).
This is the base settings, your components inside your markdown will be auto-detected.
```js
// gatsby-config.js
plugins: [
{
resolve: "gatsby-transformer-remark",
options: {
plugins: ["@rstacruz/gatsby-remark-component"]
}
}
]
```
## Configuration
You can explicitly declare the name of the components if you want to be strict.
```js
plugins: [
{
resolve: "gatsby-transformer-remark",
options: {
plugins: [
{
resolve: "@rstacruz/gatsby-remark-component",
options: { components: ["my-component", "other-component"] }
}
]
}
}
]
```
## How it works
When you start Gatsby, your queries will be built from your components, and gatsby-remark-components will update the AST tree.
<details>
<summary>Technical details...</summary>
This will convert this graphql result:
```json
//...
{
"type": "element",
"tagName": "p",
"properties": {},
"children": [
{
"type": "element",
"tagName": "my-component",
"properties": {},
"children": []
}
]
}
```
To this:
```json
//...
//Notice the tag name
{
"type": "element",
"tagName": "div",
"properties": {},
"children": [
{
"type": "element",
"tagName": "my-component",
"properties": {},
"children": []
}
]
}
```
Now in your markdown template you can do:
```jsx
import rehypeReact from "rehype-react"
import { MyComponent } from "../pages/my-component"
const renderAst = new rehypeReact({
createElement: React.createElement,
components: { "my-component": MyComponent }
}).Compiler
```
Replace :
```jsx
<div dangerouslySetInnerHTML={{ __html: post.html }} />
```
by:
```jsx
<div>{renderAst(post.htmlAst)}</div>
```
And in your page query ... :
```jsx
//...
markdownRemark(fields: { slug: { eq: $slug } }) {
htmlAst // previously `html`
//other fields...
}
//...
```
Now in your markdown you can do:
```md
# Some Title
Some text
<my-component></my-component>
```
This will render your component without any validateDOMNesting warning.
</details>
| 19.72956 | 261 | 0.655084 | eng_Latn | 0.610928 |
070654fad489be37d36e22c857f5f2f9fb096a3f | 4,607 | md | Markdown | Big_Data/5spark.md | TengHuo/DataScienceSummary | 4c439c6531ba5755e9b941c7c78d329cdadd633e | [
"MIT"
] | 1 | 2020-02-16T13:58:06.000Z | 2020-02-16T13:58:06.000Z | Big_Data/5spark.md | TengHuo/DataScienceSummary | 4c439c6531ba5755e9b941c7c78d329cdadd633e | [
"MIT"
] | null | null | null | Big_Data/5spark.md | TengHuo/DataScienceSummary | 4c439c6531ba5755e9b941c7c78d329cdadd633e | [
"MIT"
] | null | null | null | # Data Processing: Spark
## Spark
Spark is unified engine for distributed data processing. Spark extends MapReduce programming model with an abstraction that allows efficient **data reuse**.
### Drawback of MapReduce
- Map Reduce is inefficient for applications that **reuse intermediate results** across multiple computations.
e.g., PageRank, k-means clustering
- Map Reduce is inefficient for **interactive data mining** (multiple ad-hoc queries on the same data)
e.g., web log queries
## Overview of Resilient Distributed Datasets (RDDs)
- An RDD is a read-only, fault-tolerant collection of records that can be operated in parallel.
- An RDD is a data structure that serves as the core unit of data. User program can manipulate it, control its partitioning, make it persistent in memory.
Created through operations, called **transformations**, on
- data in stable storage
- Other RDDs
Manipulated through **actions**, i.e., operations that
- return a value to the application, or
- export data to a storage system
### Lazy Evaluation
Spark executes only **after seeing the first action**, and it lazy evaluates transformations (e.g., spark.textFile(),lines.filter())
**Benefits of Lazy evaluation**:
1. Spark can optimize the required calculations by grouping operations together.
2. Spark recovers from failures and slow workers.
### Advantages of RDD
1. RDDs provide efficient fault tolerance
- They can be recovered using lineage
- Only lost partitions need to be recomputed (and this can be done in parallel)
2. Spark can run backup copies of slow tasks (e.g., to address issues with slow nodes as in MapReduce) without accessing the same memory
3. Runtime can schedule tasks based on data locality to improve performance
4. RDDs degrade gracefully when there is not enough memory to store them. Partitions that do not fit in RAM stored on disk.
### Aplications for RDD
**Suitable** for batch applications that perform the same operation to the entire dataset.
- RDDs remember each transformation as one step in a lineage graph
- RDDs can recover lost partitions efficiently
**Not suitable** for applications that make asynchronous fine-grained updates to shared state.
- e.g., storage system for a web application in which many users update values on the same table
### RDD vs. Distributed Shared Memory (DSM)
DSM: a global address space that applications can read and write to in arbitrary locations.
RDDs created by coarse-grained transformations (applied to the entire dataset) but reads can be fine-grained (read from a specific location).
DSM allows fine-grained writes and reads.
Thus, RDDs restricted to applications performing bulk writes.
### Representing Dependencies


### Spark Architecture

- **Cluster Manager**: Allocates resources across applications
- **Driver Program**
- **SparkContext** connects to the cluster manager, acquires executors, sends application code and tasks to executors
- **Executor**: process that performs computations and stores data
- **Task**: a unit of work that will be sent to an executor
## pySpark
### Parallelized collections
- Created by the parallelize method of sc on an existing iterable or collection **d**
- The elements of **d** are copied to form a distributed dataset that can be operated on in parallel
### count
Returns the number of elements in this RDD
### filter
### map
### flatMap
### collect
### sample
Output a sample of size fraction\*100% of the data, with or without replacement, using a given random number generator seed
### Reduce
#### Fold
Same as reduce but with a first identity (“zero”) argument of the type we want to return
### Aggregate
Like fold, but aggregates the results in each partition, using a function f1, and then combines the results for all partitions using a function f2
```python
rdd = sc.parallelize([1,2,3,4],2)
f1=(lambda local_res, list_elem: (local_res[0]+list_elem, local_res[1]+1))
f2=(lambda local_resA, local_resB:(local_resA[0]+ local_resB[0],local_resA[1]+local_resB[1]))
# loacl_res is (0, 0) at the begining
sum = rdd.aggregate((0.0), f1, f2)
```



### Accumulators
Variables that are only “added” to through an associative and commutative operation and can therefore be efficiently supported in parallel.
```python
accum = sc.acumulator(0)
sc.parallelize([1, 2, 3, 4,5]).foreach(lambda x: accum.add(x))
```
| 31.772414 | 156 | 0.756023 | eng_Latn | 0.99299 |
07071b19d26c5bdc510f6ea00b0401010c06f512 | 203 | md | Markdown | _project/how-to-build-raised-garden-beds-with-corrugated-metal.md | rumnamanya/rumnamanya.github.io | 2deadeff04c8a48cf683b885b7fa6ab9acc1d9d9 | [
"MIT"
] | null | null | null | _project/how-to-build-raised-garden-beds-with-corrugated-metal.md | rumnamanya/rumnamanya.github.io | 2deadeff04c8a48cf683b885b7fa6ab9acc1d9d9 | [
"MIT"
] | null | null | null | _project/how-to-build-raised-garden-beds-with-corrugated-metal.md | rumnamanya/rumnamanya.github.io | 2deadeff04c8a48cf683b885b7fa6ab9acc1d9d9 | [
"MIT"
] | null | null | null | ---
layout: project_single
title: "How to Build Raised Garden Beds With Corrugated Metal"
slug: "how-to-build-raised-garden-beds-with-corrugated-metal"
parent: "best-raised-garden-beds-with-fence"
---
| 29 | 63 | 0.758621 | eng_Latn | 0.699152 |
0707542adc044a35c2ee1935977385052483af46 | 1,243 | markdown | Markdown | _posts/2017-11-09-static-site-generators.markdown | ga222ex/ga222ex.github.io | afc192cf0de91408cd92e918d12f1b7900e0259a | [
"CC-BY-3.0"
] | null | null | null | _posts/2017-11-09-static-site-generators.markdown | ga222ex/ga222ex.github.io | afc192cf0de91408cd92e918d12f1b7900e0259a | [
"CC-BY-3.0"
] | null | null | null | _posts/2017-11-09-static-site-generators.markdown | ga222ex/ga222ex.github.io | afc192cf0de91408cd92e918d12f1b7900e0259a | [
"CC-BY-3.0"
] | null | null | null | ---
title: "Static Site Generators"
date: 2017-11-09 10:17:54 +0100
categories: jekyll
image: /images/jekyll.png
---
I think Static Site Generators are a great way of getting a project started. I have a made a website from scratch a couple of times, and it is always a bit of a pain to get started.
You need to write a fair share of css just to get your site to look reasonably well designed, and to top it off, you need to make it all responsive. Nowadays, it is not enough catering to the desktop users. You need to make sure your site looks good on mobiles and tablets, too!
SSGs can help you with this. They can significantly reduce the hump you need to get over to start a new project. I’m myself a fan of such css libraries as Bootstrap, too. Granted, they are limited, and require you to learn some new syntax, but if you want to quickly set up a site that just works, then concentrate on creating developing your blog or whatever you wanna do, then SSGs might be for you.
Jekyll has great support for blogs, out of the box, and it supports both markdown and html. Jekyll is also the engine behind Github Pages, making it a breeze hosting your jekyll site on their servers. Oh, and did I mention it's free to host on Github Pages? | 95.615385 | 401 | 0.770716 | eng_Latn | 0.999807 |
07086549adaf88942a746fc84cfe7dc0ff74c9fe | 1,226 | md | Markdown | content/sessions/2021/mini-summits/Jun/Governance/Challenges in IoT security.md | jkcso/oss2021 | f5c2dc76670027ec4d508b46a81345ce711ae5e8 | [
"CC0-1.0"
] | 28 | 2020-12-07T12:50:08.000Z | 2022-02-12T18:10:49.000Z | content/sessions/2021/mini-summits/Jun/Governance/Challenges in IoT security.md | jkcso/oss2021 | f5c2dc76670027ec4d508b46a81345ce711ae5e8 | [
"CC0-1.0"
] | 22 | 2020-11-09T01:38:54.000Z | 2022-01-21T17:16:05.000Z | content/sessions/2021/mini-summits/Jun/Governance/Challenges in IoT security.md | jkcso/oss2021 | f5c2dc76670027ec4d508b46a81345ce711ae5e8 | [
"CC0-1.0"
] | 38 | 2020-10-05T19:25:34.000Z | 2022-02-18T22:39:32.000Z | ---
title : "Challenges in IoT security: from infinite recommendations to a plethora of implementations"
track : Governance
project : Risk and Governance
type : working-session
topics :
featured :
event : mini-summit
when_year : 2021
when_month : Jun
when_day : Mon
when_time : WS-2
hey_summit : https://post-summit-sessions.heysummit.com/talks/challenges-in-iot-security-from-infinite-recommendations-to-a-plethora-of-implementations/
session_slack:
#status : draft
description :
organizers :
- Nicolas Boeckh
youtube_link : https://www.youtube.com/watch?v=CxmfTh72MyU
zoom_link :
---
## About this session
The Internet of Things (IoT) is quickly becoming one of the messiest IT landscapes around. Why? Because the IT industry's supercharged development capabilities far outpace regulatory bodies' ability to set boundaries and minimal security requirements. In the meantime, a few organizations have put forth recommendations, but not everyone follows them, and sometimes it gets lost in translation. As such we'll take a look at various regulations and recommendations, and then see where some of what exists on the market today is lagging behind
| 49.04 | 541 | 0.752039 | eng_Latn | 0.992086 |
0708a8b4835550f7cc15e0913a2e3205f5cfbc64 | 8,949 | md | Markdown | src/en/2021-04/02/teacher-comments.md | ArthurMota9/sabbath-school-lessons | a51fcdecb05cfbbfdacf201ccba9ba768b245885 | [
"MIT"
] | 68 | 2016-10-30T23:17:56.000Z | 2022-03-27T11:58:16.000Z | src/en/2021-04/02/teacher-comments.md | ArthurMota9/sabbath-school-lessons | a51fcdecb05cfbbfdacf201ccba9ba768b245885 | [
"MIT"
] | 367 | 2016-10-21T03:50:22.000Z | 2022-03-28T23:35:25.000Z | src/en/2021-04/02/teacher-comments.md | ArthurMota9/sabbath-school-lessons | a51fcdecb05cfbbfdacf201ccba9ba768b245885 | [
"MIT"
] | 109 | 2016-08-02T14:32:13.000Z | 2022-03-31T10:18:41.000Z | ---
title: Teacher Comments
date: 08/10/2021
---
Key Texts: 1 Corinthians 10:3, 4; Deuteronomy 1:30
Study Focus: Deuteronomy 1–3, Exod. 32:29–32, Numbers 14, Eph. 3:10, Gen. 15:1–16, John 14:9.
#### Part I: Overview
According to the covenant structure of the book, Moses’ speech begins with a “preamble” (Deut. 1:1–5), which has two functions. First, it signals the nature of the content of the book, as signified by the phrase “these are the words” (Deut. 1:1, NKJV). These “words” refer not only to the words of Moses as a prophet and as the leader of Israel, but also to the “words” of God, His commandments (compare Num. 36:13), which Moses will later explain (Deut. 1:5), and to God’s action through the events of the history of salvation. Second, it situates the place and the time of Moses’ last testimony to his people: “on this side of the Jordan” (Deut. 1:1, NKJV), the Transjordan, facing the Promised Land (Num. 36:13); and “in the fortieth year” (Deut. 1:3), the last year of Israel’s journey in the wilderness.
**Lesson Themes:**
Following the “preamble” comes a historical prologue that reviews the historical events from which Moses draws lessons for his people. The themes of these lessons are the following:
• Remember and hope.
• God fights for you.
• God fulfills His words.
• Grace and justice
#### Part II: Commentary
Moses’ historical review covers the three main events of the journey of the Israelites: God’s covenant with His people in Horeb (Deut. 1:6–18), the rebellion of the people at the oasis in Kadesh Barnea (Deut. 1:19–46), and finally, the conquest of Gilead (Deut. 2:1–3:29).
**God Makes a Covenant in Horeb (Deut. 1:6–18).**
Horeb is the place of the manifestation of God. Horeb and Sinai refer to the same place, the mountain where God revealed Himself to Israel and made a covenant with the people and gave them His law (Exod. 3:1). Moses emphasizes the close, personal bond between Israel and God, who is called “the Lord our God” (Deut. 1:6), a title that is often used in the book of Deuteronomy. Moses reminds his people of God’s call to move: “ ‘ “you have dwelt long enough at this mountain” ’ ” (Deut. 1:6, NKJV). As important as this great moment of worship was, God deemed that it was time to take action. The God of Israel is not the God of the monasteries. He is not the God of just prayers and meditation; He also is the God who urges His people to go and possess the land promised to the patriarchs Abraham, Isaac, and Jacob (Deut. 1:8; compare Gen. 12:7). This is why God is called “the Lord God of your fathers” (Deut. 1:11). This event is, thus, presented as the fulfillment of God’s Word. This idea is reinforced by Moses’ reference to the nature of the people, who have now multiplied a thousand times and become “as the stars of heaven” (Deut. 1:10), a wonder that also is the result of God’s promise (compare Gen. 15:5; Gen. 22:17). This task required of the people not only the hard duty to prepare for war but also the need to organize themselves as a nation; they must provide themselves with wise (Deut. 1:13) and just judges (Deut. 1:16).
Discussion and Thought Questions: Why is God called the “God of your fathers”? How important is the remembrance of the fathers in our religion today? Does this title imply a religion that focuses only on the past? If not, why not?
**The People’s Rebellion at Kadesh Barnea (Deut. 1:19–46)**
Moses describes this region as the place “ ‘ “which the Lord our God is giving us” ’ ” (Deut. 1:20, NKJV). Note the use of a participle that emphasizes the actuality and certainty of God’s gift. Moses reminds Israel that in spite of God’s encouragement (Deut. 1:20, 21) and the assurance that God would fight for them as He did in Egypt (Deut. 1:30; compare Exod. 14:14), the people doubted and were afraid and refused to take risks (Deut. 1:32). The people made two mistakes. First, when they sent spies to assess the power of the inhabitants and saw that the natives of the land were strong giants, they got scared and refused to go in. Second, when Israel understood that God was upset because of their lack of faith, they decided to go by themselves and fight presumptuously against the enemy without God’s support. As a result, not only did they miss this opportunity to enter the land immediately, thereby suffering great loss, but God also “ ‘took an oath’ ” that they would wander through the wilderness for 40 years (Deut 1:34, NKJV; compare Deut. 2:14). The same phrase “took an oath” is used to refer to the oath that God swore to their fathers. The date of the “fortieth year” (Deut. 1:3) is, ironically, another reminder of God’s fulfillment of His Word. Moses uses all of these events to remind Israel of God’s promise and to warn his people before crossing the Jordan that they must learn a lesson from the past in order that they might secure their future.
Discussion and Thought Questions: What lesson of faith is contained in Moses’ repeated words that God “ ‘ “will fight for you” ’ ” (Deut. 1:30, NKJV; compare Exod. 14:14)? How do these words account for the method of conquest God had in mind for His people? Why did the Israelites fail when they went to fight by themselves?
**The Conquest of Gilead (Deut. 2:1–3:29)**
After having spent a long time in Kadesh Barnea, the Israelites, the people of Israel, turned again northward in the direction of the Promised Land, but they did not immediately conquer the land. It is interesting that they first had to pass through peoples and lands not included in God’s promise to them, such as Edom, Moab, and Ammon, and therefore they did not confront them. In traveling for 40 years “through this great wilderness,” they experienced how much God protected them and cared for them (Deut. 2:7). It is only at the end of the “rebellious generation” that Israel began the possession of the land. One by one, the Canaanite enemies were defeated and dispossessed of their land. Then the Israelites took possession of the land, and the allocation was organized.
**The Problem of the Conquest**
The biblical narrative on the conquest of the land focuses essentially on the victories, without directly dealing with the sensitive and complex ethical problems that are associated with that process. The biblical text provides, however, a number of clues and principles to help address this problem:
• God gives. God is the Owner and Giver of the land. This principle is affirmed several times (Deut. 1:8, 20, 25, 35). So, not all the land has been given to the Israelites. God has given some parts of the land to Edom, as the descendants of Esau (Deut. 2:5), and to Moab and Ammon, as the descendants of Lot (Deut. 2:9, 19).
• God takes. God did not give the land to the rebellious generation of Israelites, who wandered through the wilderness for 40 years. Note that even Moses was not able to enjoy the land because he also failed to trust the Lord (Deut. 3:27). God took away the land from the Amorites because they had reached the fullness of their iniquity (Gen. 15:16). The prevention of the Israelites from entering the land, and their death in the wilderness, is to be understood as the result of God’s judgment, as is the destruction or expulsion of the Canaanites from the land.
• God fights. This principle, which is repeated again to Joshua (Deut. 3:22), suggests that God was, in fact, the intended Author of this operation of judgment. Note that judgment, which implies the eradication of evil, also is an act of grace in behalf of God’s people.
**Eschatological Perspective**
Note Ellen White’s eschatological and Messianic application of Abraham’s prophetic vision of the conquest of the Promised Land in Genesis 15:16–18: “The voice of God was heard, bidding him [Abraham] not to expect immediate possession of the Promised Land, and pointing forward to the sufferings of his posterity before their establishment in Canaan. The plan of redemption was here opened to him, in the death of Christ, the great sacrifice, and His coming in glory. Abraham saw also the earth restored to its Eden beauty, to be given him for an everlasting possession, as the final and complete fulfillment of the promise.”—Patriarchs and Prophets, p. 137. (Emphasis supplied.)
Discussion and Thought Questions: Why was it necessary in God’s broader plan of salvation that the Israelites possess the land of Canaan? Why is the land of Canaan described in terms reminiscent of the Garden of Eden? Why does the ideal holiness require the total eradication of evil?
#### Part III: Life Application
A wise man said, “Most of my worries never happened.” Why is this reflection particularly true for the Christian? Suppose you are struggling with a difficult project, and you are worried about it. How does the promise that “God will fight for you” help you to confront your worries? Why does faith in the Lord, in fact, relieve your stress and facilitate your achievement?
`Notes` | 135.590909 | 1,472 | 0.767013 | eng_Latn | 0.99987 |
0709ceaf7c8bcb64b4b99b38bf7a24540c9d52d2 | 3,898 | md | Markdown | code/python/SecuritizedDerivativesAPIforDigitalPortals/v2/docs/SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFigures.md | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 6 | 2022-02-07T16:34:18.000Z | 2022-03-30T08:04:57.000Z | code/python/SecuritizedDerivativesAPIforDigitalPortals/v2/docs/SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFigures.md | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | 2 | 2022-02-07T05:25:57.000Z | 2022-03-07T14:18:04.000Z | code/python/SecuritizedDerivativesAPIforDigitalPortals/v2/docs/SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFigures.md | factset/enterprise-sdk | 3fd4d1360756c515c9737a0c9a992c7451d7de7e | [
"Apache-2.0"
] | null | null | null | # SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFigures
Key figures specific to securitized derivatives; based on ask prices.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**bonus_yield** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresBonusYield**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresBonusYield.md) | | [optional]
**sideways_yield** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresSidewaysYield**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresSidewaysYield.md) | | [optional]
**maximum_yield** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresMaximumYield**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresMaximumYield.md) | | [optional]
**agio** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresAgio**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresAgio.md) | | [optional]
**discount** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresDiscount**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresDiscount.md) | | [optional]
**break_even** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresBreakEven**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresBreakEven.md) | | [optional]
**spread** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresSpread**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresSpread.md) | | [optional]
**delta** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresDelta**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresDelta.md) | | [optional]
**theta_one_week** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresThetaOneWeek**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresThetaOneWeek.md) | | [optional]
**vega** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresVega**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresVega.md) | | [optional]
**leverage** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresLeverage**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresLeverage.md) | | [optional]
**omega** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresOmega**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresOmega.md) | | [optional]
**implied_volatility** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresImpliedVolatility**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresImpliedVolatility.md) | | [optional]
**intrinsic_value** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresIntrinsicValue**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresIntrinsicValue.md) | | [optional]
**time_value** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresTimeValue**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresTimeValue.md) | | [optional]
**outperformance_point** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresOutperformancePoint**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresOutperformancePoint.md) | | [optional]
**parity** | [**SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresParity**](SecuritizedDerivativeNotationScreenerValueRangesGetDataKeyFiguresParity.md) | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
| 129.933333 | 223 | 0.836839 | yue_Hant | 0.332304 |
070ad2d767da2cf5c832968a8c78927ef3d6b422 | 24 | md | Markdown | README.md | kobinasam/Kotlin | b7241dd9e5c56664bfa41a401690d6e283d83765 | [
"MIT"
] | null | null | null | README.md | kobinasam/Kotlin | b7241dd9e5c56664bfa41a401690d6e283d83765 | [
"MIT"
] | null | null | null | README.md | kobinasam/Kotlin | b7241dd9e5c56664bfa41a401690d6e283d83765 | [
"MIT"
] | null | null | null | # kotlin
Started kotlin
| 8 | 14 | 0.791667 | slv_Latn | 0.56025 |
070af0270bc553f54e130dc5a1722d1223befe6e | 593 | md | Markdown | styleguide/README.md | 18F/omb-eregs | 7c85fe9112c385f74bc37e22cb180c598c2d49fe | [
"CC0-1.0"
] | 10 | 2017-01-09T19:01:57.000Z | 2017-11-16T19:18:21.000Z | styleguide/README.md | 18F/omb-eregs | 7c85fe9112c385f74bc37e22cb180c598c2d49fe | [
"CC0-1.0"
] | 895 | 2017-01-09T20:12:38.000Z | 2018-05-21T13:35:43.000Z | styleguide/README.md | 18F/omb-eregs | 7c85fe9112c385f74bc37e22cb180c598c2d49fe | [
"CC0-1.0"
] | 9 | 2017-05-24T04:49:38.000Z | 2021-02-14T10:37:43.000Z | # OMB eRegs Style Guide
## Overview
The style guide is built on [Fractal](https://fractal.build/guide).
### Documentation components
The documentation pages are shown as "hidden" components, in order to use our custom styles. Otherwise regular Fractal documentation pages can only be styled with Markdown.
### Assets
The custom style guide SCSS file is at `static/scss/styles.scss`.<br>
All served assets are in the `public/` folder, where the compiled CSS file and images are located.
### Running the style guide
Compile SCSS:
```npm run build```
Run local server:
```npm run start```
| 28.238095 | 172 | 0.750422 | eng_Latn | 0.985936 |
070c3ba7af68336cd5558d72518f8ea92affcf59 | 1,851 | md | Markdown | projects/partners.md | ave-rd/ave-rd.github.io | 455bc318f6edc87e023f56ed0c95886bedf70625 | [
"Apache-2.0"
] | null | null | null | projects/partners.md | ave-rd/ave-rd.github.io | 455bc318f6edc87e023f56ed0c95886bedf70625 | [
"Apache-2.0"
] | null | null | null | projects/partners.md | ave-rd/ave-rd.github.io | 455bc318f6edc87e023f56ed0c95886bedf70625 | [
"Apache-2.0"
] | null | null | null | ---
title: Partners
date: 2017-09-14T14:23:53+00:00
author: Gonzalo Oyanedel
layout: page
---
<img class="alignnone wp-image-236" src="/wp-content/uploads/2017/09/24685266591_cdb72f7120-300x89.jpg" alt="" width="257" height="80" />
J-PAL LAC is a non-profit research center that seeks to reduce poverty and improve people’s quality of life by creating and disseminating rigorous evidence on what public policies and social programs really work. This is done through research, incidents in public policies and training.
[Web Page](https://www.povertyactionlab.org/lac)
<img class="alignnone wp-image-237" src="/wp-content/uploads/2017/09/download.png" alt="" width="144" height="104" />
The Ministry of Education of the Dominican Republic is the state agency responsible for planning, management, administration and development of the Dominican education model, administration of public schools and supervision of private schools.
[Web Page](http://ministeriodeeducacion.gob.do/)
<img class="alignnone wp-image-238" src="/wp-content/uploads/2017/09/ideice-logo.png" alt="" width="193" height="79" />
The Dominican Institute of Evaluation and Investigation of Educational Quality is a public, decentralized agency, attached to the Ministry of Education, of a technical nature, whose actions are concentrated in the field of research and evaluation of the educational area.
[Web Page](http://www.ideice.gob.do/index.php)
<img class="alignnone wp-image-239" src="/wp-content/uploads/2017/09/usaid-logo-web-300x158.jpg" alt="" width="189" height="102" />
The United States Agency for International Development, USAID, is the US institution responsible for distributing most of the non-military foreign aid. It is an independent body although it receives strategic guidelines from the State Department.
[Web Page](https://www.usaid.gov/) | 63.827586 | 292 | 0.779038 | eng_Latn | 0.969821 |
070d9280386daeb608ea3473d60d26a803e9e2d1 | 2,865 | md | Markdown | README.md | br00/float | 27aacb0ca5807ded8b7e5a046d0d10f7dabad817 | [
"Apache-2.0"
] | null | null | null | README.md | br00/float | 27aacb0ca5807ded8b7e5a046d0d10f7dabad817 | [
"Apache-2.0"
] | null | null | null | README.md | br00/float | 27aacb0ca5807ded8b7e5a046d0d10f7dabad817 | [
"Apache-2.0"
] | 1 | 2022-03-08T21:02:48.000Z | 2022-03-08T21:02:48.000Z | # Float 🛥️
Float is an open android app built to improve the life of people living on the canals.
### Status: 🚧 In progress 🚧
Float is still in development, there is just one screen so far with a list of items and a button, no much UI, but there are good fundations where most of the base architecture has been implemented. (See the section below)
## Features
The code contains 1 screen so far. The user can see a list of moorings and add a new one clicking on the button.
## Architecture
The app is built in a Redux-style (MVI), where each UI 'screen' has its own ViewModel, which exposes a single [StateFlow][stateflow] containing the entire view state. Each ViewModel is responsible for subscribing to any data streams required for the view, as well as exposing functions which allow the UI to send events.
- The ViewModel is implemented as [`MainViewModel`][mainvm] , which exposes a `StateFlow<MainUiState>` for the UI to observe.
- `MainUiState` contains the complete view state for the screen as data class.
- The Main Compose UI in MainScreen.kt uses MainViewModel, and observes it's MainUiState as Compose State, using `collectAsState()`.
## Data
The Data layer has repositories that communicate with the data source using Kotlin coroutines. `kotlinx-coroutines-play-services` provides coroutine support to Firebase and Firestore operations by using `await` on `Task` instead of adding a listener to it.
### Firebase firestore
The data on firebase follows the common collection structure with documents inside.
There are tree collections: owners, boats and moorings (sub-collection of boats).
### Terms and Concepts
- a **Owner** represents a person that has signed up for the application. Uniquely identified by username. A owner can have 1 boat.
- a **Boat** represents a boat owned by a particular owner or co-owned by different owners. The registration id is unique but the name is not.
- a **Mooring** represents a place occupied by a boat currently or in the past. There is no limits to the number of mooring that a boat can have.
## License
```
Copyright 2022 Alessandro Borelli
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.
```
[mainvm]: app/src/main/java/com/alessandroborelli/floatapp/presentation/MainViewModel.kt
[stateflow]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-state-flow/
| 42.132353 | 320 | 0.774171 | eng_Latn | 0.998443 |
070e3268f2bbbefdca26ca7ee59373bb46e0ee36 | 218 | md | Markdown | _watches/M20200418_063126_TLP_4.md | Meteoros-Floripa/meteoros.floripa.br | 7d296fb8d630a4e5fec9ab1a3fb6050420fc0dad | [
"MIT"
] | 5 | 2020-01-22T17:44:06.000Z | 2020-01-26T17:57:58.000Z | _watches/M20200418_063126_TLP_4.md | Meteoros-Floripa/site | 764cf471d85a6b498873610e4f3b30efd1fd9fae | [
"MIT"
] | null | null | null | _watches/M20200418_063126_TLP_4.md | Meteoros-Floripa/site | 764cf471d85a6b498873610e4f3b30efd1fd9fae | [
"MIT"
] | 2 | 2020-05-19T17:06:27.000Z | 2020-09-04T00:00:43.000Z | ---
layout: watch
title: TLP4 - 18/04/2020 - M20200418_063126_TLP_4T.jpg
date: 2020-04-18 06:31:26
permalink: /2020/04/18/watch/M20200418_063126_TLP_4
capture: TLP4/2020/202004/20200417/M20200418_063126_TLP_4T.jpg
---
| 27.25 | 62 | 0.784404 | fra_Latn | 0.049837 |
070f49c5228337b5f078e4672d7fc2fd0ab78960 | 74 | md | Markdown | README.md | tbogard/electrolite | f42f8d23c4840ef48ac012c2dc133192d87a7d55 | [
"MIT"
] | null | null | null | README.md | tbogard/electrolite | f42f8d23c4840ef48ac012c2dc133192d87a7d55 | [
"MIT"
] | null | null | null | README.md | tbogard/electrolite | f42f8d23c4840ef48ac012c2dc133192d87a7d55 | [
"MIT"
] | null | null | null | # electrolite
A platform to deploy React-based applications with Electron
| 24.666667 | 59 | 0.837838 | eng_Latn | 0.997234 |
070f4a38d3539d7fed4608e8bdd409ab6809c1a8 | 206 | md | Markdown | content/docs/macos/3/git/config.md | ikingye/workenv | 0a9487314d85c24f9168c8bf9ad618e5b6856251 | [
"Apache-2.0"
] | null | null | null | content/docs/macos/3/git/config.md | ikingye/workenv | 0a9487314d85c24f9168c8bf9ad618e5b6856251 | [
"Apache-2.0"
] | null | null | null | content/docs/macos/3/git/config.md | ikingye/workenv | 0a9487314d85c24f9168c8bf9ad618e5b6856251 | [
"Apache-2.0"
] | null | null | null | ---
weight: 10
title: "git config"
bookCollapseSection: true
---
# git config
## config 权限
问题: `Bad owner or permissions on ~/.ssh/config`
解决:
```
chown $USER ~/.ssh/config
chmod 644 ~/.ssh/config
```
| 10.842105 | 47 | 0.645631 | eng_Latn | 0.588084 |
070f78d6cd37598d736e942d2ff0a11d41fd0f9d | 516 | md | Markdown | README.md | sammler/web-core | 64845312e6475cd69f3ccd8342f083dbd3aa672f | [
"MIT"
] | 1 | 2020-07-24T22:35:00.000Z | 2020-07-24T22:35:00.000Z | README.md | sammler/web-core | 64845312e6475cd69f3ccd8342f083dbd3aa672f | [
"MIT"
] | 14 | 2018-05-23T10:02:39.000Z | 2018-10-16T00:27:50.000Z | README.md | sammler/web-core | 64845312e6475cd69f3ccd8342f083dbd3aa672f | [
"MIT"
] | null | null | null | # web-core
> Extensible framework for all web-applications
---
**Work in progress**, nothing to show, yet ...
## About
### Author
**Stefan Walther**
* [twitter](http://twitter.com/waltherstefan)
* [github.com/stefanwalther](http://github.com/stefanwalther)
* [LinkedIn](https://www.linkedin.com/in/stefanwalther/)
* [qliksite.io](http://qliksite.io)
### License
MIT
***
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on February 05, 2018._
| 19.846154 | 131 | 0.697674 | yue_Hant | 0.200881 |
070fc4f9ed38183b237f39f79382d02f6a814969 | 227 | md | Markdown | google_containers/serve_hostname-amd64/README.md | aclk/mirror.gcr.io | 7313941ec50da34f062e7f738fea3a33030d8942 | [
"MIT"
] | 1 | 2021-11-17T08:16:21.000Z | 2021-11-17T08:16:21.000Z | google_containers/serve_hostname-amd64/README.md | aclk/mirror.gcr.io | 7313941ec50da34f062e7f738fea3a33030d8942 | [
"MIT"
] | null | null | null | google_containers/serve_hostname-amd64/README.md | aclk/mirror.gcr.io | 7313941ec50da34f062e7f738fea3a33030d8942 | [
"MIT"
] | null | null | null | [gcr.io/google-containers/serve_hostname-amd64](https://hub.docker.com/r/abcz/serve_hostname-amd64/tags/)
----
[gcr.io/google_containers/serve_hostname-amd64:v1.6 √](https://hub.docker.com/r/abcz/serve_hostname-amd64/tags/)
| 37.833333 | 112 | 0.76652 | deu_Latn | 0.164548 |
071277856af3914e682badc92ce65c0ff6d35a6b | 2,026 | md | Markdown | readme.md | natemoo-re/stencil-composition-api | 5bc62192fb3755c402600f16ad5c61129928f44f | [
"MIT"
] | null | null | null | readme.md | natemoo-re/stencil-composition-api | 5bc62192fb3755c402600f16ad5c61129928f44f | [
"MIT"
] | null | null | null | readme.md | natemoo-re/stencil-composition-api | 5bc62192fb3755c402600f16ad5c61129928f44f | [
"MIT"
] | null | null | null | 
# Stencil Composition API
This is a **test** to see if it's possible to integrate Vue's Composition API ([`@vue/reactivity`](https://github.com/vuejs/vue-next/tree/master/packages/reactivity)) with [Stencil](https://github.com/ionic-team/stencil).
## Status
**[ref](./src/composition/ref.ts)**
`Ref` seems to be working! It uses Vue's `customRef` to hook into Stencil's `getRenderingRef` and `forceUpdate` methods.
**[computed](./src/composition/computed.ts)**
`ComputedRef` sort of works. It currently doesn't have a reference to Stencil's `renderingRef`, so the computed `ReactiveEffect` isn't being tracked. Any `ReactiveEffects` should be registered so that cleanup can automatically happen upon `disconnectedCallback`.
**reactive**
Still stumped on this one... is there a way to use the internal `customRef` instead of Vue's default ref?
| 96.47619 | 1,172 | 0.876111 | yue_Hant | 0.588456 |
0712ef4ca0d9b3e9cabbe82b47c9bf11b26b06cd | 10,000 | md | Markdown | articles/storage/storage-java-how-to-use-file-storage.md | OpenLocalizationTestOrg/azure-docs-pr15_et-EE | bc69bd1a9d45d7abd2a3d01806d74e2b0848a808 | [
"CC-BY-3.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/storage/storage-java-how-to-use-file-storage.md | OpenLocalizationTestOrg/azure-docs-pr15_et-EE | bc69bd1a9d45d7abd2a3d01806d74e2b0848a808 | [
"CC-BY-3.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/storage/storage-java-how-to-use-file-storage.md | OpenLocalizationTestOrg/azure-docs-pr15_et-EE | bc69bd1a9d45d7abd2a3d01806d74e2b0848a808 | [
"CC-BY-3.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | <properties
pageTitle="Java: failide talletamine kasutamine | Microsoft Azure'i"
description="Saate teada, kuidas kasutada teenust Azure fail üles, alla, loendi, ja failide kustutamine. Näidised kirjutatud Java."
services="storage"
documentationCenter="java"
authors="robinsh"
manager="carmonm"
editor="tysonn" />
<tags
ms.service="storage"
ms.workload="storage"
ms.tgt_pltfrm="na"
ms.devlang="Java"
ms.topic="article"
ms.date="08/11/2016"
ms.author="robinsh"/>
# <a name="how-to-use-file-storage-from-java"></a>Kuidas kasutada Java: failide talletamine
[AZURE.INCLUDE [storage-selector-file-include](../../includes/storage-selector-file-include.md)]
<br/>
[AZURE.INCLUDE [storage-try-azure-tools-queues](../../includes/storage-try-azure-tools-files.md)]
## <a name="overview"></a>Ülevaade
Sellest juhendist saate teada, kuidas Microsoft Azure'i faili salvestusteenus põhiliste toimingute. Näidised kirjutatud Java kaudu saate teada, kuidas luua osakud ja kataloogide, üles laadida, loendi ja failide kustutamine. Kui olete kasutanud Microsoft Azure'i faili salvestusteenus, läheb läbi järgnevate jaotiste mõisted on väga kasulik mõista näidised.
[AZURE.INCLUDE [storage-file-concepts-include](../../includes/storage-file-concepts-include.md)]
[AZURE.INCLUDE [storage-create-account-include](../../includes/storage-create-account-include.md)]
## <a name="create-a-java-application"></a>Java rakenduse loomine
Koostamiseks näidised, peate selle Java Kit (JDK) ja [Azure'i salvestusruumi SDK Java] []. Saate ka olete loonud Azure storage konto.
## <a name="setup-your-application-to-use-file-storage"></a>Häälestamine rakenduse kasutamine failide talletamine
Azure storage API-de kasutamiseks lisada Java faili, kuhu kavatsete salvestusteenus kaudu juurdepääsu algusse järgmine tekst.
// Include the following imports to use blob APIs.
import com.microsoft.azure.storage.*;
import com.microsoft.azure.storage.file.*;
## <a name="setup-an-azure-storage-connection-string"></a>Häälestus on Azure storage ühendusstring
Failide talletamine kasutamiseks peate Azure storage kontoga ühenduse loomiseks. Kõigepealt oleks konfigureerimine ühendusstring, mille kasutame salvestusruumi kontoga ühenduse loomiseks. Vaatame määratleda staatiline muutuja seda teha.
// Configure the connection-string with your values
public static final String storageConnectionString =
"DefaultEndpointsProtocol=http;" +
"AccountName=your_storage_account_name;" +
"AccountKey=your_storage_account_key";
> [AZURE.NOTE] Asendage your_storage_account_name ja your_storage_account_key tegelike väärtuste salvestusruumi konto jaoks.
## <a name="connecting-to-an-azure-storage-account"></a>Azure'i salvestusruumi konto ühenduse loomine
Salvestusruumi kontoga ühendada, peate kasutama **CloudStorageAccount** objekti, läbides selle meetodiga **sõeluda** ühendusstringi.
// Use the CloudStorageAccount object to connect to your storage account
try {
CloudStorageAccount storageAccount = CloudStorageAccount.parse(storageConnectionString);
} catch (InvalidKeyException invalidKey) {
// Handle the exception
}
**CloudStorageAccount.parse** põhjustab mõne InvalidKeyException nii, et see panna, proovige/saagi ploki peate.
## <a name="how-to-create-a-share"></a>Kuidas: luua aktsia
Kõik failid ja kataloogid failide talletamine asuda ümbris nimega **Anna ühiskasutusse**. Salvestusruumi konto võib olla nii palju ühtlasi teie konto võimsus võimaldab. Osa ja selle sisu juurdepääsu saamiseks peate kasutama faili salvestusruumi kliendi.
// Create the file storage client.
CloudFileClient fileClient = storageAccount.createCloudFileClient();
Kasutades faili salvestusruumi klient, saate hankida siis ühiskasutusega viide.
// Get a reference to the file share
CloudFileShare share = fileClient.getShareReference("sampleshare");
Ühiskasutus tegelikult loomiseks kasutage CloudFileShare objekti **createIfNotExists** meetodit.
if (share.createIfNotExists()) {
System.out.println("New share created");
}
Selles etapis **ühiskasutus** hoiab viide **sampleshare**nime.
## <a name="how-to-upload-a-file"></a>Kuidas: faili üles laadimine
Azure'i salvestusruumi failikettal sisaldab vähemalt, root kataloogi, kus failid võivad asuda. Selles jaotises saate teada, kuidas üles laadida faili kohaliku salvestusruumi juurkaust aktsia peale.
Kõigepealt faili üleslaadimisel on saada viide kataloogi, kus see peaks asuvad. Tehke seda, helistades **getRootDirectoryReference** meetod ühiskasutus objekti.
//Get a reference to the root directory for the share.
CloudFileDirectory rootDir = share.getRootDirectoryReference();
Nüüd, kui teil on viide root kataloogi ühiskasutus, saate laadida faili abil järgmine kood.
// Define the path to a local file.
final String filePath = "C:\\temp\\Readme.txt";
CloudFile cloudFile = rootDir.getFileReference("Readme.txt");
cloudFile.uploadFromFile(filePath);
## <a name="how-to-create-a-directory"></a>Kuidas: luua kataloog
Samuti saate salvestusruumi paigutades faile sub kataloogide asemel kõik need juurkaustas sees. Azure'i faili salvestusteenus võimaldab teil luua nii palju kataloogide vastavalt teie konto võimaldab. Alljärgnev kood loob **sampledir** jaotises juurkaustas sub kataloogi.
//Get a reference to the root directory for the share.
CloudFileDirectory rootDir = share.getRootDirectoryReference();
//Get a reference to the sampledir directory
CloudFileDirectory sampleDir = rootDir.getDirectoryReference("sampledir");
if (sampleDir.createIfNotExists()) {
System.out.println("sampledir created");
} else {
System.out.println("sampledir already exists");
}
## <a name="how-to-list-files-and-directories-in-a-share"></a>Kuidas: loendi failide ja kataloogide ühiskasutamine
Failide ja kataloogide sees osa loendi saamiseks on lihtne teha helistades **listFilesAndDirectories** CloudFileDirectory viide. Meetod tagastab loendi ListFileItem objektid, mida te saate saades. Näiteks järgmine kood nimekirja failide ja kataloogide juurkaustas sees.
//Get a reference to the root directory for the share.
CloudFileDirectory rootDir = share.getRootDirectoryReference();
for ( ListFileItem fileItem : rootDir.listFilesAndDirectories() ) {
System.out.println(fileItem.getUri());
}
## <a name="how-to-download-a-file"></a>Kuidas: faili allalaadimine
Üks sagedamini toimingute sooritamist vastu failide talletamine on faile alla laadida. Järgmises näites kood SampleFile.txt allalaaditavate failide ja kuvab selle sisu.
//Get a reference to the root directory for the share.
CloudFileDirectory rootDir = share.getRootDirectoryReference();
//Get a reference to the directory that contains the file
CloudFileDirectory sampleDir = rootDir.getDirectoryReference("sampledir");
//Get a reference to the file you want to download
CloudFile file = sampleDir.getFileReference("SampleFile.txt");
//Write the contents of the file to the console.
System.out.println(file.downloadText());
## <a name="how-to-delete-a-file"></a>Kuidas: faili kustutamine
Muu faili levinud Salvestustoiming on faili kustutamine. Järgmine kood kustutab faili nimega SampleFile.txt talletatud **sampledir**kataloogi.
// Get a reference to the root directory for the share.
CloudFileDirectory rootDir = share.getRootDirectoryReference();
// Get a reference to the directory where the file to be deleted is in
CloudFileDirectory containerDir = rootDir.getDirectoryReference("sampledir");
String filename = "SampleFile.txt"
CloudFile file;
file = containerDir.getFileReference(filename)
if ( file.deleteIfExists() ) {
System.out.println(filename + " was deleted");
}
## <a name="how-to-delete-a-directory"></a>Kuidas: kustutada kataloog
Kausta kustutamine on üsna lihtne ülesanne, kuigi tuleb märkida, et te ei saa kustutada faile endiselt sisaldav kaust või muud kataloogid.
// Get a reference to the root directory for the share.
CloudFileDirectory rootDir = share.getRootDirectoryReference();
// Get a reference to the directory you want to delete
CloudFileDirectory containerDir = rootDir.getDirectoryReference("sampledir");
// Delete the directory
if ( containerDir.deleteIfExists() ) {
System.out.println("Directory deleted");
}
## <a name="how-to-delete-a-share"></a>Kuidas: osa kustutamine
Ühiskasutusega kustutamine on töö lõpetanud, helistades **deleteIfExists** meetod CloudFileShare objekti. Siin on proovi kood, mis teeb seda.
try
{
// Retrieve storage account from connection-string.
CloudStorageAccount storageAccount = CloudStorageAccount.parse(storageConnectionString);
// Create the file client.
CloudFileClient fileClient = storageAccount.createCloudFileClient();
// Get a reference to the file share
CloudFileShare share = fileClient.getShareReference("sampleshare");
if (share.deleteIfExists()) {
System.out.println("sampleshare deleted");
}
} catch (Exception e) {
e.printStackTrace();
}
## <a name="next-steps"></a>Järgmised sammud
Kui soovite lisateavet muude Azure storage API-d, järgige neid linke.
- [Java Arenduskeskus](http://azure.microsoft.com/develop/java/)
- [Azure'i salvestusruumi SDK Java](https://github.com/azure/azure-storage-java)
- [Azure'i salvestusruumi SDK Androidi jaoks](https://github.com/azure/azure-storage-android)
- [Azure'i salvestusruumi kliendi SDK viide](http://dl.windowsazure.com/storage/javadoc/)
- [Azure'i salvestusruumi teenuste REST API-ga](https://msdn.microsoft.com/library/azure/dd179355.aspx)
- [Azure'i salvestusruumi meeskonna ajaveeb](http://blogs.msdn.com/b/windowsazurestorage/)
- [AzCopy käsurea kasuliku andmete edastamine](storage-use-azcopy.md)
| 45.454545 | 356 | 0.7582 | est_Latn | 0.937449 |
07132802a17a1f4d01dc85073309478315e8e16d | 979 | md | Markdown | sda-web/public/doc/doc.md | yzgqy/sda | d26426ae5d179213df4ab98320878f0209472e8f | [
"Apache-2.0"
] | 5 | 2019-05-27T03:04:43.000Z | 2021-12-12T04:47:18.000Z | sda-web/public/doc/doc.md | yzgqy/sda | d26426ae5d179213df4ab98320878f0209472e8f | [
"Apache-2.0"
] | 5 | 2020-04-23T18:09:24.000Z | 2022-01-15T01:31:01.000Z | sda-web/public/doc/doc.md | yzgqy/sda | d26426ae5d179213df4ab98320878f0209472e8f | [
"Apache-2.0"
] | 2 | 2019-07-10T03:48:38.000Z | 2019-10-29T09:35:02.000Z | [toc]
# 算法
## louvian
**介绍:** Louvain算法是基于模块度的社区发现算法,其优化目标是:最大化整个社区网络的模块度。Louvain算法包括两个阶段,在步骤一它不断地遍历网络中的结点,尝试将单个结点加入能够使modularity提升最大的社区中,直到所有结点都不再变化。在步骤二,它处理第一阶段的结果,将一个个小的社区归并为一个超结点来重新构造网络,这时边的权重为两个结点内所有原始结点的边权重之和。迭代这两个步骤直至算法稳定。
**输入参数:**
带权有向图
## MST
**介绍:** 通过构建最小生成树,利用深度遍历算法对关联图进行聚类,得到微服务候选集。
**输入参数:**
SplitThreshold:预期微服务所含类阈值
NumServices:预期微服务个数
带权有向图
# 数据来源
## 静态
**介绍:** 静态信息是对项目源码的解析,得到其静态的调用关系。
**输入参数:**
Package:包名(逗号分隔多个包名)
Jar/War:项目的jar包或者war包
## git
**介绍:** 获取项目版本控制信息。
**输入参数:**
Prefixes:文件前缀(逗号分割多个前缀)。例如:src/main/java;src/test/java;
GitFile:git clone下来的zip压缩包
## 动态
**介绍:**
**输入参数:**
# 评估指标
1. **InStability 不稳定性**
InStability表示传出耦合在总耦合中的占比。不稳定性越小越好。
2. **CHM 消息级内聚**
CHM用于在消息级别度量服务接口的平均内聚性。CHM越大越好。
3. **CHD 域级内聚**
CHD用于在域级度量服务接口的平均内聚。CHD越大越好。
4. **IFN 接口数**
IFN表示提取的服务向其他服务提供的接口的平均数量。IFN越小越好。
5. **OPN 操作数**
OPN表示提取的微服务提供的操作数。OPN越少越好。
6. **IRN 交互数**
IRN表示跨两个服务的方法调用数量。IRN越小越好。
| 13.410959 | 207 | 0.705822 | yue_Hant | 0.697077 |
07142aa92472856017ba9ce7a8b08acf8bbdb750 | 683 | md | Markdown | auto-generated-sdk/docs/FISecurity.md | saigiridhar21/analyticsapi-engines-java-sdk | 3c52b6e4ce5856fca1158b294399f7b873d1243e | [
"Apache-2.0"
] | 4 | 2021-01-19T16:23:10.000Z | 2021-05-15T11:14:55.000Z | auto-generated-sdk/docs/FISecurity.md | saigiridhar21/analyticsapi-engines-java-sdk | 3c52b6e4ce5856fca1158b294399f7b873d1243e | [
"Apache-2.0"
] | 44 | 2021-02-19T18:50:51.000Z | 2022-01-26T01:06:34.000Z | auto-generated-sdk/docs/FISecurity.md | jgeraigery/analyticsapi-engines-java-sdk | 3c497297432a3a4f7c3f2a9fca83b0f40dd6ff95 | [
"Apache-2.0"
] | 4 | 2020-10-09T18:24:51.000Z | 2021-05-28T14:26:35.000Z |
# FISecurity
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**settlement** | **String** | Settlement date | [optional]
**calcFromMethod** | **String** | Calculation from method |
**calcFromValue** | **Double** | Calculation from value |
**face** | **Double** | Face | [optional]
**faceType** | [**FaceTypeEnum**](#FaceTypeEnum) | Face type | [optional]
**symbol** | **String** | Symbol |
**discountCurve** | **String** | Discount curve | [optional]
## Enum: FaceTypeEnum
Name | Value
---- | -----
CURRENT | "Current"
ORIGINAL | "Original"
## Implemented Interfaces
* Serializable
| 20.69697 | 74 | 0.576867 | kor_Hang | 0.256043 |
07143e7363bd283ffa24e382c1124d4863e73ff5 | 817 | md | Markdown | CONTRIBUTING.md | jasmine2chen/gitevents | f7fc5de145c26a5b27a8e4691838af7a0fe4d998 | [
"MIT"
] | null | null | null | CONTRIBUTING.md | jasmine2chen/gitevents | f7fc5de145c26a5b27a8e4691838af7a0fe4d998 | [
"MIT"
] | null | null | null | CONTRIBUTING.md | jasmine2chen/gitevents | f7fc5de145c26a5b27a8e4691838af7a0fe4d998 | [
"MIT"
] | null | null | null | # Contributing
Thank you for considering contributing to gitevents. Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.
By participating in this project, you agree to abide by our [Code of Conduct][coc].
[coc]: https://github.com/nganlyle/534_project/blob/master/CODE_OF_CONDUCT.md
We are looking for contributions to improve documentation, identify and fix bugs and writing code to expand functionality.
## Contributing Code
- Fork the repo.
- Make your changes.
- Push to your fork. Write a good commit message.
- Submit a pull request.
We aim to provide feedback within 1 week.
| 45.388889 | 332 | 0.796818 | eng_Latn | 0.998084 |
0714df5456573fca9e9e6369b0d9d6eceddfd2e5 | 832 | md | Markdown | redis/redis_persistence.md | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 22 | 2015-05-18T07:04:36.000Z | 2021-08-02T03:01:43.000Z | redis/redis_persistence.md | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 1 | 2017-08-31T22:13:57.000Z | 2017-09-05T15:00:25.000Z | redis/redis_persistence.md | ASMlover/study | 5878f862573061f94c5776a351e30270dfd9966a | [
"BSD-2-Clause"
] | 6 | 2015-06-06T07:16:12.000Z | 2021-07-06T13:45:56.000Z | # **Redis持久化**
***
## **1. RDB优点**
* RDB是一个非常紧凑的文件, 保存了某时间点的数据集, 适用于数据集备份;
* RDB是一个紧凑的单一文件, 方便传送到另一个远端数据中心, 适用于灾难恢复;
* RDB在保存RDB文件时父进程fork一个子进程, 由子进程来操作, 父进程不需要再做其他IO操作, 所以RDB持久化性能很高;
* 与AOF相比, 在恢复大数据集时, RDB更方便;
## **2. RDB缺点**
* 如果希望在redis意外停止工作时丢失的数据最少, 那RDB不适合你;
* RDB经常需要fork子进程来保存数据集到硬盘上, 当数据集比较大的时候, fork会耗时, 可能导致redis在一些毫秒级不能响应客户端的请求;
## **3. AOF优点**
* 适用AOF让你的redis更耐久, 可以使用不同的fsync策略(无fsync, 每秒fsync, 每次写的时候fsync, 默认的每秒fsync); Redis性能很好(fsync由后台线程处理, 主线程处理客户端请求);
* 只进行追加日志文件, 即使由于某些原因无法完成写入命令, 你也可以使用redis-check-aof工具修复这些问题;
* redis可以在AOF文件变得过大时, 自动在后台对AOF进行重写; 重写的新AOF文件包含了恢复当前数据集所需的最小命令集合, 整个重写操作绝对是安全的, redis在创建新AOF文件时会继续将命令追加在现有的AOF文件; 新AOF创建完毕, redis就会从旧AOF文件切换到新AOF文件, 并开始对新AOF文件进行追加;
* AOF文件有序保存了对数据库执行的所有写操作;
## **4. AOF缺点**
* 对相同的数据集, AOF文件体积通常大于RDB文件
* 根据fsync策略, AOF速度可能慢于RDB;
| 28.689655 | 167 | 0.762019 | yue_Hant | 0.856834 |
071682cb733778fdc580481b03b8fe0c437e0e53 | 100 | md | Markdown | question_1/Ligda.md | loongoo/GitDemo | 7098edab6581dfd12d9b966154762f314410902a | [
"MIT"
] | null | null | null | question_1/Ligda.md | loongoo/GitDemo | 7098edab6581dfd12d9b966154762f314410902a | [
"MIT"
] | null | null | null | question_1/Ligda.md | loongoo/GitDemo | 7098edab6581dfd12d9b966154762f314410902a | [
"MIT"
] | null | null | null | numbers = [10,29,30,41]
for index, value in enumerate(numbers):
print(index, value)
| 25 | 43 | 0.61 | eng_Latn | 0.656645 |
0717a94dde623497f839e7656077cca458a56329 | 29 | md | Markdown | src/development/testing.md | guimcaballero/understanding-bevy | e6965e4e40a8295bceb98592ba120209c9839c9c | [
"MIT"
] | 43 | 2020-12-22T02:20:42.000Z | 2021-12-09T12:26:27.000Z | src/development/testing.md | guimcaballero/understanding-bevy | e6965e4e40a8295bceb98592ba120209c9839c9c | [
"MIT"
] | 9 | 2020-12-22T02:42:46.000Z | 2021-02-21T23:46:38.000Z | src/development/testing.md | guimcaballero/understanding-bevy | e6965e4e40a8295bceb98592ba120209c9839c9c | [
"MIT"
] | 5 | 2020-12-22T12:54:53.000Z | 2021-02-20T04:20:25.000Z | # Idiomatic Automated Testing | 29 | 29 | 0.862069 | eng_Latn | 0.822536 |
0717be9543450a5bac0654f67984c8031a93e795 | 1,172 | md | Markdown | _posts/2011-01-19-jean-philippe-patisserie-2.md | prostoalex/lanamoskalyuk-jekyll-netlify-boilerplate | 6a64121a51cf13377675478a42bc661b61ae46ab | [
"MIT"
] | null | null | null | _posts/2011-01-19-jean-philippe-patisserie-2.md | prostoalex/lanamoskalyuk-jekyll-netlify-boilerplate | 6a64121a51cf13377675478a42bc661b61ae46ab | [
"MIT"
] | null | null | null | _posts/2011-01-19-jean-philippe-patisserie-2.md | prostoalex/lanamoskalyuk-jekyll-netlify-boilerplate | 6a64121a51cf13377675478a42bc661b61ae46ab | [
"MIT"
] | null | null | null | ---
id: 3473
title: Jean Philippe Patisserie
date: 2011-01-19T18:32:35-08:00
author: lana
layout: post
guid: http://lana.moskalyuk.com/?p=3473
permalink: /recipe/3473/
ljID:
- "1618"
- "1618"
- "1618"
ljURL:
- http://lanamoskalyuk.livejournal.com/414402.html
- http://lanamoskalyuk.livejournal.com/414402.html
- http://lanamoskalyuk.livejournal.com/414402.html
categories:
- chocolate
- Las Vegas
- traveling
---
Здесь очень много красивых тортов, десертов, шоколада, желато и т.д. А вот эти цветы сделаны из трех различных видов шоколада.
<img loading="lazy" class="alignnone" title="chocolate" src="http://farm6.static.flickr.com/5246/5369669174_902bab02c0_z.jpg" alt="" width="640" height="427" />
<img loading="lazy" class="alignnone" title="chocolate" src="http://farm6.static.flickr.com/5205/5369669520_8c35c201a5_z.jpg" alt="" width="640" height="427" />
<div>
<a href='http://onlineessaywriterss.com/' title='essay writer'>essay writer</a>
</div>
<img loading="lazy" class="alignnone" title="chocolate" src="http://farm6.static.flickr.com/5290/5369062737_b4091a6b93_z.jpg" alt="" width="640" height="427" />
<div>
jfdghjhthit45
</div> | 32.555556 | 161 | 0.721843 | kor_Hang | 0.14924 |
0718ff97a98035ed37312b3a351dc819837de92a | 302 | md | Markdown | README.md | tannerdsilva/Cfork | e8d669c630392586b7ff4c3221dd03f7b83e01b9 | [
"MIT"
] | null | null | null | README.md | tannerdsilva/Cfork | e8d669c630392586b7ff4c3221dd03f7b83e01b9 | [
"MIT"
] | null | null | null | README.md | tannerdsilva/Cfork | e8d669c630392586b7ff4c3221dd03f7b83e01b9 | [
"MIT"
] | null | null | null | # Cfork
A Swift package wrapping the fork() system call. Swift on Linux allows for fork to be called directly, however, Swift on MacOS will refuse to built code that calls fork() directly. This package serves as a way to get around these cross-platform differences.
```
import Cfork
_ = cfork()
```
| 30.2 | 257 | 0.751656 | eng_Latn | 0.99922 |
071935d745025aeaef145e6d301b642de2df2c3e | 1,861 | md | Markdown | _genbeta/2011-11-09-encuentra-las-aplicaciones-que-mas-se-ajustan-a-tu-perfil-con-bestvendor.md | figarocorso/figarocorso.github.io | e2ede424ac26ef6c92233683656a8278f84c62d2 | [
"MIT"
] | 1 | 2020-07-23T20:37:52.000Z | 2020-07-23T20:37:52.000Z | _genbeta/2011-11-09-encuentra-las-aplicaciones-que-mas-se-ajustan-a-tu-perfil-con-bestvendor.md | figarocorso/figarocorso.github.io | e2ede424ac26ef6c92233683656a8278f84c62d2 | [
"MIT"
] | null | null | null | _genbeta/2011-11-09-encuentra-las-aplicaciones-que-mas-se-ajustan-a-tu-perfil-con-bestvendor.md | figarocorso/figarocorso.github.io | e2ede424ac26ef6c92233683656a8278f84c62d2 | [
"MIT"
] | null | null | null | ---
layout: post
title: "Encuentra las aplicaciones que más se ajustan a tu perfil con BestVendor"
category: genbeta
---
**BestVendor es un sistema muy interesante de recomendaciones de aplicaciones social**, no obstante para entrar necesitas introducir tu ID de LinkedIn. En un principio la semilla nació para dar a conocer a las empresas cuáles podrían ser las aplicaciones que podrían utilizar para agilizar sus procesos, pero desde luego lo podemos llevar al campo personal.
Antes de registrarte tienes que elegir tus servicios favoritos (más adelante
los podrás cambiar sin problemas) y después, como ya hemos dicho, **vincular
tu cuenta de LinkedIn**. ¿Fácil? pues ahora podrás ver recomendaciones
globales o simplemente ver cuáles son los servicios que utilizan otras
personas que te recomienda.
En un futuro **integrarán el servicio de BestVendor con Facebook y Twitter**,
pero aunque todavía está en estado de beta abierta entre su catálogo ya
cuentan con más de 3.500 aplicaciones. Seguro que encuentras alguna que se
ajusta a lo que necesitas; y es que esa era una de las intenciones de los
creadores, servir como un recurso para encontrar las aplicaciones que te
pueden aportar ese punto de valor añadido.
Una vez dentro de BestVendor puedes encontrar el listado de todas las
aplicaciones (ordenado por popularidad), pero todavía resulta más atractiva la
posibilidad de **filtrar por categorías y subcategorías**. Por ejemplo primero
puedes elegir _Productivity_ para después especificar _Task Management_
(gestión de tareas) para obtener resultados encabezados por Wunderlist, Things
y Omnifocus.
Vía | [TechCrunch](http://techcrunch.com/2011/11/09/want-to-know-what-apps-
your-colleagues-use-at-work-bestvendor-can-tell-you/)
Enlace | [BestVendor](http://www.bestvendor.com/)
Artículo extraído de [Genbeta](http://www.genbeta.com). | 50.297297 | 357 | 0.800107 | spa_Latn | 0.998108 |
071a518fd5b965d035a671bd56f1f189e49b7fd8 | 4,221 | md | Markdown | core_concepts/examples.md | sathvik-dhanya/cka-prep | 297a0d53372d5061ee0b1536c4d4d19928599dd4 | [
"MIT"
] | null | null | null | core_concepts/examples.md | sathvik-dhanya/cka-prep | 297a0d53372d5061ee0b1536c4d4d19928599dd4 | [
"MIT"
] | null | null | null | core_concepts/examples.md | sathvik-dhanya/cka-prep | 297a0d53372d5061ee0b1536c4d4d19928599dd4 | [
"MIT"
] | null | null | null | #### Create a namespace called 'mynamespace' and a pod with image nginx called nginx on this namespace (using kubectl command)
```bash
kubectl create namespace mynamespace
kubectl run nginx --image=nginx -n mynamespace
```
#### Same (using yaml)
```bash
kubectl run nginx --image=nginx --dry-run=client -o yaml > pod.yaml
```
OR
```yaml
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- image: nginx
name: nginx
restartPolicy: Never
```
#### Create a busybox pod (using kubectl command) that runs the command "env". Run it and see the output
```bash
kubectl run busybox --image=busybox --command --restart=Never -it -- env # -it will help in seeing the output
# or, just run it without -it
kubectl run busybox --image=busybox --command --restart=Never -- env
# and then, check its logs
kubectl logs busybox
```
#### Same (using yaml)
```yaml
apiVersion: v1
kind: Pod
metadata:
name: busybox
spec:
containers:
- command:
- env
image: busybox
name: busybox
```
```bash
# apply it and then see the logs
kubectl apply -f pod.yaml
kubectl logs busybox
```
#### Get the YAML for a new ResourceQuota called 'myrq' with hard limits of 1 CPU, 1G memory and 2 pods without creating it
```bash
kubectl create quota myrq --hard=cpu=1,memory=1G,pods=2 --dry-run=client -o yaml
```
#### Create an nginx pod allow traffic on port 80
```bash
kubectl run nginx --image=nginx --port=80
```
#### Change pod's image to nginx:1.7.1
```bash
kubectl edit pods nginx
# change image from nginx to nginx:1.7.1
OR
kubectl set image pod/nginx nginx=nginx:1.7.1
```
#### Get nginx pod's ip created in the previous step, use a temp busybox image to wget its '/'
```bash
kubectl get pods -o wide # grab IP of nginx pod
kubectl run busybox --image=busybox --rm -it --restat=Never -- wget -O- IP
```
#### Create a busybox pod that echoes 'hello world' and then exits
```bash
kubectl run busybox --image=busybox --rm -it --restart=Never -- echo 'hello world'
kubectl run busybox --image=busybox --rm -it --restart=Never -- /bin/sh -c 'echo hello world'
```
#### Create an nginx pod with an env value as 'var=val'
```bash
kubectl run nginx --image=nginx --env=var1=val1 -it --rm -- env
OR
# create pod and check env var in a separate step
kubectl run nginx --image=nginx --env=var=val
kubectl describe pod nginx | grep val
kubectl exec -it nginx -- env
kubectl exec -it nginx -- /bin/bash -c 'echo $var'
```
#### Create a job that displays "Hello from K8s!" to the console and then exits
```yaml
apiVersion: batch/v1
kind: Job
metadata:
name: hello
spec:
template:
spec:
containers:
- name: hello
image: busybox
command:
- "/bin/sh"
- "-c"
- "echo Hello from K8s!"
restartPolicy: Never
```
#### Create a single pod using the image redis called redis with a label key of app and value of redis
```yaml
apiVersion: v1
kind: Pod
metadata:
name: redis
labels:
app: redis
spec:
containers:
- name: redis
image: redis
```
#### Create a deployment called websrv using the image nginx with 3 replicas. Plan for the deployment to be scaled up and down and for the image to be altered.
```yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: websrv
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
```
##### Scale the deployment up to 5 replicas
```bash
kubectl scale deployment/websrv --replicas=5
```
##### Alter the image to use nginx:1.7.9
```bash
kubectl --record deployment/websrv set image deploy/websrv nginx=nginx:1.7.9
```
##### Scale the deployment down to 1 replica
```bash
kubectl scale deployment/websrv --replicas=1
```
##### Alter the image to go back to the one you previously used
```bash
kubectl rollout undo deployment/websrv
```
#### Create a pod called dolittle using the image k8s.gcr.io/pause:2.0. Label the pod with a key-value pair of "doesnothing" set equal to "true"
```yaml
apiVersion: v1
kind: Pod
metadata:
name: dolittle
labels:
doesnothing: "true"
spec:
containers:
- name: dolittle
image: k8s.gcr.io/pause:2.0
```
| 23.320442 | 160 | 0.679934 | eng_Latn | 0.870379 |
071a7d1ab424f93907fdc0bd56892fecaff3072e | 18,130 | md | Markdown | TermsAndConditions.md | 0G4briel/ReachUp | 5b4e253ffd6401e89fed00f37c5cbb511aa76057 | [
"MIT"
] | 12 | 2020-09-19T21:28:48.000Z | 2020-11-26T03:08:14.000Z | TermsAndConditions.md | gabe-santana/ReachUp | 5b4e253ffd6401e89fed00f37c5cbb511aa76057 | [
"MIT"
] | 10 | 2020-09-23T02:49:03.000Z | 2020-11-24T04:04:56.000Z | TermsAndConditions.md | gabe-santana/ReachUp | 5b4e253ffd6401e89fed00f37c5cbb511aa76057 | [
"MIT"
] | 2 | 2020-10-02T06:18:12.000Z | 2020-11-04T19:36:18.000Z | 1. Introduction
Welcome to CSoft (“Company”, “we”, “our”, “us”)!
These Terms of Service (“Terms”, “Terms of Service”) govern your use of our website located at com.csoft.reachup (together or individually “Service”) operated by CSoft.
Our Privacy Policy also governs your use of our Service and explains how we collect, safeguard and disclose information that results from your use of our web pages.
Your agreement with us includes these Terms and our Privacy Policy (“Agreements”). You acknowledge that you have read and understood Agreements, and agree to be bound of them.
If you do not agree with (or cannot comply with) Agreements, then you may not use the Service, but please let us know by emailing at [email protected] so we can try to find a solution. These Terms apply to all visitors, users and others who wish to access or use Service.
2. Communications
By using our Service, you agree to subscribe to newsletters, marketing or promotional materials and other information we may send. However, you may opt out of receiving any, or all, of these communications from us by following the unsubscribe link or by emailing at [email protected].
3. Contests, Sweepstakes and Promotions
Any contests, sweepstakes or other promotions (collectively, “Promotions”) made available through Service may be governed by rules that are separate from these Terms of Service. If you participate in any Promotions, please review the applicable rules as well as our Privacy Policy. If the rules for a Promotion conflict with these Terms of Service, Promotion rules will apply.
4. Content
Our Service allows you to post, link, store, share and otherwise make available certain information, text, graphics, videos, or other material (“Content”). You are responsible for Content that you post on or through Service, including its legality, reliability, and appropriateness.
By posting Content on or through Service, You represent and warrant that: (i) Content is yours (you own it) and/or you have the right to use it and the right to grant us the rights and license as provided in these Terms, and (ii) that the posting of your Content on or through Service does not violate the privacy rights, publicity rights, copyrights, contract rights or any other rights of any person or entity. We reserve the right to terminate the account of anyone found to be infringing on a copyright.
You retain any and all of your rights to any Content you submit, post or display on or through Service and you are responsible for protecting those rights. We take no responsibility and assume no liability for Content you or any third party posts on or through Service. However, by posting Content using Service you grant us the right and license to use, modify, publicly perform, publicly display, reproduce, and distribute such Content on and through Service. You agree that this license includes the right for us to make your Content available to other users of Service, who may also use your Content subject to these Terms.
CSoft has the right but not the obligation to monitor and edit all Content provided by users.
In addition, Content found on or through this Service are the property of CSoft or used with permission. You may not distribute, modify, transmit, reuse, download, repost, copy, or use said Content, whether in whole or in part, for commercial purposes or for personal gain, without express advance written permission from us.
5. Prohibited Uses
You may use Service only for lawful purposes and in accordance with Terms. You agree not to use Service:
0.1. In any way that violates any applicable national or international law or regulation.
0.2. For the purpose of exploiting, harming, or attempting to exploit or harm minors in any way by exposing them to inappropriate content or otherwise.
0.3. To transmit, or procure the sending of, any advertising or promotional material, including any “junk mail”, “chain letter,” “spam,” or any other similar solicitation.
0.4. To impersonate or attempt to impersonate Company, a Company employee, another user, or any other person or entity.
0.5. In any way that infringes upon the rights of others, or in any way is illegal, threatening, fraudulent, or harmful, or in connection with any unlawful, illegal, fraudulent, or harmful purpose or activity.
0.6. To engage in any other conduct that restricts or inhibits anyone’s use or enjoyment of Service, or which, as determined by us, may harm or offend Company or users of Service or expose them to liability.
Additionally, you agree not to:
0.1. Use Service in any manner that could disable, overburden, damage, or impair Service or interfere with any other party’s use of Service, including their ability to engage in real time activities through Service.
0.2. Use any robot, spider, or other automatic device, process, or means to access Service for any purpose, including monitoring or copying any of the material on Service.
0.3. Use any manual process to monitor or copy any of the material on Service or for any other unauthorized purpose without our prior written consent.
0.4. Use any device, software, or routine that interferes with the proper working of Service.
0.5. Introduce any viruses, trojan horses, worms, logic bombs, or other material which is malicious or technologically harmful.
0.6. Attempt to gain unauthorized access to, interfere with, damage, or disrupt any parts of Service, the server on which Service is stored, or any server, computer, or database connected to Service.
0.7. Attack Service via a denial-of-service attack or a distributed denial-of-service attack.
0.8. Take any action that may damage or falsify Company rating.
0.9. Otherwise attempt to interfere with the proper working of Service.
6. Analytics
We may use third-party Service Providers to monitor and analyze the use of our Service.
7. No Use By Minors
Service is intended only for access and use by individuals at least eighteen (18) years old. By accessing or using Service, you warrant and represent that you are at least eighteen (18) years of age and with the full authority, right, and capacity to enter into this agreement and abide by all of the terms and conditions of Terms. If you are not at least eighteen (18) years old, you are prohibited from both the access and usage of Service.
8. Accounts
When you create an account with us, you guarantee that you are above the age of 18, and that the information you provide us is accurate, complete, and current at all times. Inaccurate, incomplete, or obsolete information may result in the immediate termination of your account on Service.
You are responsible for maintaining the confidentiality of your account and password, including but not limited to the restriction of access to your computer and/or account. You agree to accept responsibility for any and all activities or actions that occur under your account and/or password, whether your password is with our Service or a third-party service. You must notify us immediately upon becoming aware of any breach of security or unauthorized use of your account.
You may not use as a username the name of another person or entity or that is not lawfully available for use, a name or trademark that is subject to any rights of another person or entity other than you, without appropriate authorization. You may not use as a username any name that is offensive, vulgar or obscene.
We reserve the right to refuse service, terminate accounts, remove or edit content, or cancel orders in our sole discretion.
9. Intellectual Property
Service and its original content (excluding Content provided by users), features and functionality are and will remain the exclusive property of CSoft and its licensors. Service is protected by copyright, trademark, and other laws of and foreign countries. Our trademarks may not be used in connection with any product or service without the prior written consent of CSoft.
10. Copyright Policy
We respect the intellectual property rights of others. It is our policy to respond to any claim that Content posted on Service infringes on the copyright or other intellectual property rights (“Infringement”) of any person or entity.
If you are a copyright owner, or authorized on behalf of one, and you believe that the copyrighted work has been copied in a way that constitutes copyright infringement, please submit your claim via email to [email protected], with the subject line: “Copyright Infringement” and include in your claim a detailed description of the alleged Infringement as detailed below, under “DMCA Notice and Procedure for Copyright Infringement Claims”
You may be held accountable for damages (including costs and attorneys’ fees) for misrepresentation or bad-faith claims on the infringement of any Content found on and/or through Service on your copyright.
11. DMCA Notice and Procedure for Copyright Infringement Claims
You may submit a notification pursuant to the Digital Millennium Copyright Act (DMCA) by providing our Copyright Agent with the following information in writing (see 17 U.S.C 512(c)(3) for further detail):
0.1. an electronic or physical signature of the person authorized to act on behalf of the owner of the copyright’s interest;
0.2. a description of the copyrighted work that you claim has been infringed, including the URL (i.e., web page address) of the location where the copyrighted work exists or a copy of the copyrighted work;
0.3. identification of the URL or other specific location on Service where the material that you claim is infringing is located;
0.4. your address, telephone number, and email address;
0.5. a statement by you that you have a good faith belief that the disputed use is not authorized by the copyright owner, its agent, or the law;
0.6. a statement by you, made under penalty of perjury, that the above information in your notice is accurate and that you are the copyright owner or authorized to act on the copyright owner’s behalf.
You can contact our Copyright Agent via email at [email protected].
12. Error Reporting and Feedback
You may provide us either directly at [email protected] or via third party sites and tools with information and feedback concerning errors, suggestions for improvements, ideas, problems, complaints, and other matters related to our Service (“Feedback”). You acknowledge and agree that: (i) you shall not retain, acquire or assert any intellectual property right or other right, title or interest in or to the Feedback; (ii) Company may have development ideas similar to the Feedback; (iii) Feedback does not contain confidential information or proprietary information from you or any third party; and (iv) Company is not under any obligation of confidentiality with respect to the Feedback. In the event the transfer of the ownership to the Feedback is not possible due to applicable mandatory laws, you grant Company and its affiliates an exclusive, transferable, irrevocable, free-of-charge, sub-licensable, unlimited and perpetual right to use (including copy, modify, create derivative works, publish, distribute and commercialize) Feedback in any manner and for any purpose.
13. Links To Other Web Sites
Our Service may contain links to third party web sites or services that are not owned or controlled by CSoft.
CSoft has no control over, and assumes no responsibility for the content, privacy policies, or practices of any third party web sites or services. We do not warrant the offerings of any of these entities/individuals or their websites.
For example, the outlined Terms of Use have been created using PolicyMaker.io, a free web application for generating high-quality legal documents. PolicyMaker’s Terms and Conditions generator is an easy-to-use free tool for creating an excellent standard Terms of Service template for a website, blog, e-commerce store or app.
YOU ACKNOWLEDGE AND AGREE THAT COMPANY SHALL NOT BE RESPONSIBLE OR LIABLE, DIRECTLY OR INDIRECTLY, FOR ANY DAMAGE OR LOSS CAUSED OR ALLEGED TO BE CAUSED BY OR IN CONNECTION WITH USE OF OR RELIANCE ON ANY SUCH CONTENT, GOODS OR SERVICES AVAILABLE ON OR THROUGH ANY SUCH THIRD PARTY WEB SITES OR SERVICES.
WE STRONGLY ADVISE YOU TO READ THE TERMS OF SERVICE AND PRIVACY POLICIES OF ANY THIRD PARTY WEB SITES OR SERVICES THAT YOU VISIT.
14. Disclaimer Of Warranty
THESE SERVICES ARE PROVIDED BY COMPANY ON AN “AS IS” AND “AS AVAILABLE” BASIS. COMPANY MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, AS TO THE OPERATION OF THEIR SERVICES, OR THE INFORMATION, CONTENT OR MATERIALS INCLUDED THEREIN. YOU EXPRESSLY AGREE THAT YOUR USE OF THESE SERVICES, THEIR CONTENT, AND ANY SERVICES OR ITEMS OBTAINED FROM US IS AT YOUR SOLE RISK.
NEITHER COMPANY NOR ANY PERSON ASSOCIATED WITH COMPANY MAKES ANY WARRANTY OR REPRESENTATION WITH RESPECT TO THE COMPLETENESS, SECURITY, RELIABILITY, QUALITY, ACCURACY, OR AVAILABILITY OF THE SERVICES. WITHOUT LIMITING THE FOREGOING, NEITHER COMPANY NOR ANYONE ASSOCIATED WITH COMPANY REPRESENTS OR WARRANTS THAT THE SERVICES, THEIR CONTENT, OR ANY SERVICES OR ITEMS OBTAINED THROUGH THE SERVICES WILL BE ACCURATE, RELIABLE, ERROR-FREE, OR UNINTERRUPTED, THAT DEFECTS WILL BE CORRECTED, THAT THE SERVICES OR THE SERVER THAT MAKES IT AVAILABLE ARE FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS OR THAT THE SERVICES OR ANY SERVICES OR ITEMS OBTAINED THROUGH THE SERVICES WILL OTHERWISE MEET YOUR NEEDS OR EXPECTATIONS.
COMPANY HEREBY DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, AND FITNESS FOR PARTICULAR PURPOSE.
THE FOREGOING DOES NOT AFFECT ANY WARRANTIES WHICH CANNOT BE EXCLUDED OR LIMITED UNDER APPLICABLE LAW.
15. Limitation Of Liability
EXCEPT AS PROHIBITED BY LAW, YOU WILL HOLD US AND OUR OFFICERS, DIRECTORS, EMPLOYEES, AND AGENTS HARMLESS FOR ANY INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGE, HOWEVER IT ARISES (INCLUDING ATTORNEYS’ FEES AND ALL RELATED COSTS AND EXPENSES OF LITIGATION AND ARBITRATION, OR AT TRIAL OR ON APPEAL, IF ANY, WHETHER OR NOT LITIGATION OR ARBITRATION IS INSTITUTED), WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS ACTION, OR ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT, INCLUDING WITHOUT LIMITATION ANY CLAIM FOR PERSONAL INJURY OR PROPERTY DAMAGE, ARISING FROM THIS AGREEMENT AND ANY VIOLATION BY YOU OF ANY FEDERAL, STATE, OR LOCAL LAWS, STATUTES, RULES, OR REGULATIONS, EVEN IF COMPANY HAS BEEN PREVIOUSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. EXCEPT AS PROHIBITED BY LAW, IF THERE IS LIABILITY FOUND ON THE PART OF COMPANY, IT WILL BE LIMITED TO THE AMOUNT PAID FOR THE PRODUCTS AND/OR SERVICES, AND UNDER NO CIRCUMSTANCES WILL THERE BE CONSEQUENTIAL OR PUNITIVE DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF PUNITIVE, INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THE PRIOR LIMITATION OR EXCLUSION MAY NOT APPLY TO YOU.
16. Termination
We may terminate or suspend your account and bar access to Service immediately, without prior notice or liability, under our sole discretion, for any reason whatsoever and without limitation, including but not limited to a breach of Terms.
If you wish to terminate your account, you may simply discontinue using Service.
All provisions of Terms which by their nature should survive termination shall survive termination, including, without limitation, ownership provisions, warranty disclaimers, indemnity and limitations of liability.
17. Governing Law
These Terms shall be governed and construed in accordance with the laws of Brazil, which governing law applies to agreement without regard to its conflict of law provisions.
Our failure to enforce any right or provision of these Terms will not be considered a waiver of those rights. If any provision of these Terms is held to be invalid or unenforceable by a court, the remaining provisions of these Terms will remain in effect. These Terms constitute the entire agreement between us regarding our Service and supersede and replace any prior agreements we might have had between us regarding Service.
18. Changes To Service
We reserve the right to withdraw or amend our Service, and any service or material we provide via Service, in our sole discretion without notice. We will not be liable if for any reason all or any part of Service is unavailable at any time or for any period. From time to time, we may restrict access to some parts of Service, or the entire Service, to users, including registered users.
19. Amendments To Terms
We may amend Terms at any time by posting the amended terms on this site. It is your responsibility to review these Terms periodically.
Your continued use of the Platform following the posting of revised Terms means that you accept and agree to the changes. You are expected to check this page frequently so you are aware of any changes, as they are binding on you.
By continuing to access or use our Service after any revisions become effective, you agree to be bound by the revised terms. If you do not agree to the new terms, you are no longer authorized to use Service.
20. Waiver And Severability
No waiver by Company of any term or condition set forth in Terms shall be deemed a further or continuing waiver of such term or condition or a waiver of any other term or condition, and any failure of Company to assert a right or provision under Terms shall not constitute a waiver of such right or provision.
If any provision of Terms is held by a court or other tribunal of competent jurisdiction to be invalid, illegal or unenforceable for any reason, such provision shall be eliminated or limited to the minimum extent such that the remaining provisions of Terms will continue in full force and effect.
21. Acknowledgement
BY USING SERVICE OR OTHER SERVICES PROVIDED BY US, YOU ACKNOWLEDGE THAT YOU HAVE READ THESE TERMS OF SERVICE AND AGREE TO BE BOUND BY THEM.
22. Contact Us
Please send your feedback, comments, requests for technical support by email: [email protected].
| 97.473118 | 1,182 | 0.802868 | eng_Latn | 0.996706 |
071a863d45ea2e85725e9a6a65646eef227ed58f | 476 | md | Markdown | GameOfLife/README.md | R3mmurd/cellular-automata | 1d1ab220515bcdbd1bde20414ad6fdf35b293c10 | [
"MIT"
] | null | null | null | GameOfLife/README.md | R3mmurd/cellular-automata | 1d1ab220515bcdbd1bde20414ad6fdf35b293c10 | [
"MIT"
] | null | null | null | GameOfLife/README.md | R3mmurd/cellular-automata | 1d1ab220515bcdbd1bde20414ad6fdf35b293c10 | [
"MIT"
] | null | null | null | # Game of Life
This is an implementation of Conway's Game of Life model. It is visualized in
a canvas. To start running the model, press enter.
## Requirements
- C++ v14 or higher.
- [DeSiGNAR](https://github.com/R3mmurd/DeSiGNAR) library.
- Qt5
## Demo
<a href="http://www.youtube.com/watch?feature=player_embedded&v=Oqf2fY5fKTk
" target="_blank"><img src="http://img.youtube.com/vi/Oqf2fY5fKTk/0.jpg"
alt="Demo Game of Life" width="240" height="180" border="10" /></a>
| 28 | 77 | 0.718487 | eng_Latn | 0.546352 |
071b24890943d74363435b514a5e1941f0721e5a | 1,434 | md | Markdown | packages/cron/README.md | jonyg80/web3.storage | 3178a9c3165314d1ccd138ecb9c8321dc880a92f | [
"Apache-2.0",
"MIT"
] | null | null | null | packages/cron/README.md | jonyg80/web3.storage | 3178a9c3165314d1ccd138ecb9c8321dc880a92f | [
"Apache-2.0",
"MIT"
] | null | null | null | packages/cron/README.md | jonyg80/web3.storage | 3178a9c3165314d1ccd138ecb9c8321dc880a92f | [
"Apache-2.0",
"MIT"
] | null | null | null | <h1 align="center">⁂<br/>web3.storage</h1>
<p align="center">The cron jobs for housekeeping ✨</p>
Resist chaos! Periodically update the db with exciting new facts about the size of pins and anything else that doesn't need to be on the critical path.
## Getting started
Ensure you have all the dependencies, by running `npm i` in the parent project.
The following jobs are available:
### pins
To run this locally you will need the following in your `packages/cron/.env` file:
```ini
ENV=dev
CLUSTER_API_URL=http://127.0.0.1:9094/
CLUSTER_IPFS_PROXY_API_URL=http://127.0.0.1:9095/api/v0/
DEV_FAUNA_KEY="<your key here>"
```
You also need to have:
- a local ipfs-cluster node running as per https://cluster.ipfs.io/documentation/quickstart/
- a dev account and db set up on FaunaDB with the latest schema imported as per [../db/README.md](../db/README.md)
- a dev api running so you can create some test data as per [../api/README.md](../api/README.md)
Run the job:
```sh
npm run start:pins
```
### pinata
Fetch the oldest 600 PinRequests from the DB and pin them on Piñata
To run this locally you will need the following in your `packages/cron/.env` file:
```ini
ENV=dev
DEV_FAUNA_KEY="<your key here>"
PINATA_JWT="<your jwt here>"
```
You also need to have:
- a dev account and db set up on FaunaDB with the latest schema imported as per [../db/README.md](../db/README.md)
Run the job:
```sh
npm run start:pinata
``` | 26.072727 | 151 | 0.725244 | eng_Latn | 0.985502 |
071b691e43abdfce0b5e1a26144cb951ccb9c520 | 629 | md | Markdown | general/wallets/browser-extensions-wallets/one-wallet.md | akegaviar/docs-home | 479b9a2e354e2c391e442afe34c21639f6dbe02d | [
"MIT"
] | null | null | null | general/wallets/browser-extensions-wallets/one-wallet.md | akegaviar/docs-home | 479b9a2e354e2c391e442afe34c21639f6dbe02d | [
"MIT"
] | null | null | null | general/wallets/browser-extensions-wallets/one-wallet.md | akegaviar/docs-home | 479b9a2e354e2c391e442afe34c21639f6dbe02d | [
"MIT"
] | null | null | null | # Harmony Chrome Extension Wallet
{% hint style="warning" %}
The Harmony Chrome extension wallet is no longer supported. The extension [can still be downloaded ](https://chrome.google.com/webstore/detail/harmony-chrome-extension/fnnegphlobjdpkhecapkijjdkgcjhkib)but should be used at your own risk. 
Please see [here for more information ](https://medium.com/harmony-one/sunsetting-the-harmony-chrome-extension-wallet-cd7e2ec217c6)on the sunset announcement. 
[See here ](https://docs.harmony.one/home/network/wallets/browser-extensions-wallets/one-wallet)for migration options to MetaMask. **** 
{% endhint %}
| 62.9 | 243 | 0.786963 | eng_Latn | 0.739891 |
071bca56a0d71ec153d052f435cf8abc7f95fcb7 | 3,503 | md | Markdown | _publications/2020-09-19-contrastive-disentanglement-workshop.md | zimmerrol/rzimmermann.com | 93baafe6fa0a63068c8079f96c8175ebd3039492 | [
"MIT"
] | null | null | null | _publications/2020-09-19-contrastive-disentanglement-workshop.md | zimmerrol/rzimmermann.com | 93baafe6fa0a63068c8079f96c8175ebd3039492 | [
"MIT"
] | null | null | null | _publications/2020-09-19-contrastive-disentanglement-workshop.md | zimmerrol/rzimmermann.com | 93baafe6fa0a63068c8079f96c8175ebd3039492 | [
"MIT"
] | null | null | null | ---
title: "Contrastive Learning can Identify the Underlying Generative Factors of the Data"
type: workshop paper
collection: publications
permalink: /publication/2020-11-01-contrastive-disentanglement-workshop
excerpt: 'We rigorously show that models trained on a common contrastive loss can implicitly invert the underlying generative model of the observed data up to affine transformations.'
date: 2020-11-01
paperurl: 'https://sslneuips20.github.io/files/CameraReadys%203-77/67/CameraReady/Contrastive_Learning_can_Identify_the_Underlying_Generative_Factors_of_the_Data_SSL_NeurIPS_2020.pdf'
paperurldescription: 'Access the workshop paper'
authors: '**Zimmermann\*, R. S.**, Schneider\*, S. Sharma\*, Y., Bethge, M. and Brendel, W.,'
venue: 'NeurIPS 2020 Workshop: Self-Supervised Learning - Theory and Practice'
citation: 'Zimmermann, R. S., Schneider, S. Sharma, Y., Bethge, M. and Brendel, W., Contrastive Learning can Identify the Underlying Generative Factors of the Data.'
bibtex: '@article{zimmermann2021contrastive,
@article{zimmermann2021cl,<br>
author = { <br>
Zimmermann, Roland S. and<br>
Sharma, Yash and<br>
Schneider, Steffen and<br>
Bethge, Matthias and<br>
Brendel, Wieland<br>
},<br>
title = {<br>
Contrastive Learning Inverts <br>
the Data Generating Process<br>
},<br>
booktitle = {Proceedings of the 38th International Conference on Machine Learning, <br>
{ICML} 2021, 18-24 July 2021, Virtual Event}, <br>
series = {Proceedings of Machine Learning Research}, <br>
volume = {139}, <br>
pages = {12979--12990}, <br>
publisher = {{PMLR}}, <br>
year = {2021}, <br>
url = {http://proceedings.mlr.press/v139/zimmermann21a.html}, <br>
}'
---
Contrastive learning has recently seen tremendous success in unsupervised learning, but the understanding of the source of their effective generalization to a large variety of downstream tasks has been limited. We rigorously show that feedforward models trained on a common contrastive loss can implicitly invert the underlying generative model of the observed data up to affine transformations. While we detail the set of assumptions which need to be met to prove this result, our empirical results suggest our findings are robust to considerable model mismatch. We demonstrate contrastive learning performs comparably to the state-of-the-art in disentanglement on benchmark datasets, a notable observation due to the unique lack of an explicit generative objective.
This highlights a deep connection between contrastive learning, generative modeling, and nonlinear independent component analysis, providing a theoretical foundation to derive more effective contrastive losses while simultaneously furthering our understanding of the learned representations.
[<i class="fa fa-fw fa-globe" aria-hidden="true"></i>Project website](https://brendel-group.github.io/cl-ica/)
[<i class="fa fa-fw fa-book" aria-hidden="true"></i>Workshop paper](https://sslneuips20.github.io/files/CameraReadys%203-77/67/CameraReady/Contrastive_Learning_can_Identify_the_Underlying_Generative_Factors_of_the_Data_SSL_NeurIPS_2020.pdf) | 87.575 | 767 | 0.761062 | eng_Latn | 0.750194 |
071d20eb036497522797109b9b5cc144a5e7cad9 | 1,777 | md | Markdown | README.md | debanjum/vitrave | e94b33963db51fa9dca0f23537d24b650b36faed | [
"BSD-2-Clause"
] | null | null | null | README.md | debanjum/vitrave | e94b33963db51fa9dca0f23537d24b650b36faed | [
"BSD-2-Clause"
] | null | null | null | README.md | debanjum/vitrave | e94b33963db51fa9dca0f23537d24b650b36faed | [
"BSD-2-Clause"
] | null | null | null | Vitrave
=============
> Use visual landmarks to simplify UI traversal in automation scripts
This repo is based on [Erikb' gist](https://gist.github.com/eirikb/ac8196beb0b57577a8fc47eb18427bd4) and [Szanni's findimage](https://szanni.org/findimage/)<br />
It integrates sensing of visual landmark to simplify creating automation scripts.<br />
We use `findimage` to identify the visual landmarks on screen and `xdotool` for actually traversing the GUI.
DEPENDENCIES
---------------
1. Xdotool
3. Scrot
2. OpenCV
QUICK-START
---------------
```sh
git clone https://github.com/debanjum/vitrave.git # clone repository
cd findimage && make && sudo make install # compile and install findimage
cd ../demo && chmod +x demo.sh && ./demo.sh # run sample automation script
```
DEMO
---------------

##About
The demo is meant to show how to make an automated answer to a hn comment, translated from Norwegian to English with these steps:
1. Click on Chrome address bar.
2. Type translate.google.com and press enter.
3. Click on input field.
4. Type the text for translation and wait for it to translate.
5. Click "Copy"-button to copy text to clipboard.
6. Open new tab.
7. Type hn comment url and press enter.
8. Click on input field.
9. Paste translated text.
##Images
1.png

---
2.png

---
3.png

---
4.png

---
5.png

CONTRIBUTING
---------------
Fork, Edit and Submit [pull request](https://github.com/debanjum/vitrave/pulls)
BUGS
---------------
Please file bug reports at [issues](https://github.com/debanjum/vitrave/issues)
| 25.385714 | 162 | 0.684299 | eng_Latn | 0.544113 |
071d336608e547b4379cb83c9a53f1033735a81b | 2,003 | md | Markdown | site/_interactivity/nav.md | antarctica/bas-style-kit-docs | 58d5452c58c807bc4c49431e09fc6202f5ab230e | [
"MIT"
] | 1 | 2019-02-07T05:04:35.000Z | 2019-02-07T05:04:35.000Z | site/_interactivity/nav.md | antarctica/bas-style-kit-docs | 58d5452c58c807bc4c49431e09fc6202f5ab230e | [
"MIT"
] | null | null | null | site/_interactivity/nav.md | antarctica/bas-style-kit-docs | 58d5452c58c807bc4c49431e09fc6202f5ab230e | [
"MIT"
] | 1 | 2016-05-12T06:45:02.000Z | 2016-05-12T06:45:02.000Z | ---
item_type: Interactive
title: Navigation
menus:
primary_interactivity:
weight: 9
sections:
-
title: Overview
-
title: Usage
---
{% include topic-section-metadata.html
title="Overview"
heading_level=2
phase="live"
initial_version="0.5.0"
%}
The Style Kit includes a customised version of the Bootstrap
[tabs](https://getbootstrap.com/docs/3.3/javascript/#tabs) plugin to be compatible with Style Kit specific
classes. It's functionality and data API remain exactly the same.
[View Tabs Plugin](https://getbootstrap.com/docs/3.3/javascript/#tabs){:.bsk-btn .bsk-btn-default }
{% capture alert_content %}
For consistency with the [navigation component]({{ '/components/nav' | prepend: site.baseurl }}){:.bsk-alert-link},
this plugin is known as *nav* rather than *tabs* but is otherwise exactly the same.
{% endcapture %}
{% include bas-style-kit/bsk-snippet--alert.html
variant="info"
style="highlight"
content=alert_content
%}
{% include topic-section-metadata.html
title="Dependencies"
heading_level=2
phase="live"
initial_version="0.5.0"
%}
This plugin depends upon:
* [jQuery](https://jquery.com).
{% capture alert_content %}
See [distribution]({{ '/start/distribution/#javascript-dependencies' | prepend: site.baseurl }}){: .bsk-alert-link} for
how to include these dependencies.
{% endcapture %}
{% include bas-style-kit/bsk-snippet--alert.html
variant="info"
style="highlight"
content=alert_content
%}
{% include topic-section-metadata.html
title="Uses"
heading_level=2
%}
Use with the [navigation component]({{ '/components/nav' | prepend: site.baseurl }}) to create interactive
[pills]({{ '/components/nav/#pill-navigation' | prepend: site.baseurl }}) and
[tabs]({{ '/components/nav/#tab-navigation' | prepend: site.baseurl }}).
{% include topic-section-metadata.html
title="Examples"
heading_level=2
%}
See the [navigation content]({{ '/components/nav/#navigation-content' | prepend: site.baseurl }}) component for examples.
| 27.438356 | 121 | 0.721418 | eng_Latn | 0.73309 |
071f33c9c563f440c8b7a8e71afd344aa21e92a5 | 591 | md | Markdown | Chapter II/skyphrases/README.md | radoslawczapp/skygate-tasks | 8bb3adcee4cb6caac4c2f22c8f93259341b616e4 | [
"MIT"
] | null | null | null | Chapter II/skyphrases/README.md | radoslawczapp/skygate-tasks | 8bb3adcee4cb6caac4c2f22c8f93259341b616e4 | [
"MIT"
] | 6 | 2020-06-05T20:47:07.000Z | 2021-09-22T18:29:58.000Z | Chapter II/skyphrases/README.md | radoslawczapp/skygate-tasks | 8bb3adcee4cb6caac4c2f22c8f93259341b616e4 | [
"MIT"
] | null | null | null | # Task no. 1: Skyphrases
In skygate, a new system policy has been put in place that requires all accounts to use a special
passphrase - skyphrase - instead of simply a password. A skyphrase consists of a series of words
(lowercase letters) separated by spaces. To ensure security, a valid skyphrase must contain no duplicate
words.
For example:
* aa bb cc dd ee is valid.
* aa bb cc dd aa is not valid - the word aa appears more than once.
* aa bb cc dd aaa is valid - aa and aaa count as different words.
#### Answer
Number of valid skyphrases: `383` | 39.4 | 116 | 0.705584 | eng_Latn | 0.99152 |
072015ec4bf7ae1d05a9f065ce1a60391f59b5ba | 442 | md | Markdown | README.md | sly9/GreentoeRealPrice | f9dc756a73d21c9840564a1bd2654353f9595677 | [
"MIT"
] | null | null | null | README.md | sly9/GreentoeRealPrice | f9dc756a73d21c9840564a1bd2654353f9595677 | [
"MIT"
] | null | null | null | README.md | sly9/GreentoeRealPrice | f9dc756a73d21c9840564a1bd2654353f9595677 | [
"MIT"
] | null | null | null | # GreentoeRealPrice
TamperMonkey script for revealing the real price on greentoe
1. Install tampermonkey: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en
2. Install the script: https://openuserjs.org/scripts/sly.thugmail.com/Greentoe_Real_Price
3. Goto greentoe: https://www.greentoe.com/product/Sigma_35mm_f-1-4_DG_HSM_A1_Lens_for_Canon_DSLR_Cameras_340-101?site_category_id=a05E0000004uSdIIAU
| 63.142857 | 149 | 0.855204 | yue_Hant | 0.796183 |
07202537d7e211e72128819dc16bd8c8ee3a47c6 | 6,021 | md | Markdown | README.md | Aashima02/paintapplication | 28cc7225774dd116e6095b8185fb033db437e4a1 | [
"BSD-3-Clause"
] | null | null | null | README.md | Aashima02/paintapplication | 28cc7225774dd116e6095b8185fb033db437e4a1 | [
"BSD-3-Clause"
] | null | null | null | README.md | Aashima02/paintapplication | 28cc7225774dd116e6095b8185fb033db437e4a1 | [
"BSD-3-Clause"
] | null | null | null | # Web Page for Paint Application
## AIM:
To design a static website for Paint Application using HTML5 canvas.
## DESIGN STEPS:
### Step 1:
Requirement collection.
### Step 2:
Creating the layout using HTML,CSS and canvas.
### Step 3:
Write javascript to capture move events.
### Step 4:
Perform the drawing operation based on the user input.
### Step 5:
Validate the layout in various browsers.
### Step 6:
Validate the HTML code.
### Step 6:
Publish the website in the given URL.
## PROGRAM :
### HTML CODE:
```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Paint Application</title>
<link rel="stylesheet" href="./css/style.css" />
<script src="./js/myscript.js">
</script>
</head>
<body>
<h1>Paint Application</h1>
<div class="container">
<div class="content">
<canvas id="myCanvas" width="1050" height="650"></canvas>
</div>
<br/>
<div class="buttons1">
<input type="button" class="shapesel" id="armyst" value="Circle">
<input type="button" class="shapesel" id="armyst1" value="Square">
<input type="button" class="shapesel" id="armyst2" value="Triangle">
<input type="button" class="shapesel" id="armyst3" value="Rectangle">
<input type="button" class="shapesel" id="armyst4" value="Line">
</div>
<br/>
<div class="buttons1">
<button onclick="change_color(this)" id="cypher" style="background: white;"></button>
<button onclick="change_color(this)" id="cypher" style="background: rgb(49, 231, 255);"></button>
<button onclick="change_color(this)" id="cypher" style="background: rgb(46, 112, 255);"></button>
<button onclick="change_color(this)" id="cypher" style="background: rgb(213, 76, 255);"></button>
<button onclick="change_color(this)" id="cypher" style="background: rgb(153, 0, 255);"></button>
<button onclick="change_color(this)" id="cypher" style="background: rgb(54, 0, 124);"></button>
<button onclick="change_color(this)" id="cypher" style="background: rgb(0, 0, 0);"></button>
</div>
</div>
<br/>
<div class="buttons1">
<div class="footer">Developed by Aashima Nazreen S</div>
</div>
<script src="./js/myscript1.js">
</script>
</body>
</html>
```
### CSS CODE:
```
*{
box-sizing: border-box;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
body{
background-image: url("/static/img/bgimg5.png");
background-size: cover;
}
h1{
color: rgb(52, 12, 90);
text-align: center;
padding-top: 15px;
}
.container{
width: 1080px;
margin-left: auto;
margin-right: auto;
}
canvas{
background-color: rgb(238, 216, 236);
box-shadow: inset 0 0 5px #e5b9ee;
backdrop-filter: blur(15px);
border-radius: 10px;
border: 1px solid #ffffff;
}
.shapesel{
background-color: #cfb3f0;
border: 2px solid rgb(161, 146, 168);
border-radius: 25px;
color: rgb(52, 12, 90);
padding: 15px 32px;
text-align: center;
display: inline-block;
font-size: 20px;
margin: 4px 2px;
cursor: pointer;
}
.buttons1{
text-align: center;
}
.footer{
text-align: center;
color: rgb(52, 12, 90);
text-align: center;
font-size: x-large;
}
#cypher{
border: 2px solid #ffffff;
border-radius: 30px;
padding: 20px 20px;
text-align: center;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
```
### JAVASCRIPT CODE:
#### myscript.js:
```
function change_color(element){
hyyh=element.style.background;
}
function myClickEvent(e){
var message;
ctx.beginPath();
if (shape == 0){
ctx.arc(e.offsetX, e.offsetY, 20, 0, 2* Math.PI);
ctx.strokeStyle = hyyh;
ctx.linewidth = 2;
} else if (shape == 1){
ctx.rect(e.offsetX, e.offsetY, 35,35);
ctx.strokeStyle = hyyh;
ctx.linewidth = 2;
} else if (shape == 2){
ctx.moveTo(e.offsetX, e.offsetY);
ctx.lineTo(e.offsetX+(t/2), e.offsetY-(t*0.86602));
ctx.lineTo(e.offsetX-(t/2), e.offsetY-(t*0.86602));
ctx.lineTo(e.offsetX,e.offsetY);
ctx.strokeStyle = hyyh;
ctx.linewidth = 2;
} else if (shape == 3){
ctx.rect(e.offsetX, e.offsetY, 70, 35);
ctx.strokeStyle = hyyh;
ctx.linewidth = 2;
} else if (shape == 4){
ctx.moveTo(e.offsetX, e.offsetY);
ctx.lineTo(e.offsetX, e.offsetY-(s/2));
ctx.strokeStyle = hyyh;
ctx.linewidth = 2;
}
ctx.stroke();
}
function circleclicked() {
shape=0;
}
function squareclicked() {
shape=1;
}
function triangleclicked() {
shape=2;
}
function rectclicked() {
shape=3;
}
function lineclicked() {
shape=4;
}
```
#### mycript1.js:
```
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
shape=0;
let hyyh="#000000";
let t=50;
let s=120;
ctx.beginPath();
ctx.stroke();
c.addEventListener("click", myClickEvent);
document
.getElementById("armyst")
.addEventListener("click", circleclicked);
document
.getElementById("armyst1")
.addEventListener("click", squareclicked);
document
.getElementById("armyst2")
.addEventListener("click", triangleclicked);
document
.getElementById("armyst3")
.addEventListener("click", rectclicked);
document
.getElementById("armyst4")
.addEventListener("click", lineclicked);
```
## OUTPUT:


## Result:
Thus a website is designed and validated for paint application using HTML5 canvas.
| 23.988048 | 122 | 0.626142 | eng_Latn | 0.232879 |
0720ca948e27e5bea8be945b095e91c9e0a0d7f7 | 1,510 | md | Markdown | docs/openmetadata-apis/schemas/entities/dashboard.md | tahakashaf/OpenMetadata | cbe966c29458c39376cbaaeecbb6ae2faec6394b | [
"Apache-2.0"
] | null | null | null | docs/openmetadata-apis/schemas/entities/dashboard.md | tahakashaf/OpenMetadata | cbe966c29458c39376cbaaeecbb6ae2faec6394b | [
"Apache-2.0"
] | null | null | null | docs/openmetadata-apis/schemas/entities/dashboard.md | tahakashaf/OpenMetadata | cbe966c29458c39376cbaaeecbb6ae2faec6394b | [
"Apache-2.0"
] | null | null | null | # Dashboard
This schema defines the Dashboard entity. Dashboards are computed from data and visually present data, metrics, and KPIs. They are updated in real-time and allow interactive data exploration.
**$id:** [**https://open-metadata.org/schema/entity/data/dashboard.json**](https://open-metadata.org/schema/entity/data/dashboard.json)
Type: `object`
## Properties
* **id** `required`
* Unique identifier that identifies a dashboard instance.
* $ref: [../../type/basic.json\#/definitions/uuid](../types/basic.md#types-definitions-in-this-schema)
* **name** `required`
* Name that identifies this dashboard.
* Type: `string`
* Length: between 1 and 64
* **fullyQualifiedName**
* A unique name that identifies a dashboard in the format 'ServiceName.DashboardName'.
* Type: `string`
* Length: between 1 and 64
* **description**
* Description of the dashboard, what it is, and how to use it.
* Type: `string`
* **href**
* Link to the resource corresponding to this entity.
* $ref: [../../type/basic.json\#/definitions/href](../types/basic.md#types-definitions-in-this-schema)
* **owner**
* Owner of this dashboard.
* $ref: [../../type/entityReference.json](../types/entity-reference.md)
* **service** `required`
* Link to service where this dashboard is hosted in.
* $ref: [../../type/entityReference.json](../types/entity-reference.md)
* **usageSummary**
* Latest usage information for this database.
* $ref: [../../type/usageDetails.json](../types/usage-details.md)
| 39.736842 | 191 | 0.7 | eng_Latn | 0.765619 |
07221d6217ff042b001a9876ab8d4dbcd1d4dec1 | 9,410 | md | Markdown | _posts/2020-12-22-kernel-pwn入门之路(一).md | X1ngn/x1ngn.github.io | 70790670dfdda8dd2911687b6a897a5ee1875aaa | [
"MIT"
] | 1 | 2020-02-01T00:39:26.000Z | 2020-02-01T00:39:26.000Z | _posts/2020-12-22-kernel-pwn入门之路(一).md | X1ngn/x1ngn.github.io | 70790670dfdda8dd2911687b6a897a5ee1875aaa | [
"MIT"
] | 59 | 2020-02-01T17:44:57.000Z | 2022-01-24T17:22:40.000Z | _posts/2020-12-22-kernel-pwn入门之路(一).md | X1ngn/x1ngn.github.io | 70790670dfdda8dd2911687b6a897a5ee1875aaa | [
"MIT"
] | null | null | null | ---
layout: post
title: kernel pwn入门之路(一)
subtitle: 基础知识
date: 2020-12-22
author: X1ng
header-img: kernel.jpg
catalog: true
tags:
- kernel pwn
- 学习笔记
---
只会做几个烂大街的堆题目,,比赛堆题签个到走人
这好吗?这不好,,所以赶紧学学Linux kernel module pwn,记个笔记
## 环境搭建
根据[钞sir师傅的博客](https://blog.csdn.net/qq_40827990/article/details/97036109)搭建环境
## 基础知识
### kernel的作用:
kernel也是一个程序,用来管理软件发出的数据 I/O 要求,将这些要求转义为指令,交给 CPU 和计算机中的其他组件处理
1. 控制并与硬件进行交互
2. 提供 application 能运行的环境
(kernel 的 crash 通常会引起重启)
intel CPU 将 CPU 的特权级别分为 4 个级别:Ring 0、Ring 1、Ring 2、Ring 3
但是其实一般来说只用Ring 0和Ring 3就可以区分(即内核态与用户态),Ring 0只能被操作系统使用,可以使用外层资源、可以修改用户权限,Ring 3则所有程序都可以使用
- 程序进入内核态之前要先保存用户态的寄存器
- 从内核态返回的时候
1. 在栈上布置好寄存器的值并恢复
2. 64位下才需要执行`swapgs`,用于置换`GS`寄存器和`KernelGSbase MSR`寄存器的内容
3. 执行`sysretq`和 `iret` 指令返回用户态(使用`iretq`指令还需要给出CS、eflags/rflags、esp/rsp等一些用户空间的信息)
>可以通过以下函数来获取并保存用户态寄存器信息
>
>```c
>unsigned long user_cs, user_ss, user_eflags, user_sp;
>void save_stats(){
> asm(
> "movq %%cs,%0\n"
> "movq %%ss,%1\n"
> "movq %%rsp,%3\n"
> "pushfq\n"
> "popq %2\n"
> :"=r"(user_cs), "=r"(user_ss), "=r"(user_eflags), "=r"(user_sp)
> :
> :"memory"
> );
>}
>```
>
>之后恢复的时候可以直接用这些值恢复寄存器
在比赛中,通常漏洞会存在于动态装载模块中(比如驱动程序、内核扩展模块)
### 对模块的基本操作
```
命令
insmod:加载模块
lsmod:查看模块
rmmod:删除模块
函数
open:打开模块
ioctl:操作模块
read:读模块
write:写模块
close:关闭模块
```
### 内核态函数
- printf() -> printk(),但需要注意的是 printk() 不一定会把内容显示到终端上,但一定在内核缓冲区里,可以通过 `dmesg` 查看效果
- memcpy() ->copy_from_user()/copy_to_user()
- `copy_from_user(char *a1, char *a2, int a3); `实现了将用户空间a2的长度为a3的数据传送到内核空间a1
- `copy_to_user(char *a1, char *a2, int a3) ;`实现了将内核空间a2的长度为a3的数据传送到用户空间a1
- malloc() -> kmalloc(),内核态的内存分配函数,和 malloc() 相似,但使用的是 `slab/slub 分配器`
- free() -> kfree(),同 kmalloc()
- misc_register()用于注册一个驱动,其参数为`miscdevice`结构体指针
miscdevice结构体定义为:

内核在加载驱动的时候,会调用驱动程序中的`module_init()`函数,`module_init()`函数再调用相应的注册函数来向内核注册驱动(比如`misc_register()`函数)
### 设备类型
linux系统将设备分为三类:字符设备、块设备、网络设备
>字符设备:是指只能一个字节一个字节读写的设备,不能随机读取设备内存中的某一数据,读取数据需要按照先后数据。字符设备是面向流的设备,常见的字符设备有鼠标、键盘、串口、控制台和LED设备等。
>
>块设备:是指可以从设备的任意位置读取一定长度数据的设备。块设备包括硬盘、磁盘、U盘和SD卡等。
### 设备的打开过程
由于ucore文件系统实验摸鱼了,先学学文件系统相关知识
#### 注册设备驱动
如上文所说的,在使用`insmod`加载驱动的时候,内核调用`module_init()`函数,`module_init()`函数再调用`misc_register()`来向内核注册驱动
由于`miscdevice`结构体是`misc_register()`函数的参数,所以在调用`misc_register()`函数时通过`miscdevice`结构体的成员`fops`指针将`file_operations`结构体连同其主设备号一起传入内核
file_operations结构体定义为:

其成员除了`owner`指向的`module`结构体之外,剩下的都是函数指针,可以通过修改其中的函数指针来达到重写某个函数的目的,如果对这个驱动调用某个其中的函数,就会调用结构体中的函数指针
举个栗子
在某个内核模块代码中
```c
struct file_operations shf_fops = {
.owner = THIS_MODULE,
.open = shf_open,
.release = shf_release,
.unlocked_ioctl = shf_unlocked_ioctrl,
}
struct miscdevice shf_device = {
.minor = MISC_DYNAMIC_MINOR,
.name = "shf",
.fops = &shf_fops,
};
misc_regiseter(&shf_device);
```
从对`file_operations`结构体的修改可以看出这里重写了`open`函数`release`函数和`unlocked_ioctl`函数
`misc_regiseter`函数会在/dev下创建shf节点,即/dev/shf
在用户程序中只要`fd = open("/dev/shf",READONY);`就可以调用重写的`open`函数来启动该驱动,然后通过`ioctl`函数操作该驱动
#### 打开设备
在Linux下一切皆文件,设备也不例外
内核会为每一个运行中的进程在进程控制块pcb中维护一个打开文件的记录表,也就是文件描述符表,文件描述符fd就是这个表的索引,该表每一个表项都是 已打开文件的file结构体指针
file结构体是内核中用来描述文件属性的结构体

进程通过系统调用`open`系统调用来打开一个文件,会获得一个文件描述符,并为该文件创建一个file对象,并把该file对象存入进程打开文件表中(文件描述符数组),以便进程通过文件描述符为连接对文件进行其他操作
`close`系统调用则反之
>**FILE与file傻傻分不清**
>
>file结构体是linux内核中的结构体,每一个被打开的广义的文件(包括设备、套接字等),都有一个file结构体与之对应
>
>FILE结构体是libc中的结构体
>
>```c
>#ifndef _FILE_DEFINED
>struct _iobuf {
>
> char *_ptr; //文件输入的下一个位置
> int _cnt; //当前缓冲区的相对位置
> char *_base; //指基础位置(即是文件的其始位置)
> int _flag; //文件标志
> int _file; //文件描述符
> int _charbuf; //检查缓冲区状况,如果无缓冲区则不读取
> int _bufsiz; //缓冲区大小
> char *_tmpfname; //临时文件名
>
> };
>typedef struct _iobuf FILE;
>#define _FILE_DEFINED
>```
>
>使用fopen,fclose,fread,fwrite返回FILE *文件指针,对狭义的文件(不包括设备、套接字等)进行操作
#### ioctl系统调用操作设备
在用户空间实用ioctl操作设备的时候,其接口为
```c
int ioctl(int fd,unsigned long cmd,...);
/*
fd:文件描述符
cmd:控制命令
...:可选参数:插入*argp,具体内容依赖于cmd
*/
```
而在进行系统调用时,根据linux内核中关于ioctl系统调用的源代码

再经过一些检查之后,最终调用的`vfs_ioctl(f.file, cmd, arg)`,其第一个参数变为由fd找到的对应的file结构体

然后再从`file_operations`结构体中找到对应hook函数`unlocked_ioctl`的函数指针进行调用
可以看到最终调用了ko文件中的内核函数`unlocked_ioctl(filp, cmd, arg);`
对于设备`open`、`read`、`write`等系统调用的大致流程也都是如此,用户接口进入`SYSCALL_DEFINE3`宏后调用`vfs_XXXX`来调用`file_operations`结构体中的函数
### 题目文件
>1. `baby.ko` 就是有bug的程序(出题人编译的驱动),可以用`IDA`打开
>
>2. `bzImage` 是打包的内核,用于启动虚拟机与寻找`gadget`
>
>3. `Initramfs.cpio` 文件系统
>
>4. `startvm.sh` 启动脚本
>
>5. 有时还会有`vmlinux`文件,这是未打包的内核,一般含有符号信息,可以用于加载到`gdb`中方便调试(`gdb vmlinux`),当寻找`gadget`时,使用`objdump -d vmlinux > gadget`然后直接用编辑器搜索会比`ROPgadget`或`ropper`快很多。
>
>6. 没有`vmlinux`的情况下,可以使用`linux`源码目录下的`scripts/extract-vmlinux`来解压`bzImage`得到`vmlinux`(`extract-vmlinux bzImage > vmlinux`),当然此时的`vmlinux`是不包含调试信息的。
>
>7. 还有可能附件包中没有驱动程序`*.ko`,此时可能需要我们自己到文件系统中把它提取出来,这里给出`ext4`,`cpio`两种文件系统的提取方法:
>
> - `ext4`:将文件系统挂载到已有目录。
>
> - `mkdir ./rootfs`
>
> - `sudo mount rootfs.img ./rootfs`
>
> - 查看根目录的`init`或`etc/init.d/rcS`,这是系统的启动脚本
>
> [](https://xzfile.aliyuncs.com/media/upload/picture/20200417101600-61c4e41e-8051-1.png)
>
> 可以看到加载驱动的路径,这时可以把驱动拷出来
>
> - 卸载文件系统,`sudo umount rootfs`
>
> - `cpio`:解压文件系统、重打包
>
> - `mkdir extracted; cd extracted`
> - `cpio -i --no-absolute-filenames -F ../rootfs.cpio`
> - 此时与其它文件系统相同,找到`rcS`文件,查看加载的驱动,拿出来
> - `find . | cpio -o --format=newc > ../rootfs.cpio`
### 漏洞类型

>主要有以下几种保护机制:
>
>- `KPTI`:Kernel PageTable Isolation,内核页表隔离
>- `KASLR`:Kernel Address space layout randomization,内核地址空间布局随机化
>- `SMEP`:Supervisor Mode Execution Prevention,管理模式执行保护
>- `SMAP`:Supervisor Mode Access Prevention,管理模式访问保护
>- `Stack Protector`:Stack Protector又名canary,stack cookie
>- `kptr_restrict`:允许查看内核函数地址
>- `dmesg_restrict`:允许查看`printk`函数输出,用`dmesg`命令来查看
>- `MMAP_MIN_ADDR`:不允许申请`NULL`地址 `mmap(0,....)`
1. 可以通过`cat /proc/cpuinfo`来查看开启了哪些保护

2. `KASLR`和`Stack Protector`类似于用户态下的`ASLR`和`Canary`
3. 开启`SMEP`,内核态运行时,不允许执行用户态代码,开启`SMAP`,内核态不允许访问用户态数据;可通过修改`cr4`寄存器的值来绕过`SMEP`,`SMAP`保护
4. 调试时,`KASLR`、`SMEP`、`SMAP`可通过修改`startvm.sh`来关闭;

`dmesg_restrict`、`dmesg_restrict`可在`rcS`文件中修改;

`MMAP_MIN_ADDR`是`linux`源码中定义的宏,可重新编译内核进行修改(`.config`文件中),默认为4k

5. **一般需要调用`commit_creds(prepare_kernel_cred(0));`来进行提权**
进程都有一个cred结构体
```c
struct cred {
atomic_t usage;
uid_t uid;
gid_t gid;
struct rcu_head exterminate;
struct group_info *group_info;
}
```
用于标记权限,调用`commit_creds(prepare_kernel_cred(0));`函数可以重新分配一个uid和gid都为0的cred结构体,此时再打开新进程(比如/bin/sh)就是root权限了
## gdb调试的栗子
- Shell1:
1. 解压文件系统
```shell
mkdir extracted; cd extracted
cpio -i --no-absolute-filenames -F ../rootfs.cpio
```
找到文件系统中的`rcS`文件/`init`文件,从`setsid`这一行修改权限为0,然后将文件系统打包
```shell
find . | cpio -o --format=newc > ../rootfs.cpio
```
2. start.sh加上`-gdb tcp::1234`或者`-s`,并关闭`kaslr`
```shell
qemu-system-x86_64 \
-m 256M -smp 2,cores=2,threads=1 \
-kernel ./vmlinuz-4.15.0-22-generic \
-initrd ./rootfs.img \
-append "root=/dev/ram rw console=ttyS0 oops=panic panic=1 quiet" \
-cpu qemu64 -netdev user,id=t0, \
-device e1000,netdev=t0,id=nic0 \
-nographic \
-gdb tcp::1234 ##加上 -gdb
```
启动内核后查看驱动的基地址
```
/ # lsmod
baby 16384 0 - Live 0xffffffffc031d000 (POE)
```
查找两个提权用的内核函数地址
```shell
cat /proc/kallsyms | grep "prepare_kernel_cred" #得到prepare_kernel_cred函数地址
cat /proc/kallsyms | grep "commit_creds" #得到commit_creds函数地址
```
- Shell2:
1. 在当前目录下配置.gdbinit文件,设置
```shell
vim .gdbinit
```
在里面写上
```shell
set architecture i386:x86-64
```
打开gdb
```shell
gdb ./baby.ko
add-symbol-file ./baby.ko 0xffffffffc031d000 #附加驱动,让gdb对命令的反应速度快点
target remote :1234
```
之后就可以进行调试了
写好exp后编译为静态二进制文件运行进行提权
```shell
gcc exp.c -o exp -static
gcc exp.c -o exp -masm=intel -static #intel格式内联汇编
```
> 关于驱动在内核态的调试方法应该是安装驱动,对相应函数下断,运行poc,然后才可以断下来调试,和我们在用户态直接调试程序其实就是多了一个运行poc,其他方法都差不多的…
> 参考资料:
>
> [Linux kernel Exploit 内核漏洞学习(0)-环境安装](https://cc-sir.github.io/2019/07/24/Linux-kernel-0/)
>
> [ctf-wiki](https://ctf-wiki.github.io/ctf-wiki/pwn/linux/kernel/basic_knowledge-zh/)
>
> [snowdrop的技术博客](https://www.cnblogs.com/snowdrop/articles/8678389.html)
>
> [linux字符设备驱动中内核如何调用驱动入口函数 一点记录](https://my.oschina.net/u/4418654/blog/3257483)
| 23.063725 | 191 | 0.697768 | yue_Hant | 0.652732 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.