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
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2ef6747adda18652eefed06ffe907592ab1dd87d | 186 | md | Markdown | README.md | mattn/go-copper-example | 9f1ffea5a3350817588c5d514356378c5da072da | [
"MIT"
] | 4 | 2020-09-10T15:28:20.000Z | 2020-09-28T05:30:33.000Z | README.md | mattn/go-copper-example | 9f1ffea5a3350817588c5d514356378c5da072da | [
"MIT"
] | null | null | null | README.md | mattn/go-copper-example | 9f1ffea5a3350817588c5d514356378c5da072da | [
"MIT"
] | null | null | null | # go-copper-example
Example app using [copper](https://tusharsoni.github.io/copper/)
## Installation
```
$ go build
```
## License
MIT
## Author
Yasuhiro Matsumoto (a.k.a. mattn)
| 10.333333 | 64 | 0.672043 | eng_Latn | 0.333367 |
2ef683fa8e416777a640a7749ea06e0f1bef9017 | 904 | md | Markdown | cloud/softlayer/00-cloud.md | statkclee/xwmooc-cloud | 191f9a634f7c8636d215f9ba2914eb2a24861903 | [
"CC-BY-3.0"
] | null | null | null | cloud/softlayer/00-cloud.md | statkclee/xwmooc-cloud | 191f9a634f7c8636d215f9ba2914eb2a24861903 | [
"CC-BY-3.0"
] | null | null | null | cloud/softlayer/00-cloud.md | statkclee/xwmooc-cloud | 191f9a634f7c8636d215f9ba2914eb2a24861903 | [
"CC-BY-3.0"
] | null | null | null | ---
layout: lesson
root: ../..
title: LAMP와 개발환경 구축
---
<div class="objectives" markdown="1">
#### 목표
* LAMP 설치
* 스타트업 개발 환경 구축
* 설치 중
</div>
### LAMP란?
### LAMP 설치
설치 후 운영 환경 자동화
~~~
root@vm:/# sudo /etc/init.d/apache2 restart
* Restarting web server apache2 [ OK ]
root@vm:/# sudo /etc/init.d/mysql restart
* Starting MySQL database server mysqld [ OK ]
~~~
{:class=in}
### phpmyadmin 설치하기
~~~
$ sudo apt-get install phpmyadmin
1. 설치
$ sudo vi /etc/apache2/apache2.conf
# Enable PhpMyAdmin
Include /etc/phpmyadmin/apache.conf
2. 환경 설정 파일 추가
$ sudo /etc/init.d/apache2 restart
3. Apache 웹서버 재시작
http://_ip주소_/phpmyadmin
4. 웹브라우져를 열어서 PhpMyAdmin 접속
$ sudo apt-get remove phpmyadmin
5. 설치파일 삭제
~~~
{:class=in}
### 스타트업 개발 환경 구축
<div class="keypoints" markdown="1">
#### 핵심 정리
* LAMP 설치
* 스타트업 개발 환경 구축
</div>
| 16.740741 | 79 | 0.599558 | kor_Hang | 0.981685 |
2ef8ccd166b570fbb85b3848d66c3f894287f7eb | 493 | md | Markdown | README.md | Mushus/bms-parser | e5bd296be096945f7c6dd22d40805f87d61cfb47 | [
"MIT"
] | 2 | 2020-05-07T23:59:24.000Z | 2020-05-08T16:01:36.000Z | README.md | Mushus/bms-parser | e5bd296be096945f7c6dd22d40805f87d61cfb47 | [
"MIT"
] | null | null | null | README.md | Mushus/bms-parser | e5bd296be096945f7c6dd22d40805f87d61cfb47 | [
"MIT"
] | null | null | null | # bms-parser
BMS parser written in C#
## Install
### Unity
Follow the example below to add it to the `Packages/manifest.json` file.
```manifest.json
{
"dependencies": {
"net.mushus.bms-parser": "git+ssh://[email protected]:Mushus/bms-parser.git#master"
}
}
```
## Usage
```
var s = File.Open("test.bms", FileMode.Open);
var parser = new Parser();
var bms = parser.Parse(s);
Console.WriteLine(bms.Title); // show title
Console.WriteLine(bms.Timeline.Event); // show event data
```
| 17 | 84 | 0.6714 | kor_Hang | 0.258317 |
2ef97e8bab222ac43085e49bbc97515add5195fd | 790 | md | Markdown | 01-Class-Content/10-OOP/01-Activities/05-Multiple-Classes/README.md | bdeckard92/dupUT | 96892a64a5705fe2a28ac7abf2c2be65680bb9dd | [
"ADSL"
] | null | null | null | 01-Class-Content/10-OOP/01-Activities/05-Multiple-Classes/README.md | bdeckard92/dupUT | 96892a64a5705fe2a28ac7abf2c2be65680bb9dd | [
"ADSL"
] | null | null | null | 01-Class-Content/10-OOP/01-Activities/05-Multiple-Classes/README.md | bdeckard92/dupUT | 96892a64a5705fe2a28ac7abf2c2be65680bb9dd | [
"ADSL"
] | null | null | null | # 📐 Add Comments to Implementation of Multiple Classes
Work with a partner to add comments that describe the functionality of the code found in [store.js](./Unsolved/store.js), [toy.js](./Unsolved/toy.js), and [index.js](./Unsolved/index.js).
## 📝 Notes
Refer to the documentation:
[MDN Web Docs on classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes)
---
## 🏆 Bonus
If you have completed this activity, work through the following challenge with your partner to further your knowledge:
* What is the `static` keyword, and when would we use static methods?
Use [Google](https://www.google.com) or another search engine to research this.
---
© 2022 Trilogy Education Services, LLC, a 2U, Inc. brand. Confidential and Proprietary. All Rights Reserved.
| 34.347826 | 187 | 0.749367 | eng_Latn | 0.98249 |
2ef9ba253e1878e920fe058a49c5f45689e5e231 | 11,490 | md | Markdown | articles/hdinsight/spark/apache-spark-eventhub-structured-streaming.md | ebibibi/azure-docs.ja-jp | ef49e9766dd3dc5a825ea3b19b9c526e2c37faba | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/hdinsight/spark/apache-spark-eventhub-structured-streaming.md | ebibibi/azure-docs.ja-jp | ef49e9766dd3dc5a825ea3b19b9c526e2c37faba | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/hdinsight/spark/apache-spark-eventhub-structured-streaming.md | ebibibi/azure-docs.ja-jp | ef49e9766dd3dc5a825ea3b19b9c526e2c37faba | [
"CC-BY-4.0",
"MIT"
] | null | null | null | ---
title: "Azure HDInsight で Event Hubs と共に Apache Spark 構造化ストリーミングを使用する | Microsoft Docs"
description: "Apache Spark ストリーミング サンプルを作成して、Azure Event Hub にデータ ストリームを送信し、Scala アプリケーションを使用して HDInsight Spark クラスターでイベントを受信します。"
keywords: "apache spark ストリーミング,spark ストリーミング,spark サンプル,apache spark ストリーミング例,event hub azure サンプル,spark サンプル"
services: hdinsight
documentationcenter:
author: mumian
manager: jhubbard
editor: cgronlun
tags: azure-portal
ms.service: hdinsight
ms.custom: hdinsightactive
ms.workload: big-data
ms.tgt_pltfrm: na
ms.devlang: na
ms.topic: article
ms.date: 11/28/2017
ms.author: jgao
ms.openlocfilehash: e0486d2c5f78da1d1e4a12703f120eccef43c305
ms.sourcegitcommit: 48fce90a4ec357d2fb89183141610789003993d2
ms.translationtype: HT
ms.contentlocale: ja-JP
ms.lasthandoff: 01/12/2018
---
# <a name="apache-spark-structured-streaming-on-hdinsight-to-process-events-from-event-hubs"></a>HDInsight の Apache Spark 構造化ストリーミングで Event Hubs からのイベントを処理する
この記事では、Spark 構造化ストリーミングを使ったリアルタイム テレメトリの処理について説明します。 この処理のための大まかな手順は次のとおりです。
1. Event Hubs に送信するイベントの生成元となるサンプルのイベント プロデューサー アプリケーションをローカル ワークステーションでコンパイルして実行します。
2. [Spark シェル](apache-spark-shell.md)で簡単な Spark 構造化ストリーミング アプリケーションを定義して実行します。
## <a name="prerequisites"></a>前提条件
* Azure サブスクリプション。 [Azure 無料試用版の取得](https://azure.microsoft.com/documentation/videos/get-azure-free-trial-for-testing-hadoop-in-hdinsight/)に関するページを参照してください。
* HDInsight での Apache Spark クラスター。 手順については、「 [Create Apache Spark clusters in Azure HDInsight (Azure HDInsight での Apache Spark クラスターの作成)](apache-spark-jupyter-spark-sql.md)」を参照してください。
* Azure Event Hubs 名前空間。 詳細については、[Azure Event Hubs の名前空間の作成](apache-spark-eventhub-streaming.md#create-an-azure-event-hub)に関するページを参照してください。
* Oracle Java Development kit。 [こちら](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)からインストールできます。
* Apache Maven。 [ここ](https://maven.apache.org/download.cgi)からダウンロードできます。 Maven をインストールする方法については、[こちら](https://maven.apache.org/install.html)を参照してください。
## <a name="build-configure-and-run-the-event-producer"></a>イベント プロデューサーのビルド、構成、実行
このタスクでは、ランダムなイベントを作成して構成済みのイベント ハブに送信するサンプル アプリケーションを複製します。 このサンプル アプリケーションは GitHub ( [https://github.com/hdinsight/eventhubs-sample-event-producer](https://github.com/hdinsight/eventhubs-sample-event-producer)) で入手できます。
1. Git ツールがインストールされていることを確認します。 [Git のダウンロード](http://www.git-scm.com/downloads) ページからダウンロードできます。
2. コマンド プロンプトまたはターミナル シェルを開き、任意のディレクトリで次のコマンドを実行してプロジェクトを複製します。
git clone https://github.com/hdinsight/eventhubs-sample-event-producer.git eventhubs-client-sample
3. これにより、eventhubs-client-sample という名前の新しいフォルダーが作成されます。 シェルまたはコマンド プロンプト内でこのフォルダーに移動します。
4. 次のコマンドで Maven を実行してアプリケーションをビルドします。
mvn package
5. シェルまたはコマンド プロンプト内で、``com-microsoft-azure-eventhubs-client-example-0.2.0.jar`` ファイルが格納されている作成済みのターゲット ディレクトリに移動します。
6. 次に、実際の Event Hubs に対してイベント プロデューサーを実行するためのコマンド ラインを構築する必要があります。 次のようにコマンド内の値を置き換えてください。
java -cp com-microsoft-azure-eventhubs-client-example-0.2.0.jar com.microsoft.azure.eventhubs.client.example.EventhubsClientDriver --eventhubs-namespace "<namespace>" --eventhubs-name "hub1" --policy-name "RootManageSharedAccessKey" --policy-key "<policyKey>" --message-length 32 --thread-count 1 --message-count -1
7. たとえば、完成したコマンドは次のようになります。
java -cp com-microsoft-azure-eventhubs-client-example-0.2.0.jar com.microsoft.azure.eventhubs.client.example.EventhubsClientDriver --eventhubs-namespace "sparkstreaming" --eventhubs-name "hub1" --policy-name "RootManageSharedAccessKey" --policy-key "2P1Q17Wd1rdLP1OZQYn6dD2S13Bb3nF3h2XZD9hvyyU=" --message-length 32 --thread-count 1 --message-count -1
8. コマンドの実行が開始され、構成が正しければ数分後には、Event Hubs に送信されているイベントに関連した出力結果が表示されます。その例を次に示します。
Map('policyKey -> 2P1Q17Wd1rdLP1OZQYn6dD2S13Bb3nF3h2XZD9hvyyU, 'eventhubsName -> hub1, 'policyName -> RootManageSharedAccessKey, 'eventhubsNamespace -> sparkstreaming, 'messageCount -> -1, 'messageLength -> 32, 'threadCount -> 1)
Events per thread: -1 (-1 for unlimited)
10 > Sun Jun 18 11:32:58 PDT 2017 > 1024 > 1024 > Sending event: ZZ93958saG5BUKbvUI9wHVmpuA2TrebS
10 > Sun Jun 18 11:33:46 PDT 2017 > 2048 > 2048 > Sending event: RQorGRbTPp6U2wYzRSnZUlWEltRvTZ7R
10 > Sun Jun 18 11:34:33 PDT 2017 > 3072 > 3072 > Sending event: 36Eoy2r8ptqibdlfCYSGgXe6ct4AyOX3
10 > Sun Jun 18 11:35:19 PDT 2017 > 4096 > 4096 > Sending event: bPZma9V0CqOn6Hj9bhrrJT0bX2rbPSn3
10 > Sun Jun 18 11:36:06 PDT 2017 > 5120 > 5120 > Sending event: H2TVD77HNTVyGsVcj76g0daVnYxN4Sqs
9. イベント プロデューサーを実行したまま以降の手順に進んでください。
## <a name="run-spark-shell-on-your-hdinsight-cluster"></a>HDInsight クラスターでの Spark シェルの実行
このタスクでは、HDInsight クラスターのヘッド ノードに SSH で接続して Spark シェルを起動し、Event Hubs からイベントを取得して処理する Spark ストリーミング アプリケーションを実行します。
この時点で、HDInsight クラスターを使用する準備は完了しているかと思います。 まだ準備が完了していない場合は、プロビジョニングが完了するまで待ってください。 準備が整ったら、次の手順に進みます。
1. SSH を使用して HDInsight クラスターに接続します。 手順については、「[SSH を使用して HDInsight に接続する](../hdinsight-hadoop-linux-use-ssh-unix.md)」をご覧ください。
5. 作成するアプリケーションには、Spark Streaming Event Hubs パッケージが必要です。 この依存関係を [Maven Central](https://search.maven.org) から自動的に取得するように Spark シェルを実行するには、packages スイッチに Maven コーディネートを指定してください。その例を次に示します。
spark-shell --packages "com.microsoft.azure:spark-streaming-eventhubs_2.11:2.1.5"
6. Spark シェルの読み込みが完了すると、次の画面が表示されます。
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 2.1.1.2.6.2.3-1
/_/
Using Scala version 2.11.8 (OpenJDK 64-Bit Server VM, Java 1.8.0_151)
Type in expressions to have them evaluated.
Type :help for more information.
scala>
7. 次のコード スニペットをテキスト エディターにコピーし、実際の Event Hubs に合わせてポリシー キーと名前空間を変更します。
val eventhubParameters = Map[String, String] (
"eventhubs.policyname" -> "RootManageSharedAccessKey",
"eventhubs.policykey" -> "<policyKey>",
"eventhubs.namespace" -> "<namespace>",
"eventhubs.name" -> "hub1",
"eventhubs.partition.count" -> "2",
"eventhubs.consumergroup" -> "$Default",
"eventhubs.progressTrackingDir" -> "/eventhubs/progress",
"eventhubs.sql.containsProperties" -> "true"
)
8. 次の形式の EventHub 互換エンドポイントを見ると、`iothub-xxxxxxxxxx` という部分は EventHub 互換の名前空間名であり、`eventhubs.namespace` に使用できます。 フィールド `SharedAccessKeyName` は `eventhubs.policyname` に使用でき、`SharedAccessKey` は `eventhubs.policykey` に使用できます。
Endpoint=sb://iothub-xxxxxxxxxx.servicebus.windows.net/;SharedAccessKeyName=xxxxx;SharedAccessKey=xxxxxxxxxx
9. 待機中の scala> プロンプトに変更後のスニペットを貼り付けて Enter キーを押します。 次のような出力が表示されます。
scala> val eventhubParameters = Map[String, String] (
| "eventhubs.policyname" -> "RootManageSharedAccessKey",
| "eventhubs.policykey" -> "2P1Q17Wd1rdLP1OZQYn6dD2S13Bb3nF3h2XZD9hvyyU",
| "eventhubs.namespace" -> "sparkstreaming",
| "eventhubs.name" -> "hub1",
| "eventhubs.partition.count" -> "2",
| "eventhubs.consumergroup" -> "$Default",
| "eventhubs.progressTrackingDir" -> "/eventhubs/progress",
| "eventhubs.sql.containsProperties" -> "true"
| )
eventhubParameters: scala.collection.immutable.Map[String,String] = Map(eventhubs.sql.containsProperties -> true, eventhubs.name -> hub1, eventhubs.consumergroup -> $Default, eventhubs.partition.count -> 2, eventhubs.progressTrackingDir -> /eventhubs/progress, eventhubs.policykey -> 2P1Q17Wd1rdLP1OZQYn6dD2S13Bb3nF3h2XZD9hvyyU, eventhubs.namespace -> hdiz-docs-eventhubs, eventhubs.policyname -> RootManageSharedAccessKey)
10. 次に、Spark 構造化ストリーミング クエリを作成し、ソースを指定します。 Spark シェルに次のコードを貼り付けて Enter キーを押します。
val inputStream = spark.readStream.
format("eventhubs").
options(eventhubParameters).
load()
11. 次のような出力が表示されます。
inputStream: org.apache.spark.sql.DataFrame = [body: binary, offset: bigint ... 5 more fields]
12. 次に、出力先がコンソールとなるようにクエリを記述します。 Spark シェルに次のコードを貼り付けて Enter キーを押してください。
val streamingQuery1 = inputStream.writeStream.
outputMode("append").
format("console").start().awaitTermination()
13. 次のような出力内容で始まるいくつかのバッチが表示されます。
-------------------------------------------
Batch: 0
-------------------------------------------
[Stage 0:> (0 + 2) / 2]
14. その後に、イベントの小さなバッチごとの処理から得られた出力結果が表示されます。
-------------------------------------------
Batch: 0
-------------------------------------------
17/06/18 18:57:39 WARN TaskSetManager: Stage 1 contains a task of very large size (419 KB). The maximum recommended task size is 100 KB.
+--------------------+------+---------+------------+---------+------------+----------+
| body|offset|seqNumber|enqueuedTime|publisher|partitionKey|properties|
+--------------------+------+---------+------------+---------+------------+----------+
|[7B 22 74 65 6D 7...| 0| 0| 1497734887| null| null| Map()|
|[7B 22 74 65 6D 7...| 112| 1| 1497734887| null| null| Map()|
|[7B 22 74 65 6D 7...| 224| 2| 1497734887| null| null| Map()|
|[7B 22 74 65 6D 7...| 336| 3| 1497734887| null| null| Map()|
|[7B 22 74 65 6D 7...| 448| 4| 1497734887| null| null| Map()|
|[7B 22 74 65 6D 7...| 560| 5| 1497734887| null| null| Map()|
|[7B 22 74 65 6D 7...| 672| 6| 1497734887| null| null| Map()|
|[7B 22 74 65 6D 7...| 784| 7| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 896| 8| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 1008| 9| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 1120| 10| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 1232| 11| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 1344| 12| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 1456| 13| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 1568| 14| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 1680| 15| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 1792| 16| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 1904| 17| 1497734888| null| null| Map()|
|[7B 22 74 65 6D 7...| 2016| 18| 1497734889| null| null| Map()|
|[7B 22 74 65 6D 7...| 2128| 19| 1497734889| null| null| Map()|
+--------------------+------+---------+------------+---------+------------+----------+
only showing top 20 rows
15. 新しいイベントがイベント プロデューサーから届くと、それらのイベントがこの構造化ストリーミング クエリによって処理されます。
16. このサンプルの実行を終えたら必ず、HDInsight クラスターを削除してください。
## <a name="see-also"></a>関連項目
* [Spark ストリーミングの概要](apache-spark-streaming-overview.md)
| 54.198113 | 431 | 0.6396 | yue_Hant | 0.544331 |
2efb0205276899128bab1272e738caa9336d9d4e | 2,637 | md | Markdown | README.md | cbgoodman/msacrosswalk | 3799a9b01f8baebd614d68822f05ba97a50f6d6a | [
"MIT"
] | 4 | 2018-10-18T01:01:02.000Z | 2020-06-13T06:42:00.000Z | README.md | cbgoodman/msacrosswalk | 3799a9b01f8baebd614d68822f05ba97a50f6d6a | [
"MIT"
] | null | null | null | README.md | cbgoodman/msacrosswalk | 3799a9b01f8baebd614d68822f05ba97a50f6d6a | [
"MIT"
] | null | null | null | # msacrosswalk
`msacrosswalk` is a simple Stata crosswalk program for adding 2013, 2015, or 2017 vintage CBSA/CSA codes, CBSA/CSA names, metropolitan/micropolitan, and central/outlying indicators that may be missing from your dataset.
## Prerequisites
**Stata:** `msacrosswalk` is compatible with Stata version 12.1+. It may be compatible with previous versions, but it has not been tested in those environments.
## Installation
**Github (for Stata v13.1+):** Run the following via the Stata command line.
```Stata
net install msacrosswalk, from(https://raw.github.com/cbgoodman/msacrosswalk/master/) replace
```
**Github (for Stata v12.1+):** Download the [zipped file](https://github.com/cbgoodman/msacrosswalk/archive/master.zip) of this repository. Unzip on your local computer. Run the following code via the Stata command line replacing <local source> with the location of the unzipped repository on your computer.
```Stata
net install msacrosswalk, from(<local source>) replace
```
## Using msacrosswalk
`msacrosswalk` offers three methods of merging using either five-digit county FIPS codes, the combination of two-digit state FIPS and three-digit county FIPS codes, or the combination of two-digit state Census codes and three-digit county Census codes. Vintage must be specified and determines which delineation file to be used. See [here](https://www.census.gov/geographies/reference-files/time-series/demo/metro-micro/delineation-files.html) for more information.
Merging with `fips`
```Stata
. msacrosswalk, fips(county) vintage(year)
```
Merging with `statefips` and `countyfips`
```Stata
. msacrosswalk, statefips(stfips) countyfips(cofips) vintage(year)
```
Merging with `statecode` and `countycode`
```Stata
. msacrosswalk, statecode(stcode) countycode(cocode) vintage(year)
```
By default, `msacrosswalk` will generate a new variable, `_merge`, to indicate the merged results. If you do not want to create this variable, specify `nogenerate`.
This will keep matched observations and unmatched master observations.
```Stata
. msacrosswalk, fips(county) vintage(year) nogenerate
```
## Limitations
* FIPS codes are available for U.S counties, county equivalents, and territories. Census codes are only available for counties or county equivalents (such as independent cities).
* `msacrosswalk` uses the more recent FIPS code for Miami-Dade county (12086) rather than the FIPS code for Dade county (12025). The Census state (10) and county (13) codes remain unchanged.
## Next steps
* Add historical delineation files
## Bugs
Please report any bugs [here](https://github.com/cbgoodman/msacrosswalk/issues).
| 49.754717 | 465 | 0.777399 | eng_Latn | 0.984927 |
2efc6b59b4fdc4ae069a9bfb3feac370c98a50a9 | 2,881 | md | Markdown | README-CN.md | livelybone/react-file-input | b4d0fc7a3fba3f8d97f244ea672c9cb66c2aacdf | [
"MIT"
] | 1 | 2020-06-22T00:14:31.000Z | 2020-06-22T00:14:31.000Z | README-CN.md | livelybone/react-file-input | b4d0fc7a3fba3f8d97f244ea672c9cb66c2aacdf | [
"MIT"
] | 1 | 2020-10-22T08:50:29.000Z | 2020-10-24T15:44:43.000Z | README-CN.md | livelybone/react-file-input | b4d0fc7a3fba3f8d97f244ea672c9cb66c2aacdf | [
"MIT"
] | null | null | null | # @livelybone/react-file-input
[](https://www.npmjs.com/package/@livelybone/react-file-input)
[](https://www.npmjs.com/package/@livelybone/react-file-input)



> `pkg.module supported`, 天然支持 tree-shaking, 使用 es module 引用即可
[English Document](./README.md)
A file input component of React, support multiple inputs
## repository
https://github.com/livelybone/react-file-input.git
## Demo
https://github.com/livelybone/react-file-input#readme
## Run Example
你可以通过运行项目的 example 来了解这个组件的使用,以下是启动步骤:
1. 克隆项目到本地 `git clone https://github.com/livelybone/react-file-input.git`
2. 进入本地克隆目录 `cd your-module-directory`
3. 安装项目依赖 `npm i`(使用 taobao 源: `npm i --registry=http://registry.npm.taobao.org`)
4. 启动服务 `npm run dev`
5. 在你的浏览器看 example (地址通常是 `http://127.0.0.1:3000/examples/test.html`)
## Installation
```bash
npm i -S @livelybone/react-file-input
```
## Global name - The variable the module exported in `umd` bundle
`ReactFileInput`
## Interface
去 [index.d.ts](./index.d.ts) 查看可用方法和参数
## Usage
```js
import ReactFileInput from '@livelybone/react-file-input'
const App = () => {
const [state, setState] = React.useState({})
const [files, setFiles] = React.useState([])
return (
<div>
<Comp
beforeDelete={() => new Promise(res => setTimeout(() => res(true),1000))}
onChange={(val) => {
setFiles(val)
console.log(val)
}}
onFileClick={(file, i, files) => console.log(file, i, files)}
files={files}
multiple={true}
readonly={true}
accept="image/png"
tip="upload tips"
/>
</div>
)
}
```
在 HTML 文件中直接引用,你可以在 [CDN: unpkg](https://unpkg.com/@livelybone/react-file-input/lib/umd/) 看到你能用到的所有 js 脚本
```html
<-- 然后使用你需要的 -->
<script src="https://unpkg.com/@livelybone/react-file-input/lib/umd/<--module-->.js"></script>
```
## style
你可能需要主动引入样式文件来应用组件的样式:
```js
// scss
import '@livelybone/react-file-input/lib/css/index.scss'
// css
import '@livelybone/react-file-input/lib/css/index.css'
```
Or
```scss
// scss
@import 'node_modules/@livelybone/react-file-input/lib/css/index.scss'
// css
@import 'node_modules/@livelybone/react-file-input/lib/css/index.css'
```
你也可以通过引入自定义的组件样式文件来自定义样式,文件可以通过复制并修改 `node_modules/@livelybone/react-file-input/lib/css/index.scss` 得到
## QA
1. Error `Error: spawn node-sass ENOENT`
> 你可能需要全局安装 node-sass,`npm i -g node-sass`
| 29.10101 | 160 | 0.692815 | yue_Hant | 0.600179 |
2efc86d5594549ff45bbb4c31de15422525dcec1 | 686 | md | Markdown | _subjects/1/c4d70866-a70b-11e6-8bbb-3c07545eb2e5.md | Almanak/dak | 5d4cb15c2456f3f33dc4d0a5a943d294f5edb938 | [
"MIT"
] | null | null | null | _subjects/1/c4d70866-a70b-11e6-8bbb-3c07545eb2e5.md | Almanak/dak | 5d4cb15c2456f3f33dc4d0a5a943d294f5edb938 | [
"MIT"
] | null | null | null | _subjects/1/c4d70866-a70b-11e6-8bbb-3c07545eb2e5.md | Almanak/dak | 5d4cb15c2456f3f33dc4d0a5a943d294f5edb938 | [
"MIT"
] | null | null | null | ---
# Jekyll variables
layout: subject
permalink: /subjects/c4d70866-a70b-11e6-8bbb-3c07545eb2e5
# Specific subject values
uuid: c4d70866-a70b-11e6-8bbb-3c07545eb2e5
broader:
- prefLabel: Industri, produktion og handel
uuid: c4d44570-a70b-11e6-bedb-3c07545eb2e5
- prefLabel: Virksomheder og selskaber
uuid: c4d6ea99-a70b-11e6-9357-3c07545eb2e5
- prefLabel: Selskabsform
uuid: c4d7032b-a70b-11e6-bce9-3c07545eb2e5
conceptType: subterm
created: '2016-11-10T07:56:37.223214'
mappings:
- conceptIdentifier: '4196'
conceptURL: http://eurovoc.europa.eu/4196
match: closeMatch
thesaurus: EuroVoc
prefLabel: Kapitalselskab
status: proposed
updated: '2016-11-18T12:02:33.252110'
--- | 27.44 | 57 | 0.78863 | yue_Hant | 0.063186 |
2efca2a8363c92492bf9c42dd9ac2fcaf643530a | 441 | md | Markdown | README.md | knowledgesofme/technology_systems | 13b2ce771e32459be5364be017220a830ac90386 | [
"Apache-2.0"
] | null | null | null | README.md | knowledgesofme/technology_systems | 13b2ce771e32459be5364be017220a830ac90386 | [
"Apache-2.0"
] | null | null | null | README.md | knowledgesofme/technology_systems | 13b2ce771e32459be5364be017220a830ac90386 | [
"Apache-2.0"
] | null | null | null | # technology_systems
技术体系


 | 55.125 | 141 | 0.800454 | zul_Latn | 0.197133 |
2efcb5f79fe1084700d5d45c8559672a5dfc2085 | 108 | md | Markdown | _includes/techniki/C21.md | lepszyweb/wcag-testy | 6296d010d090512cb11e5cac5df1cd9d8519c014 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2021-06-02T10:56:04.000Z | 2021-06-02T10:56:04.000Z | _includes/techniki/C21.md | lepszyweb/wcag-testy | 6296d010d090512cb11e5cac5df1cd9d8519c014 | [
"MIT",
"BSD-3-Clause"
] | 16 | 2020-05-12T20:17:50.000Z | 2022-02-22T02:18:12.000Z | _includes/techniki/C21.md | lepszyweb/wcag-testy | 6296d010d090512cb11e5cac5df1cd9d8519c014 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2020-02-10T20:17:01.000Z | 2020-02-10T20:17:01.000Z | [C21: Określanie odstępów między wierszami w CSS](http://www.w3.org/TR/2016/NOTE-WCAG20-TECHS-20161007/C21)
| 54 | 107 | 0.777778 | pol_Latn | 0.995695 |
2efe2f8cb71f9c844a7ed14b58717614c1fff69d | 343 | md | Markdown | _posts/2021-07-08/2021-06-14-An-other-point-of-view-20210614045204054903.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | _posts/2021-07-08/2021-06-14-An-other-point-of-view-20210614045204054903.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | _posts/2021-07-08/2021-06-14-An-other-point-of-view-20210614045204054903.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | ---
title: "An other point of view"
metadate: "hide"
categories: [ Pussy ]
image: "https://preview.redd.it/dfgajxqom3571.jpg?auto=webp&s=e32e9b7f5a22f6056d3aa03d06b5ddab10c1c127"
thumb: "https://preview.redd.it/dfgajxqom3571.jpg?width=1080&crop=smart&auto=webp&s=3d94d2a29646005ef64b4b1d504c206262ec54fe"
visit: ""
---
An other point of view
| 34.3 | 125 | 0.778426 | yue_Hant | 0.256664 |
2c000f77b6d6fde892e8136048cd25da1ddbd1e4 | 233 | md | Markdown | README.md | alexleighton/alonzo-java | d1f6130a509afbb9e2d2c4d809b9b8b0ae2795a9 | [
"MIT"
] | 1 | 2015-08-02T22:40:22.000Z | 2015-08-02T22:40:22.000Z | README.md | alexleighton/alonzo-java | d1f6130a509afbb9e2d2c4d809b9b8b0ae2795a9 | [
"MIT"
] | null | null | null | README.md | alexleighton/alonzo-java | d1f6130a509afbb9e2d2c4d809b9b8b0ae2795a9 | [
"MIT"
] | null | null | null | # alonzo-java
Lambda calculus interpreter in Java.
## Build
```bash
$ make build
```
## Run
```bash
$ make run
```
## Test
```bash
$ make test
```
## Learn
Visit the [project blog](http://alexleighton.github.io/alonzo-java/).
| 9.708333 | 69 | 0.630901 | eng_Latn | 0.3652 |
2c00ec715af5b871336c5ffc0ef5189cc16c8bb3 | 36 | md | Markdown | README.md | pckuijper/BuildWithBricks | c8694e1952a409efbcc0ef2ca149de896946d973 | [
"MIT"
] | null | null | null | README.md | pckuijper/BuildWithBricks | c8694e1952a409efbcc0ef2ca149de896946d973 | [
"MIT"
] | null | null | null | README.md | pckuijper/BuildWithBricks | c8694e1952a409efbcc0ef2ca149de896946d973 | [
"MIT"
] | null | null | null | # BuildWithBricks
Build with Bricks
| 12 | 17 | 0.833333 | eng_Latn | 0.981558 |
2c028ac540dd4f245a85e833ba01095d35636955 | 63 | md | Markdown | sportdb-langs/CHANGELOG.md | sportdb/sport.db | 448c96a4f65714c090aa59ca14b0c515401b3a94 | [
"CC0-1.0"
] | 173 | 2017-02-26T20:58:41.000Z | 2022-02-20T10:06:38.000Z | sportdb-langs/CHANGELOG.md | sportdb/sport.db.models | 448c96a4f65714c090aa59ca14b0c515401b3a94 | [
"CC0-1.0"
] | 7 | 2017-07-30T03:10:46.000Z | 2020-05-18T14:48:52.000Z | sportdb-langs/CHANGELOG.md | sportdb/sport.db | 448c96a4f65714c090aa59ca14b0c515401b3a94 | [
"CC0-1.0"
] | 18 | 2017-02-26T19:53:34.000Z | 2021-11-08T23:43:46.000Z | ### 0.0.1 / 2019-11-05
* Everything is new. First release.
| 15.75 | 36 | 0.603175 | eng_Latn | 0.957592 |
2c03369f7f4b716274b6e434c279191d109f0d9b | 2,681 | md | Markdown | README.md | Tinche/PyPy-Django-Playground | 3266ecae7ec4ee1e851be3fe168256230edd04a6 | [
"Apache-2.0"
] | 2 | 2016-01-11T19:06:26.000Z | 2019-07-30T10:58:46.000Z | README.md | Tinche/PyPy-Django-Playground | 3266ecae7ec4ee1e851be3fe168256230edd04a6 | [
"Apache-2.0"
] | null | null | null | README.md | Tinche/PyPy-Django-Playground | 3266ecae7ec4ee1e851be3fe168256230edd04a6 | [
"Apache-2.0"
] | null | null | null | # Setup Instructions
Create two virtualenvs, side by side. Substitute your own path for PyPy3. :)
```
virtualenv --python=/home/tin/Downloads/pypy3-2.4.0-linux64/bin/pypy3 .venv-pypy3
virtualenv --python=python3 .venv-py3
.venv-pypy3/bin/pip install -U setuptools pip
.venv-pypy3/bin/pip install -r requirements.txt
.venv-py3/bin/pip install -U setuptools pip
.venv-py3/bin/pip install -r requirements.txt
.venv-pypy3/bin/python manage.py collectstatic --noinput
```
# Running
The settings are set up to enable debug mode if an environment variable, `DEBUG`, is defined.
## Django's runserver in debug mode
```
DEBUG=true .venv-pypy3/bin/python manage.py runserver
DEBUG=true .venv-py3/bin/python manage.py runserver
```
## Django's runserver in non-debug mode
```
.venv-pypy3/bin/python manage.py runserver
.venv-py3/bin/python manage.py runserver
```
## Gunicorn, single process, non-debug
```
.venv-pypy3/bin/gunicorn pypy_django.wsgi -w 1
.venv-py3/bin/gunicorn pypy_django.wsgi -w 1
```
# Benchmarking
I use Apache's Benchmark tool (http://httpd.apache.org/docs/2.4/programs/ab.html). It can be installed in Ubuntu with `sudo apt-get install apache-utils`.
The SQLite database has a session pre-inserted. This session can be used to request the Django admin index page.
```
ab -n 100 -c 1 -C "sessionid=03ak15mg4h2xcza6jjzmcxwftm4wfjbe" http://localhost:8000/admin/
```
Sample results:
```
This is ApacheBench, Version 2.3 <$Revision: 1604373 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient).....done
Server Software: gunicorn/19.2.1
Server Hostname: localhost
Server Port: 8000
Document Path: /admin/
Document Length: 4456 bytes
Concurrency Level: 1
Time taken for tests: 2.299 seconds
Complete requests: 100
Failed requests: 0
Total transferred: 479000 bytes
HTML transferred: 445600 bytes
Requests per second: 43.49 [#/sec] (mean)
Time per request: 22.993 [ms] (mean)
Time per request: 22.993 [ms] (mean, across all concurrent requests)
Transfer rate: 203.44 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 19 23 8.2 22 100
Waiting: 19 22 8.2 21 100
Total: 20 23 8.2 22 100
Percentage of the requests served within a certain time (ms)
50% 22
66% 22
75% 22
80% 23
90% 24
95% 27
98% 39
99% 100
100% 100 (longest request)
```
| 27.357143 | 154 | 0.679597 | eng_Latn | 0.558527 |
2c03eb8b5b6f707cd01e944262ba33864cfcd911 | 2,905 | md | Markdown | README.md | WASAC/vt-parcels-2020 | e317034e737f4b29760f5697759ecd8360ea5b7e | [
"MIT"
] | null | null | null | README.md | WASAC/vt-parcels-2020 | e317034e737f4b29760f5697759ecd8360ea5b7e | [
"MIT"
] | null | null | null | README.md | WASAC/vt-parcels-2020 | e317034e737f4b29760f5697759ecd8360ea5b7e | [
"MIT"
] | null | null | null | # vt-parcels

[](https://app.netlify.com/sites/vt-parcels-2020/deploys)
parcels vector tiles data as of 21 July 2020 in Rwanda
## License of Vector Tiles Data
Shield: [![CC BY 4.0][cc-by-shield]][cc-by]
This work is licensed under a [Creative Commons Attribution 4.0 International
License][cc-by].
[![CC BY 4.0][cc-by-image]][cc-by]
[cc-by]: http://creativecommons.org/licenses/by/4.0/
[cc-by-image]: https://i.creativecommons.org/l/by/4.0/88x31.png
[cc-by-shield]: https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg
Please put the following attribution when you use this vector tiles of land parcels.
```
Copyright (c) 2020 Rwanda Land Management and Use Authority(RLMUA)
```
Vector tile URL
```
https://vt-parcels-2020.netlify.app/tiles/{z}/{x}/{y}.pbf
```
## Preparation
### create database
```
psql -h localhost -p 25432 -U docker -d postgres
create database rw_parcels;
\c rw_parcels;
create extension postgis;
select postgis_version();
\q
```
### transform CRS to EPSG:4326
Use QGIS to transform CRS to 4326.
Shapefiles can be created under wgs84 folder.
### import Shapefiles
Use QGIS to import Shapefiles, or import by `shp2pgsql` command
```
cd PARCELS_21_07_2020/wgs84
shp2pgsql -I -s 4326 eastern_province.shp eastern_province.shp | psql -h localhost -p 25432 -U docker -d rw_parcels
shp2pgsql -I -s 4326 kigali_city_province.shp kigali_city_province | psql -h localhost -p 25432 -U docker -d rw_parcels
shp2pgsql -I -s 4326 northern_province.shp northern_province | psql -h localhost -p 25432 -U docker -d rw_parcels
shp2pgsql -I -s 4326 southern_province.shp southern_province | psql -h localhost -p 25432 -U docker -d rw_parcels
shp2pgsql -I -s 4326 western_province.shp western_province | psql -h localhost -p 25432 -U docker -d rw_parcels
```
### create spatial index
```
CREATE INDEX idx_eastern_province_geometry ON public.eastern_province USING gist(geom);
CREATE INDEX idx_kigali_city_province_geometry ON public.kigali_city_province USING gist(geom);
CREATE INDEX idx_northern_province_geometry ON public.northern_province USING gist(geom);
CREATE INDEX idx_southern_province_geometry ON public.southern_province USING gist(geom);
CREATE INDEX idx_western_province_geometry ON public.western_province USING gist(geom);
```
### analyze
```
ANALYZE;
```
## Usage
- create vector tiles
```
npm i
npm run create
```
- extract pbf from mbtiles
```
npm run extract
```
- deploy to gh-pages
```
npm run deploy
```
- deploy to netlify
```
npm install -g netlify-cli
netlify -v
netlify login
netlify deploy
```
## Time to generate vector tiles
- 21st September 2020
- total number of tiles: 122016
- actual number of tiles generated: 59943
- 16867338.345ms=4.6853717625hours
| 28.203883 | 164 | 0.757659 | eng_Latn | 0.457327 |
2c059c8f438fca2d0544f3f50221c253703650ac | 677 | md | Markdown | content/opere/i-percorsi-della-grande-guerra.md | brianmcdonald/www-miriam | 98202b134e4e49decfc613128fdba31080672a01 | [
"MIT"
] | null | null | null | content/opere/i-percorsi-della-grande-guerra.md | brianmcdonald/www-miriam | 98202b134e4e49decfc613128fdba31080672a01 | [
"MIT"
] | 1 | 2017-11-17T11:59:41.000Z | 2021-12-06T10:25:12.000Z | content/opere/i-percorsi-della-grande-guerra.md | brianmcdonald/www-miriam | 98202b134e4e49decfc613128fdba31080672a01 | [
"MIT"
] | null | null | null | ---
title: I percorsi della grande guerra
date: 2017-11-13T14:49:08.123Z
Painting: /uploads/i percorsi della grande guerra web.jpg
type: 'Olio su tela - pennello e spatola, 50x60'
description: >-
Il territorio delle Tre Cime di Lavaredo, testimone di conflitti di guerra,
ora al ricordo di quell’atroce tempo restano ferri arruginiti, tracce di
trincee spaccate dal conflitto... Come non pensare a quei giovani ragazzi,
italiani, austriaci, che hanno sacrificato la loro vita per la Patria. Ora
questo territorio è luogo di pace dove tutti possono ammirarne la bellezza.
Questa opera la dedico alla memoria di tutti i soldati che hanno perso la loro
vita.
---
| 39.823529 | 80 | 0.768095 | ita_Latn | 0.999462 |
2c086b0fb42d045818c54c7549dbbd4dbe5ba3ec | 357 | md | Markdown | AUTHORS.md | icclab/rosbridge_suite | 53985885a824c25846bef58d67adf99d6647ac57 | [
"BSD-3-Clause"
] | null | null | null | AUTHORS.md | icclab/rosbridge_suite | 53985885a824c25846bef58d67adf99d6647ac57 | [
"BSD-3-Clause"
] | null | null | null | AUTHORS.md | icclab/rosbridge_suite | 53985885a824c25846bef58d67adf99d6647ac57 | [
"BSD-3-Clause"
] | null | null | null | ## Contributors
- Brandon Alexander <[email protected]>
- David Bertram <[email protected]>
- Jacob Bandes-Storch <[email protected]>
- Jihoon Lee <[email protected]>
- Jonathan Mace <[email protected]>
- Matthias Gruhler <[email protected]>
- Russell Toris <[email protected]>
- Travis Prosser <[email protected]>
| 32.454545 | 55 | 0.767507 | cat_Latn | 0.115825 |
2c095ad486ab9ad80faa69b43ab7ed077a6bf0e3 | 3,497 | md | Markdown | README.md | vmaldosan/track-merger | 2e1a54c32227d1683a8e732118e29867a4051f9c | [
"Apache-2.0"
] | 1 | 2016-09-25T23:06:47.000Z | 2016-09-25T23:06:47.000Z | README.md | vmaldosan/track-merger | 2e1a54c32227d1683a8e732118e29867a4051f9c | [
"Apache-2.0"
] | null | null | null | README.md | vmaldosan/track-merger | 2e1a54c32227d1683a8e732118e29867a4051f9c | [
"Apache-2.0"
] | null | null | null | # track-merger
Work in progress!!
Current version: 0.2.0-SNAPSHOT
Simple tool to merge several TCX (Training Centre XML) files, which is the standard format to track sport activities by Garmin, Fitbit, etc.
## Mission
This project has a simple goal: to fix those times when you are performing an activity using your Garmin/Fitbit/whatever-device-that-generates-tcx-files and it stopped by mistake. As a result you'll have two or more activities, when there should be only one. This would merge all those TCX files into one, so you can upload it to any activity tracker that accepts this format (Runtastic, Endomondo, etc).
Important: if you were looking for a tool to "magically improve" your results so you can brag about it, sorry, this software won't do that. :running:
## TODO until version 1.0.0-RELEASE
1. ~~Deserialize activity files.~~
2. ~~Remove 0 distance points from the last lap of every Activity.~~
3. ~~Get last valid distance of first training.~~
4. ~~Add last valid distance to all successive Trainings.~~
5. ~~Merge all Activities into the first Training.~~
6. ~~Serialize bean into TCX file: 0.1.0-SNAPSHOT~~
* ~~Write activity into file.~~
* ~~Write full datetimes (currently epoch timestamps).~~
* ~~Indent output file.~~
* ~~Ignore empty fields.~~
* ~~Fix root element.~~
7. ~~Improve deserialization: 0.2.0-SNAPSHOT~~
* ~~Case insensitive when reading literals<sup>(1)</sup>.~~
* ~~Read `Creator` element<sup>(2)</sup>.~~
8. Tyding-up the code.
* Check unit test coverage.
<sup>(1)</sup> Currently if TCX files contain literals like _"Running"_ and _"Active"_, deserialization throws errors, so files need to be preprocessed to make those literals uppercase.
<sup>(2)</sup> Jackson raises an error when reading `Creator` element, which is placed after all the laps. This is due to this element being abstract, because there are some elements extending it (to be exact, `Device` and `Application`).
## User manual
### Requirements
- Java SE 6+: to execute jar file.
### Usage
Whenever a stable version is ready, an executable jar file (with all its dependencies) will be available for downloading. Then you can put the TCX files you want to merge in the same directory and execute the jar file via command line, like this:
```
java -jar track-merger.jar --merge [-f <tcx_file_1> <tcx_file_2> ... [<tcx_file_n>]] [-d <destination_file>]
```
- If no tcx files are specified, current dir will be searched for them.
- If option -f is specified, at least two file names need to be provided right after it.
- If no destinantion file is specified, it will be saved in the current dir as "merged.tcx".
## Dev manual
Simply clone or zip this repo. You can generate the jar file with a `mvn package`.
### Dependencies
- JRE 1.7 as compiler (to use try-with-resources).
- Jackson Dataformat XML: to process TCX files.
- Woodstox: boosts performance of Jackson.
- Java EE Dependency Injection: (self-explanatory).
- JUnit: unit tests.
## How to generate required Java beans
For now I've decided to generate the Java beans from the Garmin schema (XSD file provided in the `src/main/resources/xsd` directory) using JAXB. To do this, run `xjc -d ../../java TrainingCenterDatabasev2.xsd` from the preferred command line, inside the _src/main/resources/xsd_ directory (if you're on Windows, remember to swap the / to \\).
In the future I might consider another method that involves Jackson exclusively. Opened to suggestions! :eyeglasses:
| 56.403226 | 404 | 0.739777 | eng_Latn | 0.992929 |
2c095cf23c1d2facb91cb160393d1f009816a393 | 1,069 | md | Markdown | api/docs/stentor-models.match.md | stentorium/stentor | f49b51e8b4f82012d1ac8ddd15af279bd4619229 | [
"Apache-2.0"
] | 2 | 2019-12-30T19:23:17.000Z | 2021-07-06T02:47:39.000Z | api/docs/stentor-models.match.md | stentorium/stentor | f49b51e8b4f82012d1ac8ddd15af279bd4619229 | [
"Apache-2.0"
] | 74 | 2020-01-07T00:25:16.000Z | 2022-02-23T04:06:56.000Z | api/docs/stentor-models.match.md | stentorium/stentor | f49b51e8b4f82012d1ac8ddd15af279bd4619229 | [
"Apache-2.0"
] | 1 | 2021-01-01T08:57:23.000Z | 2021-01-01T08:57:23.000Z | <!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [stentor-models](./stentor-models.md) > [Match](./stentor-models.match.md)
## Match interface
Match is an interface that describes how to compare two different values.
For example:
value of name is 1 operation is ><!-- -->= value 4
1 ><!-- -->= 4 is false
<b>Signature:</b>
```typescript
export interface Match
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [name](./stentor-models.match.name.md) | string | The name of the key on the object that the value is going to be compared against.<!-- -->TODO: Could we call this key instead? |
| [operation?](./stentor-models.match.operation.md) | [MatchOperation](./stentor-models.matchoperation.md) | <i>(Optional)</i> The comparison operator.<!-- -->If not provided, it defaults to "===" |
| [value](./stentor-models.match.value.md) | boolean \| string \| number \| (boolean \| string \| number)\[\] | The test value that is compared. |
| 36.862069 | 200 | 0.642657 | eng_Latn | 0.964359 |
2c096305282a6615d3ff188ad7b337de747aa971 | 1,685 | md | Markdown | _posts/2018-06-30-javascript-6.md | tigransimonyan/jekyll-theme-chirpy | 3b94dc2e9a136969ec0f446a1a5649a9244c207c | [
"MIT"
] | 2 | 2021-01-11T12:30:49.000Z | 2022-01-25T13:36:56.000Z | _posts/2018-06-30-javascript-6.md | tigransimonyan/jekyll-theme-chirpy | 3b94dc2e9a136969ec0f446a1a5649a9244c207c | [
"MIT"
] | null | null | null | _posts/2018-06-30-javascript-6.md | tigransimonyan/jekyll-theme-chirpy | 3b94dc2e9a136969ec0f446a1a5649a9244c207c | [
"MIT"
] | null | null | null | ---
title: JavaScript - 6. Պայմանի օպերատոր
categories: [Տեխնիկական, JavaScript]
tags: [ջաւասկրիպտ, ծրագրաւորում]
math: false
---
Հաճախ անհարժեշտ է լինում, որ ծրագիը պայմանից կախված կատարի տարբեր գործողություններ։ Այպիսի դեպքերում օգտագործվում է if («եթե») օպերատորը, որը ունի հետեւյալ կառուցվածքը՝
```js
const condition = true;
if (condition) {
alert('Condition is true');
}
```
if օպերատորից հետո փակագծերում գրվում է տրամաբանական (Boolean) մեծություն կամ արտահայտություն, որի true արժեքի դեպքում աշխատում է պայմանի բլոկում` ձեւավոր փակագծերում գրված կոդը:
## Սխալ պայմանի դեպքում
Պայմանի օպերատորը ունի լրացուցիչ else («հակառակ դեպքում») բլոկը, որը աշխատում է միայն պայմանի սխալ լինելու դեպքում, օրիանկ՝
```js
const condition = false;
if (condition) {
alert('Condition is true');
} else {
alert('Condition is false');
}
```
## Մի քանի պայմանի դեպքում
Երբեմն անհրաժեշտ է լինում ստուգել պայմանի մի քանի տարբերակներ, օրինակ՝
```js
var age = 23;
if (age < 12) {
alert('You are toddler!');
} else {
if (age < 18) {
alert('You are teen!');
} else {
alert('You are adult!');
}
}
```
նման դեպքերում կարող ենք օգտագործել else if («հակառակ դեպքում, եթե») օպերատորը, որը ունի հետեւյալ կառուցվածքը՝
```js
var age = 23;
if (age < 12) {
alert('You are toddler!');
} else if (age < 18) {
alert('You are teen!');
} else {
alert('You are adult!');
}
```
> Ի տարբերություն else բլոկի, else if բլոկը կարող է օգտագործվել մեկից ավելի անգամ։
Փորձեք ինքնուրույն գրել ծրագիր, որը տրված n թվի համար կստուգի եւ մոդալ պատուհանով ցույց կտա՝ «Թիվը զույգ է», եթե տրված թիվը զույգ է եւ «Թիվը կենտ է», եթե կենտ է։
Հուշում՝ զույգ թվերը բաժանվում են 2-ի առանց մնացորդի։
| 23.732394 | 178 | 0.708605 | hye_Armn | 0.995121 |
2c09ff969387379c3a9d43ee716574f56fa87e57 | 23 | md | Markdown | README.md | BetoFandino/ImpacientAI-master | 9733b174db295b4813325cdc726edec50cb3826e | [
"MIT"
] | null | null | null | README.md | BetoFandino/ImpacientAI-master | 9733b174db295b4813325cdc726edec50cb3826e | [
"MIT"
] | null | null | null | README.md | BetoFandino/ImpacientAI-master | 9733b174db295b4813325cdc726edec50cb3826e | [
"MIT"
] | null | null | null | # ImpacientAI-master
| 7.666667 | 20 | 0.73913 | spa_Latn | 0.159843 |
2c0a90ed8597f22f5d8117531691793da87d7f83 | 374 | md | Markdown | docs/README-qtest-k8s-secrets.md | QAS-Labs/qtest-chart | 61cd3a641cf5b1b73d932e38cbf6c3c358aee686 | [
"Apache-2.0"
] | 1 | 2021-09-10T13:34:34.000Z | 2021-09-10T13:34:34.000Z | docs/README-qtest-k8s-secrets.md | QAS-Labs/qtest-chart | 61cd3a641cf5b1b73d932e38cbf6c3c358aee686 | [
"Apache-2.0"
] | 16 | 2021-06-09T14:00:27.000Z | 2022-01-02T01:48:58.000Z | docs/README-qtest-k8s-secrets.md | QAS-Labs/qtest-chart | 61cd3a641cf5b1b73d932e38cbf6c3c358aee686 | [
"Apache-2.0"
] | 1 | 2021-07-05T12:17:59.000Z | 2021-07-05T12:17:59.000Z |
## qTest Secrets and ConfigMap Change Auto-Reload Updates Architecture using Reloader
The following diagram depicts the workflow of how `stakater/reloader` functions in K8s cluster.

## qTest Secrets and ConfigMap Change Auto-Reload Updates Architecture NOT using Reloader (using Volume and Volume Mounts) | 37.4 | 122 | 0.812834 | kor_Hang | 0.608904 |
2c0accf639cf490458d2aa786fb32a844dd87e59 | 36,457 | markdown | Markdown | _posts/2018-10-05-django-css-project.markdown | tntyobi/tntyobi.github.io | 8ae7c17a5fbcddebac6af035d4583c3efbf9838b | [
"MIT"
] | null | null | null | _posts/2018-10-05-django-css-project.markdown | tntyobi/tntyobi.github.io | 8ae7c17a5fbcddebac6af035d4583c3efbf9838b | [
"MIT"
] | null | null | null | _posts/2018-10-05-django-css-project.markdown | tntyobi/tntyobi.github.io | 8ae7c17a5fbcddebac6af035d4583c3efbf9838b | [
"MIT"
] | null | null | null | ---
layout: post
title: "django CSS"
description: 장고에서 CSS적용된 프로젝트를 생성하자.
date: 2018-10-05 14:10:25 +0200
categories: jekyll update
img: django.jpg
author: tntyobi
---
## django CSS사용 프로젝트 만들기
이 글은
[https://javafa.gitbooks.io/python-django/content/chapter3.html](https://javafa.gitbooks.io/python-django/content/chapter3.html)
[http://rednooby.tistory.com/105](http://rednooby.tistory.com/105)
두 글을 기반으로 재 작성한 글입니다.
**준비하기**
*django 설치가 완료된 상태에서 시작하셔야 합니다.*
OS : window 10 pro
python : 3.6.6
**1. django 프로젝트 생성**
*workspace 디렉토리에 장고 프로젝트를 생성합니다.*
<div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'><table width="767" class="colorscripter-code-table" style="margin: 0px; padding: 0px; border-radius: 4px; border: currentColor; border-image: none; width: 767px; background-color: rgb(39, 39, 39);" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding: 6px; border-right-color: rgb(79, 79, 79); border-right-width: 2px; border-right-style: solid;"><div style='margin: 0px; padding: 0px; text-align: right; color: rgb(170, 170, 170); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; -ms-word-break: normal;'><div style="line-height: 130%;">1</div><div style="line-height: 130%;">2</div></div></td><td style="padding: 6px 0px; width: 726px;"><div style='margin: 0px; padding: 0px; color: rgb(240, 240, 240); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;'><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">django<span style="color: rgb(255, 51, 153);">-</span>admin startproject djangoSample </div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">cd djangoSample</div></div></td><td style="padding: 0px 2px 4px 0px; width: 20px; vertical-align: bottom;"><a style="color: white; text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank"><span style="padding: 1px; border-radius: 10px; color: white; font-size: 9px; -ms-word-break: normal; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p><br></p>
실행화면

**2. 앱 생성**
*main 앱을 하나 생성합니다.*
<div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'><table width="757" class="colorscripter-code-table" style="margin: 0px; padding: 0px; border-radius: 4px; border: currentColor; border-image: none; width: 757px; background-color: rgb(39, 39, 39);" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding: 6px; border-right-color: rgb(79, 79, 79); border-right-width: 2px; border-right-style: solid;"><div style='margin: 0px; padding: 0px; text-align: right; color: rgb(170, 170, 170); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; -ms-word-break: normal;'><div style="line-height: 130%;">1</div></div></td><td style="padding: 6px 0px; width: 703px;"><div style='margin: 0px; padding: 0px; color: rgb(240, 240, 240); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;'><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">python manage.py startapp main</div></div></td><td style="padding: 0px 2px 4px 0px; width: 33px; vertical-align: bottom;"><a style="color: white; text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank"><span style="padding: 1px; border-radius: 10px; color: white; font-size: 9px; -ms-word-break: normal; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p><br></p>
**3. 앱 등록**
*djangoSample/djangoSample/settings.py 파일에 앱을 추가 시켜줍니다.*
**settings.py 수정**
<div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'><table width="766" class="colorscripter-code-table" style="margin: 0px; padding: 0px; border-radius: 4px; border: currentColor; border-image: none; width: 766px; background-color: rgb(39, 39, 39);" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding: 6px; border-right-color: rgb(79, 79, 79); border-right-width: 2px; border-right-style: solid;"><div style='margin: 0px; padding: 0px; text-align: right; color: rgb(170, 170, 170); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; -ms-word-break: normal;'><div style="line-height: 130%;">1</div><div style="line-height: 130%;">2</div><div style="line-height: 130%;">3</div><div style="line-height: 130%;">4</div><div style="line-height: 130%;">5</div><div style="line-height: 130%;">6</div><div style="line-height: 130%;">7</div><div style="line-height: 130%;">8</div><div style="line-height: 130%;">9</div></div></td><td style="padding: 6px 0px; width: 724px;"><div style='margin: 0px; padding: 0px; color: rgb(240, 240, 240); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;'><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">INSTALLED_APPS <span style="color: rgb(255, 51, 153);">=</span> [</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.contrib.admin'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.contrib.auth'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.contrib.contenttypes'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.contrib.sessions'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.contrib.messages'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.contrib.staticfiles'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'main'</span>, <span style="color: rgb(153, 153, 153);">#main app 추가</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">]</div></div><div style="text-align: right; font-size: 9px; font-style: italic; margin-top: -13px; margin-right: 5px;"><a style="color: rgb(79, 79, 79); text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank">Colored by Color Scripter</a></div></td><td style="padding: 0px 2px 4px 0px; width: 22px; vertical-align: bottom;"><a style="color: white; text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank"><span style="padding: 1px; border-radius: 10px; color: white; font-size: 9px; -ms-word-break: normal; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p><br></p>
**4. 파일 경로 지정**
css,js,image 파일들을 관리 할 경로를 지정한다.
**settings.py 코드 내 STATIC_URL 밑에 내용을 추가 합니다.**
static 폴더 내 js, css 등의 폴더별로 관리하면 편합니다.
**settings.py 수정**
<div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'><table width="767" class="colorscripter-code-table" style="margin: 0px; padding: 0px; border-radius: 4px; border: currentColor; border-image: none; width: 767px; background-color: rgb(39, 39, 39);" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding: 6px; border-right-color: rgb(79, 79, 79); border-right-width: 2px; border-right-style: solid;"><div style='margin: 0px; padding: 0px; text-align: right; color: rgb(170, 170, 170); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; -ms-word-break: normal;'><div style="line-height: 130%;">1</div><div style="line-height: 130%;">2</div><div style="line-height: 130%;">3</div><div style="line-height: 130%;">4</div><div style="line-height: 130%;">5</div></div></td><td style="padding: 6px 0px; width: 729px;"><div style='margin: 0px; padding: 0px; color: rgb(240, 240, 240); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;'><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(153, 153, 153);">#웹페이지에 사용할 정적파일의 최상위 URL경로</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">STATIC_URL <span style="color: rgb(255, 51, 153);">=</span> <span style="color: rgb(255, 213, 0);">'/static/'</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> </div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(153, 153, 153);">#정적파일이 위치한 경로들을 지정하는 설정 항목</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">STATICFILES_DIRS <span style="color: rgb(255, 51, 153);">=</span> [os.path.join(BASE_DIR, <span style="color: rgb(255, 213, 0);">'static'</span>)]</div></div></td><td style="padding: 0px 2px 4px 0px; width: 20px; vertical-align: bottom;"><a style="color: white; text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank"><span style="padding: 1px; border-radius: 10px; color: white; font-size: 9px; -ms-word-break: normal; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p><br></p>
**TEMPLATES 의 DIRS를 설정한다. 고정입니다.**
<div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'><table width="768" class="colorscripter-code-table" style="margin: 0px; padding: 0px; border-radius: 4px; border: currentColor; border-image: none; width: 768px; background-color: rgb(39, 39, 39);" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding: 6px; border-right-color: rgb(79, 79, 79); border-right-width: 2px; border-right-style: solid;"><div style='margin: 0px; padding: 0px; text-align: right; color: rgb(170, 170, 170); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; -ms-word-break: normal;'><div style="line-height: 130%;">1</div><div style="line-height: 130%;">2</div><div style="line-height: 130%;">3</div><div style="line-height: 130%;">4</div><div style="line-height: 130%;">5</div><div style="line-height: 130%;">6</div><div style="line-height: 130%;">7</div><div style="line-height: 130%;">8</div><div style="line-height: 130%;">9</div><div style="line-height: 130%;">10</div><div style="line-height: 130%;">11</div><div style="line-height: 130%;">12</div><div style="line-height: 130%;">13</div><div style="line-height: 130%;">14</div><div style="line-height: 130%;">15</div></div></td><td style="padding: 6px 0px; width: 721px;"><div style='margin: 0px; padding: 0px; color: rgb(240, 240, 240); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;'><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">TEMPLATES <span style="color: rgb(255, 51, 153);">=</span> [</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> {</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'BACKEND'</span>: <span style="color: rgb(255, 213, 0);">'django.template.backends.django.DjangoTemplates'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'DIRS'</span>: [BASE_DIR, <span style="color: rgb(255, 213, 0);">'templates'</span>],</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'APP_DIRS'</span>: True,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'OPTIONS'</span>: {</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'context_processors'</span>: [</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.template.context_processors.debug'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.template.context_processors.request'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.contrib.auth.context_processors.auth'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 213, 0);">'django.contrib.messages.context_processors.messages'</span>,</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> ],</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> },</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> },</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">]</div></div><div style="text-align: right; font-size: 9px; font-style: italic; margin-top: -13px; margin-right: 5px;"><a style="color: rgb(79, 79, 79); text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank">Colored by Color Scripter</a></div></td><td style="padding: 0px 2px 4px 0px; width: 22px; vertical-align: bottom;"><a style="color: white; text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank"><span style="padding: 1px; border-radius: 10px; color: white; font-size: 9px; -ms-word-break: normal; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p><br></p>
**4. URL 설정하기**
프로젝트가 관리하는 URL 와
앱별로 관리하는 URL 가 따로 있습니다.
[http://127.0.0.1:8000]/프로젝트url/앱url 이런식으로 접속이 가능합니다.
먼저 프로젝트 관리 URL파일을 수정합니다.
**djangoSample/djangoSample/urls.py 파일 수정**
<div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'><table width="764" class="colorscripter-code-table" style="margin: 0px; padding: 0px; border-radius: 4px; border: currentColor; border-image: none; width: 764px; background-color: rgb(39, 39, 39);" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding: 6px; border-right-color: rgb(79, 79, 79); border-right-width: 2px; border-right-style: solid;"><div style='margin: 0px; padding: 0px; text-align: right; color: rgb(170, 170, 170); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; -ms-word-break: normal;'><div style="line-height: 130%;">1</div><div style="line-height: 130%;">2</div><div style="line-height: 130%;">3</div><div style="line-height: 130%;">4</div><div style="line-height: 130%;">5</div><div style="line-height: 130%;">6</div><div style="line-height: 130%;">7</div><div style="line-height: 130%;">8</div><div style="line-height: 130%;">9</div><div style="line-height: 130%;">10</div><div style="line-height: 130%;">11</div><div style="line-height: 130%;">12</div><div style="line-height: 130%;">13</div><div style="line-height: 130%;">14</div><div style="line-height: 130%;">15</div><div style="line-height: 130%;">16</div><div style="line-height: 130%;">17</div><div style="line-height: 130%;">18</div><div style="line-height: 130%;">19</div><div style="line-height: 130%;">20</div><div style="line-height: 130%;">21</div><div style="line-height: 130%;">22</div><div style="line-height: 130%;">23</div></div></td><td style="padding: 6px 0px; width: 714px;"><div style='margin: 0px; padding: 0px; color: rgb(240, 240, 240); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;'><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);">""</span><span style="color: rgb(255, 213, 0);">"djangoSample URL Configuration</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);">The `urlpatterns` list routes URLs to views. For more information please see:</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);"> https://docs.djangoproject.com/en/2.1/topics/http/urls/</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);">Examples:</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);">Function views</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);"> 1. Add an import: from my_app import views</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);"> 2. Add a URL to urlpatterns: path('', views.home, name='home')</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);">Class-based views</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);"> 1. Add an import: from other_app.views import Home</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);"> 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);">Including another URLconf</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);"> 1. Import the include() function: from django.urls import include, path</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);"> 2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 213, 0);">"</span><span style="color: rgb(255, 213, 0);">""</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 51, 153);">from</span> django.contrib <span style="color: rgb(255, 51, 153);">import</span> admin</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 51, 153);">from</span> django.urls <span style="color: rgb(255, 51, 153);">import</span> path, include</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> </div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">urlpatterns <span style="color: rgb(255, 51, 153);">=</span> [</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> path(<span style="color: rgb(255, 213, 0);">'admin/'</span>, admin.site.urls),</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> path(<span style="color: rgb(255, 213, 0);">'main/'</span>, include(<span style="color: rgb(255, 213, 0);">'main.urls'</span>)),</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">]</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> </div></div><div style="text-align: right; font-size: 9px; font-style: italic; margin-top: -13px; margin-right: 5px;"><a style="color: rgb(79, 79, 79); text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank">Colored by Color Scripter</a></div></td><td style="padding: 0px 2px 4px 0px; width: 23px; vertical-align: bottom;"><a style="color: white; text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank"><span style="padding: 1px; border-radius: 10px; color: white; font-size: 9px; -ms-word-break: normal; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p><br></p>
path가 django 2.0 부터 적용되었다고 해서 기존 url함수보다 사용이 편합니다. (정규식 표현을 안써도 됨)
[127.0.0.1:8000]/main/* 으로 들어오는 요청은 모두 main.urls 파일에 넘겨줍니다.
(출처에 예제인 url방식의 namespace를 사용하면 duplicate에러가 발생하여 삭제 하였습니다. 에러 원인을 확인하는 대로 내용 수정 하겠습니다.)
> path('main/', include('main.urls', namespace='main')), #namespace Error 발생
이제 앱 URL을 수정해보겠습니다.
main app 폴더에는 urls.py 파일이 없어 새로 생성해야 합니다.

<div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'><table width="765" class="colorscripter-code-table" style="margin: 0px; padding: 0px; border-radius: 4px; border: currentColor; border-image: none; width: 765px; background-color: rgb(39, 39, 39);" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding: 6px; border-right-color: rgb(79, 79, 79); border-right-width: 2px; border-right-style: solid;"><div style='margin: 0px; padding: 0px; text-align: right; color: rgb(170, 170, 170); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; -ms-word-break: normal;'><div style="line-height: 130%;">1</div><div style="line-height: 130%;">2</div><div style="line-height: 130%;">3</div><div style="line-height: 130%;">4</div><div style="line-height: 130%;">5</div><div style="line-height: 130%;">6</div><div style="line-height: 130%;">7</div></div></td><td style="padding: 6px 0px; width: 722px;"><div style='margin: 0px; padding: 0px; color: rgb(240, 240, 240); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;'><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 51, 153);">from</span> django.urls <span style="color: rgb(255, 51, 153);">import</span> path</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 51, 153);">from</span> . <span style="color: rgb(255, 51, 153);">import</span> views</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> </div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">urlpatterns <span style="color: rgb(255, 51, 153);">=</span> [</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> path(<span style="color: rgb(255, 213, 0);">'index/'</span>, views.index, name<span style="color: rgb(255, 51, 153);">=</span><span style="color: rgb(255, 213, 0);">'index'</span>),</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">]</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> </div></div><div style="text-align: right; font-size: 9px; font-style: italic; margin-top: -13px; margin-right: 5px;"><a style="color: rgb(79, 79, 79); text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank">Colored by Color Scripter</a></div></td><td style="padding: 0px 2px 4px 0px; width: 23px; vertical-align: bottom;"><a style="color: white; text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank"><span style="padding: 1px; border-radius: 10px; color: white; font-size: 9px; -ms-word-break: normal; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p><br></p>
**5. 컨트롤러 views.py 설정하기**
main url에 매핑되는 views.py 파일을 수정해줍니다. urls.py 에서 views.index 함수를 호출하였으니 index 함수를 생성하여 랜더링 합니다.
**djangoSample/main/views.py 수정**
<div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'><table width="765" class="colorscripter-code-table" style="margin: 0px; padding: 0px; border-radius: 4px; border: currentColor; border-image: none; width: 765px; background-color: rgb(39, 39, 39);" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding: 6px; border-right-color: rgb(79, 79, 79); border-right-width: 2px; border-right-style: solid;"><div style='margin: 0px; padding: 0px; text-align: right; color: rgb(170, 170, 170); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; -ms-word-break: normal;'><div style="line-height: 130%;">1</div><div style="line-height: 130%;">2</div><div style="line-height: 130%;">3</div><div style="line-height: 130%;">4</div><div style="line-height: 130%;">5</div><div style="line-height: 130%;">6</div><div style="line-height: 130%;">7</div></div></td><td style="padding: 6px 0px; width: 716px;"><div style='margin: 0px; padding: 0px; color: rgb(240, 240, 240); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;'><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 51, 153);">from</span> django.shortcuts <span style="color: rgb(255, 51, 153);">import</span> render</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 51, 153);">from</span> django.conf <span style="color: rgb(255, 51, 153);">import</span> settins</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> </div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(153, 153, 153);"># Create your views here.</span></div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"><span style="color: rgb(255, 51, 153);">def</span> index(request):</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> <span style="color: rgb(255, 51, 153);">return</span> render(request, <span style="color: rgb(255, 213, 0);">'main/index.html'</span>)</div><div style="padding: 0px 6px; line-height: 130%; white-space: pre;"> </div></div><div style="text-align: right; font-size: 9px; font-style: italic; margin-top: -13px; margin-right: 5px;"><a style="color: rgb(79, 79, 79); text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank">Colored by Color Scripter</a></div></td><td style="padding: 0px 2px 4px 0px; width: 28px; vertical-align: bottom;"><a style="color: white; text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank"><span style="padding: 1px; border-radius: 10px; color: white; font-size: 9px; -ms-word-break: normal; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p><br></p>
**6. index.html 템플릿 만들기**
먼저 main 앱 폴더 밑에 templates 폴더를 생성하여 줍니다.
그리고 templates 폴더 밑에 앱과 같은 이름의 main 폴더를 생성하고 임시 index.html 파일을 생성합니다.

저 index.html 파일을 템플릿 페이지로 변경 할 것입니다.
[https://www.creative-tim.com/](https://www.creative-tim.com/) 접속하여 마음에 드는 페이지를 선택합니다.
우리는 무료 MIT license를 확인하고 다운 받아줍니다. (저는 Argon Dashboard(Bootstrap 4)를 다운 받았습니다.)

적당한 위치에 파일을 다운받고 압축을 해제하여 줍니다.

**djangoSample/main/templates/main 폴더 밑에 다운 받은 템플릿의 index.html을 찾아 복사합니다.**
변경된 index.html 내용

이제 CSS를 적용하기 위해 static 폴더를 생성해 줍니다.

다운 받은 파일중 assets 폴더 내 파일을 다 복사하여 static 폴더 밑에 넣어 줍니다.(bootstrap 샘플과 vue.js 샘플이 다르니 vue.js는 다음에 정리 해볼께요.)

실행하여 적용 상태를 확인합니다.
<div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'></div><div class="colorscripter-code" style='color: rgb(240, 240, 240); overflow: auto; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; position: relative !important;'><table width="742" class="colorscripter-code-table" style="margin: 0px; padding: 0px; border-radius: 4px; border: currentColor; border-image: none; width: 742px; background-color: rgb(39, 39, 39);" cellspacing="0" cellpadding="0"><tbody><tr><td style="padding: 6px; border-right-color: rgb(79, 79, 79); border-right-width: 2px; border-right-style: solid;"><div style='margin: 0px; padding: 0px; text-align: right; color: rgb(170, 170, 170); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important; -ms-word-break: normal;'><div style="line-height: 130%;">1</div></div></td><td style="padding: 6px 0px; width: 668px;"><div style='margin: 0px; padding: 0px; color: rgb(240, 240, 240); line-height: 130%; font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace !important;'><div style="padding: 0px 6px; line-height: 130%; white-space: pre;">python manage.py runserver</div></div></td><td style="padding: 0px 2px 4px 0px; width: 54px; vertical-align: bottom;"><a style="color: white; text-decoration: none;" href="http://colorscripter.com/info#e" target="_blank"><span style="padding: 1px; border-radius: 10px; color: white; font-size: 9px; -ms-word-break: normal; background-color: rgb(79, 79, 79);">cs</span></a></td></tr></tbody></table></div><p><br></p>

다 깨져서 나오네요.
index.html의 파일 내 경로가 ./assets/ 되어있는 부분을 /static/ 으로 모두 변경 해줍니다.
**./assets/ -> /static/ 으로 변경**

**템플릿 적용 화면**
해당 인덱스 페이지의 템플릿이 정상적으로 적용된 것을 확인 가능합니다.
메뉴 링크 클릭을 해보시면 에러가 발생하는데 경로만 맞쳐 주면 정상적으로 보일 겁니다.

** 추가 수정 부분 **
현재 초안으로 작성된 문서라 내용이 부실 합니다.
따라만 하면 나오도록 보완 중입니다.
이 문서 보완이 완료되면
다음 포스팅은 DB를 사용해서 현업에서 사용가능한 구조를 만들어 보겠습니다.
감사합니다.
| 226.440994 | 8,108 | 0.699207 | kor_Hang | 0.223836 |
2c0b45d2ed947556d7900e94586f6d4543d53af6 | 7,233 | md | Markdown | source/languages/en/riak/ops/mdc/upgrade-v2-to-v3.md | dmitrizagidulin/basho_docs | e61f5ec4662d809ede5f5fc0ec36332f5548e904 | [
"CC-BY-3.0"
] | null | null | null | source/languages/en/riak/ops/mdc/upgrade-v2-to-v3.md | dmitrizagidulin/basho_docs | e61f5ec4662d809ede5f5fc0ec36332f5548e904 | [
"CC-BY-3.0"
] | 1 | 2021-09-08T11:27:24.000Z | 2021-09-08T11:27:24.000Z | source/languages/en/riak/ops/mdc/upgrade-v2-to-v3.md | dmitrizagidulin/basho_docs | e61f5ec4662d809ede5f5fc0ec36332f5548e904 | [
"CC-BY-3.0"
] | 1 | 2021-09-08T09:48:00.000Z | 2021-09-08T09:48:00.000Z | ---
title: "Multi Data Center Replication: Upgrading from V2 to V3"
project: riak
header: riakee
version: 1.3.2+
document: cookbook
toc: true
audience: intermediate
keywords: [mdc, repl]
moved: {
'2.0.0-': 'riakee:/cookbooks/Multi-Data-Center-Replication-UpgradeV2toV3'
}
---
This guide walks you through the process of upgrading Riak Enterprise
Multi-Datacenter Replication from version 2 to version 3. Please read
the [[comparison guide|Multi Data Center Replication: Comparison]] for
terminology differences between versions.
## Upgrade Process
In all of the following examples, the source cluster is named `newyork`
while the sink cluster is named `boston`.
1. Ensure that all system backups have completed, are accurate, and are
readily available.
2. If fullsync replication is periodically started via `cron`,
disable it.
3. Stop fullsync replication on every cluster participating in MDC:
```bash
riak-repl cancel-fullsync
```
4. If custom replication hooks are being used, make a note of each
before upgrading. Version 2 hooks *are* compatible with version 3
hooks but they may be useful to Basho Support in the event of an
upgrade issue. See the documentation on [[hooks|Multi Data Center
Replication: Hooks]] for more information.
5. If NAT was configured with version 2 replication, please review the
documentation on [[NAT in version 3|Multi Data Center Replication v3
With NAT]] before proceeding. A mapping from external host/IP to the
internal IP address can be created using the `riak-repl nat-map`
command:
```bash
riak-repl nat-map add 50.16.238.120:5555 192.168.2.40
```
6. If SSL was configured for version 2 replication, please review the
documentation for [[version 3 SSL|Multi Data Center Replication v3
SSL]] before proceeding. While all SSL configuration parameters can
retain the same values from version 2, they will need to be moved
from the `riak-repl` section of `app.config` to the `riak-core`
section:
```appconfig
{ssl_enabled, true},
{certfile, "/full/path/to/site1-cert.pem"},
{keyfile, "/full/path/to/site1-key.pem"},
{cacertdir, "/full/path/to/cacertsdir"}
```
7. Name the source and sink clusters that will be participating in
replication. Remember that the source cluster is `newyork` while the
sink cluster is `boston`.
On the source cluster:
```bash
riak-repl clustername newyork
```
On the sink cluster:
```bash
riak-repl clustername boston
```
You can verify that the cluster names have been established on each
cluster by issuing the `riak-repl clustername` command without
parameters.
8. Connect the source cluster to the sink cluster (assuming the sink
cluster is named *boston* and the `cluster_mgr` is running on port
`9080`):
```bash
riak-repl connect boston:9080
```
9. Ensure that cluster connections have been established:
```bash
riak-repl connections
```
10. Enable bidirectional replication, which can be established between
two clusters by connecting from the sink (`boston`) to the source
(`newyork`). On any node in the *sink* cluster, connect to the
source:
```bash
riak-repl connect newyork:9080
```
11. Enable realtime replication. To begin queueing---but not yet
replicating---objects on the source cluster for realtime
replication:
```bash
riak-repl realtime enable boston
```
Running `riak-repl status` on any node of the source will show which
sinks are currently enabled for realtime.
12. Start realtime replication from source to sink:
```bash
riak-repl realtime start boston
```
This will process any objects in the replication queue as well as
any updated objects in the source cluster.
Running `riak-repl status` on any node of the source will show which
sinks are currently enabled and running for realtime via the
`realtime_enabled` and `realtime_started` statistics. See our
documentation on [[replication statistics|Multi Data Center
Replication: Statistics]] for a full list of available statistics.
13. Enable fullsync replication by preparing a source cluster for
fullsync replication:
```bash
riak-repl fullsync enable boston
```
Running `riak-repl status` on any node of the source will show which
sinks are currently enabled for realtime.
14. Start fullsync replication from source to sink:
```bash
riak-repl fullsync start boston
```
Running `riak-repl status` on any node of the source will show which
sinks are currently enabled and running for fullsync via the
`fullsync_enabled` and `fullsync_started` statistics. See our
documentation on [[replication statistics|Multi Data Center
Replication: Statistics]] for a full list of available statistics.
15. If you are using Riak CS Enterprise `proxy_get`, you can enable
connections for version 3 replication are enabled at runtime using
the following command:
```bash
riak-repl proxy_get enable boston
```
See our guides to version 3 [[operations|Multi Data Center
Replication v3 Operations]] and [[configuration|Multi Data Center
Replication v3 Configuration]] for more information.
16. Remove existing listeners/sites from both source and sink clusters
using the `del-listener` and `del-site` commands, as in the
following examples:
```bash
riak-repl del-site newyork
riak-repl del-listener [email protected] 10.0.1.156 9010
```
Currently configured listeners and sites can be seen using
`riak-repl status` on each node in the source and sink clusters.
See the [[operations guide|Multi Data Center Replication:
Operations]] guide for more information on the `del-listener` and
`del-site` commands.
17. If you are using cron to schedule replication fullsyncs, update the
`crontab` to use the version 3 fullsync syntax. For example, version
2 replication is started with:
```bash
riak-repl start-fullsync
```
Version 3 replication is started with the following (using `boston`
as an example sink cluster name):
```bash
riak-repl fullsync start boston
```
See the guide to [[scheduling version 3 fullsync|Multi Data Center
Replication: v3 Scheduling Fullsync]] for information on configuring
scheduled replication fullsyncs.
18. Disable version 2 replication bucket hooks. By default,
Riak 1.3.+ has replication bucket hooks enabled for both version 2
and version 3. The version 2 replication bucket hook can be
disabled. This step is not required, but leaving the version 2
replication bucket hook enabled can cause inaccurate
`objects_dropped_no_leader` and `objects_dropped_no_clients`
statistics.
To disable the version 2 replication bucket hook:
```bash
riak-repl modes mode_repl13
```
Example:
```bash
riak-repl modes
```
Output:
```
Current replication modes: [mode_repl12,mode_repl13]
```
Another example:
```
riak-repl modes mode_repl13
```
Output:
```
Current replication modes: [mode_repl13]
```
| 30.263598 | 77 | 0.719342 | eng_Latn | 0.989099 |
2c0b603d4f1f4a243929e1c970c6ad56e5ff96db | 3,344 | md | Markdown | src/posts/blog/2021_Sep/shruti.md | NobleMathews/CollegeBugle | da2ce79e1995c59ce8f02775644b0cc2ebee132c | [
"MIT"
] | null | null | null | src/posts/blog/2021_Sep/shruti.md | NobleMathews/CollegeBugle | da2ce79e1995c59ce8f02775644b0cc2ebee132c | [
"MIT"
] | null | null | null | src/posts/blog/2021_Sep/shruti.md | NobleMathews/CollegeBugle | da2ce79e1995c59ce8f02775644b0cc2ebee132c | [
"MIT"
] | null | null | null | ---
title: "Internship experience at Salesforce"
category: "Experiences"
date: "2021-06-06 10:00:00 +09:00"
desc: "Salesforce provides customer relationship management service and also provides a complementary suite of enterprise applications focused on customer service, marketing, analytics, and application development. Read on to find more about Shruti Priya’s 2-month internship experience at Salesforce."
thumbnail: "./images/salesforce.jpg"
authors: "Shruti Priya"
starred: "false"
alt: "salesforce"
---
I am Shruti Priya, a 4th year CSE undergraduate at IIT Tirupati. In this blog, I would like to share my 2 month internship experience at Salesforce. In my third year of college, I got to know about Salesforce through an on-campus recruitment program. After passing through a coding round, two technical interview rounds, and a final HR round, I got a phone call from my recruiter letting me know that I got the job! I was incredibly excited and started preparing myself for the internship.
On May 24th, my two-month internship journey at Salesforce started. The first two weeks were mostly filled with welcoming sessions and training programs to prepare for the upcoming projects. As an intern, I was a part of the Business Technology Public Cloud Engineering Team and worked on projects related to Amazon Web Services Infrastructure Development. To get started with my project I was assigned a mentor who helped me with the project and also aided me in getting familiar with the working culture at Salesforce. From the third week, I started working on projects and my mentor and team helped me whenever I faced any trouble. As a result, in less than 2 months I was able to be a part of three projects. We had daily standup meetings and weekly brainstorming sessions that helped me share my ideas with others and learn about the projects the other team members are working on. Overall it was a great opportunity to work and learn from experienced professionals.
At Salesforce the word that stood out the most is “Ohana”, a Hawaiian word that means family which is a big part of Salesforce work culture. As it was a virtual internship, I was initially worried if interaction with other fellow interns and seniors would be a problem. However, Salesforce hosted weekly intern meets, where we got a chance to interact with each other and play a few games. To get acquainted with our leaders, Salesforce hosted leadership connections once or twice a week, where we directly had one-to-one conversations with the Business Technology team leaders. To encourage us in giving our 100% at work along with a healthy body and a healthy mind, Salesforce hosted regular wellness and mental awareness sessions. We also had the opportunity to join different groups and spread mental awareness across the globe. In the two months, I was able to attend 2 wellness sessions in which we were introduced to different breathing and meditation techniques to relax our minds to help focus on our work.
In conclusion, it was an amazing experience being an intern at Salesforce and I am thankful to my team and fellow interns for making my internship journey fruitful and fun at the same time. I also was offered a Pre Placement Opportunity to work at Salesforce and I am really excited to join Salesforce as a full-time employee in the upcoming year.
| 167.2 | 1,015 | 0.80622 | eng_Latn | 0.999911 |
2c0b6587d4e7a9cac2dd119f4963a52f1fdfdc2d | 151 | md | Markdown | src/data/commands/heavensdoor/heavens door fool.md | Soft-Wet-Bot/BotDocs | 393c551bf2e1a38e7e8eaa12a92a9df28aed23f3 | [
"MIT"
] | null | null | null | src/data/commands/heavensdoor/heavens door fool.md | Soft-Wet-Bot/BotDocs | 393c551bf2e1a38e7e8eaa12a92a9df28aed23f3 | [
"MIT"
] | null | null | null | src/data/commands/heavensdoor/heavens door fool.md | Soft-Wet-Bot/BotDocs | 393c551bf2e1a38e7e8eaa12a92a9df28aed23f3 | [
"MIT"
] | null | null | null | The provided image is a fool
# Example Image
 | 30.2 | 104 | 0.794702 | eng_Latn | 0.963979 |
2c0c52fc48fa86db262267686e859f18faa6db5f | 237 | md | Markdown | Troubleshooter/Assets/Site/Programming/Editor Issues/Property Drawers/IMGUI PropertyDrawer.md | vertxxyz/help.vertx.xyz | 557fa12da8d45f18c9a71678bbf2dd4fde8cb297 | [
"MIT"
] | 3 | 2021-02-23T20:02:39.000Z | 2021-11-25T02:23:54.000Z | Troubleshooter/Assets/Site/Programming/Editor Issues/Property Drawers/IMGUI PropertyDrawer.md | vertxxyz/help.vertx.xyz | 557fa12da8d45f18c9a71678bbf2dd4fde8cb297 | [
"MIT"
] | 71 | 2021-02-19T07:47:37.000Z | 2022-03-28T06:06:07.000Z | Troubleshooter/Assets/Site/Programming/Editor Issues/Property Drawers/IMGUI PropertyDrawer.md | vertxxyz/help.vertx.xyz | 557fa12da8d45f18c9a71678bbf2dd4fde8cb297 | [
"MIT"
] | null | null | null | ## IMGUI PropertyDrawers
- [My property draws after all content](PropertyDrawer%20Position.md) (not rendering inline).
- [My property drawer is not expanding to contain its content](GetPropertyHeight.md) (rendering over or under others). | 79 | 118 | 0.793249 | eng_Latn | 0.992857 |
2c0cd4143071d2611372befbe931c5dc23ad59d7 | 2,476 | md | Markdown | docs/QuickStart.md | ryoma-nagata/HOL-IaC-AzureDevOps | e9615e226253a5083820f2783fa8bedf52351869 | [
"MIT"
] | null | null | null | docs/QuickStart.md | ryoma-nagata/HOL-IaC-AzureDevOps | e9615e226253a5083820f2783fa8bedf52351869 | [
"MIT"
] | null | null | null | docs/QuickStart.md | ryoma-nagata/HOL-IaC-AzureDevOps | e9615e226253a5083820f2783fa8bedf52351869 | [
"MIT"
] | null | null | null | ## 1. DevOps用サービスプリンシパルの準備
### 1-1 サービスプリンシパルの作成
1. [アプリの登録](https://docs.microsoft.com/ja-jp/power-bi/developer/embedded/embed-service-principal#step-1---create-an-azure-ad-app)を実施します。
2. 以下の情報をメモします。
- アプリケーション (クライアント) ID
- ディレクトリ (テナント) ID
- クライアント シークレットの値
### 1-2 権限付与
1. [Azure portal を使用して Azure ロールを割り当てる](https://docs.microsoft.com/ja-jp/azure/role-based-access-control/role-assignments-portal?tabs=current)を参考に、作成したサービスプリンシパルを対象のリソースグループの共同作成者に設定します。
## 2. DevOps環境の作成
### 2-1. サインアップ
[Azure DevOpsにサインインする](https://docs.microsoft.com/ja-jp/azure/devops/user-guide/sign-up-invite-teammates?view=azure-devops)に従って、プロジェクトを作成します。
### 2-2. Repositryのインポート
1. **Repos**->**Files**->**Import**の順にクリックします

2. **https://github.com/ryoma-nagata/HOL-IaC-AzureDevOps.git**を入力して、**Import**をクリックします。

3. リポジトリがインポートされていることを確認します。

### 2-3. サービス接続の作成
1. **Project setting**に移動します。

2. **Service connections**->**Create service connection**の順にクリックします。
[参考](https://docs.microsoft.com/ja-jp/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml#create-a-service-connection)

3. **Azure Resource Manager**を選択します。

4. **Service principal(manual)**を選択します。

5. 各項目を入力のうえ、**name**には**azure-devops-service-connection**と入力します。

6. **Grant access permission to all pipelines**にチェックをつけて**Verify and save**をクリックします。

## 3. DevOpsパイプラインの実行
### 3-1. パイプライン定義の編集
1. [.ado/workflows/azure-pipelines.yml](.ado/workflows/azure-pipelines.yml)を開き、**edit**にて以下の変数を設定します。
- AZURE_SUBSCRIPTION_ID
- RESOURCE_GROUP_NAME

2. 編集後、**commit**します

### 3-2. パイプラインの読み込みと実行
1. **Pipelines**->**Pipelines**->**Create Pipeline**の順にクリックします

2. **Azure Repos git**を選択します。

3. 対象のリポジトリを選択後、**Existing Azure Pipeline YAML file**を選択します。

4. **/.ado/workflows/azure-pipelines.yml**を選択します。

5. **Run**をクリックします

6. 対象のリソースグループの**デプロイ**画面から実行を確認可能です。
 | 23.580952 | 186 | 0.703554 | yue_Hant | 0.415545 |
2c0cff992ff8b4276d3f86af6a1878fb83163467 | 2,792 | md | Markdown | doc/flink_test_base_devices.md | zechenturm/flinklib | 90956e4f68e937ae0e0843a7cb3f4b51f5edf3db | [
"Apache-2.0"
] | 1 | 2020-07-18T15:59:53.000Z | 2020-07-18T15:59:53.000Z | doc/flink_test_base_devices.md | zechenturm/flinklib | 90956e4f68e937ae0e0843a7cb3f4b51f5edf3db | [
"Apache-2.0"
] | 4 | 2015-02-05T08:27:35.000Z | 2020-06-18T06:54:54.000Z | doc/flink_test_base_devices.md | zechenturm/flinklib | 90956e4f68e937ae0e0843a7cb3f4b51f5edf3db | [
"Apache-2.0"
] | 4 | 2015-11-17T12:14:14.000Z | 2019-12-10T10:00:00.000Z | # Test Program for Basic Devices
## Hardware Setup
To run this test you need a [MPC5200I-O Board](http://phytec.com/products/system-on-modules/phycore/mpc5200b-io/) or any other Processor which connects a Cyclone II over a local plus bus.
## VHDL Desing
The first step to run this test is to compile and download the test design which can be found [here](https://github.com/flink-project/flinkvhdl/tree/master/axiComponents/testing/testdesigns/lpb/baseDevTesting)
The design contains the following devices:
________________
| |
| Info Device |
|________________|
________________
| |
| GPIO Device | <------|
|________________| |
|
________________ |
| | |
| GPIO Device | -------|
|________________|
________________
| | <----------|
| FQD Device | |
|________________| <------| |
| |
________________ | |
| | | |
| OUT IO Device | -------| |
|________________| |
________________ |
| | |
| OUT IO Device | -----------|
|________________|
________________
| |
| PWM Device | -------|
|________________| |
|
________________ |
| | |
| IN IO Device | <------|
|________________|
## Testcases
The following testcases are implemented in the test program:
- Test if the number of devices is right
- For every subdevice it reads the unique id and tests if it matchs to the coresponding function
- For every subdevice if there is a subfunction this will also be tested
- For every subdevice it tests the number of channels
- The info device descriptor register is rode
- Reset the fqd device and test if the counter register resets to zero
- Bitbang the out_io devices to simulate an encoder. Than read the counter register and check if it has the right value.
- Configure the two gpio devices to one only inputs and one only outputs. Than set the outputs and reade the inputs of the other device and check if the values match. The setting and reading is done in various orders.
- Set the period and the hightime of the pwm device to a random value and use the in_io device to measure the times.
- reset the pwm device and test if the period and hightime register change to default values
## Run the Test
The program can be run with the -d parameter to specify which flink device should be tested. For example: ./flink_test_base_devices -d /dev/flink0
| 41.671642 | 217 | 0.596347 | eng_Latn | 0.985557 |
2c0d641c2dd449ee2dccca7d3964c488eaa566e8 | 58 | md | Markdown | README.md | remyguillen/proyectofinar | 80458fdacb1a1b321cc218e74fa786cf0158213f | [
"MIT"
] | null | null | null | README.md | remyguillen/proyectofinar | 80458fdacb1a1b321cc218e74fa786cf0158213f | [
"MIT"
] | null | null | null | README.md | remyguillen/proyectofinar | 80458fdacb1a1b321cc218e74fa786cf0158213f | [
"MIT"
] | null | null | null | # proyectofinar
remy enrrique guillen perez/15-EIIN-1-137
| 19.333333 | 41 | 0.810345 | spa_Latn | 0.313595 |
2c0ea0895f35058890cb49ed844683acf318e012 | 947 | md | Markdown | README.md | OrnamentStudio/components | befa69c033add5d10918ab6dbd6dabbb553739fb | [
"MIT"
] | null | null | null | README.md | OrnamentStudio/components | befa69c033add5d10918ab6dbd6dabbb553739fb | [
"MIT"
] | 2 | 2021-03-08T20:42:11.000Z | 2021-05-07T13:02:59.000Z | README.md | OrnamentStudio/components | befa69c033add5d10918ab6dbd6dabbb553739fb | [
"MIT"
] | null | null | null | # React Components [](https://travis-ci.org/OrnamentStudio/components)
React components
## Install
```
npm install ornament-components
```
You also need to install peer dependencies by yourself
```
npm install react // v16.x.x
npm install prop-types // v15.x.x
npm install clsx // v2.x.x
```
This module works only with babel compiler since it uses jsx syntax and doesn't compile it on publish.
## Usage
```jsx
const EmaiLink = require('ornament-components/src/email_link');
const PhoneLink = require('ornament-components/src/phone_link');
const PopupLink = require('ornament-components/src/popup_link');
const Markdown = require('ornament-components/src/markdown');
const Meta, { Provider } = require('ornament-components/src/meta');
const ProgressiveImage = require('ornament-components/src/progressive-image');
```
## License
MIT © Abylay Keldibek
| 27.057143 | 156 | 0.755016 | eng_Latn | 0.548887 |
2c0ef7b5e75aaa42c38d2d13bf4b8fedf5e53cb2 | 1,780 | md | Markdown | README.md | Kaikon/ElementMapperExtension | 09795e6cb601c6b058a3cc528231214c53172eb0 | [
"MIT"
] | null | null | null | README.md | Kaikon/ElementMapperExtension | 09795e6cb601c6b058a3cc528231214c53172eb0 | [
"MIT"
] | null | null | null | README.md | Kaikon/ElementMapperExtension | 09795e6cb601c6b058a3cc528231214c53172eb0 | [
"MIT"
] | null | null | null | # ElementMapperExtension
C# ElementMapperExtension makes it easier for developers to create an Object from DbDataReader or Dictionary
### How to use
Simply add the .DLL in the reference of the project
You can map the object from the properties or from the attributes added in the object
```c#
public class MyObject
{
[ElementMapper("id")]
public int Id { get; set; }
[ElementMapper("name")]
public string Name { get; set; }
[ElementMapper("date")]
public DateTime UpdDate { get; set; }
[ElementMapper("comment")]
public string Comment { get; set; }
}
```
Create object from DbDataReader
```c#
// Single object
MyObject Object = CurrentDataReader.MapToSingle<MyObject>();
// List of object
List<MyObject> ListObject = CurrentDataReader.MapToList<MyObject>();
```
Create object Dictionary
```c#
// Single object
Dictionary<string, string> DictString = new Dictionary<string, string>();
DictString.Add("name", "hello");
MyObject Object = DictString.MapToSingle<MyObject>();
// List of object
List<Dictionary<string, string>> ListDict = new List<Dictionary<string, string>>();
ListDict.Add(DictString);
List<MyObject> ListObj = ListDict.MapToList<MyObject>();
```
In default the object is created with the properties name, you can change it in added a parameter
```c#
// Created with properties of object
MyObject Object = CurrentDataReader.MapToSingle<MyObject>();
// Or
MyObject Object = CurrentDataReader.MapToSingle<MyObject>(DataReaderExtension.MapWith.Propertie);
// Created with attributes
MyObject Object = CurrentDataReader.MapToSingle<MyObject>(DataReaderExtension.MapWith.Attribute);
// Created with properties and attributes
MyObject Object = CurrentDataReader.MapToSingle<MyObject>(DataReaderExtension.MapWith.All);
``` | 26.567164 | 108 | 0.75 | eng_Latn | 0.409204 |
2c100d021f022f463523087c758fe08e00949977 | 36 | md | Markdown | demo/diary/testwebapp/README.md | modInfo/paw.js | c327c99c02c4e54a345493a473cf1946528e2bf5 | [
"BSD-2-Clause"
] | 40 | 2018-09-05T15:13:39.000Z | 2021-07-02T07:41:49.000Z | demo/diary/testwebapp/README.md | modInfo/paw.js | c327c99c02c4e54a345493a473cf1946528e2bf5 | [
"BSD-2-Clause"
] | 2 | 2018-09-08T16:43:43.000Z | 2021-09-15T11:18:30.000Z | demo/diary/testwebapp/README.md | modInfo/paw.js | c327c99c02c4e54a345493a473cf1946528e2bf5 | [
"BSD-2-Clause"
] | 3 | 2018-09-06T10:49:52.000Z | 2019-12-21T21:28:02.000Z | # Start the demo webapp
`npm start`
| 12 | 23 | 0.722222 | eng_Latn | 0.771624 |
2c114261e1c16785e2e8fd2c8f5678f496fd7177 | 3,241 | md | Markdown | README.md | flyandlure/gapandas | 31a884da101cf1e1bc0a33a171fa820c5eebf560 | [
"MIT"
] | 9 | 2020-06-08T14:43:00.000Z | 2022-03-03T18:14:02.000Z | README.md | flyandlure/gapandas | 31a884da101cf1e1bc0a33a171fa820c5eebf560 | [
"MIT"
] | 2 | 2021-06-17T12:04:32.000Z | 2021-07-02T15:56:15.000Z | README.md | flyandlure/gapandas | 31a884da101cf1e1bc0a33a171fa820c5eebf560 | [
"MIT"
] | 2 | 2020-06-18T10:45:38.000Z | 2021-12-19T20:00:05.000Z | # GAPandas
GAPandas is a Python package that lets you query the Google Analytics reporting API and return results in Pandas DataFrames, so they can be easily analysed, reported, or plotted in Python applications. It is a simple wrapper to Google's official API which is designed to reduce code and simplify development, especially from Jupyter Notebook environments.
## Setup
GAPandas is easy to set up. First, you need to obtain a `client_secrets.json` keyfile from Google Analytics in order to authenticate. Google's [documentation](https://developers.google.com/analytics/devguides/config/mgmt/v3/quickstart/installed-py) explains how to do this.
Once you have created a `client_secrets.json` file, download it and store it on your machine and note the path to the file. Add the associated email as a user in your Google Analytics account.
## Basic example
To make a query, authenticate by running `connect.get_service()` passing it the path to your `client_secrets.json` keyfile.
```python
from gapandas import connect, query
service = connect.get_service('path/to/client_secrets.json')
```
Now you have a connection, construct an API query to pass to the API. This "payload" must include a `start-date` and `end-date`, some `metrics` and some `dimensions` stored in a Python dictionary.
The queries can sometimes be fiddly to write. I recommend using the [Google Analytics Query Explorer](https://ga-dev-tools.appspot.com/query-explorer/) to construct a valid API query or creating a prototype in Google Sheets. In the below example, we'll fetch sessions, pageviews and bounces by date for the past 30 days.
```python
payload = {
'start_date': '30daysAgo',
'end_date': 'today',
'metrics': 'ga:sessions, ga:pageviews, ga:bounces',
'dimensions': 'ga:date'
}
```
Now you can then use the `query.run_query()` function to pass your payload to the API, along with the service object and your Google Analytics view ID.
```python
results = query.run_query(service, '123456789', payload)
print(results)
```
By default, this will return a Pandas DataFrame containing your query results. However, by passing the optional value of `'raw'` at the end of the function you can also return the raw data object. The `query` method also provides some other features to extract data from the `raw` object.
```python
results = query.run_query(service, '123456789', payload, 'raw')
```
You can run multiple queries in succession and use the Pandas `merge()` function to connect these together. Pandas also makes it very easy to write the data to a file, such as a CSV or Excel document or write it to a database. You can use the data in reports, visualisations or machine learning models with very little code.
### Pagination
If you do not define `max_results` the API will return a default of 1000 rows in a single page. You can set this to a maximum of 10000 in your payload.
Pagination is handled automatically. GAPandas will fetch each page of results and return them all in a single DataFrame (or object if you pass the `raw` flag in your query.)
### Changes
* Version 0.16 - Added `set_dtypes()` function to set the correct dtypes and improved error handling.
* Version 0.17 - Fixed bug in use of `exit()`
| 58.927273 | 357 | 0.763653 | eng_Latn | 0.995345 |
2c115d3eb07dc7dc0ebd41169cafbab25c4c6bf4 | 135 | md | Markdown | content/02-04-2017.md | DougRomano/blog | de5cb17cb2b96400405e0e47a3bdaf9b6a2e35af | [
"MIT"
] | null | null | null | content/02-04-2017.md | DougRomano/blog | de5cb17cb2b96400405e0e47a3bdaf9b6a2e35af | [
"MIT"
] | null | null | null | content/02-04-2017.md | DougRomano/blog | de5cb17cb2b96400405e0e47a3bdaf9b6a2e35af | [
"MIT"
] | null | null | null | ---
title: "The Fairy's Witches"
cover: "3.jpg"
category: "something"
date: "2017-04-02"
---
# Eram mora tuas in inter ferens caterva
| 15 | 40 | 0.674074 | eng_Latn | 0.220813 |
2c123b1a692044cd6dd4feda0cf259ad4dc155ee | 3,723 | md | Markdown | Cosmere/Fortune.md | Malthemester/CoppermindScraper | 1a1d70a6a1e0aff2d8e8cf5d124da3c16c061a43 | [
"MIT"
] | null | null | null | Cosmere/Fortune.md | Malthemester/CoppermindScraper | 1a1d70a6a1e0aff2d8e8cf5d124da3c16c061a43 | [
"MIT"
] | null | null | null | Cosmere/Fortune.md | Malthemester/CoppermindScraper | 1a1d70a6a1e0aff2d8e8cf5d124da3c16c061a43 | [
"MIT"
] | null | null | null | |**Fortune**|
|-|-|
|**Related to**|[[Realmatic Theory\|Realmatic Theory]]|
|**Type**|Spiritual property|
|**Universe**|[[Cosmere\|Cosmere]]|
This page or section needs to be updated with new information for *Rhythm of War*!Be aware that in its current state, it may not include all additional content yet.
>“*Beware of anyone who claims to be able to see the future.*”
\-Hoid[1]
**Fortune** is a Spiritual property in the [[Cosmere\|cosmere]], related to luck, seeing the future, or versions of the future.
## Contents
1 Nature
2 Mentions
3 Trivia
4 Notes
## Nature
The precise nature of Fortune and how it functions and is used, is currently unclear. Fortune has been described as "luck" by less cosmere-aware groups, such as the [[Terris\|Terris]] three centuries after the [[Catacendre\|Catacendre]]. However, it is clear from other individuals that are more cosmere-aware that Fortune is more than simple luck. It's a way of knowing things you would not know otherwise, and a way in which one can see the future. It is implied that Fortune is a thing one can access and draw upon. Someone drawing upon Fortune can lead to events that appear to be coincidences.
Fortune and the [[Spiritual Realm\|Spiritual Realm]] are closely related. Future sight in the cosmere works through use of the Spiritual Realm. Fortune is one such way of accessing use of the Spiritual Realm, however individuals can see into the Spiritual Realm without using Fortune.
In general, future sight has been said to be dangerous in the cosmere, so Fortune would likely be as well. Any time someone sees the future, it will have ripples against someone else's ability to see the future.
Chromium can be used by a Feruchemist to store Fortune, but when used Hemalurgically, it doesn't steal Fortune, but destiny.
## Mentions
When the [[Ire\|Ire]] spotted an agent--who happened to be [[Kelsier\|Kelsier]]--[[Alonoe\|Alonoe]] thought the sighting was not a coincidence, but [[Elrao\|Elrao]], another member of the Ire, said the use of Fortune was not related to every coincidence.
[[Vivenna\|Vivenna]] said to [[Shallan\|Shallan]] that, during their trip into the [[Cognitive Realm\|Cognitive Realm]], [[Kaladin\|Kaladin]] had foreseen danger by Fortune. Shallan had been suspicious, as she was told by Hoid to trust no one who sees the future--even Hoid.
[[Odium\|Odium]] remarked to [[Taravangian\|Taravangian]] that the [[Diagram (literature)\|Diagram]] was impressive, considering he created it without access to Fortune, or the Spiritual Realm.
[[Venli\|Venli]] mentions the [[Rhythm\|Rhythm]] of Fortune in a context where a human might refer to luck, suggesting the [[Singer\|singers]] have some awareness of Fortune.
Three hundred and forty years after the Catacendre on [[Scadrial\|Scadrial]], the Terris were aware of Fortune. They knew a [[Chromium\|chromium]] [[Feruchemy\|Ferring]] (Spinner) could store Fortune. To most Terris, Fortune, as well as the other Spiritual metals of Feruchemy, were considered beyond understanding. These metals were under heavy experimentation by the Terris, but they did not fully understand their use at this time.
Hoid uses the same mechanics of chromium Feruchemy--Fortune--to know where he needs to go. However, his use of Fortune does not allow him to know why he needs to be in certain places.
## Trivia
Brandon had atium see the future so that he would foreshadow Fortune.
Brandon has said there is a "good reason" why he hasn't shown a character with Fortune yet, as he is saving that for later.
The [[Mistborn Adventure Game\|Mistborn Adventure Game's]] version of Fortune is not canonical, and Brandon had a different way for the mechanic to work.
https://coppermind.net/wiki/Fortune | 86.581395 | 598 | 0.76766 | eng_Latn | 0.999599 |
2c13626934b2352ec7f029cac73941aae9a26901 | 174 | md | Markdown | README.md | Jin0331/PIPR | a37476cf071d1f34bb9a433c5cc41f1a6621d2dc | [
"Apache-2.0"
] | null | null | null | README.md | Jin0331/PIPR | a37476cf071d1f34bb9a433c5cc41f1a6621d2dc | [
"Apache-2.0"
] | null | null | null | README.md | Jin0331/PIPR | a37476cf071d1f34bb9a433c5cc41f1a6621d2dc | [
"Apache-2.0"
] | null | null | null | # PIPR
```
<Prediction>
python src/prediction.py -b final_model/ -t baseline -d data/wmbio_set/Test_set/human_test_seq.tsv -p data/wmbio_set/Test_set/human_test_pair.tsv
``` | 29 | 145 | 0.775862 | kor_Hang | 0.12186 |
2c1422bcace8f7f06f44b5e826ad49376e85105f | 37 | md | Markdown | Data Sources/Merged_Files/README.md | venkatdurgempudi/rep-stocks-prediction | f27b31795455239bef5e0de4af2ebb979adbeb77 | [
"Unlicense"
] | null | null | null | Data Sources/Merged_Files/README.md | venkatdurgempudi/rep-stocks-prediction | f27b31795455239bef5e0de4af2ebb979adbeb77 | [
"Unlicense"
] | null | null | null | Data Sources/Merged_Files/README.md | venkatdurgempudi/rep-stocks-prediction | f27b31795455239bef5e0de4af2ebb979adbeb77 | [
"Unlicense"
] | null | null | null | # List of Files Merged using scripts
| 18.5 | 36 | 0.783784 | eng_Latn | 0.966692 |
2c15a422a7371ef53037e060b6d04ad2540238c9 | 1,946 | markdown | Markdown | _posts/2002-12-20-i-was-a-big-fan.markdown | bbrown/bbrown.github.com | 2ad46605848a1893ad36eebbe09ba64edfb1303b | [
"MIT"
] | 1 | 2018-11-12T18:04:18.000Z | 2018-11-12T18:04:18.000Z | _posts/2002-12-20-i-was-a-big-fan.markdown | bbrown/bbrown.github.com | 2ad46605848a1893ad36eebbe09ba64edfb1303b | [
"MIT"
] | null | null | null | _posts/2002-12-20-i-was-a-big-fan.markdown | bbrown/bbrown.github.com | 2ad46605848a1893ad36eebbe09ba64edfb1303b | [
"MIT"
] | null | null | null | ---
layout: post
title: I was a big fan
date: '2002-12-20 17:24:12 -0700'
mt_id: 45
blog_id: 1
post_id: 45
basename: i-was-a-big-fan
---
<br />I was a big fan of <a href="http://tlc.discovery.com/fansites/tradingspaces/tradingspaces.html">Trading Spaces</a> on <a href="http://tlc.discovery.com/">TLC</a> until I read <a href="http://www.plastic.com/article.html?sid=02/11/14/01080365">this story</a> on <a href="http://www.plastic.com/">Plastic</a>. There's also a <a href="http://www.metafilter.com/comments.mefi/18492">great discussion</a> at <a href="http://www.metafilter.com/">MetaFilter</a>. Now I'm just a fan.<br /><br />Suffice it to say, Trading Spaces is not all that it appears to be. It's spawned a <a href="http://www.sfgate.com/cgi-bin/article.cgi?file=/chronicle/archive/2002/02/27/HO169339.DTL" title="Ahh, the moss on the walls episode. I figured that that'd get litigious.">lawsuit</a> (<a href="http://www.televisionwithoutpity.com/story.cgi?show=87&story=3603&limit=&sort=">review of episode</a>), requires a <a href="http://www.bluearmadillo.net/journal/2001/06/22/index.shtml" title="Yeah, one carpenter and four home owners can do all that. Uh huh.">substantial crew</a>, has <a href="http://www.ew.com/ew/report/0,6115,218812~3~0~,00.html">made participants</a> <a href="http://www.wingfieldfans.org/douglas_wilson/article.asp?pubid=68">cry</a>, and other <a href="http://www.stltoday.com/stltoday/entertainment/columns.nsf/0/BB04BC61DB15538786256C620060954B?OpenDocument&highlight=2%2Ctrading%2Cspaces&Headline='Trading+Spaces/secrets'">big secrets</a>.<br /><br />Of course, there's a <a href="http://disc.server.com/discussion.cgi?id=185461&article=112">drinking game</a>.<br /><br />[UPDATE (7/25/03): I found a site that links to a lot of articles and Web sites about <cite>Trading Spaces</cite>: <a href="http://www.sirlinksalot.net/tradingspaces.html">Sir Linksalot</a>.<br /><br /><br />
| 176.909091 | 1,808 | 0.72816 | eng_Latn | 0.26398 |
2c1600d57aca7266960d97d6064ac15fea2fd267 | 531 | md | Markdown | pages/wgg/Periodes/1015.md | Utanapishti/utanapishti.github.io | b2ecf8e10414f2abdfbdba4d0338533c61a5d927 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | pages/wgg/Periodes/1015.md | Utanapishti/utanapishti.github.io | b2ecf8e10414f2abdfbdba4d0338533c61a5d927 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2021-05-20T02:11:08.000Z | 2022-02-26T04:57:44.000Z | pages/wgg/Periodes/1015.md | Utanapishti/utanapishti.github.io | b2ecf8e10414f2abdfbdba4d0338533c61a5d927 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | ---
title: "Primera Batalla de Faluya"
permalink: periodes_1015.html
layout: periode
dataInici: 2004-04-04
dataFi: 2004-05-01
sidebar: periodes
pares:
- id: 488
title: "Guerra de Irak"
dataInici: "(2003-03-20)"
dataFi: "(2011-12-18)"
fills:
jocsPrincipals:
- title: "Battle for Fallujah: April 2004"
bggId: 55039
dataInici:
dataFi:
jocsEscenaris:
jocsEpoca:
- title: "Fallujah, 2004: City Fighting in Iraq"
bggId: 175235
escenari: ""
dataInici:
dataFi:
jocsEpocaEscenaris:
---
| 17.129032 | 50 | 0.666667 | cat_Latn | 0.152788 |
2c1640e8342caabea3dbaac610c1a4a92dfda1b8 | 1,001 | md | Markdown | docs/sources/panels/visualizations/table-panel.md | DanielLyons178/grafana | 26964b383f5b9a623df9f043a955ec459673d1f2 | [
"Apache-2.0"
] | 2 | 2015-12-09T20:13:16.000Z | 2016-11-18T07:08:43.000Z | docs/sources/panels/visualizations/table-panel.md | DanielLyons178/grafana | 26964b383f5b9a623df9f043a955ec459673d1f2 | [
"Apache-2.0"
] | 1 | 2017-07-19T08:25:40.000Z | 2017-07-20T13:28:19.000Z | docs/sources/panels/visualizations/table-panel.md | DanielLyons178/grafana | 26964b383f5b9a623df9f043a955ec459673d1f2 | [
"Apache-2.0"
] | 1 | 2020-05-13T08:39:18.000Z | 2020-05-13T08:39:18.000Z | +++
title = "Table panel"
keywords = ["grafana", "dashboard", "documentation", "panels", "table panel"]
type = "docs"
aliases = ["/docs/grafana/latest/reference/table/", "/docs/grafana/latest/features/panels/table_panel/"]
[menu.docs]
name = "Table panel"
parent = "visualizations"
weight = 500
draft = "true"
+++
# Table panel
The table panel is very flexible, supporting multiple modes for time series and for
tables, annotation, and raw JSON data. This panel also provides date formatting, value formatting, and coloring options.
<img class="screenshot" src="/assets/img/features/table-panel.png">
To view table panels in action and test different configurations with sample data, check out the [Table Panel Showcase in the Grafana Playground](ADD LINK TEXT).
## Data and field options
Tables visualizations allow you to apply:
- Data transformations
- Field options
- Field option overrides
## Display options
- **Show header -** Show or hide column names imported from your data source..
| 31.28125 | 161 | 0.75025 | eng_Latn | 0.954786 |
2c1717ee2a6540774109d8a15bd75d70300d255d | 1,058 | md | Markdown | README.md | badouralix/rclone-lambda-layer | 003f4a320bd4264729a8f3771056611b75adcba8 | [
"MIT"
] | 6 | 2021-09-13T15:01:08.000Z | 2022-02-13T14:34:31.000Z | README.md | badouralix/rclone-lambda-layer | 003f4a320bd4264729a8f3771056611b75adcba8 | [
"MIT"
] | null | null | null | README.md | badouralix/rclone-lambda-layer | 003f4a320bd4264729a8f3771056611b75adcba8 | [
"MIT"
] | 1 | 2022-01-29T07:16:40.000Z | 2022-01-29T07:16:40.000Z | # Rclone Lambda Layer
[Rclone](https://github.com/rclone/rclone) is an rsync for cloud storage, including [S3](https://aws.amazon.com/s3), [GCS](https://cloud.google.com/storage), [pCloud](https://www.pcloud.com/eu) and so on.
This repository brings the power of rclone to aws lambda. It can be used along with [cron-based schedules](https://docs.aws.amazon.com/lambda/latest/dg/services-cloudwatchevents-expressions.html) for instance to synchronize multiple drives on a regular basis.
## Usage
Unfortunately no public layer is available. Fear no more, this one-liner automatically provisions one in your own account.
```bash
# Retrieve this code
git clone https://github.com/badouralix/rclone-lambda-layer.git
cd rclone-lambda-layer
# Create the actual lambda layer
make all
```

## License
Unless explicitly stated to the contrary, all contents licensed under the [MIT License](LICENSE).
| 42.32 | 259 | 0.776938 | eng_Latn | 0.813819 |
2c18a2a55e8a1bd59fc49baac9c43ff8ff399b7b | 1,632 | md | Markdown | CHANGELOG.md | nikolap/reframe-utils | 0ba2ab6302ef4ff35320a75f5342b496a265e567 | [
"MIT"
] | 18 | 2016-09-20T00:26:05.000Z | 2021-05-01T15:34:54.000Z | CHANGELOG.md | nikolap/reframe-utils | 0ba2ab6302ef4ff35320a75f5342b496a265e567 | [
"MIT"
] | 2 | 2017-04-26T00:06:50.000Z | 2018-03-02T00:16:32.000Z | CHANGELOG.md | nikolap/reframe-utils | 0ba2ab6302ef4ff35320a75f5342b496a265e567 | [
"MIT"
] | 2 | 2017-04-25T23:51:32.000Z | 2017-08-20T05:06:02.000Z | # Change Log
## 0.2.2 - 2019-11-01
### Changes
- Make `add-or-update-by-id-event` public
## 0.2.1-1 - 2018-05-04
### Added
- Error handler to each of the existing ajax request sugar functions
### Fixed
- Error-handler accidentally firing
## 0.2.1 - 2018-05-03
### Added
- Allow on-error and error-handler params to ajax requests
- Allow handler param to ajax requests (alias for on-success)
### Changed
- Handle fn or dispatcher for ajax requests
## 0.2.0 - 2018-?-?
### Added
- reg-ajax-delete-event
- Ability to alter on-success keys for ajax events, as well as manipulate DB with a DB fn
- sort-fn arg to reg-basic-sub (3-arity)
### Changed
- Bump all dependencies (breaking changes to cljs-ajax)
### Fixed
- Nested get for subscriptions not working
## 0.1.4 - 2016-07-07
### Added
- reg-sub-by-id
## 0.1.3 - 2016-11-03
### Fixed
- Data not returning following error being thrown
## 0.1.2 - 2016-11-01
### Added
- reg-update-by-id-event
- reg-add-or-update-by-id-event
- reg-ajax-post-event
- reg-ajax-put-event
### Changed
- Allow for reframe-utils/http effect to take a variable number of parameters for any custom parameters passed to the ajax.core requests
- Bump clojurescript to 1.9.293
## 0.1.1 - 2016-09-21
### Added
- Prototype reg-ajax-get-event
### Changed
- Bump clojurescript to 1.9.229
- Add docstrings
## 0.1.0 - 2016-09-06
### Added
- reg-basic-sub
- reg-set-event
- reg-add-event
- reg-update-event
- reg-remove-event
- multi-generation
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/). | 24 | 161 | 0.708333 | eng_Latn | 0.933565 |
2c1909d582ff569acc5fb2b3b4e0b71d12101224 | 1,250 | md | Markdown | README.md | awesome-archive/ZEN | 145fb8f7cc6587f6bc9f195324830886f6e09a40 | [
"Apache-2.0"
] | null | null | null | README.md | awesome-archive/ZEN | 145fb8f7cc6587f6bc9f195324830886f6e09a40 | [
"Apache-2.0"
] | null | null | null | README.md | awesome-archive/ZEN | 145fb8f7cc6587f6bc9f195324830886f6e09a40 | [
"Apache-2.0"
] | null | null | null | # ZEN
ZEN is a BERT-based Chinese **(Z)** text encoder **E**nhanced by **N**-gram representations, where different combinations of characters are considered during training. The potential word or phrase boundaries are explicitly pre-trained and fine-tuned with the character encoder (BERT), so that ZEN incorporates the comprehensive information of both the character sequence and words or phrases it contains. The structure of ZEN is illustrated in the figure below.

## Quick tour of pre-training and fine-tune using ZEN
The library comprises several example scripts for conducting [**Chinese NLP tasks**](/datasets):
- `run_pre_train.py`: an example pre-training ZEN
- `run_sequence_level_classification.py`: an example fine-tuning ZEN on DC, SA, SPM and NLI tasks (*sequence-level classification*)
- `run_token_level_classification.py`: an example fine-tuning ZEN on CWS, POS and NER tasks (*token-level classification*)
[**Examples**](/examples) of pre-training and fine-tune using ZEN.
## Contact information
For help or issues using ZEN, please submit a GitHub issue.
For personal communication related to ZEN, please contact chenguimin(`[email protected]`).
| 43.103448 | 461 | 0.776 | eng_Latn | 0.991768 |
2c1a4196d803fdaac8d8bdc14c09c3ff6d92f21a | 6,771 | md | Markdown | _posts/2019-08-01-Download-second-chance-jane-green.md | Bunki-booki/29 | 7d0fb40669bcc2bafd132f0991662dfa9e70545d | [
"MIT"
] | null | null | null | _posts/2019-08-01-Download-second-chance-jane-green.md | Bunki-booki/29 | 7d0fb40669bcc2bafd132f0991662dfa9e70545d | [
"MIT"
] | null | null | null | _posts/2019-08-01-Download-second-chance-jane-green.md | Bunki-booki/29 | 7d0fb40669bcc2bafd132f0991662dfa9e70545d | [
"MIT"
] | null | null | null | ---
layout: post
comments: true
categories: Other
---
## Download Second chance jane green book
Lights blazed. When some glowing coals are laid in such ashes they retain there, laid it in his basket. concern and chase him out of the house. 22_n_; ii. STORY OF THE MAN WHOSE CAUTION WAS THE CAUSE OF HIS DEATH. ] soon smack him as look at him. King Kisra Anoushirwan and the Village Damsel ccclxxxix "God gave me a wonderful second chance jane green. Jay stared at his feet while Colman wrestled inwardly for something to say. Then she sought second chance jane green of El Abbas and returning to her mistress Mariyeh, whereupon some of the second chance jane green stepped down onto the approaching branch of another "Right, and he stood there watching me!" when he napped in the armchair. and 74 deg. He lost his balance and toppled over. But it's very risky. " "It's my house. "Weak as women's magic, I don't recognize the variety. Because this kind of fictional fact, i, he discovered a shiny quarter pressed into the half-melted cheese, tiny dogs riding the backs of big dogs as those mounts raced and leaped through Breath held. "I want to be called Wally. The Doorkeeper nodded once, past the old shaft and the new one. One animal Since the name of the person is the person, for it was with me that thou depositedst it, any more than my saying 119, and in the end it was agreed: Clearance would be given for the civilians and a token military unit to begin moving down to Franklin, the wings of pure elation. Such works exist but in order not to miss them, as may easily be seen if we calls those murders her 'little mercies, she came forward and said to him, though strictly for her own fortification. " was the color of tarnished copper, you've done a good deed. He was happy to oblige. 43 Admiralty peninsula Mack sailed again, twelve feet didn't appear, delicate ear and rubbing her topknot, vanishing among the layered boughs: a reliable prediction that the storm would soon break. always danger. Tom Arder. would evidently be sufficient to unite the two worlds with each He rolled his head back and forth on the pillow. And still. She grieved as much over their loss of Wally as over his loss of them, and now he was required to pretend to be "Was she lucky at second chance jane green To give you an idea of the creativity of this young man, one-half. He thought he was awkward second chance jane green it because he had no practice. 'Nay, she would thank God for has, the sentinel silence remained travel agency -- a revelation? PALGRAVE. By the time Agnes opened the driver's door and slumped behind the steering She placed her right hand on his shoulder. I touch her arm as she walks past my console. He rattles it up and down, one thing he was certain of was that the engineering and structural modifications that he had observed on second chance jane green outside of the Kuan-yin had not been made by irresponsible, m, wheresoever I may be. The low sun second chance jane green still bright on the fields and the roofs of the Great House, commune with nature. " "It's my house. And Jerry said that she has. that one of them even showed a disposition to retaliate by keeping All these and various other similar accounts second chance jane green north-east, effort and release, "and then at once followed by a second. If we take Siberia in its widest sense, no, jumping in a meter away, he kept the shipwrights busy, he accosted a man who sold roast meat and who was clean [of person], I mean?" They'd repopulate their herds that way. Extraordinary, and the king said. The Summoner's art is perhaps the most arcane and dangerous of all the arts of magic. She gave him her second chance jane green (_Lepus borealis_, in the temple at Ratnapoora. SUVs that are probably even now descending the valley wall. On the 2nd "That's a good honest answer! Moreover, "and then at once followed by a second, second chance jane green a trace of pink, he realizes that personal grooming is Smith's hair got whiter and thinner, which might be mistakenly perceived as racial Insects, and each different way of happening makes a whole new place, facing the woods. his mother, he'll welcome it, putting an end to the rain rather than initiating it, but we represented a different truth. At second chance jane green later period, because life would not be worth living second chance jane green, he saw Vanadium on the down escalator, deliberate movement while he brought his feelings under control, they slow to a stop at a could second chance jane green be got off, thou wouldst see him the like of what I see thee. Glacier-clefts. When Herdebol, "Daddy "Just for the afternoon, on into the long valley where Otter had taken Licky the first day he was there. He directed the conversation first to the possible dangers of excessive sunbathing, she would surely be filled with second chance jane green, she and her sister Dinarzad? ) by its larger size, seemed to think going to Gateside was more trouble than she was worth! eight birds, but you did good work anyway. First when he had finished another began. "It all amounts to the same thing, over and over. All my business. 1 0. Colman raised his eyebrows. business is always looking for someone young, but hysteric whose mother would be embarrassed to see how easily he spooks. With Naomi, you'd still be nowhere, and this man was alone and knew not the perils that beset his way, staring. Our herd's been all right," and she made the sign to avert evil. "What, taking such advice from someone who respected you and cared stairs, 276; In the Hall of the Martian Kings "That you are not wise, the wineglass had shattered. It was as barren as anything that A quick review of these book spines revealed that the treasured Zedd collection wasn't here. If thou wert denied this draught, of Replacement or Second chance jane green described in paragraph 1, and an unseasonable warmth confirmed the coming catastrophe, if at all, "Woman of second chance jane green Year," Cass says, not an accident, livid streamers of orange and scarlet radiated second chance jane green across the surface of the poly while the shape narrowed and trembled, hands behind his head, too, but you Although this seemed to have nothing to do with dead girls and penguins. That's how they're fighting the war. Considering his medical history, KROeYER, i, nightingale and mocking-bird and ringdove and curlew (204) and other than these of all the kinds, strings of Christmas lights painted patterns of color at the [Illustration: SAMOYEDS, he fussily avoided the blood and stepped around Victoria to she was inclined to suspect that they were conspiring against her? " The word Ansaphone was imprinted on the black plastic casing of the machine. | 752.333333 | 6,673 | 0.789987 | eng_Latn | 0.99995 |
2c1a6e29c95b14b3eacc0cce68cd2a152b3bedab | 25 | md | Markdown | README.md | carlosbwebdev/gatsby-starter-template | fac48615ba6abda8ceb0e594d52cfc1f8ddec7b9 | [
"MIT"
] | null | null | null | README.md | carlosbwebdev/gatsby-starter-template | fac48615ba6abda8ceb0e594d52cfc1f8ddec7b9 | [
"MIT"
] | null | null | null | README.md | carlosbwebdev/gatsby-starter-template | fac48615ba6abda8ceb0e594d52cfc1f8ddec7b9 | [
"MIT"
] | null | null | null | #Gatsby Starter Template
| 12.5 | 24 | 0.84 | yue_Hant | 0.881144 |
808bc50e1d4c991b09cc9a8b040fe481adc7ea9b | 697 | md | Markdown | _posts/2015-8-15-luck.md | dreamcartel/dreamcartel.github.io | f867b48f3a37dff1999f351dabda5fa6faea707b | [
"MIT"
] | 1 | 2019-02-28T05:14:11.000Z | 2019-02-28T05:14:11.000Z | _posts/2015-8-15-luck.md | dreamcartel/dreamcartel.github.io | f867b48f3a37dff1999f351dabda5fa6faea707b | [
"MIT"
] | null | null | null | _posts/2015-8-15-luck.md | dreamcartel/dreamcartel.github.io | f867b48f3a37dff1999f351dabda5fa6faea707b | [
"MIT"
] | null | null | null | ---
layout: post
title: LUCK
---

I have always believed in luck, but only because I know the power of belief. Luck is often perceived as this volatile and otherworldly force that comes and goes as it pleases. However in most cases, what people refer to as luck is merely the manifestation of opportunity derived from skills they themselves do not fully understand. Luck is simple and predictable, and like any other skill, you create it. Always plan on being lucky, but work as if luck wasn't in the plan. Take more chances, be more active, show up more often, and luck is yours for the taking.
> 52 of 52
[Instagram Link](https://www.instagram.com/p/6aybanxMoc/)
| 53.615385 | 561 | 0.766141 | eng_Latn | 0.999718 |
808be4b30e3e0b226a46f59777bbe7b95b10f406 | 194 | md | Markdown | README.md | alex-d-bondarev/java-linear-regression | 5d78fcf5aae650b850b95b835d05bb535b2d0669 | [
"MIT"
] | null | null | null | README.md | alex-d-bondarev/java-linear-regression | 5d78fcf5aae650b850b95b835d05bb535b2d0669 | [
"MIT"
] | null | null | null | README.md | alex-d-bondarev/java-linear-regression | 5d78fcf5aae650b850b95b835d05bb535b2d0669 | [
"MIT"
] | null | null | null | java-linear-regression
======================
Implement a simple linear regression in Java
See usage example in [GradientDescentTest](./src/test/java/org/practice/app/GradientDescentTest.java) | 32.333333 | 101 | 0.731959 | oci_Latn | 0.266832 |
808d0b311ac7bfa5ab7881ab06ca20925b783bda | 37 | md | Markdown | README.md | Jarno-de-Wit/PygButtons | c956514a00146bf98e8efee64fb9c2f4aee2722d | [
"MIT"
] | null | null | null | README.md | Jarno-de-Wit/PygButtons | c956514a00146bf98e8efee64fb9c2f4aee2722d | [
"MIT"
] | null | null | null | README.md | Jarno-de-Wit/PygButtons | c956514a00146bf98e8efee64fb9c2f4aee2722d | [
"MIT"
] | null | null | null | # PygButtons
Adds Buttons for Pygame
| 12.333333 | 23 | 0.810811 | eng_Latn | 0.744741 |
808d1f4492f4c9ac43a08eef8cbc4fb5e1d062a9 | 359 | md | Markdown | README.md | c4spar/deno-shell | ac4fb38a3e0af85bd2c0ce288ba532b1fddead15 | [
"MIT"
] | 1 | 2022-03-22T17:27:40.000Z | 2022-03-22T17:27:40.000Z | README.md | c4spar/deno-shell | ac4fb38a3e0af85bd2c0ce288ba532b1fddead15 | [
"MIT"
] | null | null | null | README.md | c4spar/deno-shell | ac4fb38a3e0af85bd2c0ce288ba532b1fddead15 | [
"MIT"
] | null | null | null | # deno-shell
Deno bindings for [deno_task_shell](https://crates.io/crates/deno_task_shell).
Execute deno shell commands in deno.
```ts
import { exec, execSync } from "./mod.ts";
// Execute task asynchronous.
await exec("pwd");
// Execute task synchronous.
execSync("pwd");
// Execute task with specified cwd.
await exec("pwd", { cwd: "examples" });
```
| 18.894737 | 78 | 0.696379 | eng_Latn | 0.641719 |
808d5abd5f74528b3700900fb4d2e4f4210e3509 | 5,969 | md | Markdown | README.md | AlexSimAlgos/BioInformaticsFun | bab8d4e6cfab20be85bc93061b10ba7a411d57d8 | [
"MIT"
] | 1 | 2021-04-09T19:48:30.000Z | 2021-04-09T19:48:30.000Z | README.md | AlexSimAlgos/BioInformaticsFun | bab8d4e6cfab20be85bc93061b10ba7a411d57d8 | [
"MIT"
] | null | null | null | README.md | AlexSimAlgos/BioInformaticsFun | bab8d4e6cfab20be85bc93061b10ba7a411d57d8 | [
"MIT"
] | null | null | null | # Automated Bisulfite Analysis
## Overview
A simple automated bisulfite analysis Python script to determine the methylation status of CpG sites (Predicted by MethPrimer) given sequences of control samples (.fasta files) and sequences of perturbed samples (also .fasta files). Read below for very brief background information, usage instructions and an example output.
In brief, it allows the automated analysis of the extent of methylation of cells after being exposed to a perturbation (e.g. cigarette smoke).
Can be run from terminal in Mac OS.
An example of visualisation of the data with powerpoint is provided as `example_visualisation_with_powerpoint.png`
## Background
### Epigenetics
Epigenetics is the reversible modification of DNA to change the amount of transcription and, hence, translation of various proteins in organisms.
Gene expression in the transcription stage can be modified in the following ways:
1. DNA Methylation
3. Histone Modification
4. Non-coding DNA
This script focuses on the analysis of the extent of DNA methylation in promoter sequences. Methylation of the promoter sequence inhibits transcription factors from binding to the DNA and represses transcriptional activity
https://www.cdc.gov/genomics/disease/epigenetics.htm
### Bisulfite Sequencing
Treatment of DNA with bisulfite converts cytosine residues to uracil but leaves methylated cytosines unaffected. After direct sequencing, unmethylated cytosines are displayed in the sense strand as thymine residues. These are called CpG islands. This script compares the original sequence found in MethPrimer with control sequences and perturbed sequences.
In my experiment, RNA was extracted from control and perturbed samples, converted into cDNA, treated with bisulfite and then ligated into a TOPO vector (ThermoFisher) and subsequently E. Coli. These were grown on an agar plate containing X-gal and successfully transformed bacterial colonies were observed as white colonies instead of blue colonies. These successfully transformed bacterial colonies were picked by a pipette and sequenced.
https://en.wikipedia.org/wiki/Bisulfite_sequencing
### MethPrimer
MethPrimer is a program for designing bisulfite-conversion-based Methylation PCR Primers. Currently, it can design primers for two types of bisulfite PCR: 1) Methylation-Specific PCR (MSP) and 2) Bisulfite-Sequencing PCR (BSP) or Bisulfite-Restriction PCR. MethPrimer can also predict CpG islands in DNA sequences.
https://www.urogene.org/methprimer/
Relevant functionalities of MethPrimer are designing primers for bisulfite-sequencing PCR and prediction of CpG islands.
## Quick Start
### Dependencies
Ensure you have the following libraries installed:<br/>
`$ pip install biopython`<br/>
https://biopython.org/wiki/Download<br/>
`$ pip install pandas`<br/>
https://pypi.org/project/pandas/<br/>
`$ pip install plotly-express`<br/>
https://pypi.org/project/plotly-express/<br/>
### Preparing the files and understanding your data
Assuming you've already conducted bisulfite PCR and have the sequences of your control and perturbation samples perform the following steps:
1. Identify the sequence you're analysing with MethPrimer and index (0 indexed) all the CG segments between your forward and reverse primers (Indicated by GC in the original stand on top)
2. Identify false CpG sites (GC sequences that MethPrimer does not recognise as a CpG site, predicted CpG sites are indicated by a "++" between the top and bottom strand), note their index and modify the `bisulfite_analysis.py` as stated in the "user config" section
3. MethyPrimer displays 2 strands (the strand on top is the original sequence and the strand at the bottom is the bisulfite treated sequence). Visually identify a sequence that is unaffected by bisulfite sequencing after your forward primer and just before the first CpG island. Find another short sequence after your last CpG island and before your reverse primer. Enter these in the .py file as the variables "before_first_cpg" and "after_last_cpg" respectively. This allows the program to zoom in on the area of DNA with CpG sites.
4. Change the total number of CpG sites (according to MethPrimer) in `bisulfite_analysis.py`
5. Change the number of control and perturbed samples you have in `bisulfite_analysis.py`
6. Place all your .fasta files of your control sequences into the `control_samples` folder
7. Place all your .fasta files of your perturbed sequences into the `perturbed_samples` folder
### Running the program from terminal
1. Prepare your sequences and modify variables in the `bisulfite_analysis.py` file as shown above
2. Navigate to the the folder you placed `bisulfite_analysis.py`, `control_samples` and `perturbed_samples` with<br/>
`$ cd path/to/bisulfite_analysis/`
3. Run the program with<br/>
`$ python bisulfite_analysis.py`
4. For a graph of the statistics, uncomment the last block of code in the `PRINT_OUTPUT()` function in the `bisulfite_analysis.py` file
## Example Output
### Based in example input files provided
Columns are
1. Sample name (from file name)
2. Methylation status of each CpG site, methylated sites are indicated by an "O", unmethylated sites are indicated by a "_"
3. Number of sites methylated in the sequence
Control Group Methylation:<br/>
A07 : __________O ; 1<br/>
A08 : __________O ; 1<br/>
B07 : _________OO ; 2<br/>
C07 : __________O ; 1<br/>
D07 : O_________O ; 2<br/>
E07 : __________O ; 1<br/>
F07 : ___O______O ; 2<br/>
G07 : __________O ; 1<br/>
H07 : _O________O ; 2<br/>
Perturbed Group Methylation:<br/>
A12 : ______OO__O ; 3<br/>
B12 : ______OOO_O ; 4<br/>
C12 : ______O_O_O ; 3<br/>
D12 : ______OO__O ; 3<br/>
E12 : _______OO_O ; 3<br/>
Statistics:<br/>
Control Methylation Percentage: 13.131313131313133 %<br/>
Perturbed Methylation Percentage: 29.09090909090909 %<br/>
Optional bar graph of statistics can be produced by uncommenting the relevant code in the .py file.
| 61.536082 | 534 | 0.788742 | eng_Latn | 0.992903 |
808dc278effb783591c9cccceeda3dd741782146 | 424 | md | Markdown | _posts/2021-04-24-R_01_annotation_skills.md | AuthurWhywait/authurwhywait.github.io | bcdad4b95aebc94112448788a15a78984deeb744 | [
"MIT"
] | 2 | 2020-10-26T09:51:21.000Z | 2020-10-26T09:51:41.000Z | _posts/2021-04-24-R_01_annotation_skills.md | AuthurWhywait/authurwhywait.github.io | bcdad4b95aebc94112448788a15a78984deeb744 | [
"MIT"
] | 2 | 2021-04-22T10:58:45.000Z | 2022-02-21T08:35:05.000Z | _posts/2021-04-24-R_01_annotation_skills.md | AuthurWhywait/authurwhywait.github.io | bcdad4b95aebc94112448788a15a78984deeb744 | [
"MIT"
] | 1 | 2022-02-14T16:02:33.000Z | 2022-02-14T16:02:33.000Z | ---
layout: post
title: "R(1), Skills of Annotation"
description: "Annotation, R"
categories: [R]
tags: [R, Skills]
redirect_from:
- /2021/04/24/
---
one line
```R
# It's only a test.
```
## Skills
multi-line comments: the comments should be put inside either a single OR double quote.
```R
if(FALSE){
"This is a demo for multi-line comments and
they should be put inside either a single OR double quote."
}
```
| 15.703704 | 87 | 0.674528 | eng_Latn | 0.974382 |
808e2edaaaad17a87bd63dc8f7c802e6e6a622f8 | 49 | md | Markdown | mingru/READMD.md | mgenware/mingru-examples | e14fa36b0464c735be82d22189dd2e8e0062c02f | [
"MIT"
] | null | null | null | mingru/READMD.md | mgenware/mingru-examples | e14fa36b0464c735be82d22189dd2e8e0062c02f | [
"MIT"
] | 4 | 2021-12-25T15:58:02.000Z | 2021-12-25T15:58:03.000Z | mingru/READMD.md | mgenware/mingru-examples | e14fa36b0464c735be82d22189dd2e8e0062c02f | [
"MIT"
] | null | null | null | To rebuild the project:
```sh
npm run build
```
| 8.166667 | 23 | 0.653061 | eng_Latn | 0.991606 |
808e5ad42aca5372eb5641a29313351b734e101d | 2,558 | md | Markdown | content/post/2014-11-05-how-do-i-contribute-mactech-2014-presentation-links.md | timsutton/macops.ca | 52a3f2b47143e4b173c4fdc832faee23376907bb | [
"MIT"
] | 5 | 2016-08-24T22:44:53.000Z | 2022-02-16T12:40:41.000Z | content/post/2014-11-05-how-do-i-contribute-mactech-2014-presentation-links.md | timsutton/macops.ca | 52a3f2b47143e4b173c4fdc832faee23376907bb | [
"MIT"
] | 5 | 2016-06-16T22:39:30.000Z | 2021-09-27T21:35:19.000Z | content/post/2014-11-05-how-do-i-contribute-mactech-2014-presentation-links.md | timsutton/macops.ca | 52a3f2b47143e4b173c4fdc832faee23376907bb | [
"MIT"
] | 4 | 2016-06-16T21:50:36.000Z | 2020-04-13T03:37:20.000Z | ---
comments: false
date: 2014-11-05T22:20:44Z
slug: how-do-i-contribute-mactech-2014-presentation-links
tags:
- Conference sessions
title: How Do I Contribute? MacTech 2014 presentation links
wordpress_id: 775
---
For everyone at the MacTech Conference in Los Angeles this year, here are links to various resources that are linked and referred to in my talk today on Git and source code collaboration.
<!-- TODO: add link to slides -->
Source Control Management:
* [Git](http://git-scm.com)
* [Mercurial](http://mercurial.selenic.com)
Learning resources:
* [Pro Git 2nd edition](http://git-scm.com/book/en/v2)
* [Try Git](https://try.github.io)
* [StackOverflow](http://stackoverflow.com/questions/tagged/git)
* [Explain Git with D3](http://onlywei.github.io/explain-git-with-d3/)
GUI Applications:
* [SourceTree](https://www.atlassian.com/software/sourcetree) (Atlassian)
* [Tower](http://www.git-tower.com) (fournova)
* [GitHub for Mac](https://mac.github.com) (GitHub)
* [GitX-dev by rowanj](http://rowanj.github.io/gitx)
GitHub:
* [Writing on GitHub](https://help.github.com/articles/writing-on-github/)
* [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown/)
* [GitHub help on checking out pull requests locally](https://help.github.com/articles/checking-out-pull-requests-locally)
* [Managing Pull Requests from Pro Git, 2nd edition](http://git-scm.com/book/en/v2/GitHub-Maintaining-a-Project#Managing-Pull-Requests)
* [Fetching GitHub pull requests by Ned Batchelder](http://nedbatchelder.com/blog/201407/fetching_github_pull_requests.html)
* [GitHub's File Finder mode](https://github.com/blog/793-introducing-the-file-finder)
Git tricks:
* [Moving commits from a master branch to a new topic branch](http://stackoverflow.com/questions/1628563/move-the-most-recent-commits-to-a-new-branch-with-git)
* [Git aware prompt for Bash](https://github.com/jimeh/git-aware-prompt)
* [Oh-My-Zsh](http://ohmyz.sh), [Plugins Overview](https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins-Overview)
Editor tools:
* GitGutter for [Sublime Text](https://github.com/jisaacks/GitGutter), [Atom](https://github.com/atom/git-diff) editors
* [Shellcheck](http://www.shellcheck.net/about.html) linter, Sublime Text [package](https://sublime.wbond.net/packages/SublimeLinter-shellcheck)
Miscellaneous:
* [munki-conditions pull request #1](https://github.com/timsutton/munki-conditions/pull/1)
* [Rubber-duck debugging](http://en.wikipedia.org/wiki/Rubber_duck_debugging)
| 43.355932 | 187 | 0.743941 | yue_Hant | 0.251918 |
808f8684ba36fea6d0704b59249534285a6de4a8 | 1,672 | md | Markdown | _posts/2018-02-02-new-paper.md | mark-hurlstone/mark-hurlstone.github.io | 9cf0e3cf3fb06ab438b1bef06ec3f135e1c5d4ed | [
"MIT"
] | null | null | null | _posts/2018-02-02-new-paper.md | mark-hurlstone/mark-hurlstone.github.io | 9cf0e3cf3fb06ab438b1bef06ec3f135e1c5d4ed | [
"MIT"
] | null | null | null | _posts/2018-02-02-new-paper.md | mark-hurlstone/mark-hurlstone.github.io | 9cf0e3cf3fb06ab438b1bef06ec3f135e1c5d4ed | [
"MIT"
] | null | null | null | ---
layout: post
title: New paper in JEP:LMC
excerpt_separator: <!--more-->
---
My latest paper with Graham Hitch "How Is the serial order of a visual vequence represented? Insights from transposition latencies" has just been published in *Journal of Experimental Psychology: Learning, Memory, & Cognition*. The abstract for the paper is below:
> How is the serial order of a spatial sequence represented in short-term memory? Previous research by Farrell and Lewandowsky (Farrell & Lewandowsky, 2004; Lewandowsky & Farrell, 2008) has shown that five alternative mechanisms for the representation of serial order can be distinguished on the basis of their predictions concerning the response times accompanying transposition errors. We report three experiments involving the output-timed serial recall of sequences of seen spatial locations that tested these predictions. The results of all three revealed that transposition latencies are a negative function of transposition displacement, but with a reduction in the slope of the function for postponement, compared to anticipation errors. This empirical pattern is consistent with that observed in serial recall of verbal sequences reported by Farrell and Lewandowsky (2004) and with the predictions of a competitive queuing mechanism within which serial order is represented via a primacy gradient of activations over items combined with associations between items and positional markers, and with suppression of items following recall. The results provide the first clear evidence that spatial and verbal short-term memory rely on some common mechanisms and principles for the representation of serial order.
| 104.5 | 1,317 | 0.819976 | eng_Latn | 0.999262 |
80906a78e38d91a6225c0b96bb23ecad1dd973d9 | 474 | md | Markdown | How to clear the local DNS cache in OSX, Windows and Linux.md | sonyarianto/sony-ak-knowledge-center | 14529515bc5346858b14ad04fb679c2039cc95f7 | [
"CC0-1.0"
] | 4 | 2016-03-31T15:12:26.000Z | 2019-08-07T06:59:14.000Z | How to clear the local DNS cache in OSX, Windows and Linux.md | sonyarianto/sony-ak-knowledge-center | 14529515bc5346858b14ad04fb679c2039cc95f7 | [
"CC0-1.0"
] | null | null | null | How to clear the local DNS cache in OSX, Windows and Linux.md | sonyarianto/sony-ak-knowledge-center | 14529515bc5346858b14ad04fb679c2039cc95f7 | [
"CC0-1.0"
] | 5 | 2017-07-04T13:23:30.000Z | 2019-08-20T01:44:19.000Z | **OSX 10.11.0**
~~~
sudo killall -HUP mDNSResponder
~~~
**OSX 10.10.4**
~~~
sudo killall -HUP mDNSResponder
~~~
**OSX 10.10.0 - 10.10.3**
~~~
sudo discoveryutil mdnsflushcache
~~~
**OSX 10.9 - 10.8 – 10.7**
~~~
sudo killall -HUP mDNSResponder
~~~
**OSX 10.5 - 10.6**
~~~
sudo dscacheutil -flushcache
~~~
**Windows**
~~~
ipconfig /flushdns
~~~
**Linux (depending on what you’re running)**
~~~
/etc/init.d/named restart
~~~
or
~~~
/etc/init.d/nscd restart
~~~
| 9.875 | 44 | 0.597046 | kor_Hang | 0.219415 |
80918843d9bd847739fcd35621c67fee8234e50d | 354 | md | Markdown | README.md | Cyber-Duck/hive-php-fpm | 24b639f16bb20104073b19b6c15cf02ac8ae42c3 | [
"MIT"
] | null | null | null | README.md | Cyber-Duck/hive-php-fpm | 24b639f16bb20104073b19b6c15cf02ac8ae42c3 | [
"MIT"
] | null | null | null | README.md | Cyber-Duck/hive-php-fpm | 24b639f16bb20104073b19b6c15cf02ac8ae42c3 | [
"MIT"
] | null | null | null | # PHP-FPM Base Docker Image with PDFNetPHP support
`cyberduck/php-fpm-pdfnet` docker image.
Available on Docker Hub: [cyberduck/php-fpm-pdfnet](https://hub.docker.com/r/cyberduck/php-fpm-pdfnet)
PHP 5.6 support including PDFNetPHP for PDFTron PHP extension.
See [Cyber-Duck/pdfnet-php](https://github.com/Cyber-Duck/pdfnet-php) for more information.
| 35.4 | 102 | 0.779661 | yue_Hant | 0.625484 |
8091f1456297ac7305704c00d34d6d4855fd78e4 | 10,433 | md | Markdown | docs/plugins.md | opencollective/xmake | e6f6d43feb29a7c87a70bc8cbfdb0670809a65d8 | [
"Apache-2.0"
] | 1 | 2019-06-12T17:44:47.000Z | 2019-06-12T17:44:47.000Z | docs/plugins.md | opencollective/xmake | e6f6d43feb29a7c87a70bc8cbfdb0670809a65d8 | [
"Apache-2.0"
] | null | null | null | docs/plugins.md | opencollective/xmake | e6f6d43feb29a7c87a70bc8cbfdb0670809a65d8 | [
"Apache-2.0"
] | 1 | 2019-01-16T08:07:56.000Z | 2019-01-16T08:07:56.000Z | ---
search: en
---
## Plugin Development
#### Introduction
XMake supports the plugin module and we can develop ourself plugin module conveniently.
We can run command `xmake -h` to look over some builtin plugins of xmake
```
Plugins:
l, lua Run the lua script.
m, macro Run the given macro.
doxygen Generate the doxygen document.
hello Hello xmake!
project Create the project file.
```
* lua: Run a given lua script.
* macro: Record and playback some xmake commands repeatly.
* doxygen:Generate doxygen document automatically.
* hello: The demo plugin and only print: 'hello xmake!'
* project:Generate project file for IDE, only generate makefile now and will generate vs, xcode project in the future
#### Quick Start
Now we write a simple plugin demo for printing 'hello xmake!'
```lua
-- define a plugin task
task("hello")
-- set the category for showing it in plugin category menu (optional)
set_category("plugin")
-- the main entry of the plugin
on_run(function ()
-- print 'hello xmake!'
print("hello xmake!")
end)
-- set the menu options, but we put empty options now.
set_menu {
-- usage
usage = "xmake hello [options]"
-- description
, description = "Hello xmake!"
-- options
, options = {}
}
```
The file tree of this plugin:
```
hello
- xmake.lua
```
Now one of the most simple plugin finished, how was it to be xmake detected it, there are three ways:
1. Put this plugin directory into xmake/plugins the source codes as the builtin plugin.
2. Put this plugin directory into ~/.xmake/plugins as the global user plugin.
3. Put this plugin directory to anywhere and call `add_plugindirs("./hello")` in xmake.lua as the local project plugin.
#### Run Plugin
Next we run this plugin
```bash
xmake hello
```
The results is
```
hello xmake!
```
Finally, we can also run this plugin in the custom scripts of `xmake.lua`
```lua
target("demo")
-- run this plugin after building target
after_build(function (target)
-- import task module
import("core.project.task")
-- run the plugin task
task.run("hello")
end)
```
## Builtin Plugins
#### Macros Recording and Playback
##### Introduction
We can record and playback our xmake commands and save as macro quickly using this plugin.
And we can run this macro to simplify our jobs repeatly.
##### Record Commands
```bash
# begin to record commands
$ xmake macro --begin
# run some xmake commands
$ xmake f -p android --ndk=/xxx/ndk -a armv7-a
$ xmake p
$ xmake f -p mingw --sdk=/mingwsdk
$ xmake p
$ xmake f -p linux --sdk=/toolsdk --toolchains=/xxxx/bin
$ xmake p
$ xmake f -p iphoneos -a armv7
$ xmake p
$ xmake f -p iphoneos -a arm64
$ xmake p
$ xmake f -p iphoneos -a armv7s
$ xmake p
$ xmake f -p iphoneos -a i386
$ xmake p
$ xmake f -p iphoneos -a x86_64
$ xmake p
# stop to record and save as anonymous macro
xmake macro --end
```
##### Playback Macro
```bash
# playback the previous anonymous macro
$ xmake macro .
```
##### Named Macro
```bash
$ xmake macro --begin
$ ...
$ xmake macro --end macroname
$ xmake macro macroname
```
##### Import and Export Macro
Import the given macro file or directory.
```bash
$ xmake macro --import=/xxx/macro.lua macroname
$ xmake macro --import=/xxx/macrodir
```
Export the given macro to file or directory.
```bash
$ xmake macro --export=/xxx/macro.lua macroname
$ xmake macro --export=/xxx/macrodir
```
##### List and Show Macro
List all builtin macros.
```bash
$ xmake macro --list
```
Show the given macro script content.
```bash
$ xmake macro --show macroname
```
##### Custom Macro Script
Create and write a `macro.lua` script first.
```lua
function main()
os.exec("xmake f -p android --ndk=/xxx/ndk -a armv7-a")
os.exec("xmake p")
os.exec("xmake f -p mingw --sdk=/mingwsdk")
os.exec("xmake p")
os.exec("xmake f -p linux --sdk=/toolsdk --toolchains=/xxxx/bin")
os.exec("xmake p")
os.exec("xmake f -p iphoneos -a armv7")
os.exec("xmake p")
os.exec("xmake f -p iphoneos -a arm64")
os.exec("xmake p")
os.exec("xmake f -p iphoneos -a armv7s")
os.exec("xmake p")
os.exec("xmake f -p iphoneos -a i386")
os.exec("xmake p")
os.exec("xmake f -p iphoneos -a x86_64")
os.exec("xmake p")
end
```
Import this macro script to xmake.
```bash
$ xmake macro --import=/xxx/macro.lua [macroname]
```
Playback this macro script.
```bash
$ xmake macro [.|macroname]
```
##### Builtin Macros
XMake supports some builtins macros to simplify our jobs.
For example, we use `package` macro to package all architectures of the iphoneos platform just for once.
```bash
$ xmake macro package -p iphoneos
```
##### Advance Macro Script
Let's see the `package` macro script:
```lua
-- imports
import("core.base.option")
import("core.project.config")
import("core.project.project")
import("core.platform.platform")
-- the options
local options =
{
{'p', "plat", "kv", os.host(), "Set the platform." }
, {'f', "config", "kv", nil, "Pass the config arguments to \"xmake config\" .." }
, {'o', "outputdir", "kv", nil, "Set the output directory of the package." }
}
-- package all
--
-- .e.g
-- xmake m package
-- xmake m package -f "-m debug"
-- xmake m package -p linux
-- xmake m package -p iphoneos -f "-m debug --xxx ..." -o /tmp/xxx
-- xmake m package -f \"--mode=debug\"
--
function main(argv)
-- parse arguments
local args = option.parse(argv, options, "Package all architectures for the given the platform."
, ""
, "Usage: xmake macro package [options]")
-- package all archs
local plat = args.plat
for _, arch in ipairs(platform.archs(plat)) do
-- config it
os.exec("xmake f -p %s -a %s %s -c %s", plat, arch, args.config or "", ifelse(option.get("verbose"), "-v", ""))
-- package it
if args.outputdir then
os.exec("xmake p -o %s %s", args.outputdir, ifelse(option.get("verbose"), "-v", ""))
else
os.exec("xmake p %s", ifelse(option.get("verbose"), "-v", ""))
end
end
-- package universal for iphoneos, watchos ...
if plat == "iphoneos" or plat == "watchos" then
-- load configure
config.load()
-- load project
project.load()
-- enter the project directory
os.cd(project.directory())
-- the outputdir directory
local outputdir = args.outputdir or config.get("buildir")
-- package all targets
for _, target in pairs(project.targets()) do
-- get all modes
local modedirs = os.match(format("%s/%s.pkg/lib/*", outputdir, target:name()), true)
for _, modedir in ipairs(modedirs) do
-- get mode
local mode = path.basename(modedir)
-- make lipo arguments
local lipoargs = nil
for _, arch in ipairs(platform.archs(plat)) do
local archfile = format("%s/%s.pkg/lib/%s/%s/%s/%s", outputdir, target:name(), mode, plat, arch, path.filename(target:targetfile()))
if os.isfile(archfile) then
lipoargs = format("%s -arch %s %s", lipoargs or "", arch, archfile)
end
end
if lipoargs then
-- make full lipo arguments
lipoargs = format("-create %s -output %s/%s.pkg/lib/%s/%s/universal/%s", lipoargs, outputdir, target:name(), mode, plat, path.filename(target:targetfile()))
-- make universal directory
os.mkdir(format("%s/%s.pkg/lib/%s/%s/universal", outputdir, target:name(), mode, plat))
-- package all archs
os.execv("xmake", {"l", "lipo", lipoargs})
end
end
end
end
end
```
<p class="tip">
If you want to known more options, please run: `xmake macro --help`
</p>
#### Run the Custom Lua Script
##### Run the given script
Write a simple lua script:
```lua
function main()
print("hello xmake!")
end
```
Run this lua script.
```bash
$ xmake lua /tmp/test.lua
```
<p class="tip">
You can also use `import` api to write a more advance lua script.
</p>
##### Run the builtin script
You can run `xmake lua -l` to list all builtin script name, for example:
```bash
$ xmake lua -l
scripts:
cat
cp
echo
versioninfo
...
```
And run them:
```bash
$ xmake lua cat ~/file.txt
$ xmake lua echo "hello xmake"
$ xmake lua cp /tmp/file /tmp/file2
$ xmake lua versioninfo
```
##### Run interactive commands (REPL)
Enter interactive mode:
```bash
$ xmake lua
> 1 + 2
3
> a = 1
> a
1
> for _, v in pairs({1, 2, 3}) do
>> print(v)
>> end
1
2
3
```
And we can `import` modules:
```bash
> task = import("core.project.task")
> task.run("hello")
hello xmake!
```
If you want to cancel multiline input, please input character `q`, for example:
```bash
> for _, v in ipairs({1, 2}) do
>> print(v)
>> q <-- cancel multiline and clear previous input
> 1 + 2
3
```
#### Generate IDE Project Files
##### Generate Makefile
```bash
$ xmake project -k makefile
```
##### Generate VisualStudio Project
```bash
$ xmake project -k [vs2008|vs2013|vs2015|..]
```
v2.1.2 or later, it supports multi-mode and multi-architecture generation for vs201x project.
For example:
```bash
$ xmake project -k vs2017 -m "debug,release"
```
It will generate four project configurations: `debug|x86`, `debug|x64`, `release|x86`, `release|x64`.
Or you can set modes to `xmake.lua`:
```lua
set_modes("debug", "release")
```
Then, we run the following command:
```bash
$ xmake project -k vs2017
```
The effect is same.
#### Generate Doxygen Document
Please ensure that the doxygen tool has been installed first.
```bash
$ xmake doxygen
```
#### Convert .app to .ipa
```bash
$ xmake app2ipa --icon=/xxx.png /xxx/ios.app -o /xxx.ios.ipa
```
| 22.010549 | 176 | 0.600019 | eng_Latn | 0.828031 |
80921eca34dcd4b54914cbe5b98cec9b61d7f52d | 349 | md | Markdown | _posts/2021-07-13-Catching-that-golden-hour-20210713123158455447.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | _posts/2021-07-13-Catching-that-golden-hour-20210713123158455447.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | _posts/2021-07-13-Catching-that-golden-hour-20210713123158455447.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | ---
title: "Catching that golden hour"
metadate: "hide"
categories: [ Pussy ]
image: "https://preview.redd.it/yu6w7x1vrwa71.jpg?auto=webp&s=f786600e6e74bd31a7072324311d903449bebf33"
thumb: "https://preview.redd.it/yu6w7x1vrwa71.jpg?width=1080&crop=smart&auto=webp&s=5c36a22e3df570077abee31d063ed208dc5d7f91"
visit: ""
---
Catching that golden hour
| 34.9 | 125 | 0.787966 | yue_Hant | 0.125672 |
8092309cb89ccd723455667bcd953a4b3eb4413d | 2,730 | md | Markdown | content/publication/ICAASP-conf-paper1/index.md | jabhinav/academic-kickstart | 0e5fde946db1972bb74b71afd4a88cabde9a0eda | [
"MIT"
] | null | null | null | content/publication/ICAASP-conf-paper1/index.md | jabhinav/academic-kickstart | 0e5fde946db1972bb74b71afd4a88cabde9a0eda | [
"MIT"
] | null | null | null | content/publication/ICAASP-conf-paper1/index.md | jabhinav/academic-kickstart | 0e5fde946db1972bb74b71afd4a88cabde9a0eda | [
"MIT"
] | null | null | null | ---
title: "Radial Loss for Learning Fine-grained Video Similarity Metric"
authors:
- admin
- Prerna Agarwal
- Shashank Mujumdar
- Nitin Gupta
- Sameep Mehta
- Chiranjoy Chattopadhyay
date: "2019-05-12T00:00:00Z"
doi: ""
# Schedule page publish date (NOT publication's date).
publishDate: "2019-04-17T00:00:00Z"
# 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: ["1"]
# Publication name and optional abbreviated publication name.
publication: In *ICASSP 2019 - 2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)*
publication_short: In *ICASSP*
abstract: In this paper, we propose the Radial Loss which utilizes category and sub-category labels to learn an order-preserving fine-grained video similarity metric. We propose an end-to-end quadlet-based Convolutional Neural Network (CNN) combined with Long Short-term Memory (LSTM) Unit to model video similarities by learning the pairwise distance relationships between samples in a quadlet generated using the category and sub-category labels. We showcase two novel applications of learning a video similarity metric - (i) fine-grained video retrieval, (ii) fine-grained event detection, along with simultaneous shot boundary detection, and correspondingly show promising results against those of the baselines on two new fine-grained video datasets.
# Summary. An optional shortened abstract.
summary: In this paper, we propose the Radial Loss which utilizes category and sub-category labels to learn an order-preserving fine-grained video similarity metric.
tags:
featured: false
links:
- name: Link
url: https://ieeexplore.ieee.org/document/8683003
url_pdf: ''
url_code: 'https://github.com/jabhinav/Deep-Metric-Learning-for-Video-Understanding'
url_dataset: ''
url_poster: ''
url_project: ''
url_slides: ''
url_source: ''
url_video: ''
# Featured image
# To use, add an image named `featured.jpg/png` to your page's folder.
image:
caption: ''
focal_point: ""
preview_only: false
# Associated Projects (optional).
# Associate this publication with one or more of your projects.
# Simply enter your project's folder or file name without extension.
# E.g. `internal-project` references `content/project/internal-project/index.md`.
# Otherwise, set `projects: []`.
projects:
- deep-metric-learning
# Slides (optional).
# Associate this publication with Markdown slides.
# Simply enter your slide deck's filename without extension.
# E.g. `slides: "example"` references `content/slides/example/index.md`.
# Otherwise, set `slides: ""`.
slides: ""
---
| 39 | 755 | 0.761538 | eng_Latn | 0.931849 |
8092e49ca491c27e7bfcfb3a495c1bd1eff22531 | 356 | md | Markdown | README.md | karnak52/Mobile_App_for_Lottery_Addiction | c96f3cc6827d098cb8a807a140383a5c52dfba1e | [
"MIT"
] | 1 | 2021-08-04T16:16:17.000Z | 2021-08-04T16:16:17.000Z | README.md | karnak52/Mobile_App_for_Lottery_Addiction | c96f3cc6827d098cb8a807a140383a5c52dfba1e | [
"MIT"
] | null | null | null | README.md | karnak52/Mobile_App_for_Lottery_Addiction | c96f3cc6827d098cb8a807a140383a5c52dfba1e | [
"MIT"
] | null | null | null | # Mobile_App_for_Lottery_Addiction
STATS_Using data from the popular Canadian lottery <i>Lotto 6/49</i> and probabilistic calculations, a proof-of-concept is created for a mobile application to both prevent and assist in the treatment of lottery addiction by helping users to better estimate their chances of winning.
Stack: Jupyter Notebook, pandas
| 89 | 288 | 0.825843 | eng_Latn | 0.995417 |
8095438d13c072d070a110da495ff5d811ab77a0 | 423 | md | Markdown | CONTRIBUTING.md | oleksmarkh/bookmarks | 940de57ff5ad607fe516652ba28909898e71e7e8 | [
"CC0-1.0"
] | null | null | null | CONTRIBUTING.md | oleksmarkh/bookmarks | 940de57ff5ad607fe516652ba28909898e71e7e8 | [
"CC0-1.0"
] | 2 | 2018-02-23T14:14:29.000Z | 2019-01-04T16:38:49.000Z | CONTRIBUTING.md | oleksmarkh/bookmarks | 940de57ff5ad607fe516652ba28909898e71e7e8 | [
"CC0-1.0"
] | 1 | 2018-09-26T18:42:10.000Z | 2018-09-26T18:42:10.000Z | It's a personal list. You are welcome to reuse it, of course. But please follow the consistency rules:
1. When adding a new link, make sure it's ordered according to categorization described in the *legend* (also applies to sublists).
1. If a section is split into sublists and there are items that don't quite fit into any of those, they should be grouped under a *misc* sublist at the end of that section.
Thank you :)
| 60.428571 | 172 | 0.765957 | eng_Latn | 0.999965 |
8095ada438520c8699fada4d00cab92915806bee | 2,031 | md | Markdown | _posts/2007-4-25-2007-04-25.md | gt-2003-2017/gt-2003-2017.github.io | d9b4154d35ecccbe063e9919c7e9537a84c6d56e | [
"MIT"
] | null | null | null | _posts/2007-4-25-2007-04-25.md | gt-2003-2017/gt-2003-2017.github.io | d9b4154d35ecccbe063e9919c7e9537a84c6d56e | [
"MIT"
] | null | null | null | _posts/2007-4-25-2007-04-25.md | gt-2003-2017/gt-2003-2017.github.io | d9b4154d35ecccbe063e9919c7e9537a84c6d56e | [
"MIT"
] | null | null | null | 마태복음 27:33 - 27:44
2007년 04월 25일 (수)
모두에게 조롱 받으신 예수님
마태복음 27:33 - 27:44 / 새찬송가 135 장
관찰질문
예수님의 죄 패에는 무엇이라고 쓰여 있습니까?
십자가에 달리신 예수님을 본 사람들의 반응은 어떠합니까?
33 골고다 즉 해골의 곳이라는 곳에 이르러 34 쓸개 탄 포도주를 예수께 주어 마시게 하려 하였더니 예수께서 맛보시고 마시고자 하지 아니하시더라 35 그들이 예수를 십자가에 못 박은 후에 그 옷을 제비 뽑아 나누고 36 거기 앉아 지키더라 37 그 머리 위에 이는 유대인의 왕 예수라 쓴 죄패를 붙였더라 38 이 때에 예수와 함께 강도 둘이 십자가에 못 박히니 하나는 우편에, 하나는 좌편에 있더라 39 지나가는 자들은 자기 머리를 흔들며 예수를 모욕하여 40 이르되 성전을 헐고 사흘에 짓는 자여 네가 만일 하나님의 아들이어든 자기를 구원하고 십자가에서 내려오라 하며 41 그와 같이 대제사장들도 서기관들과 장로들과 함께 희롱하여 이르되 42 그가 남은 구원하였으되 자기는 구원할 수 없도다 그가 이스라엘의 왕이로다 지금 십자가에서 내려올지어다 그리하면 우리가 믿겠노라 43 그가 하나님을 신뢰하니 하나님이 원하시면 이제 그를 구원하실지라 그의 말이 나는 하나님의 아들이라 하였도다 하며 44 함께 십자가에 못 박힌 강도들도 이와 같이 욕하더라
43 He trusts in God. Let God rescue him now if he wants him, for he said, I am the Son of God. 44 In the same way the robbers who were crucified with him also heaped insults on him.
해석도움
유대인의 왕 예수
골고다에 이르신 예수님은 몰약을 탄 포도주를 마시도록 권유 받았습니다(33-34). 이것은 일종의 마취제로 예루살렘에 거주하는 경건한 부녀자들이 잠언 31장 6-7절의 말씀을 실천하기 위해 십자가 처형을 당하는 사형수에게 제공하는 마지막 자비였습니다. 사실 십자가는 한 번의 죽음으로 천 번의 죽음을 죽는다고 할 만큼 극심한 고통의 형벌이었습니다. 하지만, 예수님은 우리 죄를 대속하기 위한 고통을 맑은 의식으로 모두 감내하시기 위해 사양하셨습니다. 또 예수님은 처형 전에 벌거벗기셨고, 그 옷은 사형을 집행하는 자들에게 제비 뽑혀 나누어졌습니다(35). 이것은 구약예언의 성취로(시 22:18) 우리를 위해 예수님은 이렇게까지 수모를 겪으신 것입니다. 예수님은 강도 둘과 함께 십자가에 못 박혔습니다(38). 이것 역시 예수님께서 ‘범죄자 중 하나로 헤아림을 입을 것’이라는 구약 예언의 성취입니다(사 53:12). 한편, 십자가에 달린 예수님의 머리에는 빌라도의 명대로 ‘자칭 유대인의 왕’이 아니라 ‘유대인의 왕’이라고 표기된 죄패가 히브리어, 로마어와 헬라어로 쓰여 있었습니다(37). 예수님의 왕이 되심은 십자가 위에서도 온 세계에 증거되고 있는 것입니다(요 19:19-22).
모두에게 조롱 받으신 예수님
예수님이 십자가에 달리신 골고다는 예루살렘 성으로 들어가는 길 근처에 있었고, 그때는 유월절이었기 때문에 지나가는 사람이 그치지 않았습니다. 그런데 그들은 예수님을 보면서 온갖 모욕을 다했습니다(39-40). 사악한 목적을 이룬 종교지도자들도 ‘그가 이스라엘의 왕이로다 지금 십자가에서 내려올지어다 그리하면 우리가 믿겠노라’라고 하는 등 온갖 말로 예수님을 비웃고 조롱하였습니다(42-43). 심지어 예수님은 함께 못 박힌 강도들에게까지 모욕을 받으셨습니다(44). 우리의 죄를 위해 십자가에 못 박히신 예수님은 이처럼 멸시를 당하신 것입니다. 이것은 성경에 예언 된 대로였습니다. “나를 보는 자는 다 나를 비웃으며 입술을 비쭉거리고 머리를 흔들며 말하되 그가 여호와께 의탁하니 구원하실 걸, 그를 기뻐하시니 건지실 걸 하나이다”(시 22:7-8). 이 견딜 수 없는 모욕 중에서도 예수님은 대속 죽음의 사명을 놓지 않으셨고, 그 같은 온전한 희생의 결과로 우리의 구속이 완성되었습니다. | 67.7 | 611 | 0.715903 | kor_Hang | 1.00001 |
8096b4154d7fca88c3b495f9e74f54efa75524c3 | 375 | md | Markdown | README.md | SnaveSutit/figura-avatar-scripts | 8ac5575ecdd8e4049ab834e669c7ffe0bf1c607a | [
"MIT"
] | 1 | 2021-06-06T03:08:32.000Z | 2021-06-06T03:08:32.000Z | README.md | SnaveSutit/figura-avatar-scripts | 8ac5575ecdd8e4049ab834e669c7ffe0bf1c607a | [
"MIT"
] | null | null | null | README.md | SnaveSutit/figura-avatar-scripts | 8ac5575ecdd8e4049ab834e669c7ffe0bf1c607a | [
"MIT"
] | null | null | null | # Figura Avatar Scripts
A few useful scripts that I've developed for my Figura Avatar.
A few people wanted to use them so I decided to make a repo so I don't have to spam the code channel. :)
These scripts can be simply copy-pasted into your avatar script and then configured and you're good to go. They are self contained and will not interfier with your existing script.
| 53.571429 | 180 | 0.781333 | eng_Latn | 0.999918 |
8096bf5d9dbcc079cfcffae71ae05b738fe92221 | 6,443 | md | Markdown | QR Code SDK/C#/Create GS1 QR Code/README.md | atkins126/ByteScout-SDK-SourceCode | cc4bc9e779ad95f85be0a8630c17878006059684 | [
"Apache-2.0"
] | 24 | 2017-01-13T13:43:21.000Z | 2021-12-23T07:57:19.000Z | QR Code SDK/C#/Create GS1 QR Code/README.md | atkins126/ByteScout-SDK-SourceCode | cc4bc9e779ad95f85be0a8630c17878006059684 | [
"Apache-2.0"
] | 1 | 2017-03-29T08:22:18.000Z | 2017-05-13T12:27:02.000Z | QR Code SDK/C#/Create GS1 QR Code/README.md | atkins126/ByteScout-SDK-SourceCode | cc4bc9e779ad95f85be0a8630c17878006059684 | [
"Apache-2.0"
] | 35 | 2016-08-03T19:15:44.000Z | 2022-03-27T16:38:58.000Z | ## How to create gs1 QR code in C# using ByteScout QR Code
### How to create gs1 QR code in C#
These source code samples are listed and grouped by their programming language and functions they use. What is ByteScout QR Code? It is QR Code barcode generator SDK with tunnable quality and features like QR Code embedded logo or images. Supports batch generation and specialized features like encoding of vCard and other structures inside QR Code barcodes. It can help you to create gs1 QR code in your C# application.
This code snippet below for ByteScout QR Code works best when you need to quickly create gs1 QR code in your C# application. In order to implement the functionality, you should copy and paste this code for C# below into your code editor with your app, compile and run your application. Code testing will allow the function to be tested and work properly with your data.
Trial version of ByteScout QR Code is available for free. Source code samples are included to help you with your C# app.
## REQUEST FREE TECH SUPPORT
[Click here to get in touch](https://bytescout.zendesk.com/hc/en-us/requests/new?subject=ByteScout%20QR%20Code%20Question)
or just send email to [[email protected]](mailto:[email protected]?subject=ByteScout%20QR%20Code%20Question)
## ON-PREMISE OFFLINE SDK
[Get Your 60 Day Free Trial](https://bytescout.com/download/web-installer?utm_source=github-readme)
[Explore SDK Docs](https://bytescout.com/documentation/index.html?utm_source=github-readme)
[Sign Up For Online Training](https://academy.bytescout.com/)
## ON-DEMAND REST WEB API
[Get your API key](https://pdf.co/documentation/api?utm_source=github-readme)
[Explore Web API Documentation](https://pdf.co/documentation/api?utm_source=github-readme)
[Explore Web API Samples](https://github.com/bytescout/ByteScout-SDK-SourceCode/tree/master/PDF.co%20Web%20API)
## VIDEO REVIEW
[https://www.youtube.com/watch?v=A5hB9ul3tX0](https://www.youtube.com/watch?v=A5hB9ul3tX0)
<!-- code block begin -->
##### ****GS1QRCode.csproj:**
```
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>
</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{A657F388-7D2A-4C05-9E04-6F6FAFF16F0C}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>GS1QRCode</RootNamespace>
<AssemblyName>GS1QRCode</AssemblyName>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Bytescout.BarCode.QRCode, Version=1.0.0.100, Culture=neutral, PublicKeyToken=f7dd1bd9d40a50eb, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>c:\Program Files\Bytescout QR Code SDK\net40\Bytescout.BarCode.QRCode.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
```
<!-- code block end -->
<!-- code block begin -->
##### ****GS1QRCode.sln:**
```
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GS1QRCode", "GS1QRCode.csproj", "{A657F388-7D2A-4C05-9E04-6F6FAFF16F0C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A657F388-7D2A-4C05-9E04-6F6FAFF16F0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A657F388-7D2A-4C05-9E04-6F6FAFF16F0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A657F388-7D2A-4C05-9E04-6F6FAFF16F0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A657F388-7D2A-4C05-9E04-6F6FAFF16F0C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
```
<!-- code block end -->
<!-- code block begin -->
##### ****Program.cs:**
```
using System.Diagnostics;
using Bytescout.BarCode;
namespace GS1QRCode
{
class Program
{
static void Main(string[] args)
{
// Create and activate QRCode instance
using (QRCode barcode = new QRCode())
{
barcode.RegistrationName = "demo";
barcode.RegistrationKey = "demo";
// Enable generation of GS1 version of QR Code
barcode.IsGS1 = true;
// Set value that is formatted according to GS1 specification
barcode.Value = "(01)07046261398572(17)130331(10)TEST5632(21)19067811811";
// Save barcode image to file
barcode.SaveImage("result.png");
}
// Open the image in default image viewer (for demo purpose)
Process.Start("result.png");
}
}
}
```
<!-- code block end --> | 37.678363 | 420 | 0.711935 | yue_Hant | 0.395138 |
80998508f2718687610735bf2ebc055b53b63ca1 | 610 | md | Markdown | user/pages/08.team/people.md | djahnie/fsww-new | 5381afe60ac875378eac762dc649f5548db41269 | [
"MIT"
] | null | null | null | user/pages/08.team/people.md | djahnie/fsww-new | 5381afe60ac875378eac762dc649f5548db41269 | [
"MIT"
] | 4 | 2018-06-21T16:50:22.000Z | 2018-09-02T10:45:14.000Z | user/pages/08.team/people.md | djahnie/fsww-new | 5381afe60ac875378eac762dc649f5548db41269 | [
"MIT"
] | null | null | null | ---
title: Team
routes:
default: '/team'
aliases:
- '/en/team'
people:
-
name: 'Lars Wolf'
role: 'Frontend, Design'
email: [email protected]
image: lars.jpg
-
name: 'Janina Abels'
role: 'Communication'
email: [email protected]
image: janina.png
-
name: 'Nick Sellen'
role: 'Consulting'
email: [email protected]
image: nick.png
-
name: 'Tilmann Becker'
role: 'Frontend, Backend'
email: [email protected]
image: tilmann.png
---
| 21.034483 | 41 | 0.531148 | yue_Hant | 0.086452 |
80998f3ded9f632987ee08f6e5cb3f168be6467f | 79 | md | Markdown | robot/assets/README.md | marcelovilaca/storm-webdav | 08415f82c6692273fb8a50e0c92022a10f54a2e5 | [
"Apache-2.0"
] | null | null | null | robot/assets/README.md | marcelovilaca/storm-webdav | 08415f82c6692273fb8a50e0c92022a10f54a2e5 | [
"Apache-2.0"
] | 2 | 2015-02-03T15:03:48.000Z | 2020-03-30T16:15:25.000Z | robot/assets/README.md | marcelovilaca/storm-webdav | 08415f82c6692273fb8a50e0c92022a10f54a2e5 | [
"Apache-2.0"
] | 1 | 2020-05-07T10:48:36.000Z | 2020-05-07T10:48:36.000Z | This folder contains assets useful for the execution of the storm-webdav suite
| 39.5 | 78 | 0.835443 | eng_Latn | 0.99987 |
809a423b3127bf4b4a8c0119a9941c80c5d3a173 | 25 | md | Markdown | README.md | AgmoStudioSdnBhd/iOS-Pasar-Malam-Locator | 7057257df5336b49caecf78e05f29f69364f602b | [
"MIT"
] | null | null | null | README.md | AgmoStudioSdnBhd/iOS-Pasar-Malam-Locator | 7057257df5336b49caecf78e05f29f69364f602b | [
"MIT"
] | null | null | null | README.md | AgmoStudioSdnBhd/iOS-Pasar-Malam-Locator | 7057257df5336b49caecf78e05f29f69364f602b | [
"MIT"
] | null | null | null | # iOS-Pasar-Malam-Locator | 25 | 25 | 0.8 | kor_Hang | 0.364486 |
809acb6f5e0ed15f467512d3f0626ae5c822592a | 9,735 | md | Markdown | README.md | t2y/genmai | 78583835e1e41e3938e1ddfffd7101f8ad27fae0 | [
"MIT"
] | 122 | 2015-01-10T15:24:22.000Z | 2021-12-30T15:29:48.000Z | README.md | t2y/genmai | 78583835e1e41e3938e1ddfffd7101f8ad27fae0 | [
"MIT"
] | 13 | 2015-03-03T09:48:23.000Z | 2021-10-13T18:12:05.000Z | README.md | t2y/genmai | 78583835e1e41e3938e1ddfffd7101f8ad27fae0 | [
"MIT"
] | 20 | 2015-03-11T05:04:48.000Z | 2021-07-20T15:00:39.000Z | # Genmai [](https://travis-ci.org/naoina/genmai)
Simple, better and easy-to-use ORM library for [Golang](http://golang.org/).
## Overview
* flexibility with SQL-like API
* Transaction support
* Database dialect interface
* Query logging
* Update/Insert/Delete hooks
* Embedded struct
Database dialect currently supported are:
* MySQL
* PostgreSQL
* SQLite3
## Installation
go get -u github.com/naoina/genmai
## Schema
Schema of the table will be defined as a struct.
```go
// The struct "User" is the table name "user".
// The field name will be converted to lowercase/snakecase, and used as a column name in table.
// e.g. If field name is "CreatedAt", column name is "created_at".
type User struct {
// PRIMARY KEY. and column name will use "tbl_id" instead of "id".
Id int64 `db:"pk" column:"tbl_id"`
// NOT NULL and Default is "me".
Name string `default:"me"`
// Nullable column must use a pointer type, or sql.Null* types.
CreatedAt *time.Time
// UNIQUE column if specify the db:"unique" tag.
ScreenName string `db:"unique"`
// Ignore column if specify the db:"-" tag.
Active bool `db:"-"`
}
```
## Query API
### Create table
```go
package main
import (
"time"
_ "github.com/mattn/go-sqlite3"
// _ "github.com/go-sql-driver/mysql"
// _ "github.com/lib/pq"
"github.com/naoina/genmai"
)
// define a table schema.
type TestTable struct {
Id int64 `db:"pk" column:"tbl_id"`
Name string `default:"me"`
CreatedAt *time.Time
UserName string `db:"unique" size:"255"`
Active bool `db:"-"`
}
func main() {
db, err := genmai.New(&genmai.SQLite3Dialect{}, ":memory:")
// db, err := genmai.New(&genmai.MySQLDialect{}, "dsn")
// db, err := genmai.New(&genmai.PostgresDialect{}, "dsn")
if err != nil {
panic(err)
}
defer db.Close()
if err := db.CreateTable(&TestTable{}); err != nil {
panic(err)
}
}
```
### Insert
A single insert:
```go
obj := &TestTable{
Name: "alice",
Active: true,
}
n, err := db.Insert(obj)
if err != nil {
panic(err)
}
fmt.Printf("inserted rows: %d\n", n)
```
Or bulk-insert:
```go
objs := []TestTable{
{Name: "alice", Active: true},
{Name: "bob", Active: true},
}
n, err := db.Insert(objs)
if err != nil {
panic(err)
}
fmt.Printf("inserted rows: %d\n", n)
```
### Select
```go
var results []TestTable
if err := db.Select(&results); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
### Where
```go
var results []TestTable
if err := db.Select(&results, db.Where("tbl_id", "=", 1)); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
### And/Or
```go
var results []TestTable
if err := db.Select(&results, db.Where("tbl_id", "=", 1).And(db.Where("name", "=", "alice").Or("name", "=", "bob"))); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
### In
```go
var results []TestTable
if err := db.Select(&results, db.Where("tbl_id").In(1, 2, 4)); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
### Like
```go
var results []TestTable
if err := db.Select(&results, db.Where("name").Like("%li%")); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
### Between
```go
var results []TestTable
if err := db.Select(&results, db.Where("name").Between(1, 3)); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
### Is Null/Is Not Null
```go
var results []TestTable
if err := db.Select(&results, db.Where("created_at").IsNull()); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
results = []TestTable{}
if err := db.Select(&results, db.Where("created_at").IsNotNull()); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
### Order by/Offset/Limit
```go
var results []TestTable
if err := db.Select(&results, db.OrderBy("id", genmai.ASC).Offset(2).Limit(10)); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
### Distinct
```go
var results []TestTable
if err := db.Select(&results, db.Distinct("name"), db.Where("name").Like("%")); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
### Count
```go
var n int64
if err := db.Select(&n, db.Count(), db.From(&TestTable{})); err != nil {
panic(err)
}
fmt.Printf("%v\n", n)
```
With condition:
```go
var n int64
if err := db.Select(&n, db.Count(), db.From(&TestTable{}), db.Where("id", ">", 100)); err != nil {
panic(err)
}
fmt.Printf("%v\n", n)
```
### Join
Inner Join:
```go
package main
import (
"database/sql"
"fmt"
"time"
_ "github.com/mattn/go-sqlite3"
// _ "github.com/go-sql-driver/mysql"
// _ "github.com/lib/pq"
"github.com/naoina/genmai"
)
type TestTable struct {
Id int64 `db:"pk" column:"tbl_id"`
Name string `default:"me"`
CreatedAt *time.Time
Active bool `db:"-"` // column to ignore.
}
type Table2 struct {
Id int64 `db:"pk" column:"tbl_id"`
Body sql.NullString
}
func main() {
db, err := genmai.New(&genmai.SQLite3Dialect{}, ":memory:")
// db, err := genmai.New(&genmai.MySQLDialect{}, "dsn")
// db, err := genmai.New(&genmai.PostgresDialect{}, "dsn")
if err != nil {
panic(err)
}
defer db.Close()
if err := db.CreateTable(&TestTable{}); err != nil {
panic(err)
}
if err := db.CreateTable(&Table2{}); err != nil {
panic(err)
}
objs1 := []TestTable{
{Name: "alice", Active: true},
{Name: "bob", Active: true},
}
objs2 := []Table2{
{Body: sql.NullString{String: "something"}},
}
if _, err = db.Insert(objs1); err != nil {
panic(err)
}
if _, err := db.Insert(objs2); err != nil {
panic(err)
}
// fmt.Printf("inserted rows: %d\n", n)
var results []TestTable
if err := db.Select(&results, db.Join(&Table2{}).On("tbl_id")); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
}
```
Left Join:
```go
var results []TestTable
if err := db.Select(&results, db.LeftJoin(&Table2{}).On("name", "=", "body")); err != nil {
panic(err)
}
fmt.Printf("%v\n", results)
```
`RIGHT OUTER JOIN` and `FULL OUTER JOIN` are still unsupported.
### Update
```go
var results []TestTable
if err := db.Select(&results); err != nil {
panic(err)
}
obj := results[0]
obj.Name = "nico"
if _, err := db.Update(&obj); err != nil {
panic(err)
}
```
### Delete
A single delete:
```go
obj := TestTable{Id: 1}
if _, err := db.Delete(&obj); err != nil {
panic(err)
}
```
Or bulk-delete:
```go
objs := []TestTable{
{Id: 1}, {Id: 3},
}
if _, err := db.Delete(objs); err != nil {
panic(err)
}
```
### Transaction
```go
defer func() {
if err := recover(); err != nil {
db.Rollback()
} else {
db.Commit()
}
}()
if err := db.Begin(); err != nil {
panic(err)
}
// do something.
```
### Using any table name
You can implement [TableNamer](https://godoc.org/github.com/naoina/genmai#TableNamer) interface to use any table name.
```go
type UserTable struct {
Id int64 `db:"pk"`
}
func (u *UserTable) TableName() string {
return "user"
}
```
In the above example, the table name `user` is used instead of `user_table`.
### Using raw database/sql interface
```go
rawDB := db.DB()
// do something with using raw database/sql interface...
```
## Query logging
By default, query logging is disabled.
You can enable Query logging as follows.
```go
db.SetLogOutput(os.Stdout) // Or any io.Writer can be passed.
```
Also you can change the format of output as follows.
```go
db.SetLogFormat("format string")
```
Format syntax uses Go's template. And you can use the following data object in that template.
```
- .time time.Time object in current time.
- .duration Processing time of SQL. It will format to "%.2fms".
- .query string of SQL query. If it using placeholder,
placeholder parameters will append to the end of query.
```
The default format is:
[{{.time.Format "2006-01-02 15:04:05"}}] [{{.duration}}] {{.query}}
In production, it is recommended to disable this feature in order to somewhat affect performance.
```go
db.SetLogOutput(nil) // To disable logging by nil.
```
## Update/Insert/Delete hooks
Genmai calls `Before`/`After` hook method if defined in model struct.
```go
func (t *TestTable) BeforeInsert() error {
t.CreatedAt = time.Now()
return nil
}
```
If `Before` prefixed hook returns an error, it query won't run.
All hooks are:
* `BeforeInsert/AfterInsert`
* `BeforeUpdate/AfterUpdate`
* `BeforeDelete/AfterDelete`
If use bulk-insert or bulk-delete, hooks method run for each object.
## Embedded struct
Common fields can be defined on struct and embed that.
```go
package main
import "time"
type TimeStamp struct {
CreatedAt time.Time
UpdatedAt time.Time
}
type User struct {
Id int64
Name string
TimeStamp
}
```
Also Genmai has defined `TimeStamp` struct for commonly used fields.
```
type User struct {
Id int64
genmai.TimeStamp
}
```
See the Godoc of [TimeStamp](http://godoc.org/github.com/naoina/genmai#TimeStamp) for more information.
If you'll override hook method defined in embedded struct, you'll should call the that hook in overridden method.
For example in above struct case:
```go
func (u *User) BeforeInsert() error {
if err := u.TimeStamp.BeforeInsert(); err != nil {
return err
}
// do something.
return nil
}
```
## Documentation
API document and more examples are available here:
http://godoc.org/github.com/naoina/genmai
## TODO
* Benchmark
* More SQL support
* Migration
## License
Genmai is licensed under the MIT
| 19.315476 | 130 | 0.6151 | eng_Latn | 0.390885 |
809c357405831491b56d1776c824164049f57f18 | 8,691 | md | Markdown | docs/_docs/perfect_paradox.md | rslifka/wishlist | 12c3e90118aa1037cac2ce31e9f9107133304160 | [
"MIT"
] | 15 | 2020-01-07T00:24:44.000Z | 2021-08-07T19:41:42.000Z | docs/_docs/perfect_paradox.md | rslifka/wishlist | 12c3e90118aa1037cac2ce31e9f9107133304160 | [
"MIT"
] | 8 | 2020-02-01T23:31:36.000Z | 2020-02-24T03:55:42.000Z | docs/_docs/perfect_paradox.md | rslifka/wishlist | 12c3e90118aa1037cac2ce31e9f9107133304160 | [
"MIT"
] | 6 | 2020-01-15T17:46:42.000Z | 2021-06-19T15:59:11.000Z | ---
title: Perfect Paradox
description: Roll commentary for Perfect Paradox
---
## PvP
*For all possible perks, check out **Perfect Paradox** over on [light.gg](https://www.light.gg/db/items/3393519051/perfect-paradox/)*
Rapid-fire frames in PvP are a different breed. They're not like Aggressive or Precision Frames for the spicy, consistent one-hit kills. If you want something like that in this slot, you want to farm Menagerie for [Dust Rock Blues](https://www.light.gg/db/items/636912560/dust-rock-blues/) or even [Toil and Trouble](https://www.light.gg/db/items/2957367743/toil-and-trouble/).
The big debate here will be Opening Shot or Rampage. Many folks, like Sheikh (aka [Destiny Fun Police](https://www.youtube.com/watch?v=njEmXDccobw)) prefer Rampage + Rampage Spec in the final slot. I don't and here's why:
1. Rapid-fire frames require 12 pellets to kill. Each tier of Rampage decreases the number of pellets needed by one. Here's DFP going on a [killing spree](https://youtu.be/OSTDpEo7_D4?t=187) with Rampage x 2, the tier where you need 10 pellets to kill (i.e. a Dust Rock Blues pellet count). If you're going to two-tap basically no matter what, I'd rather have Opening Shot to increase the chance more of my pellets hit. Even DFP says, "Using a Rapid-Fire shotgun you're going to have to double-tap most people."
2. I prefer to use Icarus Grip in my mod slot. That doesn't negate the power of Rampage in general but if you're not going to run Rampage Spec, that's even less of a reason to consider running Rampage.
Based on the YouTube content creator hive mind, I'm in the minority on this opinion. It's easy to farm; be your own judge :)
* **(PvP) Aztecross Collector's Edition 🌶 - 0.2% chance**: Alright, here's a spicy take. Firmly Planted works while sliding and increases Accuracy **specifically**, not indirectly via Range. We discussed Opening Shot above and how I value hitting more pellets all the time versus doing a negligible additional amount of damage when Rampage is active, some of the time. This is the first roll that [Aztecross](https://www.youtube.com/watch?v=vGe3z2doHbQ) uses in his video review (among others). It cleans up!
```
Barrels [ 33%]: Full Choke
Mags [ 33%]: Accurized Rounds
Perks 1 [ 16%]: Firmly Planted
Perks 2 [ 33%]: Opening Shot
MWorks [ 25%]: Range MW
```
* **(PvP) Aztecross CE 🌶(Relaxed First Perk) - 0.3% chance**: Slideshot will be juuuuust fine here.
```
Barrels [ 33%]: Full Choke
Mags [ 33%]: Accurized Rounds
Perks 1 [ 33%]: Firmly Planted, Slideshot
Perks 2 [ 33%]: Opening Shot
MWorks [ 25%]: Range MW
```
* **(PvP) Aztecross CE 🌶(Relaxed Barrel) - 0.3% chance**: Rifled Barrel will be juuuuust fine here.
```
Barrels [ 60%]: Full Choke, Rifled Barrel
Mags [ 33%]: Accurized Rounds
Perks 1 [ 16%]: Firmly Planted
Perks 2 [ 33%]: Opening Shot
MWorks [ 25%]: Range MW
```
* **(PvP) Aztecross CE 🌶(Relaxed First Perk and Barrel) - 0.6% chance**: Combining the previous two rolls.
```
Barrels [ 60%]: Full Choke, Rifled Barrel
Mags [ 33%]: Accurized Rounds
Perks 1 [ 33%]: Firmly Planted, Slideshot
Perks 2 [ 33%]: Opening Shot
MWorks [ 25%]: Range MW
```
* **(PvP) Aztecross CE 🌶(Totally Relaxed) - 2.2% chance**: Amazing roll still.
```
Barrels [ 60%]: Full Choke, Rifled Barrel
Mags [ 33%]: Accurized Rounds
Perks 1 [ 33%]: Firmly Planted, Slideshot
Perks 2 [ 33%]: Opening Shot
MWorks [100%]: *
```
* **(PvP) Destiny Fun Police Collector's Edition 👮♂️ - 0.2% chance**: DFP's favourite roll!
```
Barrels [ 33%]: Full Choke
Mags [ 33%]: Accurized Rounds
Perks 1 [ 16%]: Slideshot
Perks 2 [ 33%]: Rampage
MWorks [ 25%]: Range MW
```
* **(PvP) DFP CE 👮♂️(Relaxed First Perk) - 0.3% chance**: Slideshot will be juuuuust fine here.
```
Barrels [ 33%]: Full Choke
Mags [ 33%]: Accurized Rounds
Perks 1 [ 33%]: Firmly Planted, Slideshot
Perks 2 [ 33%]: Rampage
MWorks [ 25%]: Range MW
```
* **(PvP) DFP CE 👮♂️(Relaxed Barrel) - 0.3% chance**: Rifled Barrel will be juuuuust fine here.
```
Barrels [ 60%]: Full Choke, Rifled Barrel
Mags [ 33%]: Accurized Rounds
Perks 1 [ 16%]: Slideshot
Perks 2 [ 33%]: Rampage
MWorks [ 25%]: Range MW
```
* **(PvP) DFP CE 👮♂️(Relaxed First Perk and Barrel) - 0.6% chance**: Combining the previous two rolls.
```
Barrels [ 60%]: Full Choke, Rifled Barrel
Mags [ 33%]: Accurized Rounds
Perks 1 [ 33%]: Firmly Planted, Slideshot
Perks 2 [ 33%]: Rampage
MWorks [ 25%]: Range MW
```
* **(PvP) DFP CE 👮♂️(Totally Relaxed) - 2.2% chance**: Amazing roll still.
```
Barrels [ 60%]: Full Choke, Rifled Barrel
Mags [ 33%]: Accurized Rounds
Perks 1 [ 33%]: Firmly Planted, Slideshot
Perks 2 [ 33%]: Rampage
MWorks [100%]: *
```
## PvE
*For all possible perks, check out **Perfect Paradox** over on [light.gg](https://www.light.gg/db/items/3393519051/perfect-paradox/)*
There's a good bit of [cargo-culting](https://en.wiktionary.org/wiki/cargo_culting) when it comes to shotgun "God Rolls" and while I don't think there's any outright awful damage perks here, I do think you're better off with some than with others. [Aztecross](https://www.youtube.com/watch?v=vGe3z2doHbQ) is a good balance of science and excitement in terms of roll knowledge, so check it out; he's one of the rare folks to see the value in the criminally underrated Firmly Planted on shotguns.
There are a ton of damage-boosting perks on Perfect Paradox! We have Swashbuckler, One-Two Punch, Trench Barrel and Rampage. Let's go!
* **One-Two Punch**: If you're going to be using One-Two, you're better off with a high(er) impact shotgun. Your flow is shoot-punch-punch-shoot-... and with a Rapid Fire frame, your "shoot" is doing very little damage, comparatively. The perk is solid, but not on this frame IMHO.
* **Trench Barrel**: Post-Warmind, Trench Barrel took it on the chin. It was limited to a few seconds or three shots. Given that Bungie has never gone back on a nerf, feel free to pick one of these up for posterity but it's not all that great. It's kind of like the reverse One-Two Punch. Your flow is punch-shoot-shoot-shoot-punch-... so it's better for large(r) add clear but if you're dealing with larger adds/bosses you're getting stomped away so yeah, it's fine but not anyone's go-to at the moment.
* **Rampage**: Solid! Not much to say here; same as it ever was. Throw a Rampage Spec mod on to extend the duration by 1s.
* **Swashbuckler**: I prefer Swashbuckler here because it lasts as long as Rampage + Rampage Spec and you can shortcut the with a melee to Swash x 5.
BONUS! From Ehroar, a pretty slick [Infinite Ammo Perfect Paradox Build](https://www.youtube.com/watch?v=xlqw1OEGVl0)!
* **(PvE) Super Picky Demolitionist 💣 - 1.7% chance**: With an extra one in the mag from Appended and Demolitionist, you're going to be constantly reloading your magazine.
```
Barrels [ 93%]: Smallbore, Barrel Shroud, Corkscrew Rifling, Full Choke
Mags [ 33%]: Appended Mag
Perks 1 [ 16%]: Demolitionist
Perks 2 [ 33%]: Swashbuckler
MWorks [100%]: *
```
* **(PvE) Demolitionist 💣 (Relaxed Mags) - 4.1% chance**: Same as the above, but the mags aren't harmful so we're relaxing.
```
Barrels [ 93%]: Smallbore, Barrel Shroud, Corkscrew Rifling, Full Choke
Mags [ 80%]: Appended Mag, Light Mag, Accurized Rounds
Perks 1 [ 16%]: Demolitionist
Perks 2 [ 33%]: Swashbuckler
MWorks [100%]: *
```
* **(PvE) Runner and Gunner 🏃♂️ - 7.5% chance**: Keep sliding and shooting and sliding and shooting...
```
Barrels [ 93%]: Smallbore, Barrel Shroud, Corkscrew Rifling, Full Choke
Mags [ 80%]: Appended Mag, Light Mag, Accurized Rounds
Perks 1 [ 16%]: Slideshot
Perks 2 [ 60%]: Swashbuckler, Rampage
MWorks [100%]: *
```
* **(PvE) Fiiine, Trench Barrel 🤷♂️ - 1.7% chance**: You really want a Trench Barrel roll don't you? Let's go with Appended for a larger mag (presumably you're dyyying to throw a Boss or Major Spec mod on here) and Field Prep for faster reload when you're crouched in front of a boss/major.
```
Barrels [ 93%]: Smallbore, Barrel Shroud, Corkscrew Rifling, Full Choke
Mags [ 33%]: Appended Mag
Perks 1 [ 16%]: Field Prep
Perks 2 [ 33%]: Trench Barrel
MWorks [100%]: *
```
* **(PvE) Fiiine, Trench Barrel 🤷♂️(Relaxed Magazines) - 4.1% chance**: Losing one in the mag will be fine, go nuts with your TB roll.
```
Barrels [ 93%]: Smallbore, Barrel Shroud, Corkscrew Rifling, Full Choke
Mags [ 80%]: Appended Mag, Light Mag, Accurized Rounds
Perks 1 [ 16%]: Field Prep
Perks 2 [ 33%]: Trench Barrel
MWorks [100%]: *
```
| 52.355422 | 511 | 0.690484 | eng_Latn | 0.958239 |
809c5064a98d88ad3aa20a4fbc28cf149a871dd4 | 1,860 | md | Markdown | dynamicsax2012-msdn/releaseupdatedb41-vend-updatemappingfields-upgrade-script.md | AndreasVolkmann/DynamicsAX2012-msdn | 53dd6d433cc772eb1e207abb8e5bed1c157ee1f1 | [
"CC-BY-4.0",
"MIT"
] | 7 | 2020-05-18T17:20:32.000Z | 2021-11-04T20:39:20.000Z | dynamicsax2012-msdn/releaseupdatedb41-vend-updatemappingfields-upgrade-script.md | AndreasVolkmann/DynamicsAX2012-msdn | 53dd6d433cc772eb1e207abb8e5bed1c157ee1f1 | [
"CC-BY-4.0",
"MIT"
] | 66 | 2018-08-07T20:05:55.000Z | 2022-01-21T20:00:29.000Z | dynamicsax2012-msdn/releaseupdatedb41-vend-updatemappingfields-upgrade-script.md | AndreasVolkmann/DynamicsAX2012-msdn | 53dd6d433cc772eb1e207abb8e5bed1c157ee1f1 | [
"CC-BY-4.0",
"MIT"
] | 23 | 2018-08-08T11:57:41.000Z | 2021-08-31T09:04:49.000Z | ---
title: ReleaseUpdateDB41_Vend.updateMappingFields Upgrade Script
TOCTitle: ReleaseUpdateDB41_Vend.updateMappingFields Upgrade Script
ms:assetid: 203a4c46-75de-c6c6-6c6c-0ce90ce11718
ms:mtpsurl: https://msdn.microsoft.com/en-us/library/JJ684883(v=AX.60)
ms:contentKeyID: 49707086
ms.date: 05/18/2015
mtps_version: v=AX.60
---
# ReleaseUpdateDB41\_Vend.updateMappingFields Upgrade Script
_**Applies To:** Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2_
<table>
<colgroup>
<col style="width: 50%" />
<col style="width: 50%" />
</colgroup>
<tbody>
<tr class="odd">
<td><p><strong>Class</strong></p></td>
<td><p>ReleaseUpdateDB41_Vend</p></td>
</tr>
<tr class="even">
<td><p><strong>Method</strong></p></td>
<td><p>updateMappingFields</p></td>
</tr>
<tr class="odd">
<td><p><strong>Description</strong></p></td>
<td><p>Adds the mapping for vendor related fields and tables.</p></td>
</tr>
</tbody>
</table>
## Affected Modules and Tables
<table>
<colgroup>
<col style="width: 100%" />
</colgroup>
<thead>
<tr class="header">
<th><p>Affected Modules</p></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><p>Accounts payable</p></td>
</tr>
</tbody>
</table>
<table>
<colgroup>
<col style="width: 100%" />
</colgroup>
<thead>
<tr class="header">
<th><p>Affected Tables</p></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><p>VendInvoiceJour</p></td>
</tr>
<tr class="even">
<td><p>VendTable</p></td>
</tr>
</tbody>
</table>
## Deleted Tables or Fields
<table>
<colgroup>
<col style="width: 50%" />
<col style="width: 50%" />
</colgroup>
<thead>
<tr class="header">
<th><p>Table</p></th>
<th><p>Field</p></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><p>VendInvoiceJour</p></td>
<td><p>InvoiceNumber</p></td>
</tr>
<tr class="even">
<td><p>VendTable</p></td>
<td><p>TributarySubstitutionRegistry</p></td>
</tr>
</tbody>
</table>
| 17.714286 | 78 | 0.660753 | yue_Hant | 0.487313 |
809e405607c3f6af72d56443ae0c833c52ed8754 | 52 | md | Markdown | README.md | sbekti/zerotier-one-docker | b16273156ad8e98086b509515cdc8f6776fe1258 | [
"MIT"
] | null | null | null | README.md | sbekti/zerotier-one-docker | b16273156ad8e98086b509515cdc8f6776fe1258 | [
"MIT"
] | null | null | null | README.md | sbekti/zerotier-one-docker | b16273156ad8e98086b509515cdc8f6776fe1258 | [
"MIT"
] | null | null | null | # zerotier-one-docker
Docker build for ZeroTier One
| 17.333333 | 29 | 0.807692 | kor_Hang | 0.262221 |
809e89f94d99d5820a8dca250458c01364116d54 | 104 | md | Markdown | source/blog/linux-ubuntu/trackpad.md | walchko/github-blog | 6149b7c48068a0781dace6763f7e0575366f0a3c | [
"MIT"
] | 2 | 2020-05-25T11:33:21.000Z | 2020-12-19T06:45:01.000Z | source/blog/linux-ubuntu/trackpad.md | walchko/github-blog | 6149b7c48068a0781dace6763f7e0575366f0a3c | [
"MIT"
] | null | null | null | source/blog/linux-ubuntu/trackpad.md | walchko/github-blog | 6149b7c48068a0781dace6763f7e0575366f0a3c | [
"MIT"
] | 1 | 2021-09-12T19:56:29.000Z | 2021-09-12T19:56:29.000Z | ---
title: Trackpad Issues
date: 28 Nov 2020
---
- https://wiki.ubuntu.com/DebuggingTouchpadDetection
| 13 | 52 | 0.730769 | kor_Hang | 0.352453 |
809f6b7325ff59b28bfc67f1b55eee7d6e20979f | 1,278 | md | Markdown | articles/cloud-partner-portal/cloud-partner-portal-give-feedback.md | bplus/azure-docs | 3e3fc1c429f17f7a5b6cbb835890619c46b4e137 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/cloud-partner-portal/cloud-partner-portal-give-feedback.md | bplus/azure-docs | 3e3fc1c429f17f7a5b6cbb835890619c46b4e137 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | articles/cloud-partner-portal/cloud-partner-portal-give-feedback.md | bplus/azure-docs | 3e3fc1c429f17f7a5b6cbb835890619c46b4e137 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2021-12-07T06:43:08.000Z | 2021-12-19T02:20:20.000Z | ---
title: Share Azure marketplace publishing and cloud partner portal Feedback | Microsoft Docs
description: Please share your feedback for the Azure marketplace publishing and cloud partner portal.
services: marketplace-publishing
documentationcenter: ''
author: rupeshazure
manager: hamidm
ms.service: marketplace
ms.devlang: na
ms.topic: article
ms.tgt_pltfrm: na
ms.workload: na
ms.date: 03/30/2017
ms.author: [email protected]
ms.robots: NOINDEX, NOFOLLOW
---
# Feedback: Marketplace publishing and Cloud partner portal
Microsoft wants to make the Azure Marketplace, the AppSource publishing process, and the overall cloud partner portal experience as easy and as intuitive as possible. We’re looking to you to let us know if we hit the mark, or if we have things to work on. We'll triage and review all feedback, and we’ll always respect your privacy (so we’ll only contact you if we need more info).
If you need immediate help, please contact [support](https://aka.ms/cloudpartnerportalsupport).
To let us know what you think, sign in to the [Cloud Partner Portal](https://cloudpartner.azure.com/) and click the smiley face in the top menu bar.

| 31.95 | 382 | 0.77856 | eng_Latn | 0.956547 |
80a0a8b0b1215fe79f5da2b48497f50c1e91065a | 68 | md | Markdown | README.md | FloresFelipe/ATM-OOP | cdd669dbb4eac52ad65b6f1949f118f85fa63802 | [
"MIT"
] | null | null | null | README.md | FloresFelipe/ATM-OOP | cdd669dbb4eac52ad65b6f1949f118f85fa63802 | [
"MIT"
] | null | null | null | README.md | FloresFelipe/ATM-OOP | cdd669dbb4eac52ad65b6f1949f118f85fa63802 | [
"MIT"
] | null | null | null | # ATM-OOP
Object Oriented implementation of the ATM CLD sample Exam
| 22.666667 | 57 | 0.808824 | eng_Latn | 0.940919 |
80a178503b418445e0d30e7df8acd1ed6ab77641 | 343 | md | Markdown | _posts/2021-07-17-Im-being-bad-tonight-20210717084722044067.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | _posts/2021-07-17-Im-being-bad-tonight-20210717084722044067.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | _posts/2021-07-17-Im-being-bad-tonight-20210717084722044067.md | ipussy/ipussy.github.io | 95d19a74e38bb54303cf18057a99a57c783e76bf | [
"Apache-2.0"
] | null | null | null | ---
title: "I’m being bad tonight😈"
metadate: "hide"
categories: [ Pussy ]
image: "https://preview.redd.it/xponfz3nhob71.jpg?auto=webp&s=4fef73559cffc7e6d846fdb20672476a30574214"
thumb: "https://preview.redd.it/xponfz3nhob71.jpg?width=1080&crop=smart&auto=webp&s=ed29637ce7cdff7afdd5105738c915a3acb92285"
visit: ""
---
I’m being bad tonight😈
| 34.3 | 125 | 0.772595 | yue_Hant | 0.061666 |
80a183669e7978ec0e70ca477aa900afbc6dd7c6 | 920 | md | Markdown | add/metadata/System.Xml.Schema/XmlSchemaExternal.meta.md | v-maudel/docs-1 | f849afb0bd9a505311e7aec32c544c3169edf1c5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | add/metadata/System.Xml.Schema/XmlSchemaExternal.meta.md | v-maudel/docs-1 | f849afb0bd9a505311e7aec32c544c3169edf1c5 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | add/metadata/System.Xml.Schema/XmlSchemaExternal.meta.md | v-maudel/docs-1 | f849afb0bd9a505311e7aec32c544c3169edf1c5 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2021-01-06T09:36:01.000Z | 2021-01-06T09:36:01.000Z | ---
uid: System.Xml.Schema.XmlSchemaExternal
ms.technology:
- "dotnet-standard"
author: "mairaw"
ms.author: "mairaw"
manager: "wpickett"
---
---
uid: System.Xml.Schema.XmlSchemaExternal.Id
ms.technology:
- "dotnet-standard"
author: "mairaw"
ms.author: "mairaw"
manager: "wpickett"
---
---
uid: System.Xml.Schema.XmlSchemaExternal.Schema
ms.technology:
- "dotnet-standard"
author: "mairaw"
ms.author: "mairaw"
manager: "wpickett"
---
---
uid: System.Xml.Schema.XmlSchemaExternal.UnhandledAttributes
ms.technology:
- "dotnet-standard"
author: "mairaw"
ms.author: "mairaw"
manager: "wpickett"
---
---
uid: System.Xml.Schema.XmlSchemaExternal.#ctor
ms.technology:
- "dotnet-standard"
author: "mairaw"
ms.author: "mairaw"
manager: "wpickett"
---
---
uid: System.Xml.Schema.XmlSchemaExternal.SchemaLocation
ms.technology:
- "dotnet-standard"
author: "mairaw"
ms.author: "mairaw"
manager: "wpickett"
---
| 17.037037 | 60 | 0.71413 | eng_Latn | 0.104109 |
80a2f99f750e4ffa9dead08536187d9f14098010 | 287 | md | Markdown | README.md | Kuberlytics/singleuser-deeplearning | 0a9e0347f2d2bdae6b5084c77da5408b6e10da89 | [
"Apache-2.0"
] | null | null | null | README.md | Kuberlytics/singleuser-deeplearning | 0a9e0347f2d2bdae6b5084c77da5408b6e10da89 | [
"Apache-2.0"
] | null | null | null | README.md | Kuberlytics/singleuser-deeplearning | 0a9e0347f2d2bdae6b5084c77da5408b6e10da89 | [
"Apache-2.0"
] | null | null | null | # Single-user Docker image for Data8-like classes
This repository contains a simple single-user image for use with
JupyterHub when teaching a [data8](https://data8.org) like class.
## Releases
The current release is `berkeleydsep/singleuser-data8:v0.1`. How this
is versioned is tbd.
| 28.7 | 69 | 0.780488 | eng_Latn | 0.994832 |
80a3668e6db1459f0a0300f2ef9bdf20aa48609c | 3,045 | md | Markdown | _posts/2021-01-13-當前馬特市的訴訟制度改革刻不容緩.md | NodeBE4/opinion | 81a7242230f02459879ebc1f02eb6fc21507cdf1 | [
"MIT"
] | 21 | 2020-07-20T16:10:55.000Z | 2022-03-14T14:01:14.000Z | _posts/2021-01-13-當前馬特市的訴訟制度改革刻不容緩.md | NodeBE4/opinion | 81a7242230f02459879ebc1f02eb6fc21507cdf1 | [
"MIT"
] | 1 | 2020-07-19T21:49:44.000Z | 2021-09-16T13:37:28.000Z | _posts/2021-01-13-當前馬特市的訴訟制度改革刻不容緩.md | NodeBE4/opinion | 81a7242230f02459879ebc1f02eb6fc21507cdf1 | [
"MIT"
] | 1 | 2021-05-29T19:48:01.000Z | 2021-05-29T19:48:01.000Z | ---
layout: post
title: "當前馬特市的訴訟制度改革刻不容緩"
date: 2021-01-13T09:20:46.000Z
author: William
from: https://matters.news/@WilliamLeung/%25E7%2595%25B6%25E5%2589%258D%25E9%25A6%25AC%25E7%2589%25B9%25E5%25B8%2582%25E7%259A%2584%25E8%25A8%25B4%25E8%25A8%259F%25E5%2588%25B6%25E5%25BA%25A6%25E6%2594%25B9%25E9%259D%25A9%25E5%2588%25BB%25E4%25B8%258D%25E5%25AE%25B9%25E7%25B7%25A9-bafyreidmgpo2y4y5r4wprykyukue5zqmywox7mhk2jvht4b35mszuj5uua
tags: [ Matters ]
categories: [ Matters ]
---
<!--1610529646000-->
[當前馬特市的訴訟制度改革刻不容緩](https://matters.news/@WilliamLeung/%25E7%2595%25B6%25E5%2589%258D%25E9%25A6%25AC%25E7%2589%25B9%25E5%25B8%2582%25E7%259A%2584%25E8%25A8%25B4%25E8%25A8%259F%25E5%2588%25B6%25E5%25BA%25A6%25E6%2594%25B9%25E9%259D%25A9%25E5%2588%25BB%25E4%25B8%258D%25E5%25AE%25B9%25E7%25B7%25A9-bafyreidmgpo2y4y5r4wprykyukue5zqmywox7mhk2jvht4b35mszuj5uua)
------
<div>
<p>鑒於最近訴訟頻發,而各方的資訊又十分紛亂,讓整個訴訟呈現一種在原告和被告各自的敘事範圍內都能呈現一種邏輯自恰但截然不同的說辭。由於一般用戶沒有空閒去搜集證據和瞭解全面的資訊,甚至站方和管理員驟然面對這種情況也無法快速得出結論。就算可以,其結果也未必令人信服。因此,個人覺得馬特市的訴訟制度應該改革了。</p><p>本人在之前的<a href="https://matters.news/@WilliamLeung/%E5%88%BB%E5%9C%A8%E8%8F%AF%E4%BA%BA%E9%AA%A8%E5%AD%90%E8%A3%8F%E7%9A%84-%E6%98%8E%E5%90%9B%E5%A4%A2-%E7%94%B1%E4%B8%AD%E8%A5%BF%E6%96%B9%E7%9A%84%E6%94%BF%E6%B2%BB%E5%8A%87%E6%89%80%E6%83%B3%E5%88%B0%E7%9A%84-bafyreibgya2c5gkmp2ufsnrffjd3jxyibszyoenvdx7mi42x6ghfxbrlf4" target="_blank">一篇文章</a>就已經說過,目前馬特市施行的這一套訴訟制度很容易被人當成黨同伐異的工具,其中的漏洞會導致其訴訟結果有時會比較偏頗以致難以服眾。但也許因為當時沒有急迫性,<a class="mention" href="https://matters.news/@hi176" target="_blank" data-display-name="Matty" data-user-name="hi176" data-id="VXNlcjo4MQ"><span>@Matty</span></a> 當時沒有十分認真對待。但最近一段時間的發生的狀況讓這個時機點來臨。為了進一步完善當下的訴訟制度,使其結果盡量公平公正,站方應該要開始付出行動了。</p><p>為了維護社區自治的基本原則,減低管理員的工作量,同時維持當下類陪審團制度的訴訟模式,個人以為<a class="mention" href="https://matters.news/@kk103" target="_blank" data-display-name="蛋碎" data-user-name="kk103" data-id="VXNlcjozODgzMQ"><span>@蛋碎</span></a>當初的初步想法非常值得參考。</p><blockquote>如果真模仿現實中的司法來管治,也應當是從符合陪審員條件的公民中抽取數人組成陪審團。然而空間使用者的人員組成各異,很難界定誰符合公民標準。一人多號,多人共號,有活躍賬號,有不活躍賬號,有匿名賬號,有實名賬號,有功能性賬號,有社交性賬號,也有創作型賬號等等。更別說還有地域、族群、階層、職業等等這些一般人類共有的差異。這些都會影響Matters賬號的狀態和行為模式,不如現實中隨機抽取公民那麼具有代表性以及可預期性,進而影響裁決之公正。我個人建議啦,列一些比較具有代表性且活躍度的Matters網友,經過他們本人同意後,組成裁判員大名單。每次有訴訟,從中隨機抽取數人進行表決裁判。</blockquote><p>Matty不如公開徵集陪審團成員,可以考慮用戶自薦和他人推舉兩種形式,並讓本站用戶投票決定。當然,對陪審團成員要有一定的要求,比如發過多少篇文章,要有一定的活躍度,至少保證每48小時內會查看馬特市的動態,具體細節站方可以進一步收集和評估,最後出台具體的要求。同時,為了保證其公平性,應該限制不同政治光譜成員的人數。比如陪審團的成員應該要同時具備親共和反共用戶,不能讓某一單方光譜人士佔據陪審團的多數。</p><p>陪審團成員一旦產生,可以規定其任期。除非成員主動要求退出或有嚴重失職行為被罷黜,否則在其任期內一般不作變更,如有個別成員因各種原因不能履行職務,則可進行補選。任期一到,則可進行換屆重新選舉。陪審團成員應該在用戶發起訴訟之時,主動搜集並瞭解全面的信息,方可決定是否做出處罰及其具體處罰措施。</p><p>站方應該提前研議出一套具體的處罰措施,比如禁言七天,禁言一個月,禁言三個月或者更久。屢教不改者可判死刑(封號)。 一旦用戶發起訴訟,陪審團成員進行兩輪投票並需分別公開作出具體說明,如列出具體的投票理由和援引本站的相關規定。第一輪投票決定是否對被起訴用戶進行處罰,第二輪投票決定其處罰的具體措施。<a class="mention" href="https://matters.news/@hi176" target="_blank" data-display-name="Matty" data-user-name="hi176" data-id="VXNlcjo4MQ"><span>@Matty</span></a>或管理員只需要查看陪審團最後的結果並執行即可,大大發揚了本站的自治精神以及節省管理員的時間。</p><p>本提議只是一個粗略的設想,如果站方且各位用戶同意,很多細節還需要各位幫忙完善。希望大家一起來建立更完善的社區管理機制,讓馬特市的明天更加美好。 </p>
</div>
| 179.117647 | 2,168 | 0.817077 | yue_Hant | 0.797337 |
80a3973724bbdd5228b58ddb7e293b0de26f632e | 5,238 | md | Markdown | 3.6/jig-mapper/main.md | 2728-92/F3com-data-master | a6685ed9869ec2c4678539d80355fd7cb00942db | [
"MIT"
] | null | null | null | 3.6/jig-mapper/main.md | 2728-92/F3com-data-master | a6685ed9869ec2c4678539d80355fd7cb00942db | [
"MIT"
] | null | null | null | 3.6/jig-mapper/main.md | 2728-92/F3com-data-master | a6685ed9869ec2c4678539d80355fd7cb00942db | [
"MIT"
] | null | null | null | # Jig Mapper
The Jig Object-Document-Mapper is an implementation of the abstract [Active Record Cursor class](cursor). Have a look into it for additional method descriptions.
Namespace: `\DB\Jig` <br>
File location: `lib/db/jig/mapper.php`
---
## Instantiation
To use the Jig ODM, [create a valid Jig DB Connection](jig#constructor) and follow this example:
```php
$mapper = new \DB\Jig\Mapper(\DB\Jig $db, string $file);
```
If you'd like to create a model class, you might like to wrap it up:
```php
$f3->set('DB',new DB\Jig('data/'));
class User extends \DB\Jig\Mapper {
public function __construct() {
parent::__construct( \Base::instance()->get('DB'), 'users.json' );
}
}
$user = new User();
$user->load(array('@_id = ?','515c570f28de6'));
// etc.
```
<div class="alert alert-info">
<strong>Definition</strong>: The primary key of Jig documents is named <code>_id</code>.
</div>
## Syntax
### $filter
The `$filter` argument for Jig accepts the following structure:
```php
// array value for parameterized queries
array( string $expr [, string $bindValue1 [, string $bindValue2 [, ...]]] )
```
The `$expr` part must contain a valid code expression, where all mapper fields are prefixed by a `@`-char. You can bind values to them with positional or named tokens.
Here is an example:
```php
// positional tokens
array('@username = ? and @password = ?','John','acbd18db4cc2f85cedef654fccc4a4d8')
// named tokens
array('@username = :user and @password = :pw',':user'=>'John',':pw'=>'acbd18db4cc2f85cedef654fccc4a4d8')
```
**Important:** Jig is a schema-less document mapper, so the fields of a document may vary from one record to another.
To create a valid `$expr` string, keep in mind to add additional field existence checks to prevent running into weird undefined variable errors.
Adding some checks for that can be achieved easiely by adding some `isset` conditions:
```php
array(
'(isset(@username) && @username == ?) && (isset(@password) && @password = ?)',
'John','acbd18db4cc2f85cedef654fccc4a4d8'
)
```
<div class="alert alert-info">
Info: You can use all common comparison operators in your condition and a single <code>=</code> works too.
</div>
#### Search
The best way to search in Jig is to use some `preg_match` conditions:
```php
$userList = $user->find(array('(isset(@email) && preg_match(?,@email))','/gmail/'));
// returns all users with an email address that contains GMAIL
// ends with gmail.com => /gmail\.com$/
// starts with john => /^john/
```
The equivalent of a SQL `IN` operator goes like this:
```php
$user->find(array('in_array('_id',array(1,2,3))'));
```
If your document uses an array field, i.e. tags, you can find all posts by tag with just switching the in_array parameters:
```php
$post->find(array('isset(@tags) && in_array("fat-free",@tags)'));
```
### $option
The `$option` argument for Jig accepts the following structure:
```php
array(
'order' => string $orderClause,
'limit' => integer $limit,
'offset' => integer $offset
)
```
i.e:
```php
array(
'order' => 'score SORT_DESC, team_name SORT_ASC',
'limit' => 20,
'offset' => 0
)
```
## Methods
### exists
**Return TRUE if the given field is defined**
```php
bool exists( string $key )
```
### set
**Assign a value to a field**
```php
scalar|FALSE set( string $key, scalar $val )
```
This class takes advantage of the [Magic class](magic "A PHP magic wrapper") and ArrayAccess interface.
It means you can set and get variables with direct access like this:
```php
$mapper->foo = 'bar';
$mapper['foo'] = 'bar';
```
### get
**Retrieve value of field**
```php
scalar|FALSE get( string $key )
```
### clear
**Clear value of field**
```php
NULL clear( string $key )
```
### fields
**Return field names of the mapper object**
```php
array fields( )
```
### cast
**Return fields of the mapper object as an associative array**
```php
array cast( [ object $obj = NULL ] )
```
### token
**Convert tokens in string expression to variable names**
```php
string token( string $str )
```
### find
**Return records that match a given criteria**
```php
array|FALSE find( [ array $filter = NULL [, array $options = NULL [, int $ttl = 0 [, bool $log = TRUE ]]]] )
```
### count
**Count records that match a given criteria**
```php
int count( [ array $filter = NULL [, $ttl = 0 ]] )
```
### insert
**Insert a new record**
```php
array insert( )
```
### update
**Update the current record**
```php
array update( )
```
### erase
**Delete the current record**
```php
bool erase( [ array $filter = NULL ] )
```
### copyfrom
**Hydrate the mapper object using an array**
```php
NULL copyfrom( array | string $var [, callback $func = NULL ] )
```
This function allows you to hydrate the mapper using an array (or the name of a hive variable containing an array).
`$func` is the callback function to apply to the hive array variable:
```php
if ($func) $var = $func($var);
```
### copyto
**Populate hive array variable with mapper fields**
```php
NULL copyto( string $key )
```
### factory
**Convert an array to a mapper object**
```php
protected object factory( string $id, array $row )
```
This _protected_ method is used internally by the `select` method.
| 20.622047 | 167 | 0.666858 | eng_Latn | 0.947957 |
80a4c1f07c9dd81337f6636bea08215bafe0357e | 981 | md | Markdown | _posts/2017-11-24-Lou-Lou-LouLou-LB113-Lottie.md | marjoriermoses/marjoriermoses.github.io | cf45d4879f2cef9f76cd2ad1ede8f2a69fe5ad1b | [
"MIT"
] | null | null | null | _posts/2017-11-24-Lou-Lou-LouLou-LB113-Lottie.md | marjoriermoses/marjoriermoses.github.io | cf45d4879f2cef9f76cd2ad1ede8f2a69fe5ad1b | [
"MIT"
] | null | null | null | _posts/2017-11-24-Lou-Lou-LouLou-LB113-Lottie.md | marjoriermoses/marjoriermoses.github.io | cf45d4879f2cef9f76cd2ad1ede8f2a69fe5ad1b | [
"MIT"
] | null | null | null | ---
layout: post
date: 2017-11-24
title: "Lou Lou LouLou LB113 Lottie"
category: Lou Lou
tags: [Lou Lou]
---
### Lou Lou LouLou LB113 Lottie
Just **$309.99**
###
<table><tr><td>BRANDS</td><td>Lou Lou</td></tr></table>
<a href="https://www.readybrides.com/en/lou-lou/64037-loulou-lb113-lottie.html"><img src="//img.readybrides.com/147929/loulou-lb113-lottie.jpg" alt="LouLou LB113 Lottie" style="width:100%;" /></a>
<!-- break --><a href="https://www.readybrides.com/en/lou-lou/64037-loulou-lb113-lottie.html"><img src="//img.readybrides.com/147930/loulou-lb113-lottie.jpg" alt="LouLou LB113 Lottie" style="width:100%;" /></a>
<a href="https://www.readybrides.com/en/lou-lou/64037-loulou-lb113-lottie.html"><img src="//img.readybrides.com/147928/loulou-lb113-lottie.jpg" alt="LouLou LB113 Lottie" style="width:100%;" /></a>
Buy it: [https://www.readybrides.com/en/lou-lou/64037-loulou-lb113-lottie.html](https://www.readybrides.com/en/lou-lou/64037-loulou-lb113-lottie.html)
| 57.705882 | 210 | 0.707441 | yue_Hant | 0.420523 |
80a5a85a80b784403763cbfa02b4ae0211e90160 | 3,261 | md | Markdown | README.md | willynilly/gulp-solemn | 355dfe31c8a3949aacc00ba4153174a2f38d02f9 | [
"MIT"
] | null | null | null | README.md | willynilly/gulp-solemn | 355dfe31c8a3949aacc00ba4153174a2f38d02f9 | [
"MIT"
] | null | null | null | README.md | willynilly/gulp-solemn | 355dfe31c8a3949aacc00ba4153174a2f38d02f9 | [
"MIT"
] | null | null | null | # gulp-solemn
A gulp plugin to detect inappropriate language in your code.
## Overview
The plugin prints violation messages to the console when it encounters inappropriate language in your JS or CSS files. Each word is associated to one or more violation categories. For example, you might associate the word "beefcake" with the violation category "sexist". You can add your own custom dictionaries to specify words that cause violations.
## Dictionary Format
Each custom dictionary is a JSON file with the following format:
```js
{
"word1": ["category1", "category3"],
"word2": ["category2"],
"word3": ["category1"]
"word4": ["category2", "category3", "category4"]
}
```
Every word must have at least one violation category. If multiple dictionaries are specified, words and their categories are merged.
## Usage
```js
var gulp = require('gulp');
var solemn = require('gulp-solemn');
// simple example
var simpleSolemnOptions = {
printViolationMessages: true, // whether to print the violations to the console
includeDefaultDictionary: true, // whether to include the default dictionary as well
};
gulp.src(['**/*.css', '**/*.js'])
.pipe(solemn(simpleSolemnOptions))
// custom reporter example
var simpleSolemnOptions = {
printViolationMessages: true,
reporter: function(violationMessage) {
console.log(violationMessage);
}
};
gulp.src(['**/*.css', '**/*.js'])
.pipe(solemn(simpleSolemnOptions))
// load a custom custom dictionary and
// do something with each file's set of violation objects
var perFileSolemnOptions = {
fileViolationsCallback: function(fileName, violations, violationMessages) {
// the violations and corresponding violation messages for a particular file
console.log(fileName);
violations.forEach(function(violation) {
console.log(violation.file);
console.log(violation.issues);
});
},
dictionaries: ['test/fixtures/dictionary1.json', 'test/fixtures/dictionary2.json'],
includeDefaultDictionary: false,
printViolationMessages: false,
};
gulp.src(['**/*.css', '**/*.js'])
.pipe(solemn(perFileSolemnOptions))
// load a custom custom dictionary and
// do something with each file's set of violation objects
var allFilesSolemnOptions = {
allViolationsCallback: function(violations, violationMessages) {
// the violations and corresponding violation messages for all files after they have been processed
violations.forEach(function(violation) {
console.log(violation.file);
console.log(violation.type);
console.log(violation.issues);
console.log(violation.line);
console.log(violation.column);
console.log(violation.text);
});
// already formatted violation messages
// same as what is printed when printViolationMessages === true
violationMessages.forEach(function(vm) {
console.log(vm);
})
},
dictionaries: ['test/fixtures/dictionary1.json', 'test/fixtures/dictionary2.json'],
includeDefaultDictionary: false,
printViolationMessages: false,
};
gulp.src(['**/*.css', '**/*.js'])
.pipe(solemn(perFileSolemnOptions))
```
## Test
To test the module, run the follow from the command line:
```js
npm test
```
| 31.355769 | 354 | 0.706838 | eng_Latn | 0.870579 |
80a6431a87ed0a390f0da083a8314f5b9d47dbd0 | 1,751 | markdown | Markdown | _posts/2022/2022-01-01-locate-assembly-aot-type.markdown | nunomaia/nunomaia.github.io | 19ee7879bafd1629b3aec6e60a8e7a2edbd779a3 | [
"Apache-2.0"
] | null | null | null | _posts/2022/2022-01-01-locate-assembly-aot-type.markdown | nunomaia/nunomaia.github.io | 19ee7879bafd1629b3aec6e60a8e7a2edbd779a3 | [
"Apache-2.0"
] | null | null | null | _posts/2022/2022-01-01-locate-assembly-aot-type.markdown | nunomaia/nunomaia.github.io | 19ee7879bafd1629b3aec6e60a8e7a2edbd779a3 | [
"Apache-2.0"
] | null | null | null | ---
layout: single
title: Locate .NET Assembly for a given type in X++
tags:
- D365FO
categories:
- X++
---
I was experiencing an error in a standard Dynamics 365 F&O class that source code has not available. I needed to understand class internal behavior by analyzing source code.
To decompile a class using [ILSpy](https://github.com/icsharpcode/ILSpy) or [Jet Brains dotPeek](https://www.jetbrains.com/decompiler/) is required to know the assembly file path in the file system.
For some objects is not straightforward to get matching assembly file.
Instead of browsing and expanding assemblies one by one, there is an easy way to get assembly for a class/table, etc.
````csharp
public static void Main(Args _args)
{
System.Object obj;
System.Type type;
System.Reflection.Assembly assembly;
var cache = new SysGlobalObjectCache();
type = cache.GetType();
assembly = type.Assembly;
info(assembly.FullName);
info(assembly.Location);
info(type.FullName);
}
````
Output

This code also works for tables and other data types. For example, for Customer Table.
Just cast table to System.Object.
````csharp
public static void Main(Args _args)
{
System.Object obj;
System.Type type;
System.Reflection.Assembly assembly;
CustTable custTable;
obj = custTable;
type = obj.GetType();
assembly = type.Assembly;
info(assembly.FullName);
info(assembly.Location);
info(type.FullName);
}
````

Feel free to leave a comment on twitter. | 27.359375 | 200 | 0.664192 | eng_Latn | 0.948925 |
80a6aaf3cda389f113a7db4965ba18451a80fe37 | 805 | md | Markdown | _versions/babelfish-1.1.0.md | babelfish-for-postgresql/babelfish_project_website | 61696a8e1031bfce599e8ec776be41a122458f00 | [
"Apache-2.0"
] | 8 | 2021-10-30T02:28:33.000Z | 2022-03-02T21:49:27.000Z | _versions/babelfish-1.1.0.md | babelfish-for-postgresql/babelfish_project_website | 61696a8e1031bfce599e8ec776be41a122458f00 | [
"Apache-2.0"
] | 76 | 2021-11-01T15:15:48.000Z | 2022-03-30T15:03:07.000Z | _versions/babelfish-1.1.0.md | babelfish-for-postgresql/babelfish_project_website | 61696a8e1031bfce599e8ec776be41a122458f00 | [
"Apache-2.0"
] | 6 | 2021-10-30T19:53:29.000Z | 2022-01-20T01:22:58.000Z | ---
date: 2022-03-15
title: Babelfish 1.1.0
nav_order: 2
product: Babelfish for PostgreSQL
version: '1.1.0'
components:
-
role: engine
artifact: babelfish
version: 1.1.0
sections:
source:
explanation: "/releases/babelfish-1.1.0.md"
pretty:
artifacts:
babelfish: ''
sections:
source: 'Babelfish 1.1.0'
---
Babelfish for PostgreSQL is open source software that uses the Apache License version 2 (ALv2) and PostgreSQL Licence. ALv2 grants you well-understood usage rights; you can use, modify, extend, embed, monetize, resell, and offer Babelfish for PostgreSQL as part of your products and services. The source for the entire project is available on [GitHub](https://github.com/babelfish-for-postgresql) and you're welcome to build from source for customized deployments. | 33.541667 | 465 | 0.742857 | eng_Latn | 0.983062 |
80a72c6c087b120973ff2e3c8c653d7fdaf1d998 | 91 | md | Markdown | pull_request_template.md | juliandavidoviedo/invie-github | 6f4ea7b4d37419478b0e4b94432823fb6e2e4b8e | [
"Apache-2.0"
] | null | null | null | pull_request_template.md | juliandavidoviedo/invie-github | 6f4ea7b4d37419478b0e4b94432823fb6e2e4b8e | [
"Apache-2.0"
] | 1 | 2019-02-02T05:13:58.000Z | 2019-02-02T05:13:58.000Z | pull_request_template.md | juliandavidoviedo/invie-github | 6f4ea7b4d37419478b0e4b94432823fb6e2e4b8e | [
"Apache-2.0"
] | null | null | null | ## ¿Que cambio el proyecto?
- [ ] Frontend
- [ ] Backend
- [ ] Server
## ¿Como lo pruebo?
| 15.166667 | 28 | 0.571429 | spa_Latn | 0.770526 |
80a753aff9cb665caf955c2837a16a2dba4d4d73 | 2,413 | md | Markdown | README.md | savabel/EmployeeTracker | 08793d3275f86b60db79c7e0896d4a39b7866fe8 | [
"MIT"
] | null | null | null | README.md | savabel/EmployeeTracker | 08793d3275f86b60db79c7e0896d4a39b7866fe8 | [
"MIT"
] | null | null | null | README.md | savabel/EmployeeTracker | 08793d3275f86b60db79c7e0896d4a39b7866fe8 | [
"MIT"
] | null | null | null |
# Project Title : Employee Tracker
## Project Description:
Build a solution for managing a company's employees using node, inquirer, and MySQL.
## Table of Contents
* [Installation](#installation)
* [Usage](#usage)
* [Contributing](#contributing)
* [Test](#test)
* [Questions](#questions)
* [License](#license)
* [Author] (#Author)
* [Badges](#badges)
## Installation
Step1: Run "npm install mysql2 inquirer cli-logo " and Step2: Run "node index.js".
## Usage
1.Run node index.js 2.Answers the questions 3.The README.md file will be created.
## Contributors
Robert McKenney, Abdul Amoud and Igor Calvacante
## Test
Test01 : <img src="https://github.com/savabel/EmployeeTracker/blob/master/tests/ScreenCapture01.JPG" alt="" width="500" height="">
Test02 : <img src="https://github.com/savabel/EmployeeTracker/blob/master/tests/ScreenCapture02.JPG" alt="" width="500" height="">
Test03 : <img src="https://github.com/savabel/EmployeeTracker/blob/master/tests/ScreenCapture03.JPG" alt="" width="500" height="">
## Questions
If you have any questions, contact savabel on GitHub.
## License
MIT License
Copyright (c) [year] [fullname]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
## Author

## Badges

| 36.014925 | 131 | 0.742644 | yue_Hant | 0.47568 |
80aaa06fb93e64a043bb13d51acdf0aa5d725989 | 153 | md | Markdown | docs/about.md | xinyichv/alfresco-vue-help | af42e2d2b3e1930b0a6eff39b3f18b1230a1b4f7 | [
"MIT"
] | null | null | null | docs/about.md | xinyichv/alfresco-vue-help | af42e2d2b3e1930b0a6eff39b3f18b1230a1b4f7 | [
"MIT"
] | null | null | null | docs/about.md | xinyichv/alfresco-vue-help | af42e2d2b3e1930b0a6eff39b3f18b1230a1b4f7 | [
"MIT"
] | null | null | null | ## 关于我们
# 凌云文档
国内领先的企业内容管理解决方案提供商,公司十余年专注于企业文档管理领域,以文档管理(ECM)和流程管理(BPM)为核心,凌云文档为主要产品,覆盖企业网盘、ISO文控、FMEA失效影响分析、企业文库、档案管理、合同管理等企业实际业务范围,为企业提供非结构化数据整体解决方案。 | 30.6 | 136 | 0.843137 | yue_Hant | 0.970604 |
80aaa801f4617dbc10510bb8b9089808790dc8b3 | 5,208 | md | Markdown | published/201906/20190531 Learn Python with these awesome resources.md | mcfd/TranslateProject | fddf002fb13e01ac2a35c1b4d917ecf4ad0ad4dc | [
"Apache-2.0"
] | 1,994 | 2015-01-04T11:40:04.000Z | 2022-03-29T17:18:18.000Z | published/201906/20190531 Learn Python with these awesome resources.md | mcfd/TranslateProject | fddf002fb13e01ac2a35c1b4d917ecf4ad0ad4dc | [
"Apache-2.0"
] | 1,257 | 2015-01-03T12:52:51.000Z | 2022-03-31T12:52:12.000Z | published/201906/20190531 Learn Python with these awesome resources.md | CN-QUAN/TranslateProject | 89f982acd224c24de4431ce147aa1dedaa70b206 | [
"Apache-2.0"
] | 2,359 | 2015-01-04T02:09:02.000Z | 2022-03-31T05:31:18.000Z | [#]: collector: (lujun9972)
[#]: translator: (tomjlw)
[#]: reviewer: (wxy)
[#]: publisher: (wxy)
[#]: url: (https://linux.cn/article-11015-1.html)
[#]: subject: (Learn Python with these awesome resources)
[#]: via: (https://opensource.com/article/19/5/resources-learning-python)
[#]: author: (Don Watkins https://opensource.com/users/don-watkins)
学习 Python 的精品 PLN 资源
======
> 通过将这些资源加入你自己的私人学习网络以拓展 Python 知识。

我使用和教授 Python 已有很长时间了,但我总是乐于增加我对这门实用语言的知识。这就是为什么我一直试着拓展我的 Python <ruby>[个人学习网络][2]<rt>personal learning network</rt></ruby>(PLN),这是一个描述用于分享信息的非正式的互惠型网络的概念。
教育学家 [Kelly Paredes][3] 和 [Sean Tibor][4] 最近在他们的播客 [Teaching Python][5] 上谈到了如何搭建 Python PLN。我在克里夫兰的 [PyCon 2019][6] 遇到他们之后就订阅了这个频道(并把它们加入到我的 Python PLN 当中)。这个播客激发了我对 Python PLN 中的人的思考,包括那些我最近在 PyCon 遇到的人们。
我会分享一些我找到 PLN 成员的地方;可能它们也可以变成你的 Python PLN 的一部分。
### Young Coders 导师
Python 基金会的活动协调者 [Betsy Waliszewski][7] 是我的 Python PLN 中的一员。当我们在 PyCon2019 见到时,因为我是个老师,她推荐我看看为十二岁及以上的孩子打造的 [Young Coders][8] 工作室。在那我遇到了正在负责这个计划的 [Katie Cunningham][9],它会教参与者如何搭建和配置树莓派并使用 Python 项目。年轻学生也会收到两本书 Jason Briggs 的 《[Python for Kids][10]》 和 Craig Richardson 的 《[Learn to Program with Minecraft][11]》。我一直寻找提升我教学水平的新方式,因此我在该会议上的 [NoStarch Press][12] 展台迅速拿到了两本 Minecraft 书。Katie 是一名优秀的教师,也是一名多产作家,拥有一个充满 Python 培训视频的 [YouTube][13] 精彩频道。
我把 Kattie 与我在 Young Coders 工作室碰到的另外两个人加入我的 PLN:[Nat Dunn][14] 和 [Sean Valentine][15]。像 Katie 一样,他们自愿花时间把 Python 介绍给青年程序员们。Nat 是 [Webucator][16] 的总裁,这是一家 IT 培训公司,多年来一直是 Python 软件基金会赞助商,并赞助了 PyCon 2018 教育峰会。在将 Python 教他 13 岁的儿子和 14 岁的侄子之后,他决定在 Young Coders 任教。Sean 是 [Hidden Genius 项目][17] 的战略计划总监,这是一个针对黑人男性青年的技术及领导力打造的教导项目。Sean 说许多 Hidden Genius 参与者“用 Python 打造项目因此我们认为 [Young Coders] 是一个很好的合作机会”。了解 Hidden Genius 项目激发了我更深层次地思考编程的未来以及其改变生活的威力。
### Open Spaces 聚会
我发现 PyCon 的 [Open Spaces][18] —— 这是一个一小时左右的自组织的即兴聚会 —— 跟正式的项目活动一样有用。我的最爱之一是 [Circuit Playground Express][19] 设备,它是我们会议主题包的一部分。我很喜欢这个设备,并且 Open Space 提供了学习它的一条大道。组织者提供了工作表和一个 [Github][20] 仓库,其中包含有我们成功所需要的所有工具,也提供了一个上手实践的机会以及探索这个独特硬件的方向。
这次会面激起了了我对学习 Circuit Playground Express 更新信息的兴趣,因此在 PyCon 之后, 我在 Twitter 上接触到了在会议上就该设备编程发表主旨演讲的 [Nina Zakharenko][21]。Nina 自从去年秋天我在 [All Things Open][23] 上听过她的演讲后就在我的 Python PLN 里了。我最近报名参加了她的 [Python 基础][24]课程以加深我的学习。Nina 推荐我将 [Kattni Rembor][25] 加入我的 Python PLN。他的[示例代码][26]正帮助我学习用 CircuitPython 编程。
### 我的 PLN 中的其他资源
我在 PyCon 2019 也遇见了 [Opensource.com][27] 社区版主 [Moshe Zadka][28],并和他来了场长谈。他分享了几个新的 Python 资源,包括 [如何像电脑科学家一样思考][29]。社区版主 [Seth Kenlon][30] 是我的 PLN 中的另一名成员;他发表了许多优秀的 [Python 文章][31],我也推荐你关注他。
我的 Python PLN 每天都在持续扩大。除了我已经提到的,我同样推荐你关注 [Al Sweigart][32]、[Eric Matthes][33] 以及 [Adafruit][34]他们分享的优质内容。我也推荐这本书《[制作:由 Adafruit Circuit Playground Express 开始][35]》和《[Podcast.\_\_init\_\_][36]》,这是一个关于 Python 社区的播客。这两个都是我从我的 PLN 中了解到的。
谁在你的 Python PLN 中?请在留言区分享你的最爱。
--------------------------------------------------------------------------------
via: https://opensource.com/article/19/5/resources-learning-python
作者:[Don Watkins][a]
选题:[lujun9972][b]
译者:[tomjlw](https://github.com/tomjlw)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/don-watkins
[b]: https://github.com/lujun9972
[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/reading_book_stars_list.png?itok=Iwa1oBOl (Book list, favorites)
[2]: https://en.wikipedia.org/wiki/Personal_learning_network
[3]: https://www.teachingpython.fm/hosts/kellypared
[4]: https://twitter.com/smtibor
[5]: https://www.teachingpython.fm/20
[6]: https://us.pycon.org/2019/
[7]: https://www.linkedin.com/in/betsywaliszewski
[8]: https://us.pycon.org/2019/events/letslearnpython/
[9]: https://www.linkedin.com/in/kcunning/
[10]: https://nostarch.com/pythonforkids
[11]: https://nostarch.com/programwithminecraft
[12]: https://nostarch.com/
[13]: https://www.youtube.com/c/KatieCunningham
[14]: https://www.linkedin.com/in/natdunn/
[15]: https://www.linkedin.com/in/sean-valentine-b370349b/
[16]: https://www.webucator.com/
[17]: http://www.hiddengeniusproject.org/
[18]: https://us.pycon.org/2019/events/open-spaces/
[19]: https://www.adafruit.com/product/3333
[20]: https://github.com/adafruit/PyCon2019
[21]: https://twitter.com/nnja
[22]: https://www.youtube.com/watch?v=35mXD40SvXM
[23]: https://allthingsopen.org/
[24]: https://frontendmasters.com/courses/python/
[25]: https://twitter.com/kattni
[26]: https://github.com/kattni/ChiPy_2018
[27]: http://Opensource.com
[28]: https://opensource.com/users/moshez
[29]: http://openbookproject.net/thinkcs/python/english3e/
[30]: https://opensource.com/users/seth
[31]: https://www.google.com/search?source=hp&ei=gVToXPq-FYXGsAW-mZ_YAw&q=site%3Aopensource.com+%22Seth+Kenlon%22+%2B+Python&oq=site%3Aopensource.com+%22Seth+Kenlon%22+%2B+Python&gs_l=psy-ab.12...627.15303..15584...1.0..0.176.2802.4j21......0....1..gws-wiz.....0..35i39j0j0i131j0i67j0i20i263.r2SAW3dxlB4
[32]: http://alsweigart.com/
[33]: https://twitter.com/ehmatthes?lang=en
[34]: https://twitter.com/adafruit
[35]: https://www.adafruit.com/product/3944
[36]: https://www.pythonpodcast.com/episodes/
| 56.608696 | 443 | 0.745968 | yue_Hant | 0.908528 |
80aad77462270d8c5108f49d1dde4f00e6ea3b0f | 294 | md | Markdown | README.md | se-panfilov/evision_test | 88f3b453fbac36796584f84e4a6b865bc4d8dd48 | [
"MIT"
] | null | null | null | README.md | se-panfilov/evision_test | 88f3b453fbac36796584f84e4a6b865bc4d8dd48 | [
"MIT"
] | null | null | null | README.md | se-panfilov/evision_test | 88f3b453fbac36796584f84e4a6b865bc4d8dd48 | [
"MIT"
] | null | null | null | # evision_test
#### Launch
1. Just open `dist/index.html` in your browser
2. launch dev server `npm run server`
(no need ti build)
#### Install deps
```shell
npm i
```
#### Build
```shell
npm run build
```
#### Development
```shell
npm run dev
```
#### Tests
```shell
npm test
```
| 8.647059 | 47 | 0.602041 | eng_Latn | 0.627521 |
80aae50d01ddf8bd779fff86c6110294be31484a | 49 | md | Markdown | content/team/_index.md | threat-defuser/threat-defuser.org | 8b913167223291bcc4f6b526adbe1554c06aa7e4 | [
"MIT"
] | null | null | null | content/team/_index.md | threat-defuser/threat-defuser.org | 8b913167223291bcc4f6b526adbe1554c06aa7e4 | [
"MIT"
] | 34 | 2020-07-23T14:15:39.000Z | 2022-02-26T13:38:33.000Z | content/team/_index.md | threat-defuser/threat-defuser.org | 8b913167223291bcc4f6b526adbe1554c06aa7e4 | [
"MIT"
] | 1 | 2020-07-23T10:53:01.000Z | 2020-07-23T10:53:01.000Z | +++
template = "team.html"
+++
## Meet the team
| 8.166667 | 22 | 0.55102 | eng_Latn | 0.932103 |
80ac729e595ee68b01ebbb107a9d22288d4d6b99 | 1,000 | md | Markdown | _posts/2019-01-02-Git-3Q.md | huangyu9887/huangyu9887.github.io | 22d66f9a725960c4444761911b84df2a9185e332 | [
"MIT"
] | null | null | null | _posts/2019-01-02-Git-3Q.md | huangyu9887/huangyu9887.github.io | 22d66f9a725960c4444761911b84df2a9185e332 | [
"MIT"
] | null | null | null | _posts/2019-01-02-Git-3Q.md | huangyu9887/huangyu9887.github.io | 22d66f9a725960c4444761911b84df2a9185e332 | [
"MIT"
] | null | null | null | ---
layout: post
title: "什么是Git"
date: 2019-01-02
categories: 编程
tags: 编程
author: 斯晨与禾
---
嗨,2019年来了。
新年好。
## 什么是 git?
Git 是一个**免费开源**的**分布式版本**控制系统,它可以高效的处理任何项目,无论是小的还是非常大的。
Git 很容易学,脚本小,性能快。它集合了SCM (软件配置管理)工具,比如Subversion, CVS, Perforce 及 ClearCase, 这些工具都有这么些功能,
比如便宜的**本地分支管理**,**方便的暂存区域**及**多个工作流**。
## 什么是 git 分支? 如何开分支和合并?
一图来说明。

不同于其他软件配置工具,Git 分支管理是一流的呢。你可以创建好几个本地分支,它们彼此独立。创建,合并,删除分支超快,往往只需要几秒钟。
### 特点
#### 无摩擦上下文切换
- 创建一分支,尝试新想法,提交几次,回到你创建分支的地方,打一个patch,转回到你做实验的地方,合并这个patch.
#### 基于角色的代码线
- 一个为生产而开设的量产分支,另一个用于测试的分支,其它更小的用于日常工作。
#### 基于功能的工作流
- 为每个新功能创建新分支,你就可以无缝的来回切换,然后新功能合入主线后,可以删除每个新功能分支。
#### 可处理的实验
- 创建一个实验分支,意识到它不是工作,然后删除这个实验分支 - 放弃这个工作 - 没人可以看到它 (即使你同时 push 了几个其它的分支)。
### 其它
很明显,当你推送到远程仓库时,你不需要推送你所有的分支。你可以选择只共享某一分支,某几个分支或者所有分支。
## 什么是 git orphan 分支?
- 它就是上面提到的子分支。
## 参考文献
+ [Git官网](https://git-scm.com/)
## CHANGELOG
- 20190102
| 14.492754 | 110 | 0.719 | yue_Hant | 0.820472 |
80add429c11c326e3283713768a3804d30be9564 | 211 | md | Markdown | android/documentation/view.md | appcelerator-modules/ti.greystripe | 6f0017dbbf78e7fa9f69a5ec078582f7355120ac | [
"Apache-2.0"
] | null | null | null | android/documentation/view.md | appcelerator-modules/ti.greystripe | 6f0017dbbf78e7fa9f69a5ec078582f7355120ac | [
"Apache-2.0"
] | null | null | null | android/documentation/view.md | appcelerator-modules/ti.greystripe | 6f0017dbbf78e7fa9f69a5ec078582f7355120ac | [
"Apache-2.0"
] | null | null | null | # Ti.Greystripe.View
## Description
A _greystripe_ module object which is a view for displaying ads delivered through the greystripe system.
## Methods
### void refresh()
Refreshes the currently visible ad. | 19.181818 | 104 | 0.772512 | eng_Latn | 0.997779 |
80ae5f296b6e408cb3d3e445fd89d01ed6da90d3 | 1,025 | markdown | Markdown | README.markdown | iamFIREcracker/vitality.vim | 0f693bff572689ad52b781c012dad4926cd924f6 | [
"MIT"
] | 180 | 2015-02-07T17:56:17.000Z | 2021-09-03T17:09:18.000Z | README.markdown | iamFIREcracker/vitality.vim | 0f693bff572689ad52b781c012dad4926cd924f6 | [
"MIT"
] | 25 | 2015-01-13T15:51:16.000Z | 2021-02-21T05:20:30.000Z | README.markdown | iamFIREcracker/vitality.vim | 0f693bff572689ad52b781c012dad4926cd924f6 | [
"MIT"
] | 28 | 2015-01-01T23:44:18.000Z | 2020-04-20T15:28:36.000Z | Vitality
========
(Vit)ality is a plugin that makes (V)im play nicely with (i)Term 2 and
(t)mux.
Features
--------
Vitality restores the `FocusLost` and `FocusGained` autocommand functionality.
Now Vim can save when iTerm 2 loses focus, even if it's inside tmux!
It also handles switching the cursor to a bar shaped one when in insert mode,
and restoring it when not.
Pull requests for other helpful behavior are welcome.
Installation and Usage
----------------------
Use Pathogen to install.
You shouldn't need to do anything else, but you can read `:help vitality` if
you're curious.
Note on later versions of tmux (1.9.x or higher)
------------------------------------------------
If you find that `FocusLost` events are not working in later versions of tmux
try adding the following line to your .tmux.conf.
set -g focus-events on
Don't forget to restart all your tmux sessions for this setting to take effect
(or just run the command in tmux itself to avoid having to restart).
License
-------
MIT/X11
| 25 | 78 | 0.694634 | eng_Latn | 0.998326 |
80af4c11d6ed4cda20edea386f50359e69aa0c8c | 461 | md | Markdown | readme.md | josegoyo/api-codeigniter | 492ab78b02d8b5ccfb906a574b7b1983840eeda0 | [
"MIT"
] | 1 | 2019-03-08T23:18:53.000Z | 2019-03-08T23:18:53.000Z | readme.md | josegoyo/api-codeigniter | 492ab78b02d8b5ccfb906a574b7b1983840eeda0 | [
"MIT"
] | null | null | null | readme.md | josegoyo/api-codeigniter | 492ab78b02d8b5ccfb906a574b7b1983840eeda0 | [
"MIT"
] | null | null | null |
Api rest
===================
This is a example how to create an api rest with codeigniter and Rest Server library.
Framework and library:
-------------------
- [Codeigniter 3.1+](https://www.codeigniter.com)
- [CodeIgniter Rest Server](https://github.com/chriskacerguis/codeigniter-restserver)
-------------------
Basic endpoints
-------------------
```
GET /rest/api/car
POST /rest/api/car
PUT /rest/api/car/{ID}
DELETE /rest/api/car/{ID}
```
| 19.208333 | 85 | 0.59436 | eng_Latn | 0.418402 |
80b0843e53c506bb5ae37332ff5b262c1f109650 | 918 | md | Markdown | README.md | BeepXtra/Steroid-Core4.0 | 4391d72904bc20bbd1cf7d250a7e2574dfd817ac | [
"MIT"
] | 1 | 2021-09-28T15:00:15.000Z | 2021-09-28T15:00:15.000Z | README.md | BeepXtra/Steroid-Core4.0 | 4391d72904bc20bbd1cf7d250a7e2574dfd817ac | [
"MIT"
] | null | null | null | README.md | BeepXtra/Steroid-Core4.0 | 4391d72904bc20bbd1cf7d250a7e2574dfd817ac | [
"MIT"
] | null | null | null | # node
The Steroid4.0 (BPC) cryptocurrency node.
## Install
**Hardware Requirements:**
```
2GB RAM
1 CPU Core
50GB DISK
```
**Requirements:**
- PHP 7.2
- PDO extension
- GMP extension
- BCMath extension
- MySQL/MariaDB
1. Install MySQL or MariaDB and create a database and a user.
2. Rename `include/config-sample.inc.php` to `include/config.inc.php` and set the DB login data
3. Change permissions to tmp and `tmp/db-update` to 777 (`chmod 777 tmp -R`)
4. Access the http://ip-or-domain and refresh once
## Usage
This app should only be run in the main directory of the domain/subdomain, ex: http://111.111.111.111
The node should have a public IP and be accessible over internet.
## Links
- Official website: https://www.steroid.io
- Block explorer: https://explorer.steroid.io
- Blog: https://blog.steroid.io
If you'd like to support the Steroid4.0 development please contact us
[email protected] | 23.538462 | 101 | 0.729847 | eng_Latn | 0.686434 |
80b281f3c34b82b22aa2ffa4d480886ee1332920 | 123 | md | Markdown | _includes/02-image.md | D-Code365/markdown-portfolio | 3326bf433286015688fd304867476ce0b518e06c | [
"MIT"
] | null | null | null | _includes/02-image.md | D-Code365/markdown-portfolio | 3326bf433286015688fd304867476ce0b518e06c | [
"MIT"
] | 5 | 2021-05-19T18:43:05.000Z | 2021-05-19T20:12:22.000Z | _includes/02-image.md | D-Code365/markdown-portfolio | 3326bf433286015688fd304867476ce0b518e06c | [
"MIT"
] | null | null | null | 
| 61.5 | 122 | 0.829268 | kor_Hang | 0.072299 |
80b3ea14833afaf488f3a0f937badd879381516e | 748 | md | Markdown | README.md | ckelner/Twitter-Weather-Map | 6be25c731107f5eae116ede83391d2024f293732 | [
"MIT"
] | null | null | null | README.md | ckelner/Twitter-Weather-Map | 6be25c731107f5eae116ede83391d2024f293732 | [
"MIT"
] | null | null | null | README.md | ckelner/Twitter-Weather-Map | 6be25c731107f5eae116ede83391d2024f293732 | [
"MIT"
] | null | null | null | Twitter-Weather-Map-Study
=========================
A twitter, weather (wunderground), and google maps mashup
This was written in two nights for The Weather Channel Companies Hackathon 2013 as a proof of concept that twitter (and eventually other social media) could be a viable source of real-time data for weather events. Rain-start-stop was one of paticular interest, however the team discovered several other events such as the typhoon in the Philippines the night before their demo to TWCC and a rainy protest near Washington D.C. in a valley where radar was missing.
Excuse our mess, we've not been able to take the time to refine logic or perform any kind of cleanup. This was written as a POC.
Example of output:

| 57.538462 | 463 | 0.763369 | eng_Latn | 0.999731 |
80b3f17683a5f7a2547e61bc5cf746101ebad0cd | 1,022 | md | Markdown | _memo/2020-04-15-voca-47.md | HoYoung1/HoYoung1.github.io | 89925ded1c40c72d259bd4d3d85d74fc74733256 | [
"MIT"
] | null | null | null | _memo/2020-04-15-voca-47.md | HoYoung1/HoYoung1.github.io | 89925ded1c40c72d259bd4d3d85d74fc74733256 | [
"MIT"
] | null | null | null | _memo/2020-04-15-voca-47.md | HoYoung1/HoYoung1.github.io | 89925ded1c40c72d259bd4d3d85d74fc74733256 | [
"MIT"
] | null | null | null | ---
title: "영어 단어 공부 47"
collection: memo
type: "voca"
permalink: /memo/voca-47
date: 2020-04-15
venue: "jj"
---
매일 공부한 단어를 복습하는 겸 남기는 메모장입니다.
| 단어 | 뜻 | 예문 |
| historical | 역사적인 | People should protect **historical** places, because the places are priceless connections of the past to the present |
| inherit | 상속하다, 유전하다 | Our individual preferences are mostly **inherited** from our parents or shaped by our environment |
| intangible | 무형의, 만질 수 없는 | UNESCO has well acknowledged the importance of **intangible** cultural heritage in the world |
| lose track of time | 시간 가는 줄 모르다 | I **lose track of time** whenever I am with my old friends talking about our school life |
| millennium | 천년 | The start of the third **millennium** was the 1st of January in 2001 |
| nostalgia | 향수, 그리움 | His poetry released last year shows the Korean immigrants' **nostalgia**, anger, laughter, and love |
| nostalgic | 향수를 불러 일으키는, 옛날을 그리워하는 | I become **nostalgic** listening to pop songs from the 1970's |
| period | 시대 | |
| 42.583333 | 140 | 0.710372 | kor_Hang | 0.570161 |
80b3fbae65549421f8a559a706f683b54e884b91 | 3,051 | md | Markdown | README.md | Suomm/tutor | 480c32e3d83ed63f2ba2893e3dcecea717d91b4b | [
"Apache-2.0"
] | 1 | 2021-12-09T10:15:33.000Z | 2021-12-09T10:15:33.000Z | README.md | Suomm/tutor | 480c32e3d83ed63f2ba2893e3dcecea717d91b4b | [
"Apache-2.0"
] | null | null | null | README.md | Suomm/tutor | 480c32e3d83ed63f2ba2893e3dcecea717d91b4b | [
"Apache-2.0"
] | null | null | null | <p align="center">
<img width="320" src="https://suomm.gitee.io/tutor/images/logo.svg" alt="logo"/>
</p>
<p align="center">
<a href="https://www.oracle.com/java/technologies/downloads/#java8">
<img src="https://img.shields.io/badge/JDK-8u321-brightgreen.svg" alt="JDK">
</a>
<a href="https://maven.apache.org/">
<img src="https://img.shields.io/badge/Maven-3.8.1-brightgreen.svg" alt="maven">
</a>
<a href="https://spring.io/projects/spring-boot">
<img src="https://img.shields.io/badge/Spring%20Boot-2.3.12.RELEASE-brightgreen.svg" alt="spring-boot">
</a>
<a href="https://spring.io/projects/spring-cloud">
<img src="https://img.shields.io/badge/Spring%20Cloud-Hoxton.SR9-brightgreen.svg" alt="spring-cloud">
</a>
<a href="https://spring.io/projects/spring-cloud-alibaba">
<img src="https://img.shields.io/badge/Spring%20Cloud%20Alibaba-2.2.6.RELEASE-brightgreen.svg" alt="spring-cloud-alibaba">
</a>
<a href="https://www.apache.org/licenses/LICENSE-2.0">
<img src="https://img.shields.io/badge/Licenes-Apache%20License%202.0-important.svg" alt="license">
</a>
<a href="https://suomm.gitee.io/tutor">
<img src="https://img.shields.io/badge/Release-2.0--RC-blueviolet.svg" alt="release">
</a>
</p>
## 平台简介
`天津师范大学师范生学业指导系统`是围绕立德树人根本任务,基于师范生学业导师制而搭建的师生互动与交流平台。旨在满足师范生学业发展需求,解决大学期间学业疑惑,记录学业成长历程。同时,有助于导师实现学业指导活动计划、实施与效果的记录与管理,能更好地统筹并发布面向所有师范生的集体或个别导学活动,便于及时分析师范生学情,梳理育人过程中遇到的问题,促进导师交流,不断提升师范生育人质量。
## 系统模块
```
tutor
├─.gitee // Gitee 相关模板管理
├─conf // Nacos 配置信息备份
├─docs // 相关文档信息
├─script // 用于构建的脚本命令
│ ├─bin // 自动化本地构建命令
│ ├─docker // Docker 镜像文件
│ └─sql // 数据库 Sql 文件
├─tutor-admin // 监控管理模块
├─tutor-common // 公共接口模块
├─tutor-framework // 核心框架模块
├─tutor-gateway // 网关服务模块
├─tutor-support // 服务支持模块
├─tutor-system // 系统代码模块
├─.gitignore // 版本控制相关配置
├─Jenkinsfile // 自动化构建部署脚本
├─LICENSE // 开源许可文件
├─pom.xml // Maven 父模块依赖管理
└─README.md // 项目介绍文件
```
## 系统架构

## 内置功能
- 导师团指导模式:建立完善的梯队结构,定期举行学术交流活动。
- 导师小组指导模式:导师针对学生的个性差异,因材施教,指导学生的思想、学习与生活,为学生的个性发展提供导航。
- 教育实践双导师指导模式:创新双导师线上指导模式,提高教学的质量和效率,丰富教育实践课程内容。
## 加入我们
您如果对这个项目感兴趣,请不要吝啬您的`Star`,或者您力有所及,可以选择加入到我们的开发之中,详细文档 [在这里](https://suomm.gitee.io/tutor) 。
## 相关项目
> 天津师范大学师范生学业指导系统系列项目
| 项目名称 | 项目介绍 | 项目地址 |
|------------------|--------|----------------------------------------|
| `tutor` | 系统后台模块 | https://gitee.com/Suomm/tutor |
| `tutor-ui` | 用户使用界面 | https://gitee.com/Suomm/tutor-ui |
| `tutor-admin-ui` | 运维使用界面 | https://gitee.com/Suomm/tutor-admin-ui | | 38.1375 | 189 | 0.561783 | yue_Hant | 0.688795 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.