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
573ef3f2e20930439cd035a65edb5a26a5fbd06f
1,028
md
Markdown
README.md
janus-tg/Araneae
541de7ab3472737b8d1d5961c73e1b19fe687c0d
[ "MIT" ]
1
2020-08-27T10:59:13.000Z
2020-08-27T10:59:13.000Z
README.md
janus-tg/Araneae
541de7ab3472737b8d1d5961c73e1b19fe687c0d
[ "MIT" ]
null
null
null
README.md
janus-tg/Araneae
541de7ab3472737b8d1d5961c73e1b19fe687c0d
[ "MIT" ]
null
null
null
# Araneae This is a python3 program that works as a Wikipedia crawler and utilizes BeautifulSoup and the requests modules. It goes through the entire Wikipedia page of the user entered URL and stores the information available on the wikipedia page as a .txt file on the system locally. <img src="runtime.png" width="750"> ## Setup ### Installation 1. Install ```Python 3.7``` or above. 2. Install these modules: - requests - bs4 ### Running the program 1. Download the ```Crawler.py``` file. 2. Open the folder containing the aforementioned file in your terminal (for MacOS and Linux) or command prompt (for Windows). 3. Type ```python Crawler.py``` and press enter to run the program. **OR** 1. Install any IDE. 2. Create a new project, copy the ```Crawler.py``` code and paste it in a ```.py``` file. 3. Run the program. ## Contributing Pull requests are welcome for adding more feautures or fixing exisiting issues. ## License [MIT](https://github.com/janus-tg/Aranae/blob/master/LICENSE)
25.7
276
0.717899
eng_Latn
0.989359
573f70c027c22db540e3e546b8fca1834c9442d7
1,204
md
Markdown
README.md
ruiany/DATA-598-WI20-week-7
a9d711d9ad740e56956b42666eaae78e4dc052a7
[ "MIT" ]
null
null
null
README.md
ruiany/DATA-598-WI20-week-7
a9d711d9ad740e56956b42666eaae78e4dc052a7
[ "MIT" ]
null
null
null
README.md
ruiany/DATA-598-WI20-week-7
a9d711d9ad740e56956b42666eaae78e4dc052a7
[ "MIT" ]
null
null
null
# mysimplecompedium <!-- badges: start --> [![R build status](https://github.com/ruiany/DATA-598-WI20-week-7/workflows/R-CMD-check/badge.svg)](https://github.com/ruiany/DATA-598-WI20-week-7/actions) [![Launch Rstudio Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ruiany/DATA-598-WI20-week-7/master?urlpath=rstudio) <!-- badges: end --> The goal of mysimplecompedium is to perform simple math operations. ## Installation You can install the released version of mysimplecompedium from [CRAN](https://CRAN.R-project.org) with: ``` r install.packages("mysimplecompedium") ``` ## Example This is a basic example which shows you how to solve a common problem: ``` r library(mysimplecompedium) minus_1(2) returns 1 ``` ## Licenses **Text and figure** [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.ast) <br /> **Code** [MIT](https://choosealicense.com/licenses/mit/) <br /> **Data** [CC-0](https://creativecommons.org/share-your-work/public-domain/cc0/) ## Code of Conduct Please note that the 'mycompedium' project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms.
28.666667
155
0.729236
eng_Latn
0.799105
57405b43df2ba9dd2adb0ce1aff0d8088670f233
733
md
Markdown
Mac/Persistence/Logon_Scripts.md
ecks/atomic-red-team
54d13c4dd0a913019f8b050593ac59c57898b186
[ "MIT" ]
5
2018-11-17T11:43:23.000Z
2022-02-15T18:12:27.000Z
Mac/Persistence/Logon_Scripts.md
ecks/atomic-red-team
54d13c4dd0a913019f8b050593ac59c57898b186
[ "MIT" ]
null
null
null
Mac/Persistence/Logon_Scripts.md
ecks/atomic-red-team
54d13c4dd0a913019f8b050593ac59c57898b186
[ "MIT" ]
5
2018-07-31T11:13:08.000Z
2020-06-19T08:32:04.000Z
# Logon Scripts MITRE ATT&CK Technique: [T1037](https://attack.mitre.org/wiki/Technique/T1037) ### Root level loginhook (executes for all users) Create the required plist file sudo touch /private/var/root/Library/Preferences/com.apple.loginwindow.plist Populate the plist with the location of your shell script sudo defaults write com.apple.loginwindow LoginHook /Library/Scripts/AtomicRedTeam.sh ### User level loginhook Create the required plist file in the target user's Preferences directory touch /Users/$USER/Library/Preferences/com.apple.loginwindow.plist Populate the plist with the location of your shell script defaults write com.apple.loginwindow LoginHook /Library/Scripts/AtomicRedTeam.sh
29.32
89
0.787176
eng_Latn
0.667348
57408f910d46512c5d525a87b66f7daa9b007bac
6,242
md
Markdown
utilities/GIS/rd_kml.md
sinotec2/jtd
0c6a7103e662c1e1763e249ec9237827501df4f9
[ "MIT" ]
null
null
null
utilities/GIS/rd_kml.md
sinotec2/jtd
0c6a7103e662c1e1763e249ec9237827501df4f9
[ "MIT" ]
null
null
null
utilities/GIS/rd_kml.md
sinotec2/jtd
0c6a7103e662c1e1763e249ec9237827501df4f9
[ "MIT" ]
null
null
null
--- layout: default title: python解析KML檔 parent: GIS Relatives grand_parent: Utilities last_modified_date: 2021-12-17 14:44:41 --- # python解析KML檔 {: .no_toc } <details open markdown="block"> <summary> Table of contents </summary> {: .text-delta } - TOC {:toc} </details> --- ## 背景 ### 緣起 - 網格模式在進行污染來源分析時,經常需要排放區域的分區定義,一個網格化的[點陣圖(raster)](https://zh.wikipedia.org/wiki/%E4%BD%8D%E5%9B%BE): * 不論是**CAMx-OSAT**、**CAMx-PSAT**或者是 * [CMAQ-ISAM模組](https://sinotec2.github.io/Focus-on-Air-Quality/GridModels/ISAM/withinD1/),都需要這樣的raster檔案。 * 具體問題:因為缺乏大陸方面的地理分區定義資料,在反軌跡計算時無法歸因於省份、排放區域等定性標籤。 - 然而一般網路公開的GIS檔案多是向量圖檔,是省界的polygon檔案,不正好是raster檔案。 - 造成這種網路現象主要的理由,是因為raster檔案有其解析度的限制,提供者不知該提供到什麼樣的解析度才恰當,畢竟使用者定義的範圍解析度樣態真的太多樣了。 - 本作業聚焦在省界shape(或KML)檔,轉成模式解析度(d1)的raster檔案。 * [KML](https://zh.wikipedia.org/wiki/KML)(Keyhole markup language)是Google發展的地理資訊語言檔案格式,經常使用在google地圖、open street 地圖平台上。 ### 目標 - 建立範圍解析度(d1) raster的值(整數分區代碼) - 除此之外,此次作業的重點在建立合理的分區方式。 - 這是因為大陸地區現行的省、市、自治區等,有57個之多,超過合理的處理範圍,需要進一步整併。 ### 方案與檢討 - 向量檔案轉成點陣圖檔的方式有很多種,除了在[GIS內操作](https://www.youtube.com/watch?v=REEoiWhnOC4),也有獨立的軟體如[Corel](http://product.corel.com/help/CorelDRAW/540240626/Main/CT/Doc/wwhelp/wwhimpl/common/html/wwhelp.htm?context=CorelDRAW_Help&file=CorelDRAW-Converting-vector-graphics-to-bitmaps.html),也有業者提供[網站服務](https://mygeodata.cloud/converter/)。 * 而在我們的應用中,2個檔案的座標系統也並非是完全一樣,不能直接套用。 - 而一般的GIS軟體(`gdal`程式)也可以做到`shape to raster`轉換,然而不知道是大陸方面檔案格式(層次或資料庫)的差異、或者數據太多(約有170個polygon),**QGIS無法作動**! - `python`可以直接讀取向量檔(`shape`及`KML`),然而因為對`KML`格式較為熟悉,因此選擇以`KML`轉`raster`之進路。 * `shape`檔案之讀取及處理詳參[shape_to_raster](https://www.evernote.com/shard/s125/sh/80584516-ae2c-e301-5128-0d45e49b97c1/abd5919c278850a9fc0273cf90324ce3)應用在d4範圍、d5解析度案例。 - 大陸行政區之整併方式,除了考量地理氣候方面的特徵,因為是空氣污染領域,除了文獻中常見的京津冀、長三角、珠三角 之外,也有人用華北、華中、華南來分大區。 * 如果分區越細,軌跡機率就越少、排放量分配也較少。 * 此外因為距離台灣很遠,d1範圍的解析度也有限(81K),如果超過10區,每區網格數會太少。 * 以美國而言,有所謂**climate region**,臺灣地區也有所謂空品區的概念。 建議還是以大陸官方空氣質量管理之分區方式為宜。 ## 檔案來源與解壓縮 - chn_admbnda_adm1_ocha.kmz - [CSISS GeoBrain Cloud, George Mason University](https://cloud.csiss.gmu.edu/uddi/th/dataset/china-administrative-boundaries) - [The Humanitarian Data Exchange](https://data.humdata.org/dataset/china-administrative-boundaries) - [github](https://github.com/edwenger/2019-nCoV/find/master) - `kmz`是個`zip`檔,`unzip`後可以得到其`kml`檔案(將其更名為`doc.kml`以利程式讀取) - `doc.kml`部分內容(`Placemark=ID_00000`安徽省) ```html ... <Placemark id="ID_00000"> <name>Anhui Province</name> ... <styleUrl>#PolyStyle00</styleUrl> <MultiGeometry> <Polygon> <extrude>0</extrude><altitudeMode>clampToGround</altitudeMode> <outerBoundaryIs><LinearRing><coordinates> 116.935206535,34.08702338100009,0 116.930544829,34.08849598800008,0 116.918619955,34.09428245300003,0 ... ``` ## [rd_kml.py](https://github.com/sinotec2/cmaq_relatives/blob/master/land/gridmask/rd_kml.py) ### 程式分段說明 - 模組之調用 - 此處使用到[pykml](https://pythonhosted.org/pykml/)的`parser` ```python 1 from pykml import parser 2 from os import path 3 from pandas import * 4 ``` - 讀取`doc.kml`:來源見前述。 ```python 5 kml_file = path.join('doc.kml') 6 with open(kml_file) as f: 7 doc = parser.parse(f).getroot() ``` - 讀取所有的位置標籤(`Placemark`),及其名稱(`names`) - 名稱`names`(會出現在`KML`檔案的`Placemark`(`plms`)的名稱標籤),此名稱與網站提供的`xls`資料表名稱一致。共57筆,有重複。(line 8~9) ```python 8 plms=doc.findall('.//{http://www.opengis.net/kml/2.2}Placemark') 9 names=[i.name for i in plms] 10 ``` - `pykml`並未內設一制式的從屬關係層次,而是用`getparent` 方法找出來物件之間的親子關係。 - 在本案例中`MultiGeometry`與`Polygon`之間是有關係的,而`MultiGeometry`與`Placemark`的順序相同,可以引用相同的名稱,因此就可以由下向上,串連找到每一個`Polygon`的名稱。 1. 先找到MultiGeometry物件,以及其個別的標籤(MultiGeometry 沒有名稱,只有標籤) (line 11~12) 2. 找到Polygon物件,及其上層MultiGeometry 物件的標籤(line 14~15) - 讀取幾何形狀(`mtgs`)與其標籤(`mtg_tag`) ```python 11 mtgs=doc.findall('.//{http://www.opengis.net/kml/2.2}MultiGeometry') 12 mtg_tag=[str(i.xpath).split()[-1][:-2] for i in mtgs] 13 ``` - 讀取多邊形(`plgs`)與其來源(`plg_prt`) ```python 14 plgs=doc.findall('.//{http://www.opengis.net/kml/2.2}Polygon') 15 plg_prt=[str(i.getparent().values).split()[-1][:-2] for i in plgs] 16 ``` - 使用`pyval`指令收集多邊形頂點的座標值 - 參考[pykml.parser.fromstring函數](https://vimsky.com/zh-tw/examples/detail/python-ex-pykml.parser---fromstring-function.html)及[Python fromstring Examples](https://python.hotexamples.com/examples/pykml.parser/-/fromstring/python-fromstring-function-examples.html) - 因為MultiGeometry的順序和Placemark是一樣的,因此只要知道tag在MultiGeometry 序列中的序號,就可以知道它的名稱。(line 21~22) ```python 17 lon,lat,num,nam=[],[],[],[] 18 n=0 19 for plg in plgs: 20 iplg=plgs.index(plg) 21 imtg=mtg_tag.index(plg_prt[iplg]) 22 name=names[imtg] 23 coord=plg.findall('.//{http://www.opengis.net/kml/2.2}coordinates') 24 c=coord[0].pyval.split() 25 for ln in c: 26 if n%3==0: 27 lon.append(ln.split(',')[0]) 28 lat.append(ln.split(',')[1]) 29 num.append('n='+str(n)) 30 nam.append(name) 31 n+=1 ``` - 將結果寫進`csv`檔案(`txt.write`版本) ```python 32 #with open('doc.csv','w') as f: 33 # for i in range(len(num)): 34 # f.write(str(lon[i])+','+str(lat[i])+','+str(num[i])+','+nam[i]+'\n') 35 # if n%100==0:print(n) ``` - `DataFrame.to_csv`版本 - 功能主要在將每一個座標點輸出成`csv`檔,而將其名稱寫在**點位**的說明欄,可以應用[csv2kml.py]()程式再次轉成`kml`檔案,檢視其**多邊形**及**名稱**解析是否正確。 ```python 36 df=DataFrame({'lon':lon,'lat':lat,'num':num,'nam':nam}) 37 df.set_index('lon').to_csv('doc.csv') ``` ## 程式下載 - [github](https://github.com/sinotec2/cmaq_relatives/blob/master/land/gridmask/rd_kml.py) ## 應用 - 除了此處 ## Reference - google,**KML Tutoria**,[developers.google.com](https://developers.google.com/kml/documentation/kml_tut), Last updated 2021-09-07 UTC. - wiki, **Keyhole標記語言**, [wiki](https://zh.wikipedia.org/wiki/KML), 2021年2月7日. - Tyler Erickson, **pyKML v0.1.0 documentation**,[pythonhosted](https://pythonhosted.org/pykml/), 2011 - 純淨天空, **pykml.parser.fromstring函數**,[vimsky](https://vimsky.com/zh-tw/examples/detail/python-ex-pykml.parser---fromstring-function.html) - contributors, **Python fromstring Examples**, [python.hotexamples](https://python.hotexamples.com/examples/pykml.parser/-/fromstring/python-fromstring-function-examples.html)
37.830303
324
0.714034
yue_Hant
0.796094
57413a2de6611bd43669a6a9390d1d92639503a2
2,747
md
Markdown
content/miaoli1.md
hidienet/Hugo
5e7f211db507e2298e2f9694416f0129211e1782
[ "Apache-2.0" ]
null
null
null
content/miaoli1.md
hidienet/Hugo
5e7f211db507e2298e2f9694416f0129211e1782
[ "Apache-2.0" ]
null
null
null
content/miaoli1.md
hidienet/Hugo
5e7f211db507e2298e2f9694416f0129211e1782
[ "Apache-2.0" ]
1
2020-11-24T12:08:27.000Z
2020-11-24T12:08:27.000Z
--- title: '[嗨!苗栗國] Day1:苗栗市 ↔ 南庄鄉(養蟹人家、50嵐、雞大爺、英才夜市)' date: 2019-12-25T19:43:00.000+08:00 draft: false aliases: [ "/2019/12/day1-50.html" ] tags : [lifestyle - 逃離852, travel - 臺灣・苗栗] --- 桃園機朝早去中午前到 台中機就晏晝去黃昏前到 為免嘥珍貴嘅短trip時間就揀飛桃園 ![](/images/miaoli1z1.jpg) 隔離仲有隻大口仔(E字前面say hi嗰個)啊呵呵呵! ![](/images/miaoli1z2.jpg) 飛機餐右下件三文治含有火腿 一定只可以响機上享用唔好帶走啊 違規帶肉製品唔申報會處新臺幣1萬元以上100萬元以下罰鍰 (呃~個蘋果汁幾好味) ![](/images/miaoli1z3.jpg) 落機就搭捷運(機場第二航廈站 → **機場捷運桃園站**) ![](/images/miaoli1z4.jpg) 喔!好可愛嘅今津郷手環(心) ![](/images/miaoli1z5.jpg) 然後去到高鐵站見車就上(高鐵桃園站 → **苗栗站**) ![](/images/miaoli1z6.jpg) 咁就去錯咗**台!中!站!!!** wakakakakakaaaaa (兔兔P助同你say hello兼恥笑中) ![](/images/miaoli1z7.jpg) 等返去嘅車就飲返支嘢唞吓 **蜂蜜故事館 - 優選蜂蜜水、蜂蜜檸檬水** 雖然含糖不過都有住清香嘅蜜糖味;檸味嘅更清新 兩種都好味啊~ ![](/images/miaoli1z8.jpg) 好啦,台中站等到返苗栗站 再轉區間車(豐富 → **苗栗車站**) ![](/images/miaoli1z9.jpg) 終於到苗栗嘅苗栗喇哈哈 ![](/images/miaoli1z10.jpg) 未到check in時間就放低行李响旅社 問問櫃檯就幫call的士去下一站 就感受到苗栗唔自駕係有啲唔方便同地方好~大~~~ ![](/images/miaoli1z11.jpg) 搭的士都搭咗45分鐘 終於嚟到位於**南庄鄉**嘅**養蟹人家**(感動) ![](/images/miaoli1z12.jpg) 啊!時令嘅**大閘蟹**啊啊啊啊啊!!! 要咗3両公3両乸同4両公哈哈哈大滿足 苗栗蟹係臺灣蟹苗 & 响呢個山頭養住 冇咩㗎咪就係至少食得安心同肯定佢係真・大閘蟹之嘛 ![](/images/miaoli1z13.jpg) 餐廳裡面係對住個養蟹湖食嘅 ![](/images/miaoli1z14.jpg) 食完响個湖行吓就call返的士返苗栗(又45分鐘) ![](/images/miaoli1z15.jpg) 5點半,日落。 返到呢間超型格嘅旅社check in @**新興大旅社** ![](/images/miaoli1z16.jpg) 回到過去嘅時光,check in時會帶領兼講歷史 ![](/images/miaoli1z17.jpg) 由1950年代建立木製日式平房 到1967年原址興建到而家個樣咁一直冇變過 ![](/images/miaoli1z18.jpg) 古早味濃郁嘅硬膠大匙牌 放心啦唔駛咁鬼重拎出街而係沿用舊式住宿方法:外出鎖匙要放櫃台 ![](/images/miaoli1z19.jpg) 六十年代嘅設計同地磚 ![](/images/miaoli1z20.jpg) 仲有名物:**新興棉被花**! 即係將張摺棉胎成為藝術品 佢哋好多年前已經係咁摺 而家嘛就好似去咩峇里飄飄吓渡假屋裡面摺摺毛巾鶴咁 ...between張被鬼死咁熱搇到汗都出 ![](/images/miaoli1z21.jpg) 參觀完旅社又落街兜吓 ![](/images/miaoli1z22.jpg) 先飲杯的士大哥熱情推薦嘅**50嵐**珍珠奶茶 因為唔鍾意奶精咁揀鮮奶做嘅**珍珠紅茶拿鐵**(少冰無糖)就啱啱好 阿薩姆紅茶香味足;鮮奶味夠香滑濃郁 珍珠比一般嘅細粒有黑糖味唔會好甜最緊要係非常Q彈 好好味呀!的哥冇介紹錯呢~ ![](/images/miaoli1z23.jpg) 未夠夜食夜市就食吓街舖小食 @**雞大爺 - 噴香三角骨**(少少辣粉) 即叫即炸拎上手熱辣辣,香噴噴好惹味 吖!食落唔會好油㗎咋喎唔錯唔錯 ![](/images/miaoli1z24.jpg) **苗栗英才觀光夜市** well 去臺灣係唔會唔去夜市嘅 星期五英才會最興盛星期六應該去公館夜市好啲 不過呢度由旅社行過去五分鐘咋喎 ![](/images/miaoli1z25.jpg) 唔係開得最鼎盛but都有唔少嘢食 ![](/images/miaoli1z26.jpg) 香氣飄飄嘅烤魷魚 ![](/images/miaoli1z27.jpg) 初滷人 ![](/images/miaoli1z28.jpg) 飽飽哋都係持續觀望吓 ![](/images/miaoli1z29.jpg) 要玩都有得玩 ![](/images/miaoli1z30.jpg) 大人細路都有嘢啱玩 ![](/images/miaoli1z31.jpg) 既然唔太肚餓就慰藉吓甜品胃啦 @**微豆豆花** ![](/images/miaoli1z32.jpg) 多心乜都想試就要呢兜**招牌3 芋圓綜合奶油嫩豆花**(微糖 + 薑汁奶油) 芋圓地瓜圓同珍珠都超~Q~~~ 花生夠晒腍紅綠豆皮冇爛裡面仲起晒沙 薏仁唔會粉粉咁幾好咬 豆花豆味足但又保持到嫩嫩滑咁 個奶油就冇咩咁錦繡添花喇個薑汁都唔係好突出 但係成碗嘢夾埋都算好好食(仲好飽肚) ![](/images/miaoli1z33.jpg) 呃!今晚食唔落雪條喇 含hyaluronic acid,睇落怪怪哋 其實都係糖胺聚糖啫... 玩足一日,返去瞓覺lu~ {{<miaoli>}}
14.611702
50
0.6913
yue_Hant
0.662386
57424ce85edf48a1fae1ef4e89d0be9064f873fa
5,712
md
Markdown
_posts/DS-Reinforcement Learning/2021-10-18-rlpost11.md
aLVINlEE9/aLVINlEE9.github.io
fd98da2ac06f1101bb92093e21f2c76620c941f3
[ "MIT" ]
null
null
null
_posts/DS-Reinforcement Learning/2021-10-18-rlpost11.md
aLVINlEE9/aLVINlEE9.github.io
fd98da2ac06f1101bb92093e21f2c76620c941f3
[ "MIT" ]
null
null
null
_posts/DS-Reinforcement Learning/2021-10-18-rlpost11.md
aLVINlEE9/aLVINlEE9.github.io
fd98da2ac06f1101bb92093e21f2c76620c941f3
[ "MIT" ]
null
null
null
--- layout: post title: Policy Iteration(code) comments: true categories: [DataScience/Reinforcement Learning] tags: [policy iteration, 정책 이터레이션, Reinforcement Learning, 강화학습, rl] date: 2021-10-18 19:00:00 --- ***[](https://github.com/rlcode/reinforcement-learning-kr-v2) 의 코드를 참고하였습니다.*** **[이 코드를 이해하려면 앞선 policy iteration 포스트를 읽어주세요.](https://alvinlee9.github.io/datascience/reinforcement%20learning/2021/10/17/rlpost6.html)** **설명은 주석으로 해두었습니다.** <br/> ### <center>V<sub>π</sub>(s) = E[R<sub>t+1</sub> + γV<sub>π</sub>(S<sub>t+1</sub>) | S<sub>t</sub> = s]</center> 아래의 과정을 코드로 표현한다. 1. 처음에는 random policy(무작위 정책)로 정책을 설정한다. 2. 모든 state에 대해서 정해진 업데이트 된 현재 policy를 통해 모든 state의 value값을 정하는 policy evaluation(정책 평가)를 한다. 3. 모든 state의 value를 바탕으로 모든 state의 policy를 업데이트를 하는 policy improvement(정책 발전)을 한다. 4. 2 ~ 3을 반복한다. <br/> <br/> <br/> # **policy_iteration.py** ## 5 x 5 grid world의 예제이다. <br/> ## PolicyIeration 클래스의 초기화 부분을 보겠다 ```python class PolicyIteration: def __init__(self, env): # 환경에 대한 객체 선언 self.env = env # 가치함수를 2차원 리스트로 초기화 (25개) self.value_table = [[0.0] * env.width for _ in range(env.height)] # 상 하 좌 우 동일한 확률로 정책 초기화 (100개) # 한 state 에 4가지 policy가 있기 때문 self.policy_table = [[[0.25, 0.25, 0.25, 0.25]] * env.width for _ in range(env.height)] # 마침 상태의 설정 # goal 인 지점(2, 2) self.policy_table[2][2] = [] # 할인율 self.discount_factor = 0.9 ``` <br/> ## policy_evaluation 함수에 대해서 보겠다. ```python # 벨만 기대 방정식을 통해 다음 가치함수를 계산하는 정책 평가 def policy_evaluation(self): # 다음 가치함수 초기화 next_value_table = [[0.00] * self.env.width for _ in range(self.env.height)] # 모든 상태에 대해서 벨만 기대방정식을 계산 for state in self.env.get_all_states(): # 처음 value 는 일단 0으로 초기화 value = 0.0 # 마침 상태의 가치 함수 = 0 if state == [2, 2]: next_value_table[state[0]][state[1]] = value # 바로 다음 state로 간다 continue # 벨만 기대 방정식 # 2, 2가 아닌 경우 현재 state에서 가능한 action 4가지를 모두 반복함 for action in self.env.possible_actions: # 현재 반복중인 state에서 해당 action을 하면 다음 state는 무엇일지 next_state에 넣음 next_state = self.env.state_after_action(state, action) # 현재 반복중인 state에서 해당 action을 하면 다음 state에 있는 reward가 얼마일지 reward에 넣음 reward = self.env.get_reward(state, action) # next_state에 있는 현재 timestep의 value값을 next_value에다 넣음 next_value = self.get_value(next_state) # 이게 벨만 기대 방정식, 이 반복문을 돌면서 각 action에 대한 q 값들을 모두 벨만 기대방정식에 의해 합해 주는 과정 value += (self.get_policy(state)[action] * (reward + self.discount_factor * next_value)) # (state[0], state[1]) 지점의 state(현재 반복에서의 state)에 계산한 value를 next_value_table에넣어줌 next_value_table[state[0]][state[1]] = value # 각 state에 해당되는 모든 next_value를 인스턴스 변수인 self.value_table에 업데이트를 시켜준다 self.value_table = next_value_table ``` <br/> ## policy_improvement 함수에 대해서 알아보겠다. ```python # 현재 가치 함수에 대해서 탐욕 정책 발전 def policy_improvement(self): # 아까 __init__에서 초기화 해주었던 인스턴스 변수인 self.policy_table를 next_policy에다가 넣음 next_policy = self.policy_table # 모든 state에 대해서 반복을 돌림 for state in self.env.get_all_states(): # 마침 상태가 현재 반복의 state라면 아무것도 안하고 continue를 통해 다음 state 로 반복을 이어간다. if state == [2, 2]: continue value_list = [] # 반환할 정책 초기화 result = [0.0, 0.0, 0.0, 0.0] # 모든 행동에 대해서 [보상 + (할인율 * 다음 상태 가치함수) = Qvalue] 계산 for index, action in enumerate(self.env.possible_actions): # 현재 반복중인 state에서 해당 action을 하면 다음 state는 무엇일지 next_state에 넣음 next_state = self.env.state_after_action(state, action) # 현재 반복중인 state에서 해당 action을 하면 다음 state에 있는 reward가 얼마일지 reward에 넣음 reward = self.env.get_reward(state, action) # next_state에 있는 현재 timestep의 value값을 next_value에다 넣음 next_value = self.get_value(next_state) # 이번엔 각 action에 대한 q value들을 value_list에다가 추가를 해준다. value = reward + self.discount_factor * next_value value_list.append(value) # 받을 보상이 최대인 행동들에 대해 탐욕 정책 발전 # 지금 현재 반복중인 state에서의 모든 action에 대한 q값을 비교한후 가장 큰 값의 index를 max_idx_list에 넣음 max_idx_list = np.argwhere(value_list == np.amax(value_list)) max_idx_list = max_idx_list.flatten().tolist() # 만약 그 q값들중 같은 값들이 있을때 확률이 같게 나누어 준다. prob = 1 / len(max_idx_list) # result에 각 action에 대한 policy를 넣어준다. for idx in max_idx_list: result[idx] = prob # next_policy에다 현재 반복중인 state의 policy를 업데이트 해준다. next_policy[state[0]][state[1]] = result # 각 state에서 모든 action에 해당되는 next_policy를 인스턴스 변수인 self.policy_table에 업데이트를 시켜준다 self.policy_table = next_policy ``` ------ *제가 올린 글에서 잘못된 부분이 있으면 제 메일로 연락주세요!* *Reference : https://github.com/rlcode/reinforcement-learning-kr-v2* <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="크리에이티브 커먼즈 라이선스" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br /><span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">이승수</span>의 저작물인 이 저작물은(는) <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">크리에이티브 커먼즈 저작자표시-비영리-동일조건변경허락 4.0 국제 라이선스</a>에 따라 이용할 수 있습니다.
36.151899
437
0.600665
kor_Hang
0.999931
574423a81802c126b2c21978dbb6cf5facba2cfc
4,073
md
Markdown
_posts/2020-07-28-history-of-changes.md
JiriKalvoda/slama.dev
4856d246858dd98a1852365b028873b61f5a6775
[ "MIT" ]
7
2019-09-15T19:55:11.000Z
2021-12-27T11:40:20.000Z
_posts/2020-07-28-history-of-changes.md
JiriKalvoda/slama.dev
4856d246858dd98a1852365b028873b61f5a6775
[ "MIT" ]
38
2020-05-18T12:49:13.000Z
2022-03-23T12:51:28.000Z
_posts/2020-07-28-history-of-changes.md
JiriKalvoda/slama.dev
4856d246858dd98a1852365b028873b61f5a6775
[ "MIT" ]
17
2020-02-16T19:49:25.000Z
2022-02-06T14:28:35.000Z
--- category: "Vim" excerpt: "In this post, we'll talk about how history of changes is implemented in Vim (compared to other editors), how to make it persistent, why the `<u>` + `<C-r>` combination isn't doing it justice and what are some plugins you can use to improve your workflow!" --- - . {:toc} In this post, we'll talk about how history of changes is implemented in Vim (compared to other editors), how to make it persistent, why the `<u>` + `<C-r>` combination isn't doing it justice and what are some plugins you can use to improve your workflow! ### Implementations Most editors keep a **linear** history of changes made to a given file, meaning that you can only move forward and backward in time. While simple to implement, it isn't an ideal solution -- what if you undoed some changes, made new ones and only after realized that the previous changes were actually the ones you wanted to keep? This uncommon problem is impossible to deal with using a linear history of changes. Vim, however, offers an elegant solution -- instead of storing changes in a linear manner, it stores them in a **tree**. This means that information about changes made never gets lost (only gets stored in a separate branch) and the problem from the previous paragraph is just a matter of switching from one branch to another. ### Navigating the history Imagine the following scenario: you're editing a file; you make changes, then undo them, then you make some more changes. The history will look like this (numbers signify the various states of the file after you made changes): ``` 2 / 0---1---3 (we are here) ``` Using `<u>` and `<C-r>` will move you forward/backward in a linear fashion (meaning that you will only move between states `0`, `1` and `3`). We need more advanced commands to traverse the entire tree. One way we could do this is based on the **relative time** a given change was made. To move relative to the current time, use the {% ihighlight vim %}earlier{% endihighlight %} and {% ihighlight vim %}later{% endihighlight %} commands: ```vim :earlier {duration}{unit} :later {duration}{unit} ``` where `duration` is an integer and `unit` is `s/h/m/d` for second/hour/minute/day. You can also use the commands to move based on **chronological order** of the changes made: ```vim :earlier {num} :later {num} ``` will move the file to `num` changes before, based on when they were made. This solves our problem from the previous section, since you can use {% ihighlight vim %}earlier{% endihighlight %} (possibly repeatedly) to switch back to the branch that you decided was actually the one you wanted to keep. Last way to use the commands is to move based on **writes to file**: ```vim :earlier {num}f :later {num}f ``` will change the state of the file to `num` writes to file before. ### Persistent history When working frequently on the same files for a prolonged period of time, it can be quite useful to make the history of changes persistent, so that closing the file won't discard the history of changes. Luckily, Vim has you covered -- you can enable persistent history by adding `set undofile` to your `.vimrc`. The {% ihighlight vim %}<`.>{% endihighlight %} command is nice, as it takes you back to the line that was last changed. You can also just `<u>` and `<C-r>` (like I do, although I shouldn't), but the former is far more elegant 🙂. ### Plugins If the commands and techniques mentioned above weren't enough for you, there are a number of plugins that make it easy to view and traverse the graph. I've personally used [UndoTree](https://github.com/mbbill/undotree) and found it quite nice, but there are other alternatives (like [Mundo](https://github.com/simnalamburt/vim-mundo), for example). Give them a try and see for yourself! ### Additional resources - [Undo and Redo](https://vim.fandom.com/wiki/Undo_and_Redo) and [Using undo branches](https://vim.fandom.com/wiki/Using_undo_branches) from Vim Wikipedia. - Vim's built-in documentation (invoke using {% ihighlight vim %}:help {something}{% endihighlight %})
69.033898
409
0.742941
eng_Latn
0.999622
57458e7a6c0fb726d73ba5a0f2cba81e6f1eb8a2
496
md
Markdown
_posts/2011-11-01-ie6.md
garyng/blog
ba63a0445b634a7bc18a752a02eb6c0d77159952
[ "MIT" ]
null
null
null
_posts/2011-11-01-ie6.md
garyng/blog
ba63a0445b634a7bc18a752a02eb6c0d77159952
[ "MIT" ]
null
null
null
_posts/2011-11-01-ie6.md
garyng/blog
ba63a0445b634a7bc18a752a02eb6c0d77159952
[ "MIT" ]
null
null
null
--- layout: post title: '[转载] IE6倒计时' author: 'Gary Ng' tags: ['IE6倒计时','www.ie6countdown.com','转载'] --- “IE6于10年前诞生,现在应该是我们同IE6告别的时候了。”微软公司日前推出IE6倒计时网站(the Internet Explorer 6 Countdown,网址为[www.ie6countdown.com](http://www.ie6countdown.com/)),旨在尽早淘汰IE6,让用户升级到新版IE浏览器。 刚刚截下来的图。。。 [![](http://1.bp.blogspot.com/-3BfzxU3d3yA/Tq_F_cHxC_I/AAAAAAAAAcY/YjrK6fdFlpw/s1600/Ie6.jpg)](http://1.bp.blogspot.com/-3BfzxU3d3yA/Tq_F_cHxC_I/AAAAAAAAAcY/YjrK6fdFlpw/s1600/Ie6.jpg)
29.176471
184
0.715726
yue_Hant
0.481756
57479cba8acd7e64531b0c492794ef5319f70d99
986
md
Markdown
recirculation/README.md
isabelleerb/spotim-integration-docs
d279e1cb7eb177b830dd750ff09942042b5274c4
[ "Apache-2.0" ]
null
null
null
recirculation/README.md
isabelleerb/spotim-integration-docs
d279e1cb7eb177b830dd750ff09942042b5274c4
[ "Apache-2.0" ]
null
null
null
recirculation/README.md
isabelleerb/spotim-integration-docs
d279e1cb7eb177b830dd750ff09942042b5274c4
[ "Apache-2.0" ]
null
null
null
# Popular-in-the-Community Popular-in-the-Community, or Recirculation, promotes the most popular content from your site by showcasing user-generated content (UGC). This unit drives users to more of your content and features a monetization component so you can generate meaningful revenue via revshare. You can find implementation instructions for Popular in the Community packaged with our other widgets [here](https://github.com/SpotIM/spotim-integration-docs/tree/master/social-kit) ## Standalone Popular in the Community Implementation To implement the Popular in the Community Widget without Conversation inject the following block of code where you would like the product to render. Be sure to replace SPOT_ID with your site's spot id. Also be sure to only include one launcher in your code as the product will not work properly with more than one. ```html <script async src="https://launcher.spot.im/spot/SPOT_ID" data-spotim-module="spotim-launcher"></script> ```
54.777778
457
0.794118
eng_Latn
0.996715
574a1c8326122ef3276494ec86c4ce6a836bf5e7
56
md
Markdown
README.md
fuweijun/zero_plus_openwrt_packages
c2875b0b01e80e8726bb0f77055e01bea948f7aa
[ "Apache-2.0" ]
null
null
null
README.md
fuweijun/zero_plus_openwrt_packages
c2875b0b01e80e8726bb0f77055e01bea948f7aa
[ "Apache-2.0" ]
null
null
null
README.md
fuweijun/zero_plus_openwrt_packages
c2875b0b01e80e8726bb0f77055e01bea948f7aa
[ "Apache-2.0" ]
null
null
null
# zero_plus_openwrt_packages zero_plus_openwrt_packages
18.666667
28
0.928571
eng_Latn
0.277693
574abda02a3305adab5fc16fa50985470614dde7
72
md
Markdown
README.md
Lextuga007/assets
50b7cad47ee3c320f5873b5830e2d74ad025e61b
[ "CC0-1.0" ]
null
null
null
README.md
Lextuga007/assets
50b7cad47ee3c320f5873b5830e2d74ad025e61b
[ "CC0-1.0" ]
3
2021-08-02T09:55:54.000Z
2021-08-02T15:25:46.000Z
README.md
nhs-r-community/assets
50b7cad47ee3c320f5873b5830e2d74ad025e61b
[ "CC0-1.0" ]
null
null
null
# assets Content such as logos to be linked to in code for consistency.
24
62
0.777778
eng_Latn
0.999971
574c17529d3c64bbba9349e6796abc953d68318b
50
md
Markdown
oeis/1/2/4/8/16/32/64/28/56/12/A000855.md
hloeffler/oeis-dirs
1a43b8b9d09cd6304a5d04789c133dcccb57e532
[ "BSD-2-Clause" ]
null
null
null
oeis/1/2/4/8/16/32/64/28/56/12/A000855.md
hloeffler/oeis-dirs
1a43b8b9d09cd6304a5d04789c133dcccb57e532
[ "BSD-2-Clause" ]
null
null
null
oeis/1/2/4/8/16/32/64/28/56/12/A000855.md
hloeffler/oeis-dirs
1a43b8b9d09cd6304a5d04789c133dcccb57e532
[ "BSD-2-Clause" ]
null
null
null
http://oeis.org/A000855 Final two digits of 2^n.
12.5
24
0.72
kor_Hang
0.507736
574c33732328ea9925fc9e979db8d3752d68de11
61
md
Markdown
2020/12/week2/1ilsang/algorithm/README.md
InyoungJ/stupid-week
c16a68cac9373c7c76e305a3015d39d30071a50d
[ "MIT" ]
45
2020-06-07T05:23:58.000Z
2020-12-13T12:09:58.000Z
2020/12/week2/1ilsang/algorithm/README.md
InyoungJ/stupid-week
c16a68cac9373c7c76e305a3015d39d30071a50d
[ "MIT" ]
69
2020-09-15T09:55:40.000Z
2020-12-30T06:00:58.000Z
2020/12/week2/1ilsang/algorithm/README.md
InyoungJ/stupid-week
c16a68cac9373c7c76e305a3015d39d30071a50d
[ "MIT" ]
17
2020-06-06T14:59:48.000Z
2020-12-27T14:08:14.000Z
LeetCode - [1672](leetcode1672.js) - [1673](leetcode1673.js)
15.25
25
0.721311
yue_Hant
0.66668
574c4b42ab4e8f5a459f471f6944ed4d00d64f7d
496
md
Markdown
README.md
ehhwhat/playground2
fdf0cf7af6fa72ea85b81001d0291a72a7d27977
[ "MIT" ]
null
null
null
README.md
ehhwhat/playground2
fdf0cf7af6fa72ea85b81001d0291a72a7d27977
[ "MIT" ]
2
2021-09-27T21:29:41.000Z
2022-02-26T03:40:58.000Z
README.md
ehhwhat/playground2
fdf0cf7af6fa72ea85b81001d0291a72a7d27977
[ "MIT" ]
null
null
null
# Welcome to my playground Here you will find code examples that i have been messing around with. At the moment I have sections on... ### Vanilla JavaScript - Maths - (Arrays) - (Objects) - (Conditionals and Ternary Conditionals) - (Constructors) - (Demo Bookshelf app) ## Coming soon / To do - Jquery - React ## Demo pages Have been built using Bootstrap4 and a Material Design theme. - https://getbootstrap.com/ - http://daemonite.github.io/material/docs/4.0/getting-started/introduction/
22.545455
106
0.739919
eng_Latn
0.877902
574c7907661ce52c35b39e2028d5fcc3b1357a98
3,980
md
Markdown
_posts/2018-12-13-Download-seven-types-of-ambiguity.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
_posts/2018-12-13-Download-seven-types-of-ambiguity.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
_posts/2018-12-13-Download-seven-types-of-ambiguity.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
--- layout: post comments: true categories: Other --- ## Download Seven types of ambiguity book The maniac cop, I suppose I never mentioned it, which is unsurpassed by the many She moved her head, who flinched. An hour later the company marched off the seven types of ambiguity in smart order, not a supernatural seven types of ambiguity, and a dog stood in the lounge. The implement appears to quality of life to the firm of limb. Twenty more successful missions, off Roke Knoll, having profited from reflections on some of their experiences at Franklin, her fierceness, and his mother had managed to "The verdict will probably end up accidental death, don't go back to look at the smashed nuns. "You're singing," she said and lightly tugged at me. "He looks just like you. Natural size. Kargish has diverged most widely in vocabulary and syntax from the Old Speech. "Baby, I wanted to serve the God who had created so much wonder. When he realizes that he's the only occupant of the restroom, a prayer and a worshipper of God the Most High. San told how Otak had put a curse on Sunbright and said some awful words that made him get smaller and smaller and wail like a stick in the fire, Bert?" to be drawn to the company of older girls, and later failing and respond to Vanadium's pointed accusations, Your Honor, but nothing I could brag about, one-half the natural size, 'I mean to dig him a pit in the vestibule and dissemble it artfully, now For it constantly throws out "smoke," consisting of watery vapour, by N. A cream-colored wall; another, yes," Irioth said. One day, could lose control of herself under the right circumstances, 339, and looks at the 'Vette through her eyes, ii. Looking west, a pair of celebrity insects abroad in She waited expectantly. Besides, and lying on it. flood tide by water, one with a dance floor in the rear; a betting shop that offered odds seven types of ambiguity on live games from the Bowl and four-years'-delayed ones from Earth; a club theater that everybody pretended didn't stage strip shows; and a lot of neon lights, with its Smith turns to the ship again: the deck is empty, any of which could become a major blowout, flourishing, doomed look. " mother?" around and might prove ferociously psychotic, he remembered it now-his brilliant theory was that they built of the passage, when he'd thought about sister?" I sputtered? And covering all the derricks was a translucent network of ten-centimeter-wide strips of plastic, the "Of the _lemming_ I have seen three varieties. He draws a deep breath, which contained her radio, "he wandered long from land to land. dropping on the conversation between Dr. ] decapitation, straight Google didn't realize that seven types of ambiguity was an object of disgust, among them the medals to the last precious photograph, not knowing whether Fear is an unavoidable element of the mortal condition, viz, naturally. " He remembered lay's mentioning a physicist from the labs in the Princeton module who said that human societies were the latest phase in the same process of evolution that had begun billions of years ago when the universe started to condense out of radiation. Leilani once more. When she asked about the because his four- or five-year-old son would need it in To celebrate, I thought, the Arzina, and long is my journey, and on-foot motorists scatter So he cherished his free hours as if they were seven types of ambiguity meetings with her! Across the wooden pin ran the man who claimed to have been healed by aliens. "Aunt Gen, Micky could see which way he had gone and fortune. I only saw them in the hall a couple of times. Seven types of ambiguity time's coming, his colour changed and his breast was straitened; but he said in himself. "Good as gold. She spun across the sand in time to some music only she could hear and grinned found close beds of Seven types of ambiguity, must be in some ran her hand lovingly over the gossamer wall, in the brightest I sighed.
442.222222
3,882
0.788693
eng_Latn
0.999952
574cce788281da12fecb5513750007b2d7d30b92
1,337
md
Markdown
articles/service-bus/service-bus-automation-manage.md
huiw-git/azure-content-zhtw
f20103dc3d404c9c929c155b36c5a47aee5baed6
[ "CC-BY-3.0" ]
null
null
null
articles/service-bus/service-bus-automation-manage.md
huiw-git/azure-content-zhtw
f20103dc3d404c9c929c155b36c5a47aee5baed6
[ "CC-BY-3.0" ]
null
null
null
articles/service-bus/service-bus-automation-manage.md
huiw-git/azure-content-zhtw
f20103dc3d404c9c929c155b36c5a47aee5baed6
[ "CC-BY-3.0" ]
1
2020-11-04T04:34:56.000Z
2020-11-04T04:34:56.000Z
<properties pageTitle="使用 Azure 自動化管理 Azure 服務匯流排 | Microsoft Azure" description="了解如何使用 Azure 自動化服務管理服務匯流排。" services="service-bus, automation" documentationCenter="" authors="csand-msft" manager="eamono" editor=""/> <tags ms.service="service-bus" ms.workload="na" ms.tgt_pltfrm="na" ms.devlang="na" ms.topic="article" ms.date="12/09/2015" ms.author="csand"/> # 使用 Azure 自動化管理 Azure 服務匯流排 本指南將為您介紹 Azure 自動化服務,以及如何使用它來簡化 Azure 服務匯流排的管理。 ## 什麼是 Azure 自動化? [Azure 自動化](https://azure.microsoft.com/services/automation/) 是一項 Azure 服務,可經由程序自動化簡化雲端管理。使用 Azure 自動化,可以自動執行手動、經常重複、長時間執行及容易出錯的工作,以提高您的組織的可靠性、 效率和時間價值。 Azure 自動化提供高度可靠、高度可用的工作流程執行引擎,可加以調整以符合您的需求。在 Azure 自動化中,可以手動方式、由協力廠商系統或依排定的間隔開始執行程序,讓工作只發生在必要時刻。 將您的雲端管理工作交由「Azure 自動化」自動執行,以減少營運負擔並釋出 IT 和開發維運人力,使其專注於能夠為企業創造價值的工作上。 ## Azure 自動化如何有助於管理 Azure 服務匯流排? 您可以在 Azure 自動化中使用[服務匯流排 REST API](https://msdn.microsoft.com/library/azure/hh780717.aspx) 來管理服務匯流排。在 Azure 自動化內,您可以利用 REST API 編寫 PowerShell 工作流程指令碼,以執行許多服務匯流排工作。您也可以將 Azure 自動化中的這些 REST API 與其他 Azure 服務的 Cmdlet 搭配,以透過 Azure 服務和協力廠商系統自動執行複雜的工作。 ## 後續步驟 了解 Azure 自動化的基本概念以及如何用它來管理 Azure 服務匯流排之後,請參考下列連結,以深入了解 Azure 自動化。 * 請參閱 Azure 自動化[入門指南](../automation-create-runbook-from-samples.md) * 請參閱[使用 PowerShell 管理服務匯流排](service-bus-powershell-how-to-provision.md)的相關文章 <!---HONumber=AcomDC_0128_2016-->
29.711111
244
0.779357
yue_Hant
0.98524
57504836153d98a90b5bfe95b2ba55343b432d27
2,411
md
Markdown
src/assets/doc/extensions.md
apsantos-dev/vscode-extensions
ee9d42b1251ad40ba58559c84644fb8937117b2b
[ "MIT" ]
4
2019-02-09T09:22:03.000Z
2021-07-03T00:52:24.000Z
src/assets/doc/extensions.md
apsantos-dev/vscode-extensions
ee9d42b1251ad40ba58559c84644fb8937117b2b
[ "MIT" ]
null
null
null
src/assets/doc/extensions.md
apsantos-dev/vscode-extensions
ee9d42b1251ad40ba58559c84644fb8937117b2b
[ "MIT" ]
3
2019-04-23T13:39:47.000Z
2020-10-19T21:47:34.000Z
# Visual Studio Code Extensions These are extensions used in my day to day as a developer. ## Installation: ```sh Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter. ``` > For details on the extension installation, please visit: https://code.visualstudio.com/docs/editor/extension-gallery --- ### Extension name and command for installation > Alignment > > ext install annsk.alignment > Angular 1.x snippets for Visual Studio Code using John Papa AngularJS style guide > > ext install lperdomo.angular1-code-snippets-johnpapastyle > Angular 2, 4 and upcoming latest TypeScript HTML Snippets > > ext install UVBrain.Angular2 > Angular v7 Snippets > > ext install johnpapa.Angular2 > AngularJS 1.5+ TypeScript Snippets > > ext install jimmychandra.angularjs-1-5--typescript-snippets > AngularJs 1.x Code Snippets > > ext install alexandersage.angular1-code-snippets > AngularJs ngDoc Generator > > ext install Luis.angularjs-ngdoc-generator > Auto Import: > > ext install steoates.autoimport > Bootstrap 4, Font awesome 4, Font Awesome 5 Free & Pro snippets for Visual studio code > > ext install thekalinga.bootstrap4-vscode > Bracket Pair Colorizer > > ext install CoenraadS.bracket-pair-colorizer > Duplicate Action > > ext install mrmlnc.vscode-duplicate > ESLint > > ext install dbaeumer.vscode-eslint > file-icons > > ext install file-icons.file-icons > Git Blame > > ext install waderyan.gitblame > Git Graph > > ext install mhutchie.git-graph > Git History > > ext install donjayamanne.githistory > Git History Diff > > ext install huizhou.githd > GitLens — Git supercharged > > ext install eamodio.gitlens > HTML Snippets > > ext install abusaidm.html-snippets > jQuery Code Snippets > > ext install donjayamanne.jquerysnippets > Markdown Preview Enhanced > > ext install shd101wyy.markdown-preview-enhanced > Markdown Lint > > ext install DavidAnson.vscode-markdownlint > Path Autocomplete > > ext install ionutvmi.path-autocomplete > PHP IntelliSense > > ext install felixfbecker.php-intellisense > Python > > https://marketplace.visualstudio.com/items?itemName=ms-python.python > React-Native/React/Redux snippets for es6/es7 > > ext install EQuimper.react-native-react-redux > Todo Tree > > ext install Gruntfuggly.todo-tree > TSLint > > ext install ms-vscode.vscode-typescript-tslint-plugin > vscode-icons > > ext install vscode-icons
18.40458
118
0.765243
eng_Latn
0.443319
5751a98f79a864ab2e1526940e8bfa3b900ee84b
212
md
Markdown
README.md
yumaikas/choring
a806f058b08dd148d6f618b4157f098273118626
[ "MIT" ]
null
null
null
README.md
yumaikas/choring
a806f058b08dd148d6f618b4157f098273118626
[ "MIT" ]
null
null
null
README.md
yumaikas/choring
a806f058b08dd148d6f618b4157f098273118626
[ "MIT" ]
null
null
null
# Chorin' This is a small webapp for keeping track of non-daily chores, like watering plants, or washing a dog. It's built using Nim, Jester, and gotoB.js Currently, the layout is built for mobile screen sizes
30.285714
101
0.768868
eng_Latn
0.999859
5752056abee22ff50a84a14348898ceeb1468766
280
md
Markdown
README.md
marcusmartinsxx/Trabalho-de-APC
504723b4a0f246b7ce5f7db611ef8ddadf5ced04
[ "MIT" ]
null
null
null
README.md
marcusmartinsxx/Trabalho-de-APC
504723b4a0f246b7ce5f7db611ef8ddadf5ced04
[ "MIT" ]
null
null
null
README.md
marcusmartinsxx/Trabalho-de-APC
504723b4a0f246b7ce5f7db611ef8ddadf5ced04
[ "MIT" ]
null
null
null
# Trabalho de Algoritmos e Programação de Computadores ### *Trabalho de APC do primeiro semestre do curso de Engenharias da Universidade de Brasília.* #### **- Linguagem: C.** #### **- Turma DD, Profesor Giovanni Almeida Santos.** #### **- Aluno: Marcus Vinícius Paiva Martins.**
46.666667
95
0.707143
por_Latn
0.968609
57527e5fadc36311362c6faa9dab28f41733a263
360
md
Markdown
README.md
customPub/power_logger
c3b172f0ef794e75bbdffc11f391788509b706d3
[ "MIT" ]
4
2021-05-07T01:28:56.000Z
2022-02-08T14:25:15.000Z
README.md
laiiihz/power_logger
c3b172f0ef794e75bbdffc11f391788509b706d3
[ "MIT" ]
null
null
null
README.md
laiiihz/power_logger
c3b172f0ef794e75bbdffc11f391788509b706d3
[ "MIT" ]
1
2021-09-07T06:21:02.000Z
2021-09-07T06:21:02.000Z
# power_logger A well log tool on flutter, support Dio and custom type data. ## Getting Started ### Usage * init logger ```dart PowerLogger.start(context); ``` * add data to logger ```dart LoggerData.addData(data); ``` ## WARNING * flutter SDK >= 2.0.0 ## ROADMAP - [ ] support dart native request. ## author [laiiihz](https://github.com/laiiihz)
11.25
61
0.669444
kor_Hang
0.553387
5752db1a8aa6b8ebb8a27f9a0aabf115cde80862
2,464
md
Markdown
docs/advanced/translate.md
monomelodies/monad
a3f4de5df8b70ab3ab8b4da53230d41685bcbe5a
[ "MIT" ]
1
2015-11-23T15:14:11.000Z
2015-11-23T15:14:11.000Z
docs/advanced/translate.md
monomelodies/monad
a3f4de5df8b70ab3ab8b4da53230d41685bcbe5a
[ "MIT" ]
13
2020-06-18T14:37:15.000Z
2022-03-02T01:52:47.000Z
docs/advanced/translate.md
monomelodies/monad
a3f4de5df8b70ab3ab8b4da53230d41685bcbe5a
[ "MIT" ]
2
2016-05-15T16:45:40.000Z
2017-11-16T11:34:00.000Z
# Translating your administrator For large(r) projects, the need to be able to translate your administrator into multiple languages often arises. This is (relatively) easy in Monad. ## Configuring `angular-gettext` Monad internally uses [`angular-gettext`](https://angular-gettext.rocketeer.be/) to provide so-called "i18n" to your administrator. Generic texts like "please login" are provided by Monad; it's up to you to mark and provide translations for your own components. Follow the instructions for `angular-gettext` to set it up inside your _project_; we can't reuse the Monad copy. ## Generating or creating a `.pot` file GNU-gettext uses "catalogs" stored in so-called `.pot` files. These are templates for your translations. Where you store it doens't really matter, but the convention is to create a `./po` folder in the root of your project. `angular-gettext` comes with tools to automatically extract strings from your templates. Please refer to their documentation. Alternatively, you can manually fill your `.pot` file. The `angular-gettext` documentation also contains hints on how to use a number of popular editors to edit and translate your templates; we personally use `poedit` but any one will do. ## Translating strings That's your job :) Some editors offer translation hints, but in the end it's going to require some manual work. ## Linking object properties to human-readable text In your `<mo-list-table>` directives, simply add the `translate` attribute to your table headings: ```php <mo-list-table> <table> <tr> <th property="id" translate>ID</th> </tr> </table> </mo-list-table> ``` > You need to wrap it in a complete, valid table, or some browsers will barf on > you and you'll be wandering why your headers are missing. The same goes for your `schema.html` files; just translate what you need. ## Compiling translations for use Once you've generated a `.pot` template, translated all the strings and saved your various language files as `.po` files, run the Grunt task supplied by `angular-gettext` to compile to Javascript. > _Do not add a module name._ Imports get "hoisted", so if you try to use a > custom module name it won't exist yet during inclusion. Just use the default > (`"gettext"`) which is guaranteed to exist and on which Monad itself already > depends. ## Importing translations in your admin This is now as simple as: ```javascript import '/path/to/i18n.js'; ```
37.907692
80
0.751623
eng_Latn
0.999185
57532e83a2e3217c16d55149f9d41c37e215ce3f
140
md
Markdown
README.md
mergermarket/alpine-pkg-xmlstarlet
5e288a17d9edd1c6f12aae60866ebf9240895a34
[ "MIT" ]
null
null
null
README.md
mergermarket/alpine-pkg-xmlstarlet
5e288a17d9edd1c6f12aae60866ebf9240895a34
[ "MIT" ]
null
null
null
README.md
mergermarket/alpine-pkg-xmlstarlet
5e288a17d9edd1c6f12aae60866ebf9240895a34
[ "MIT" ]
null
null
null
# alpine-pkg-xmlstarlet The [XMLStarlet] Command Line XML Toolkit as Alpine Linux package. [XMLStarlet]: http://xmlstar.sourceforge.net/
20
66
0.771429
kor_Hang
0.417355
575450b7c57b128fed50733221fc3533d8cc0df3
155
md
Markdown
npm.md
winrey/front-locker
9328377ed8357e7944080f2663bcab51b5c679d5
[ "MIT" ]
2
2021-11-12T03:25:02.000Z
2021-11-12T03:52:20.000Z
npm.md
winrey/front-lock
9328377ed8357e7944080f2663bcab51b5c679d5
[ "MIT" ]
null
null
null
npm.md
winrey/front-lock
9328377ed8357e7944080f2663bcab51b5c679d5
[ "MIT" ]
null
null
null
You can see this if you have no idea about how to publish: https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c
51.666667
93
0.793548
eng_Latn
0.942209
5754650b9a6470e9310039819171c2c66d278d1f
1,243
md
Markdown
doc/_header.md
ROpdebee/musicbrainz-bookmarklets
e032325d1997f7e332ffc21a90c19792132e380b
[ "MIT" ]
null
null
null
doc/_header.md
ROpdebee/musicbrainz-bookmarklets
e032325d1997f7e332ffc21a90c19792132e380b
[ "MIT" ]
null
null
null
doc/_header.md
ROpdebee/musicbrainz-bookmarklets
e032325d1997f7e332ffc21a90c19792132e380b
[ "MIT" ]
null
null
null
# musicbrainz-bookmarklets **[Bookmarklets](https://en.wikipedia.org/wiki/Bookmarklet) and [Userscripts](https://en.wikipedia.org/wiki/Userscript) for [MusicBrainz.org](https://musicbrainz.org)** In order to use one of the **bookmarklets** you have to save the compressed code snippet from the respective section below as a bookmark. Make sure to add the bookmark to a toolbar of your browser which you can easily access while you are editing. While bookmarklets are good for trying things out because they do not require additional software to be installed, **userscripts** are more convenient if you need a snippet frequently. In case you have installed a userscript manager browser extension you can simply install userscripts from this page by clicking the *Install* button. Another benefit of them is that you will receive automatic updates if your userscript manager is configured accordingly. ### Development Running `node build.js` compiles [all userscripts](src/userscripts/) and [all bookmarklets](src/bookmarklets/) before it generates an updated version of `README.md`. Before you can run this command you have to ensure that you have setup *Node.js* and have installed the dependencies of the build script via `npm install`.
103.583333
455
0.79646
eng_Latn
0.996567
5754a31f410a520ea43b331eeb09766691b50d14
743
md
Markdown
README.md
me-As-NRB/vmwebsite
058d00dc56033d678826df3ee18bda72f1ab8320
[ "MIT" ]
null
null
null
README.md
me-As-NRB/vmwebsite
058d00dc56033d678826df3ee18bda72f1ab8320
[ "MIT" ]
null
null
null
README.md
me-As-NRB/vmwebsite
058d00dc56033d678826df3ee18bda72f1ab8320
[ "MIT" ]
2
2020-08-21T06:06:59.000Z
2020-09-30T19:22:49.000Z
This is the github repo of official website of Vivekanand Manch, JC Bose University Of Science And Technology, YMCA, Faridabad. <strong>Features:</strong> <ul><li>Completely Responsive Website</li> <li>Different card view for members page and events page.</li> <li>Gallery with a filter according to choice option.</li> <li>Simple and Clean UI.</li> </ul> <strong>External Sources Used:</strong> <ul><li>Dialogflow for the chatbot.</li> <li>BotCopy for a better UI of the chatbot.</li> <li>Imagekit for the virtual cloud storage of images and stuff.</li> <li>Disqus for comments.</li> <li>Sharethis for getting the reactions on video-gallery page.</li> <li>Netlify for web hosting.</li></ul> All the external sources are their free versions.
43.705882
127
0.755047
eng_Latn
0.90311
5754cf4c07275430f7e2edae5194ef51ab2373d9
1,779
md
Markdown
javascript/react-ref-inputs.md
jimeister/learneveryday
1e3da9741fb7453fa39871fd0b2c57ca89f5da8b
[ "MIT" ]
null
null
null
javascript/react-ref-inputs.md
jimeister/learneveryday
1e3da9741fb7453fa39871fd0b2c57ca89f5da8b
[ "MIT" ]
null
null
null
javascript/react-ref-inputs.md
jimeister/learneveryday
1e3da9741fb7453fa39871fd0b2c57ca89f5da8b
[ "MIT" ]
null
null
null
# React refs with multiple input types When working with forms, if there are multiple input values that need to be processed with the `onChange` event, here are some ways: Using `ref` string attribute ``` handleChange: function() { this.props.onUserInput( this.refs.filterTextInput.value, this.refs.inStockOnlyInput.checked ); }, render: function() { return ( <form> <input type="text" placeholder="Search..." value={this.props.filterText} ref="filterTextInput" onChange={this.handleChange} /> <p> <input type="checkbox" checked={this.props.inStockOnly} ref="inStockOnlyInput" onChange={this.handleChange} /> {' '} Only show products in stock </p> </form> ); } ``` To avoid using the [ref string attribute](https://facebook.github.io/react/docs/more-about-refs.html#the-ref-string-attribute), an event handler can be used per input: ``` getInitialState: function() { return { value: 'Hello!', author: 'Jim' }; }, handleValueChange: function(event) { this.setState({value: event.target.value}); }, handleAuthorChange: function(event) { this.setState({author: event.target.value}); } render: function() { return ( <input type="text" value={this.state.value} onChange={this.handleValueChange} /> <input type="text" value={this.state.author} onChange={this.handleAuthorChange} /> ); } ``` [refs](https://facebook.github.io/react/docs/more-about-refs.html) [forms](http://facebook.github.io/react/docs/forms.html) [stackoverflow](http://stackoverflow.com/questions/21029999/react-js-identifying-different-inputs-with-one-onchange-handler)
25.414286
167
0.64362
eng_Latn
0.420115
5755923342616bde5f11df855bd91242593721e5
330
md
Markdown
python_tour.md
crewsycrews/workshops
387b044a96ae6293063e8ff6f5b6eb91f6d2e257
[ "CC0-1.0" ]
342
2015-01-01T13:07:57.000Z
2022-03-26T01:45:44.000Z
python_tour.md
crewsycrews/workshops
387b044a96ae6293063e8ff6f5b6eb91f6d2e257
[ "CC0-1.0" ]
16
2015-01-06T21:32:25.000Z
2022-02-23T11:59:48.000Z
python_tour.md
crewsycrews/workshops
387b044a96ae6293063e8ff6f5b6eb91f6d2e257
[ "CC0-1.0" ]
66
2015-01-02T04:48:30.000Z
2022-01-10T21:21:28.000Z
load lessons learned from a life wasted python notes Like Marijuana laws the dutch are leading the way in readable programming. Key insight is readablility. #what python is good at? multiple assignment list comprehension iterating over the diction dictionary comprehension one way to do it ipython notebook and graphics
15
74
0.809091
eng_Latn
0.998936
5757899f5fc26d5c8aba14d62bdad4e74564f9d0
391
md
Markdown
samples/mnemonics/Mc.md
epeshk/resharper-template-compiler
a5ff1f6f715a6cbf0a6e658fd33b4fd09cb1c3d5
[ "Apache-2.0" ]
6
2015-04-03T02:27:39.000Z
2022-03-19T17:26:33.000Z
samples/mnemonics/Mc.md
epeshk/resharper-template-compiler
a5ff1f6f715a6cbf0a6e658fd33b4fd09cb1c3d5
[ "Apache-2.0" ]
4
2015-04-03T03:09:08.000Z
2016-08-27T10:52:08.000Z
samples/mnemonics/Mc.md
epeshk/resharper-template-compiler
a5ff1f6f715a6cbf0a6e658fd33b4fd09cb1c3d5
[ "Apache-2.0" ]
4
2015-04-03T02:46:18.000Z
2020-07-08T12:01:05.000Z
--- guid: 4be881aa-a4a1-4dcb-8f37-10430f0d9ffc type: Live reformat: True shortenReferences: True categories: mnemonics scopes: InCSharpTypeMember(minimumLanguageVersion=2.0); InCSharpTypeAndNamespace(minimumLanguageVersion=2.0) parameterOrder: methodname methodname-expression: constant("MyMethod") --- # mc A method that returns a(n) $typename$ ``` public char $methodname$(){$END$} ```
20.578947
108
0.780051
eng_Latn
0.290015
575830dc63ffad8606b35a876237414a5c719120
5,289
md
Markdown
docs/reference/schema/history/ifc4_Add2/ifc4_rc4/overview.md
bigdoods/zbigdoods.github.io
6eb9414d699af2314b612f18487bf49f599a0e0d
[ "CC-BY-4.0" ]
4
2017-10-13T17:01:06.000Z
2018-05-10T09:58:54.000Z
docs/reference/schema/history/ifc4_Add2/ifc4_rc4/overview.md
bigdoods/zbigdoods.github.io
6eb9414d699af2314b612f18487bf49f599a0e0d
[ "CC-BY-4.0" ]
49
2017-07-18T14:25:11.000Z
2017-11-25T15:18:42.000Z
docs/reference/schema/history/ifc4_Add2/ifc4_rc4/overview.md
bigdoods/zbigdoods.github.io
6eb9414d699af2314b612f18487bf49f599a0e0d
[ "CC-BY-4.0" ]
4
2017-07-17T19:25:13.000Z
2017-11-11T17:24:36.000Z
--- title: IFC4_RC4 Overview --- ## Release Notes The purpose of the IFC4 is to enhance the capability of the IFC specification in several areas of building elements, building service elements and structural elements and accompanying basic definitions. It also corrects several known technical problems found since the release of the IFC2x Edition 3 specification. Another main goal is to improve readability and ease the access to the IFC specification, by adding examples, more use definitions and to generalize the fundamental concepts that apply to many elements. With this release candidate 4 the IFC specification now also covers both EXPRESS and XML schema, the baseline for all Model View Definitions (MVD) and links to the buildingSMART data dictionary. NOTE The IFC4 RC4 is the last release candidate before publishing IFC4 final ## Highlighted News in Release Candidate 4 new ifcXML4 schema part of the specification fully integrated with new MVD technology definitions of fundamental concepts (MVD) use definitions link to fundamental concepts all property sets link to buildingSMART data dictionary many more fully linked examples automatically generated change logs many documentation improvements and instantiation diagrams Improvements made in this Release Candidate 4 The main task that had been to integrate the IFC specifications with other buildingSMART developments, in particular the simple ifcXML, the new mvdXML methodology, the buildingSMART data dictionary and the development of ifcDoc, the buildingSMART specification development toolkit. simple ifcXML The simple ifcXML technology stands for generating a simple XML Schema from the IFC and from all Model View Definitions, created following the mvdXML methodology. First tests show a decrease of XML exchange footage to about 20-25% compared with previous XML files written according to the ifcXML for IFC2x3 schema. The ifcXML4 schema is published for the first time in the IFC4 development cycle, and it is fully integrated into the IFC specification (any construct within the IFC specification has both, the EXPRESS and the XSD code). MVD fundamental concepts and concept use definitions The new mvdXML methodology defines the Model View Definition as applying a set of fundamental concepts required by the particular exchange scenario (expressed as an Information Delivery Manual, IDM) and adding specific rules on how such fundamental concepts are to be used by the selected subset of IFC constructs. A valid MVD is therefore a legal subset of the whole IFC schema with additional rules applying. Many of such fundamental concepts (called "concept template" in mvdXML) are now part of the IFC4 specification as Chapter 4. Many IFC entities have concept use definitions showing how such fundamental concepts are used. This provides an ideal kick-start for future MVD developments. Property Sets link to buildingSMART Data Dictionary All property set definitions and included property definitionsare now included in the buildingSMART data dictionary (bsDD, formally known as IFD). A direct look-up link is provided. Each individual property definition provided as part of IFC has an own library GUID, managed within the bsDD. In addition, property set and property definitions can now be expressed within the IFC schema itself (as property set and property template),, hence they are also published as an IFC and ifcXML file (see Annex A). Examples and instantiation diagrams One of the recognized issues with the IFC specification has always been its complex nature and the steep learning curve to get a first understanding. And nothing provides a better explanation than small examples. Therefore the Annex-E has been greatly enhanced to cover now many examples that are bi-directionally linked (from the example to the specification and vice versa). Most of the examples come with an IFC file that can be used for testing. General documentation improvements Many explanations for the IFC constructs have been enhanced, and the new method of deriving the use definitions from applying general concepts is introduced step by step. This also includes instantiation diagrams that are automatically generated from the concepts that are applicable to a certain IFC entity. The change logs (both for the IFC schema and for the property set definitions) are now automatically generated and available in Annex-F. Purpose The purpose of publishing the IFC2x4 RC3 is to further encourage the international buildingSMART community to provide feedback and issue reports in order to increase quality and implementability of the next IFC release. The focus of the feedback should be the improvement of documentation, adding new examples and better overall guidance of the readers. Any comments about the ease of use and examples to demonstrate the use of IFC concepts that could be incorporated are highly appreciated. No schema changes are acceptable for the upcoming IFC2x4 final release (or, if necessary, the IFC2x4 RC4). A link to the official documentation can be found <a href="/docs/reference/schema/history/ifc2x3-tc1/ifc2x-Add1/ifc2x-Add1.md">here</a> An overview of all changes since IFC2x is provided <a href="/docs/reference/schema/history/ifc2x3-tc1/ifc2x-Add1/change-log.md">here</a>
105.78
712
0.822651
eng_Latn
0.999375
5758a88039e579e296a16335d61ae56090e237fc
5,522
md
Markdown
docs/DefaultApi.md
vajadhav/card-accounts-client
16d19c9c2e73d25ab383f2938f88ebc4c3b82193
[ "Apache-2.0" ]
null
null
null
docs/DefaultApi.md
vajadhav/card-accounts-client
16d19c9c2e73d25ab383f2938f88ebc4c3b82193
[ "Apache-2.0" ]
null
null
null
docs/DefaultApi.md
vajadhav/card-accounts-client
16d19c9c2e73d25ab383f2938f88ebc4c3b82193
[ "Apache-2.0" ]
null
null
null
# DefaultApi All URIs are relative to *https://localhost:8080/localhost:8080* Method | HTTP request | Description ------------- | ------------- | ------------- [**createAccount**](DefaultApi.md#createAccount) | **POST** /accounts | Creates an account [**deleetAccount**](DefaultApi.md#deleetAccount) | **DELETE** /account-delete/{accountNumber} | Account details delete [**getAccountDetails**](DefaultApi.md#getAccountDetails) | **GET** /accounts/{accountNumber} | Gets the account details for the given account number [**getAllAccounts**](DefaultApi.md#getAllAccounts) | **GET** /accounts | Gets account details [**updateAccountDetails**](DefaultApi.md#updateAccountDetails) | **PUT** /account-update/{accountNumber} | Account details update <a name="createAccount"></a> # **createAccount** > createAccount(accountDetails) Creates an account Adds a new account to the Finkit system. ### Example ```java // Import classes: //import io.swagger.client.ApiException; //import io.swagger.client.api.DefaultApi; DefaultApi apiInstance = new DefaultApi(); AccountDetails accountDetails = new AccountDetails(); // AccountDetails | The account to be created. try { apiInstance.createAccount(accountDetails); } catch (ApiException e) { System.err.println("Exception when calling DefaultApi#createAccount"); e.printStackTrace(); } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **accountDetails** | [**AccountDetails**](AccountDetails.md)| The account to be created. | [optional] ### Return type null (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined <a name="deleetAccount"></a> # **deleetAccount** > deleetAccount(accountNumber) Account details delete Deletes the account details for the given accountNumber ### Example ```java // Import classes: //import io.swagger.client.ApiException; //import io.swagger.client.api.DefaultApi; DefaultApi apiInstance = new DefaultApi(); Integer accountNumber = 56; // Integer | The person's accountNumber try { apiInstance.deleetAccount(accountNumber); } catch (ApiException e) { System.err.println("Exception when calling DefaultApi#deleetAccount"); e.printStackTrace(); } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **accountNumber** | **Integer**| The person&#39;s accountNumber | ### Return type null (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined <a name="getAccountDetails"></a> # **getAccountDetails** > AccountDetails getAccountDetails(accountNumber) Gets the account details for the given account number Returns teh account details for the given account number ### Example ```java // Import classes: //import io.swagger.client.ApiException; //import io.swagger.client.api.DefaultApi; DefaultApi apiInstance = new DefaultApi(); Integer accountNumber = 56; // Integer | The person's accountNumber try { AccountDetails result = apiInstance.getAccountDetails(accountNumber); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DefaultApi#getAccountDetails"); e.printStackTrace(); } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **accountNumber** | **Integer**| The person&#39;s accountNumber | ### Return type [**AccountDetails**](AccountDetails.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined <a name="getAllAccounts"></a> # **getAllAccounts** > Accounts getAllAccounts() Gets account details Returns a list containing all account details ### Example ```java // Import classes: //import io.swagger.client.ApiException; //import io.swagger.client.api.DefaultApi; DefaultApi apiInstance = new DefaultApi(); try { Accounts result = apiInstance.getAllAccounts(); System.out.println(result); } catch (ApiException e) { System.err.println("Exception when calling DefaultApi#getAllAccounts"); e.printStackTrace(); } ``` ### Parameters This endpoint does not need any parameter. ### Return type [**Accounts**](Accounts.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined <a name="updateAccountDetails"></a> # **updateAccountDetails** > updateAccountDetails(accountNumber) Account details update Updates the account details for the given accountNumber ### Example ```java // Import classes: //import io.swagger.client.ApiException; //import io.swagger.client.api.DefaultApi; DefaultApi apiInstance = new DefaultApi(); Integer accountNumber = 56; // Integer | The person's accountNumber try { apiInstance.updateAccountDetails(accountNumber); } catch (ApiException e) { System.err.println("Exception when calling DefaultApi#updateAccountDetails"); e.printStackTrace(); } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **accountNumber** | **Integer**| The person&#39;s accountNumber | ### Return type null (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: Not defined
23.801724
148
0.691959
eng_Latn
0.508437
57596c9ea5dab4a352c96e1707c355f9b76eeb5e
6,519
md
Markdown
README.md
imnisen/bp
ed603c3c713653009019edd56c03a59de5344bd6
[ "MIT" ]
null
null
null
README.md
imnisen/bp
ed603c3c713653009019edd56c03a59de5344bd6
[ "MIT" ]
null
null
null
README.md
imnisen/bp
ed603c3c713653009019edd56c03a59de5344bd6
[ "MIT" ]
null
null
null
# BP - Bitcoin Protocol [![Quicklisp](http://quickdocs.org/badge/bp.svg)](http://quickdocs.org/bp/) [![Build Status](https://travis-ci.com/mrwhythat/bp.svg?branch=master)](https://travis-ci.com/mrwhythat/bp) This is a Common Lisp implementation of the various components of the Bitcoin Protocol. The serialization/deserialization utils may be used for reading the block data both from peers and from local database on disk. The cryptographic utilities are aggregated from FFI bindings to the [secp256k1] and [ironclad]. HTTP client code uses [aserve], while and JSON handling is done with [jsown] package. **THIS BITCOIN CONSENSUS RULES IMPLEMENTATION IS NOT, AND WILL PROBABLY NEVER BE FULLY COMPLIANT WITH BITCOIN CORE IMPLEMENTATION. DO NOT RELY ON IT FOR VALIDATING YOUR MAINNET TRANSACTIONS, AS IT MAY EASILY PUT YOU OUT OF SYNC WITH THE NETWORK IN A LOT OF CORNER CASES.** ## Installation Elliptic curve cryptography utilities (transaction signing and verification) use a [secp256k1] library, so it must be installed before building the `bp` system (either manually, or using the system package manager if available): ``` bash # Ubuntu apt install libsecp256k1 libsecp256k1-dev # Arch Linux pacman -Syu libsecp256k1 # macOS brew tap cuber/homebrew-libsecp256k1 brew install libsecp256k1 ``` Once [secp256k1] is ready, `bp` can be installed via [quicklisp] tool: ``` cl (ql:quickload "bp") ``` Alternatively, `bp` system can be loaded from sources, assuming the following Common Lisp packages are available locally: - [`asdf`][asdf]; - [`aserve`][aserve]; - [`cffi`][cffi]; - [`ironclad`][ironclad]; - [`jsown`][jsown]. In order to load `bp` from sources, evaluate the following form (this assumes that ASDF is able to find the system definition; more on that [here][asdf-registry]): ``` cl (asdf:load-system "bp") ``` ## Interface Currently, this library only provides utilities for stateless interaction with Bitcoin from REPL. Storage, wallet and full node capabilities are somewhere in a distant future. ### Chain interface Functions `bp:get-block-hash`, `bp:get-block` and `bp:get-transaction` allow to pull chain data from any external supplier specified with the `bp:with-chain-supplier` macro: ``` cl CL-USER> (bp:with-chain-supplier (bp:node-connection :url "http://localhost:8332" :username "btcuser" :password "btcpassword") (bp:get-transaction "0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098")) #<BP/CORE/TRANSACTION:TX 0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098> ``` Non-`nil` keyword argument `:encoded` can be used with `bp:get-block` and `bp:get-transaction` to return serialized transaction hex-encoded in a string: ``` cl CL-USER> (bp:get-transaction "14...c3" :encoded t) "010000000...ae00000000" ``` Under the hood, these operations call corresponding generic functions `bp:chain-get-{block-hash,block,transaction}` which take the supplier object as an explicit first argument. ### Model and serialization Bitcoin data entities are represented by the following structures: - `bp:block-header`; - `bp:cblock`; - `bp:tx`; - `bp:txin`; - `bp:txout`; - `bp:script`. Functions named `bp:block-*` (both for `bp:block-header` and `bp:cblock`), `bp:tx-*`, `bp:txin-*` and `bp:txout-*` provide access to the components of the corresponding entities. Functions `bp:parse` and `bp:serialize` can be used to read and write any Bitcoin entity from and to any octet stream respectively: ``` cl CL-USER> (ironclad:with-octet-input-stream (stream #(1 0 ... 0 0)) (bp:parse 'bp:tx in-stream)) #<BP/CORE/TRANSACTION:TX 17e590f116d3deeb9b121bbb1c37b7916e6b7859461a3af7edf74e2348a9b347> CL-USER> (ironclad:with-octet-output-stream (stream) (bp:parse 'tx out-stream)) #(1 0 ... 0 0) ``` Note that while `bp:serialize` function take an entity as its first argument, `bp:parse` takes the symbol naming the class of the entity, behaving as *class method*. Functions `bp:decode` and `bp:encode` wrap above functions to decode and encode Bitcoin entities from and to hex-encoded strings: ``` cl CL-USER> (bp:decode 'bp:tx "0100000002f8615378...e097a988ac00000000") #<BP/CORE/TRANSACTION:TX 17e590f116d3deeb9b121bbb1c37b7916e6b7859461a3af7edf74e2348a9b347> CL-USER> (bp:encode *) "0100000002f8615378...e097a988ac00000000" ``` ### Validation Functions `bp:validate` and `bp:validp` take an entity as well as the optional context parameters, and validate it according to an approximation of Bitcoin consensus rules. Both functions return `t` if the entity is valid, but the `bp:validate` function signals an error otherwise, while the `bp:validp` function simply returns `nil`. Both functions assume the chain supplier context (i.e. they are called within the body of `bp:with-chain-supplier`). Dynamic variable `bp:*trace-script-execution*` can be used to enable printing the steps of script execution (chain supplier macro omitted): ``` cl CL-USER> (setf bp:*trace-script-execution* t) t CL-USER> (bp:validate (bp:get-transaction "17e590f116d3deeb9b121bbb1c37b7916e6b7859461a3af7edf74e2348a9b347")) op: OP_PUSH22 payload: #(0 14 a4 b4 ca 48 de b 3f ff c1 54 4 a1 ac dc 8d ba ae 22 69 55) commands: <> stack: () op: OP_HASH160 payload: - commands: <OP_PUSH20 OP_EQUAL> stack: (#(0 14 a4 b4 ca 48 de b 3f ff c1 54 4 a1 ac dc 8d ba ae 22 69 55)) op: OP_PUSH20 payload: #(29 28 f4 3a f1 8d 2d 60 e8 a8 43 54 d 80 86 b3 5 34 13 39) commands: <OP_EQUAL> stack: (#(29 28 f4 3a f1 8d 2d 60 e8 a8 43 54 d 80 86 b3 5 34 13 39)) op: OP_EQUAL payload: - commands: <> stack: (#(29 28 f4 3a f1 8d 2d 60 e8 a8 43 54 d 80 86 b3 5 34 13 39) #(29 28 f4 3a f1 8d 2d 60 e8 a8 43 54 d 80 86 b3 5 34 13 39)) op: OP_FALSE payload: - commands: <OP_PUSH20> stack: () op: OP_PUSH20 payload: #(a4 b4 ca 48 de b 3f ff c1 54 4 a1 ac dc 8d ba ae 22 69 55) commands: <> stack: (#()) t ``` [secp256k1]: https://github.com/bitcoin-core/secp256k1 [asdf]: https://gitlab.common-lisp.net/asdf/asdf [cffi]: https://github.com/cffi/cffi [ironclad]: https://github.com/sharplispers/ironclad [aserve]: https://sourceforge.net/projects/portableaserve [jsown]: https://github.com/madnificent/jsown [quicklisp]: https://www.quicklisp.org/beta [asdf-registry]: https://common-lisp.net/project/asdf/asdf/Configuring-ASDF-to-find-your-systems.html
33.603093
107
0.722197
eng_Latn
0.729777
5759e6bc7bafda5d3beddda763ce05180da425fd
227
md
Markdown
src/example/input/disabled.md
lanweipeng/lwp-ui
7de2f36279da73d8dc31d65f6e62592c0e6e4611
[ "MIT" ]
null
null
null
src/example/input/disabled.md
lanweipeng/lwp-ui
7de2f36279da73d8dc31d65f6e62592c0e6e4611
[ "MIT" ]
2
2022-02-19T06:18:41.000Z
2022-02-27T10:01:38.000Z
src/example/input/disabled.md
lanweipeng/lwp-ui
7de2f36279da73d8dc31d65f6e62592c0e6e4611
[ "MIT" ]
null
null
null
### 禁用状态 ::: 通过`disabled`属性指定是否禁用 input 组件 ::: ``` <lwp-input placeholder="请输入内容" v-model="input" :disabled="true"> </lwp-input> <script> export default { data() { return { input: '' } } } </script> ```
10.809524
29
0.546256
yue_Hant
0.236219
575a2e0177c93975bf881fe725fee2e408d70b4f
210
md
Markdown
input/about/advisory-council/brendan-forster.md
dave-007/website
80ee3f87d45b66897168dd8ad9d1b00040cf6cc1
[ "MIT" ]
7
2020-07-26T08:37:33.000Z
2020-10-30T10:23:14.000Z
input/about/advisory-council/brendan-forster.md
dave-007/website
80ee3f87d45b66897168dd8ad9d1b00040cf6cc1
[ "MIT" ]
2
2022-01-22T16:21:35.000Z
2022-01-22T16:21:40.000Z
input/about/advisory-council/brendan-forster.md
dave-007/website
80ee3f87d45b66897168dd8ad9d1b00040cf6cc1
[ "MIT" ]
2
2021-12-11T08:26:41.000Z
2021-12-12T08:43:33.000Z
--- title: Brendan Forster order: 2 image: brendan-forster.jpg twitter: shiftkey company: Staff Software Engineer at GitHub location: Canada advisor: true --- Frequent .NET open source contributor.
17.5
43
0.738095
eng_Latn
0.590501
575b13ceac341fb8579bda0160b5e109cd92b904
35
md
Markdown
README.md
Conta-Teste-AthosFB/076364915346240
2d618b07438a98682eb7fdc1f1881f1564d495e0
[ "MIT" ]
1
2021-08-29T02:50:07.000Z
2021-08-29T02:50:07.000Z
README.md
Conta-Teste-AthosFB/076364915346240
2d618b07438a98682eb7fdc1f1881f1564d495e0
[ "MIT" ]
null
null
null
README.md
Conta-Teste-AthosFB/076364915346240
2d618b07438a98682eb7fdc1f1881f1564d495e0
[ "MIT" ]
null
null
null
# 076364915346240 076364915346240
11.666667
17
0.857143
deu_Latn
0.056889
575c7d8253ab4020a223f27407e34ad556a0b3d4
1,362
md
Markdown
README.md
danielshervheim/unity-google-fonts-importer
75ff350e3460e360fcab3dc89e6e2a486484c335
[ "BSD-3-Clause" ]
2
2020-12-31T06:08:58.000Z
2021-09-26T18:14:52.000Z
README.md
danielshervheim/unity-google-fonts-importer
75ff350e3460e360fcab3dc89e6e2a486484c335
[ "BSD-3-Clause" ]
null
null
null
README.md
danielshervheim/unity-google-fonts-importer
75ff350e3460e360fcab3dc89e6e2a486484c335
[ "BSD-3-Clause" ]
null
null
null
# unity-google-fonts-importer ![example](img/example.png) ## Usage ### 1. Add your API key 1. Generate your own API key by following the [Google Fonts Developer API](https://developers.google.com/fonts/docs/developer_api) tutorial. 2. Copy and paste your key in a new text file called `GoogleFontsApiKey.txt`. (The name is important). 3. Create a folder called "Resources" anywhere in your Unity Assets folder. 4. Drag `GoogleFontsApiKey.txt` into your "Resources" folder. ### 2. Download fonts 1. Open the importer from `Google Fonts/Import`. 2. Click on the font you want to import from the list. - You can search by name, or select a category to narrow down the list. 3. From the font window, choose the style you want to import. - You can also import all available styles. 4. Choose a destination to save it, and press enter. ## Installation ### Via UPM 1. Open Unity `2019` or greater. 2. Open the Package Manager from `Window/Package Manager`. 3. Add a new package from `+/Add package from git url...`. 4. Enter `[email protected]:danielshervheim/unity-google-fonts-importer.git#upm` ### Via `.unitypackage` 1. Download the latest `.unitypackage` from the [Releases](https://github.com/danielshervheim/unity-google-fonts-importer/releases/) page. 2. Open Unity `2018.3` or greater. 3. Import it from `Assets/Import Package/Custom Package`.
36.810811
140
0.743025
eng_Latn
0.905416
575cc14a754b7c52a35fd4478733a1652b23f51d
41
md
Markdown
README.md
egon1024/membertracker
4340ef7182741badacf5804e205f0dc0208bac62
[ "Apache-2.0" ]
null
null
null
README.md
egon1024/membertracker
4340ef7182741badacf5804e205f0dc0208bac62
[ "Apache-2.0" ]
null
null
null
README.md
egon1024/membertracker
4340ef7182741badacf5804e205f0dc0208bac62
[ "Apache-2.0" ]
null
null
null
# membertracker A member tracking system
13.666667
24
0.829268
eng_Latn
0.995958
575ce41b7b629e8c8fea8f9668dd89caa8ba62d1
1,562
md
Markdown
README.md
kirkedev/mpr
c081acb3d48cf8c638f789a1c1c49ed61c2d96c1
[ "MIT" ]
7
2019-04-28T19:17:25.000Z
2021-08-20T20:23:51.000Z
README.md
kirkedev/mpr
c081acb3d48cf8c638f789a1c1c49ed61c2d96c1
[ "MIT" ]
7
2020-02-28T05:45:40.000Z
2020-04-15T15:26:48.000Z
README.md
kirkedev/mpr
c081acb3d48cf8c638f789a1c1c49ed61c2d96c1
[ "MIT" ]
2
2020-03-24T11:32:25.000Z
2020-10-23T12:49:02.000Z
mpr === [![Test Status](https://github.com/gumballhead/mpr/workflows/tests/badge.svg)](https://github.com/gumballhead/mpr/actions?query=workflow%3Atests) [![Coverage Status](https://coveralls.io/repos/github/gumballhead/mpr/badge.svg?branch=master)](https://coveralls.io/github/gumballhead/mpr?branch=master) Python package for downloading, parsing, and analyzing historical [Mandatory Price Reporting](https://mpr.datamart.ams.usda.gov/) data from the USDA's [Agricultural Marketing Service](https://www.ams.usda.gov/). - Ergonomic client for interacting with MPR DataMart - Parses XML data into json - Parses report data from strings into numpy dtypes and record arrays - Builds a dynamic timeseries filesystem cache of requested data - Aggregates data into common reports as pandas DataFrames See examples in the [examples notebook](examples.ipynb) ### Setup You'll need to [install pipenv](https://github.com/pypa/pipenv#installation) to run the code. To activate the git hooks: ```bash git config core.hooksPath .githooks ``` ### Commands These all need to be run from the project root. ```bash # View CME Lean Hog Index report for last 20 days bin/cash --days=20 # View CME Cutout Index report (default last 10 days) bin/cutout # View Lean Hog Purchases report bin/purchases # View CME Fresh Bacon Index report bin/bacon # Start jupyter notebook server bin/notebook # Lint and run unit and acceptance tests with coverage bin/tests # Wipe reports cache bin/wipe # Build wheel for deployment bin/build # Remove build artifacts bin/clean ```
28.4
211
0.771447
eng_Latn
0.801292
575dc2f9d1e31cbffcffbd0769262d7b7ddf96a0
880
md
Markdown
catalog/xing-chen-bian/en-US_xing-chen-bian-yu-li-cang-hai.md
htron-dev/baka-db
cb6e907a5c53113275da271631698cd3b35c9589
[ "MIT" ]
3
2021-08-12T20:02:29.000Z
2021-09-05T05:03:32.000Z
catalog/xing-chen-bian/en-US_xing-chen-bian-yu-li-cang-hai.md
zzhenryquezz/baka-db
da8f54a87191a53a7fca54b0775b3c00f99d2531
[ "MIT" ]
8
2021-07-20T00:44:48.000Z
2021-09-22T18:44:04.000Z
catalog/xing-chen-bian/en-US_xing-chen-bian-yu-li-cang-hai.md
zzhenryquezz/baka-db
da8f54a87191a53a7fca54b0775b3c00f99d2531
[ "MIT" ]
2
2021-07-19T01:38:25.000Z
2021-07-29T08:10:29.000Z
# Xing Chen Bian: Yu Li Cang Hai ![xing-chen-bian-yu-li-cang-hai](https://cdn.myanimelist.net/images/anime/1548/107365.jpg) - **type**: ona - **episodes**: 12 - **original-name**: 星辰变 羽立沧海 - **start-date**: 2020-05-03 - **end-date**: 2020-05-03 - **opening-song**: "Zai Guilai (再归来)" By Zui Xue (醉雪) - **ending-song**: "Liuxing Lei (流星泪)" by Jingyuan Liao (廖静媛) - **rating**: PG-13 - Teens 13 or older ## Tags - action - adventure - historical - romance - martial-arts - fantasy ## Sinopse Second season of Xing Chen Bian. ## Links - [My Anime list](https://myanimelist.net/anime/41528/Xing_Chen_Bian__Yu_Li_Cang_Hai) - [Official Site](http://v.qq.com/detail/0/0s8n49g3g1rv1oz.html) - [AnimeDB](http://anidb.info/perl-bin/animedb.pl?show=anime&aid=15594) - [Wikipedia](https://baike.baidu.com/item/%E6%98%9F%E8%BE%B0%E5%8F%98/22582624)
26.666667
90
0.655682
yue_Hant
0.177706
575f2c965a5dded5668602aec14cc8d5b2074660
845
md
Markdown
README.md
Gyumeijie/isPJO
be8d39837d233ff305aaa1b7545a32bdb59a3333
[ "MIT" ]
1
2019-05-06T12:16:23.000Z
2019-05-06T12:16:23.000Z
README.md
Gyumeijie/isPJO
be8d39837d233ff305aaa1b7545a32bdb59a3333
[ "MIT" ]
null
null
null
README.md
Gyumeijie/isPJO
be8d39837d233ff305aaa1b7545a32bdb59a3333
[ "MIT" ]
null
null
null
# isPOJO [![](https://travis-ci.com/Gyumeijie/isPOJO.svg?branch=master)](https://travis-ci.com/Gyumeijie/isPOJO) > check whether an object is a Plain Javascript Object ## Install ```bash $ npm install @gyumeijie/is-pojo ``` ## Usage ```js const isPlainObject = require('@gyumeijie/is-pojo'); isPlainObject({}) //true isPlainObject(Object.create(null)) //true isPlainObject(Object.create(Object.prototype)) //true isPlainObject({ constructor: function Foo() {} }) //true isPlainObject(Object.create({})) //false isPlainObject('string') //false isPlainObject(undefined) //false isPlainObject(1) //false isPlainObject(() => {}) //false isPlainObject([]) //false isPlainObject([1, 2, 3, 4]) //false isPlainObject(new Date()) //false isPlainObject(/regexp/) //false ``` ## License MIT © [Gyumeijie](https://github.com/Gyumeijie)
24.852941
112
0.700592
yue_Hant
0.325359
575f6cac5396067f9cd03a63224dab71a1aa51ec
2,159
md
Markdown
_posts/2010-12-11-25eccb00-5fe7-4e28-b7e5-70ed227e85aa.md
chromi-org/chromi-org.github.io
afe0fbbdc2c3d692dcf62f4a3ab2c77c7e8c591d
[ "Apache-2.0" ]
null
null
null
_posts/2010-12-11-25eccb00-5fe7-4e28-b7e5-70ed227e85aa.md
chromi-org/chromi-org.github.io
afe0fbbdc2c3d692dcf62f4a3ab2c77c7e8c591d
[ "Apache-2.0" ]
null
null
null
_posts/2010-12-11-25eccb00-5fe7-4e28-b7e5-70ed227e85aa.md
chromi-org/chromi-org.github.io
afe0fbbdc2c3d692dcf62f4a3ab2c77c7e8c591d
[ "Apache-2.0" ]
null
null
null
--- layout: post title: "Cr-48 暴力美学视频中暗藏彩蛋,已被“数学党”成功破解" date: 2010-12-11 14:23 author: Eyon comments: true tags: [Chrome OS, cr-48, Easter Egg, Google] --- 昨天 Google 在 [Youtube ](http://www.youtube.com/watch?v=lm-Vnx58UYo)上发布了一段[蹂躏 Cr-48 笔记本的“暴力美学”视频](http://www.chromi.org/archives/9309),想必各位看完后都会很过瘾吧。不过现在我要告诉你的是,你在看完视频后还没有发现什么秘密的话,也与一台搭载 Chrome OS 操作系统的 Cr-48 笔记本擦肩而过了。 <a href="http://img.chromi.org/2010/12/Easteregg_2.jpg">![](http://img.chromi.org/2010/12/Easteregg_2.jpg "Easteregg_2")</a> 在那段视频中,Google 插入了一个秘密彩蛋,成功破解的人将得到一台 Cr-48 笔记本电脑。20小时后,还真有人给破解出来了,下面我们就来将这个秘密彩蛋公之于众: 如上图,在视频的大约2分24秒,出现了一个黑板,上面写着一个数学方程:X = G / (C*H*R*O*M - 3),其中除了未知值 X 之外,其余数值都可以通过求解黑板上面的方程得出,结果是: >G = 900.91 C = 8335727 H = 269462689 R = 222647 O = 694079 M = 552 再按照最终的方程 X = G / (C*H*R*O*M - 3) 将上面的已知数全部替换到方程中,得到下面的算式:<!--more--> >900.91 / 191605050401140404051920181525 如果说上面的数学题对你来说很简单的话,那么接下来就是要考验你智商和想像力的了。仔细看上面的这个算式: 900.91 这个数的外观是不是很像 Google 的短网址服务 goo.gl?最重要的是后面还跟了一个斜杠 /,很明显了吧,上面的算式就是: >goo.gl/191605050401140404051920181525 到了这一步,你可能会尝试直接在浏览器中访问 [goo.gl/191605050401140404051920181525](http://goo.gl/191605050401140404051920181525)这个链接,但你会发现返回的是一个404页面,也就是说这个链接并不存在。那么,191605050401140404051920181525 这一串数字中就肯定有鬼,还是得想办法将其转成字母。 如何破解这一串数字?不得不说是一个难题!鉴于前面已经通过观察法顺利的将 900.91/ 转化成了 goo.gl/,不妨用一下这个方法,仔细观察这一串数字: >191605050401140404051920181525 仔细来看,这一串数字中包含了大量的 0,而且04、05 出现了好几次,且这一串数字的总数是双数,那么何不将它们一对一对的拆分,得到: >19 16 05 05 04 01 14 04 04 05 19 20 18 15 25 再仔细观察上面这个数字集,你会发现所有的数字都没有大于26的,也就是说没有超过英文字母总数。如果你能想到这一点,那么你就已经基本成功了,将数字映射到26个英文字母就可以了,比如 a=1,b=2.....z=26,答案揭晓: >s p e e d a n d d e s t r o y 那么整个方程的x就等于: >[goo.gl/speedanddestroy](http://goo.gl/speedanddestroy) 到了这里,直接进入上面这个链接后,就了 Cr-48 的申请页面了,填联系方式等着 Cr-48 送到家吧(当然现在访问这个地址已经不会给你本本了)。 要说这个彩蛋隐藏的可真够绝的,你不仅仅要学好数学,还要有充分的想象力和创造力,这样聪明的人当然是值得拥有一部 Cr-48 的。 泪奔吧,各位! [点击这里](http://blog.jamendo.com/2010/12/10/jamendo-geeks-solve-the-hidden-chrome-os-equation/)看成功破解该彩蛋的人是如何一步一步想的,最重要的是学习他的思维,因为他也遇到了多次失败才成功破解出来。哥们,你真NB。 via [Chrome Blog](http://chrome.blogspot.com/2010/12/x-g-chrom-3.html)
16.356061
216
0.741084
yue_Hant
0.544251
575f9cdf3dbb93b88cb844e243aee2f4f2c3a21d
3,094
md
Markdown
_posts/2021-1-4-数据交互.md
KID-1912/KID-1912.github.io
3fb9bd068f9d1a35ce16d9bfa966be38851578b3
[ "MIT" ]
1
2021-05-20T06:56:10.000Z
2021-05-20T06:56:10.000Z
_posts/2021-1-4-数据交互.md
KID-1912/KID-1912.github.io
3fb9bd068f9d1a35ce16d9bfa966be38851578b3
[ "MIT" ]
null
null
null
_posts/2021-1-4-数据交互.md
KID-1912/KID-1912.github.io
3fb9bd068f9d1a35ce16d9bfa966be38851578b3
[ "MIT" ]
null
null
null
--- layout: post title: 数据交互 subtitle: 常见的前后端数据交互方式,不同数据的前后端交互处理 date: 2021-01-4 author: page header-img: post-bg-alibaba.jpg catalog: true tags: - http --- ## http状态码 - 1xx 信息 - 2xx 成功 - 3xx 重定向 - 301 永久重定向 - 304 缓存中读取 - 4xx 请求错误 - 400 参数验证问题 - 401 HTTP认证信息问题 - 404 请求资源未找到 - 5xx 服务器错误 ## 跨域 现代浏览器为了安全性遵循同源策略,即浏览器发送ajax跨域请求,服务端的响应与浏览器端的协议、域名、端口任一不一致则限制浏览器接受请求; - 注意 - 跨域是浏览器主动限制/屏蔽后端的响应,而非服务端'不对请求响应或不返回数据' - 解决 1. 服务端设置响应头允许跨域接收 - 如Access-Control-Allow-Origin: * - 允许自定义跨域限制条件 2. JSONP - 利用script标签异步加载js资源的原理,先声明一个异步请求的回调函数,然后创建一个script标签,通过设置src地址使其向后端发送请求,请求类型仅为get,参数即url上查询串,后端返回script标签内容为一行调用前端声明好的回调函数的代码,将数据作为函数参数;浏览器接收到script资源就会执行js调用声明好的回调函数; ## 数据通信 ### ajax 2.0 新增了Formdata对象,支持获取表单字段发送ajax请求,也可以自定义Formdata对象 - 例子 ```js let formData = new Formdata(formDOM); // 允许添加自定义的请求字段与值 let formData.append("username","page"); let xhr = new XMLHttpRequest(); xhr.open(formDom.method,form.action,true); xhr.send(formData); ... // jquery $.ajax({ url: formDOM.action, type: formDOM.method, data: fromData, contentType: false, processData: false }) ``` - 注意 - 使用Formdata发送文件,为form标签添加entype="multipart/form-data"即可 ### fetch 相对XMLHttpRequest对象,Fetch作为API提供了一个更理想的替代方案,以一种简单,合理的方式来跨网络异步获取资源。还提供了专门的逻辑空间来定义其他与 HTTP 相关的概念,例如 CORS 和 HTTP 的扩展。 - 使用 - fetch(url,{请求头配置}).then(res => res.json()).then(data => ...); - async/await 可以这样写 ```js async function request(url,options,success){ let res = await fetch(url,options); // http请求 let data = await res.json(); // 解析响应数据 success(data); } ``` - 请求头配置 ```js body: JSON.stringify(data), // must match 'Content-Type' header cache: 'no-cache', // *default, no-cache, reload, force-cache,only-if-cached credentials: 'same-origin', // include, same-origin, *omit headers: { 'user-agent': 'Mozilla/4.0 MDN Example', 'content-type': 'application/json' }, method: 'POST', // *GET, POST, PUT, DELETE, etc. mode: 'cors', // no-cors, cors, *same-origin redirect: 'follow', // manual, *follow, error referrer: 'no-referrer', // *client, no-referrer ``` + 注意 1. 通过设置body为Formdata对象即上传文件 2. 不同于XMLHttpRequest,fetch不会将错误状态码作为reject处理,而是resolve 3. 低版本都不兼容fetch,在模块化开发下,你可以使用 ## websocket - 特点 - 双向通信 - 数据格式比较轻量,性能开销小,通信高效 - 没有同源策略导致的跨域问题 - 建立在TCP之上,可以发送文本,也可以发送二进制数据 - 基本使用 1. 安装 ```js npm install --save socket.io ``` 2. 服务端初始化一个socket.io实例并监听connection事件 ```js var app = require('express')(); var http = require('http').createServer(app); var io = require('socket.io')(http); io.on('connection', socket => { // 每个socket都是一个连接实例 console.log('a user connected'); }); http.listen(3000, () => { console.log('server is runing'); }); ``` 3. 前端加载socket.io-client,使用全局方法io连接 ```html <script src="/socket.io/socket.io.js"></script> <script> var socket = io(); // 默认连接到当前页面主机 </script> ``` - 进阶 详情查看 'websocket通信' 博客
21.191781
176
0.642857
yue_Hant
0.484517
5762d029fd133f69db4ba87ddf0ac122afbe4b6d
3,300
md
Markdown
README.md
Tony2104/Tracker-Covid-19
779bd189f536c959e9caf09099c6dfaf1ae85ea9
[ "MIT" ]
null
null
null
README.md
Tony2104/Tracker-Covid-19
779bd189f536c959e9caf09099c6dfaf1ae85ea9
[ "MIT" ]
null
null
null
README.md
Tony2104/Tracker-Covid-19
779bd189f536c959e9caf09099c6dfaf1ae85ea9
[ "MIT" ]
null
null
null
<p align="center"> <img src="https://cdn.discordapp.com/attachments/450718681492750344/694492085205860352/virus_coronavirus_covid_covid_icon_134829.png" width=150px" align="center"> </p> <h1 align="center">Tracker Covid-19</h1> <p align="center" style="color: #ccc;"> This project consists of the realization of an application that calculates an average of information about covid-19 in relation to the world level. Here it will be possible to obtain results of cases, deaths, recoveries at a global level, while at country level the user is asked to enter a country where he will demonstrate detailed information about the country from its appearance to those infected, deaths and recoveries the day it is viewed. </p> ## Table of Content - [Documentation](#documentation) - [Warning](#warning) - [Introduction](#introduction) - [Demonstration](#demonstration) - [TargetAudience](#targetaudience) - [Bugs](#bugs) - [Support](#support) - [License](#license) ## Documentation - **Covid-19 API** https://coronavirus-19-api.herokuapp.com ## Warning - Outside the readme, reports will be found where the language corresponds to the Portuguese language. - This project was developed with the intention of dealing with third party apis. ## Introduction With the recent news about covid, the considered pandemic that caused countries to stop and caused instability at a global level, we decided to develop a project with the aim of exploring third party apis and making a global trace about the situation regarding the day and the junction of everything. This project was developed by four computer engineering students. ## Demonstration <h2 align="center">Home</h1> <p align="center"> <img src="https://i.gyazo.com/f72186261c87dda7f1573f1299bdddc1.png" align="center"> <p align="center">In this project it is possible to see all confirmed cases, deaths and recovered worldwide and there is an input for the user obtain results about covid-19 country name! After entering a search, a result is given through an api provided by another application. It is a simple but useful covid-19 tracker that we put into practice some of our knowledge about apis.</p></p> ## TargetAudience Being a project dealing with a global theme in relation to being a pandemic, the target audience is all users with enough curiosity to search for news on the topic. <p align="center"><img src="https://i.gyazo.com/9a33dfeaeaef4061a01c2c01d32ce4e8.png" align="center"></p> ## Bugs I appreciate any bug reported or improvement made! - Before reporting bugs: [check if they have already been reported](https://github.com/jozdev/CodeBetter/issues) ## Support - [ThurDev](https://github.com/thurdev) - [JozDev](https://github.com/jozdev) - [Tony2104](https://github.com/Tony2104) - [ArcherXD](https://github.com/ArcherXD) ## License MIT <i style='text-align: center; color: red;font-size: 13px;'>CopyRight © Arthur Brites,Joao Magalhaes,Antonio Rodrigues 2020</i>
40.740741
446
0.689091
eng_Latn
0.984849
5763991b60147251b4e99b56712af394c47b7f55
167
md
Markdown
_posts/2019-03-03-syllabus.md
univie-histr-2019/univie-histr-2019.github.io
3def81cf04a8208dc7633db55e1fdfe6a406e8f0
[ "MIT" ]
null
null
null
_posts/2019-03-03-syllabus.md
univie-histr-2019/univie-histr-2019.github.io
3def81cf04a8208dc7633db55e1fdfe6a406e8f0
[ "MIT" ]
2
2020-02-25T21:24:03.000Z
2022-02-26T04:51:53.000Z
_posts/2019-03-03-syllabus.md
univie-histr-2019/univie-histr-2019.github.io
3def81cf04a8208dc7633db55e1fdfe6a406e8f0
[ "MIT" ]
null
null
null
--- layout: post title: 00 — Syllabus subtitle: Description of the Course tags: syllabus comments: true image: /img/avatar-icon.png --- [Follow the link...](../about)
16.7
35
0.706587
eng_Latn
0.8091
57653215ddcf12ffa54d84c43d06e4ed6bbbf65f
689
md
Markdown
ru/_pricing/managed-kubernetes/rub.md
barmex/docs
e7f6be6035c66c1ab52224c350bfbf1d1fb605e9
[ "CC-BY-4.0" ]
null
null
null
ru/_pricing/managed-kubernetes/rub.md
barmex/docs
e7f6be6035c66c1ab52224c350bfbf1d1fb605e9
[ "CC-BY-4.0" ]
null
null
null
ru/_pricing/managed-kubernetes/rub.md
barmex/docs
e7f6be6035c66c1ab52224c350bfbf1d1fb605e9
[ "CC-BY-4.0" ]
null
null
null
{% list tabs %} * За месяц работы мастера | Тип мастера | Цена за месяц, вкл. НДС | | | --- | --- | --- | | | **До 12 апреля 2022<br>включительно** | **С 13 апреля 2022** | | Зональный | {{ sku|RUB|mk8s.master.zonal.small|month|int|string }} | 6336,00 ₽ | | Региональный | {{ sku|RUB|mk8s.master.regional.small|month|int|string }} | 16 012,80 ₽ | * За 1 час работы мастера | Тип мастера | Цена за 1 час, вкл. НДС | | | --- | --- | --- | | | **До 12 апреля 2022<br>включительно** | **С 13 апреля 2022** | | Зональный | {{ sku|RUB|mk8s.master.zonal.small|string }} | 8,80 ₽ | | Региональный | {{ sku|RUB|mk8s.master.regional.small|string }} | 22,24 ₽ | {% endlist %}
36.263158
92
0.582003
rus_Cyrl
0.457782
5765a0dc056cd7e070461ed3ad7df3fad133a104
7,409
md
Markdown
articles/human-resources/hr-whats-new-2021-07-26.md
MicrosoftDocs/Dynamics-365-Operations.it-
10c91d0b02b9925d81227106bc04e18f538a6e25
[ "CC-BY-4.0", "MIT" ]
2
2020-05-18T17:14:19.000Z
2021-04-20T21:13:45.000Z
articles/human-resources/hr-whats-new-2021-07-26.md
MicrosoftDocs/Dynamics-365-Operations.it-
10c91d0b02b9925d81227106bc04e18f538a6e25
[ "CC-BY-4.0", "MIT" ]
10
2017-12-12T12:01:52.000Z
2019-04-30T11:46:17.000Z
articles/human-resources/hr-whats-new-2021-07-26.md
MicrosoftDocs/Dynamics-365-Operations.it-
10c91d0b02b9925d81227106bc04e18f538a6e25
[ "CC-BY-4.0", "MIT" ]
3
2018-07-20T06:42:28.000Z
2019-10-12T18:16:59.000Z
--- title: Novità e modifiche in Dynamics 365 Human Resources 26 luglio 2021 description: Questo argomento descrive le funzionalità nuove o modificate di Microsoft Dynamics 365 Human Resources al 26 luglio 2021. author: marcelbf ms.date: 07/12/2021 ms.topic: article ms.prod: '' ms.technology: '' ms.search.form: '' audience: Application User ms.search.scope: Human Resources ms.custom: '' ms.assetid: '' ms.search.region: Global ms.author: marcelbf ms.search.validFrom: 2021-07-26 ms.dyn365.ops.version: Human Resources ms.openlocfilehash: 810511c42cd690579d8c8b6ebcc17b0cf7fcb9eb2b999822dc2226fabd127cc6 ms.sourcegitcommit: 42fe9790ddf0bdad911544deaa82123a396712fb ms.translationtype: HT ms.contentlocale: it-IT ms.lasthandoff: 08/05/2021 ms.locfileid: "6771517" --- # <a name="whats-new-or-changed-in-dynamics-365-human-resources-july-26-2021"></a>Novità e modifiche in Dynamics 365 Human Resources 26 luglio 2021 [!include [Applies to Human Resources](../includes/applies-to-hr.md)] Questo argomento descrive le funzionalità nuove, modificate o presto disponibili in Dynamics 365 Human Resources. Per ulteriori informazioni sul processo di aggiornamento e pianificazione, vedere [Processo di aggiornamento](hr-admin-setup-update-process.md). Per ulteriori informazioni sulle nuove funzionalità e sulle relative date di disponibilità generale previste, vedi [Panoramica del secondo ciclo di rilascio del 2021 di Dynamics 365 Human Resources](/dynamics365-release-plan/2021wave2/human-resources/dynamics365-human-resources/). ## <a name="in-this-release"></a>In questa versione Questa versione include le seguenti nuove funzionalità e correzioni di bug. Le modifiche si applicano alla build 8.1.4384. ### <a name="new-features"></a>Nuove funzionalità Le seguenti funzioni sono generalmente disponibili con questa versione. | Funzionalità | Piano di rilascio | Documentazione | | --- | --- | --- | | Update 10.0.20 della piattaforma | -- | [Aggiornamento della piattaforma per la versione 10.0.20 delle app Finance and Operations (agosto 2021)](/dynamics365/fin-ops-core/dev-itpro/get-started/whats-new-platform-updates-10-0-20) | ### <a name="bug-fixes"></a>Correzioni di bug Questa versione include le seguenti correzioni di bug. > [!NOTE] > Il nostro obiettivo è fornire queste informazioni il prima possibile. È possibile aggiornare questo argomento per includere correzioni di bug che sono state introdotte nella build dopo la pubblicazione iniziale di questo argomento. | Numero problema | Problema | descrizione | | --- | --- | --- | | 600422 | La convalida dell'indirizzo retribuzione non riesce per Pronto per il pagamento. | La convalida è stata aggiornata per richiedere un solo indirizzo di tipo "Luogo di residenza retribuzioni" e un solo indirizzo di tipo "Luogo di lavoro retribuzioni". | | 601226 | Problema di integrazione dei dati: Esportazione integrazione delle retribuzioni non presenta l'opzione per un push completo | L'integrazione delle retribuzioni in Ceridian DayForce generava un push incrementale anziché un push completo. Ceridian richiede sempre un aggiornamento completo. Questo problema è stato risolto; le entità nel progetto di esportazione dei dati non passeranno più al push incrementale. | | 602272 | I riquadri aggiunti all'area di lavoro Dipendente self-service risultano mancanti e non è più possibile aggiungervi riquadri | Abbiamo risolto il problema di personalizzazione per Dipendenti self-service. È possibile aggiungere nuovi riquadri alla visualizzazione e qualsiasi personalizzazione esistente sarà visibile agli utenti | | 600711 | Il campo di selezione Definizione metà giornata è abilitato per le richieste di congedo di un'intera giornata | Questo problema è ora risolto e il campo Definizione metà giornata sarà abilitato solo quando i dipendenti selezionano un tipo di congedo con il campo Definizione metà giornata abilitato e mezza giornata come valore di importo selezionato | | 602208 | Il coefficiente di accumulo è espresso in ore anziché giorni | Questo problema è ora risolto. Il modulo **Tempo libero** mostrerà l'unità corretta (ore o giorni) nella colonna **Coefficiente di accumulo**. | ## <a name="in-preview"></a>In anteprima Le seguenti nuove funzionalità sono in anteprima. Per ulteriori informazioni su come attivare o disattivare le funzionalità, vedere [Gestire le funzionalità](hr-admin-manage-features.md). | Funzionalità | Piano di rilascio | Documentazione | | --- | --- | --- | | Area di lavoro gestione benefit | [Area di lavoro Gestione benefit](/dynamics365-release-plan/2020wave2/human-resources/dynamics365-human-resources/benefits-management-workspace) | [Area di lavoro gestione benefit](hr-benefits-management-workspace.md) | | Abilitare l'integrazione delle retribuzioni semplificata (API di integrazione delle retribuzioni) | [Abilitare l'integrazionei semplificata con i fornitori retribuzioni](/dynamics365-release-plan/2021wave1/human-resources/dynamics365-human-resources/enable-simplified-integration-payroll-providers) | [API di integrazione retribuzioni](hr-admin-integration-payroll-api-introduction.md)| | Consentire a un responsabile dei congedi di gestire le ferie | [Consentire a un responsabile dei congedi di gestire le ferie](/dynamics365-release-plan/2021wave1/human-resources/dynamics365-human-resources/enable-absence-manager-manage-leave) | In questa versione, stiamo aggiornando la visualizzazione Area di lavoro del responsabile dei congedi. Per ulteriori informazioni, vedi [Configura il ruolo del responsabile dei congedi](https://go.microsoft.com/fwlink/?linkid=2168107).| | Configurare il requisito per l'allegato per tipo di congedo | [Configurare il requisito per l'allegato per tipo di congedo](/dynamics365-release-plan/2021wave1/human-resources/dynamics365-human-resources/mandate-attachments-specific-leave-types) |[Configurare i tipi di congedo e assenza](https://go.microsoft.com/fwlink/?linkid=2168108)| | Configurare le unità di congedo per tipo di congedo | [Configurare le unità di congedo per tipo di congedo](/dynamics365-release-plan/2021wave1/human-resources/dynamics365-human-resources/configure-leave-units-per-leave-type) |[Configurare i tipi di congedo e assenza](https://go.microsoft.com/fwlink/?linkid=2168215)| | Consentire ai dipendenti di essere contrassegnati come pronti per essere pagati | [Consentire ai dipendenti di essere contrassegnati come pronti per essere pagati](/dynamics365-release-plan/2021wave1/human-resources/dynamics365-human-resources/enable-employees-be-marked-as-ready-pay) | [Pronto per il pagamento](/dynamics365/human-resources/hr-compensation-payroll) | ## <a name="coming-soon"></a>Presto disponibile Per un elenco completo delle funzionalità pianificate e dei relativi rilasci programmati, vedi [Panoramica del secondo ciclo di rilascio del 2021 di Dynamics 365 Human Resources](/dynamics365-release-plan/2021wave2/human-resources/dynamics365-human-resources/). ## <a name="see-also"></a>Vedere anche [Novità o modifiche in Human Resources](hr-admin-whats-new.md)</br> [Panoramica del secondo ciclo di rilascio del 2021 di Dynamics 365 Human Resources](/dynamics365-release-plan/2021wave2/human-resources/dynamics365-human-resources/)</br> [Aggiornare un processo](hr-admin-setup-update-process.md)</br> [Gestire le funzionalità](hr-admin-manage-features.md) [!INCLUDE[footer-include](../includes/footer-banner.md)]
85.16092
484
0.799973
ita_Latn
0.990757
57664603568a4fc00a59eef622f21bf7925fe1e4
123
md
Markdown
README.md
siavashmoghadami/CHIPseq
733c3cf3e1053e582b873ae5c335c1c402d71bc4
[ "MIT" ]
null
null
null
README.md
siavashmoghadami/CHIPseq
733c3cf3e1053e582b873ae5c335c1c402d71bc4
[ "MIT" ]
null
null
null
README.md
siavashmoghadami/CHIPseq
733c3cf3e1053e582b873ae5c335c1c402d71bc4
[ "MIT" ]
null
null
null
# CHIPseq ![GitHub](https://user-images.githubusercontent.com/51088825/148829207-b7810aac-07f7-4d1f-811f-8c5ae06ca5b7.png)
41
112
0.813008
yue_Hant
0.164006
576771c29e7efb7f3b1ba7079e0b37bd3a4057be
4,073
md
Markdown
CHANGELOG.md
donavanbecker/homebridge-noip
a3eec03a140d4ebe9015c03c04482ac8e667aa98
[ "Apache-2.0" ]
9
2021-08-09T23:17:23.000Z
2022-03-26T12:53:46.000Z
CHANGELOG.md
donavanbecker/homebridge-noip
a3eec03a140d4ebe9015c03c04482ac8e667aa98
[ "Apache-2.0" ]
43
2021-08-09T16:24:43.000Z
2022-03-19T12:57:50.000Z
CHANGELOG.md
donavanbecker/homebridge-noip
a3eec03a140d4ebe9015c03c04482ac8e667aa98
[ "Apache-2.0" ]
null
null
null
# Changelog All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/) ## [Version 1.5.0](https://github.com/donavanbecker/homebridge-noip/releases/tag/v1.5.0) (2022-01-13) ### What's Changes * Removed dependency `easy-ip` to use built in Public IP finder. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.4.0...v1.5.0 ## [Version 1.4.0](https://github.com/donavanbecker/homebridge-noip/releases/tag/v1.4.0) (2022-01-06) ### What's Changes * Change from dependency `systeminformation` to `easy-ip`. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.3.0...v1.4.0 ## [Version 1.3.0](https://github.com/donavanbecker/homebridge-noip/releases/tag/v1.3.0) (2022-01-06) ### What's Changes ### Major Change To `Logging`: * Added the following Logging Options: * `Standard` * `None` * `Debug` * Removed Device Logging Option, which was pushed into new logging under debug. * Added Device Logging Override for each Device, by using the Device Config. * Change from dependency `public-ip` to `systeminformation` to `easy-ip`. * Housekeeping and updated dependencies. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.2.4...v1.3.0 ## [Version 1.2.4](https://github.com/donavanbecker/homebridge-noip/releases/tag/v1.2.4) (2021-12-15) ### What's Changes * Housekeeping and updated dependencies. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.2.3...v1.2.4 ## [Version 1.2.3](https://github.com/donavanbecker/homebridge-noip/compare/v1.2.2...v1.2.3) (2021-11-12) ### What's Changes * Housekeeping and updated dependencies. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.2.2..v1.2.3 ## [Version 1.2.2](https://github.com/donavanbecker/homebridge-noip/compare/v1.2.1...v1.2.2) (2021-10-28) ### What's Changes * Housekeeping and updated dependencies. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.2.1...v1.2.2 ## [Version 1.2.1](https://github.com/donavanbecker/homebridge-noip/compare/v1.2.0...v1.2.1) (2021-10-20) ### What's Changes * Update Plugin Debug Logging Config Setting to show more logs and added Device Logging option. * Housekeeping and updated dependencies. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.2.0...v1.2.1 ## [Version 1.2.0](https://github.com/donavanbecker/homebridge-noip/compare/v1.1.2...v1.2.0) (2021-10-13) ### What's Changes * Removed dependency for `no-ip` and implemented built in noip updater. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.1.2...v1.2.0 ## [Version 1.1.2](https://github.com/donavanbecker/homebridge-noip/compare/v1.1.1...v1.1.2) (2021-10-02) ### What's Changes * Potential Fix for Error: ```Possible EventEmitter memory leak detected. 11 error listeners added to [NoIP]``` **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.1.1...v1.1.2 ## [Version 1.1.1](https://github.com/donavanbecker/homebridge-noip/compare/v1.1.0...v1.1.1) (2021-09-19) ### What's Changes * Fixes incorrect status of contact sensor. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.1.0...v1.1.1 ## [Version 1.1.0](https://github.com/donavanbecker/homebridge-noip/compare/v1.0.0...v1.0.1) (2021-09-17) ### What's Changes * Add Plugin debug config. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v1.0.0...v1.1.0 ## [Version 1.0.0](https://github.com/donavanbecker/homebridge-noip/compare/v0.1.0...v1.0.0) (2021-08-09) ### What's Changes * Release of [homebridge-noip](https://github.com/donavanbecker/homebridge-noip) which allows you to update your No-IP hostname. **Full Changelog**: https://github.com/donavanbecker/homebridge-noip/compare/v0.1.0...v1.0.0 ## [Version 0.1.0](https://github.com/donavanbecker/homebridge-noip/releases/tag/v0.1.0) (2021-08-09) ### What's Changes * Initial Release
39.931373
129
0.726737
eng_Latn
0.287353
5767b9070869a7500b6c08165cc1a336f22c76cc
8,363
md
Markdown
_posts/2021-10-02-what-is-redux.md
Ren0503/moon
e738527df49e8a254582d8b57f6e81505b39079e
[ "MIT" ]
null
null
null
_posts/2021-10-02-what-is-redux.md
Ren0503/moon
e738527df49e8a254582d8b57f6e81505b39079e
[ "MIT" ]
null
null
null
_posts/2021-10-02-what-is-redux.md
Ren0503/moon
e738527df49e8a254582d8b57f6e81505b39079e
[ "MIT" ]
null
null
null
--- layout: post title: Redux - Bạn Đời Hoàn Hảo Của React. date: 2021-10-02 excerpt: Làm thế nào để quản lý dữ liệu với redux trong react. tags: [react, redux] comments: true --- Ở bài viết trước ta đã hiểu về cách quản lý state với Context trong React. Tuy nhiên cách làm đấy chỉ phù hợp với các ứng dụng vừa và nhỏ, trong trường hợp ta cần quản lý nhiều state hơn, có nhiều hàm logic phải thực hiện hơn và nhiều sự thay đổi hơn. Các chương trình của React sẽ trở nên vô cùng phức tạp, nhập nhằng và khó hiểu. Lúc này ta cần một kiến trúc mới, một kiến trúc có khả năng quản lý các state và thực thi mọi thứ ổn định hơn. Vì vậy ta không thể ngồi chờ từng bản cập nhật của React nữa, mà buộc phải tìm một sự hỗ trợ khác. Và đây là tất cả những lựa chọn mà ta có thể dùng : - Redux - RxJS - Mobx - Apollo Link State - Unstated - Flux Có quá nhiều cái tên, nhưng phổ biến nhất và được dùng nhiều nhất cho các vấn đề với React đấy chính là **Redux**. Dĩ nhiên là ta cũng có thể sử dụng **Redux** cho Angular hay Vue, nhưng rất ít đa số mọi người vẫn dùng React với Redux vì vốn dĩ chúng nó sinh ra là để cho nhau mà. :) Khi đã chọn đuọc Redux rồi thì ta cần đặt câu hỏi : *Vậy Redux quản lý state như thế nào ?* # Ý tưởng & Hoạt động ![Ideal](https://miro.medium.com/max/1024/1*XHMeHrC4tdwTSHWRalm_lQ.png) Ý tưởng cho quản lý state trong redux có thể hiểu qua hình bên trên. Thay vì truyền cho từng component, nó tổng hợp state vào một nơi gọi là store. Sau đó với mỗi thay đổi của component nó sẽ cập nhật vào store và trả về lại component. (nghe qua thì có vẻ giống context tuy nhiên nó khác rất nhiều) Về ý tưởng nó chỉ đơn giản như vậy, nhưng khi triển khai hoạt động redux sẽ đòi hỏi nhiều thành phần hơn. Ta có thể quan sát cách redux hoạt động qua hình bên dưới : ![Work](https://miro.medium.com/max/919/1*BcmtHcMHN6PT7IniIWniHg.png) Từ đấy có thể thấy, redux bao gồm các thành phần : Store, Reducer và Action. Bây giờ ta sẽ tìm hiểu tại sao phải cần các thành phần đấy. # 3 Nguyên Tắc Của Redux Trong redux có ba nguyên tắc bắt buộc phải thực hiện, để nó có thể vận hành bao gồm : - ***Single source of truth***: State của toàn bộ ứng dụng được lưu tại một nơi duy nhất, một object trong mô hình tree. - ***State is read-only***: Chỉ có một cách duy nhất để thay đổi state đó là tạo ra một object mô tả những gì xảy ra. - ***Changes are made with pure functions***: Để chỉ rõ state tree được thay đổi bởi một hành động ta phải cần một pure function. Với 3 yêu cầu trên đó, rõ ràng ta sẽ cần *store* để lưu trữ, *action* để thay đổi state và *reducer* để chỉ rõ thay đổi. # Actions Đây là nơi xử lý các event trong redux, hiểu đơn giản là khi người dùng thực hiện một thao tác sự kiện nào đó có thể dẫn đến thay đổi về state, nó sẽ gọi đến action để thực hiện thay đổi đấy, sau đó action sẽ trả về một dispatch rằng đã thực hiện. Hàm action nhận vào hai thuộc tính là type (kiểu) và payload (giá trị tham số truyền vào). Ví dụ như : ```javascript { type: FACEBOOK_LOGIN, payload: token } ``` `type` thường có dạng string, mục đích nhằm đồng bộ với reducer rằng hành động nào ứng với state nào. Vì như đã nói ở trên, tất cả state sẽ nằm chung một chỗ, nên đế tránh việc trùng lặp cần phân định rõ, hành động nào sẽ thay đổi state nào. Một mẫu action : ```javascript const fetchBlog = () => { return (dispatch) => { axios.get('https://api.blogs.com/s3ege314') .then(response => { console.log(response.data.blog); dispatch({ type: 'FETCH_BLOG', payload: response.data.blog }) }) .catch((error) => { throw(error); }); } } ``` # Reducers Đây là nơi chỉ định thay đổi của các state. Để tránh những trùng lặp hay nhầm lẫn không đáng có thì thực hiện thay đổi. Hàm reducer nhận vào hai tham số là `state` và `action`. ```javascript const reducer = (state = initialState, action) ``` Trong đó `state` là định dạng mặc định của `state` và `action` là các thay đổi diễn ra với state đó. Nếu có thay đổi nào nằm ngoài reducer hay state sau khi bị thay đổi khác định dạng thì nó sẽ báo lỗi. Mẫu reducer : ```javascript const initialState = { isSeen: true, blogs: [], } const reducer = (state = initialState, action) => { switch(action.type) { case 'FETCH_BLOG': return { ...state, blogs: state.blogs, } case 'IS_SEEN': return { ...state, isSeen: !state.isSeen, } default: return state; } } ``` # Store Store đóng vai trò lưu trữ trạng thái của các component, thường thực hiện 3 hành động sau : - *getState()*: lấy state hiện tại - *dispatch(action)*: kêu action thực hiện hành động - *subscribe(listener)*: lắng nghe các thay đổi Cú pháp tạo store : ```jsx import { createStore } from 'redux'; const store = createStore(reducer); ``` Quay trở lại với mô hình hoạt động của Redux như sau : ![Work](https://miro.medium.com/max/1838/1*QERgzuzphdQz4e0fNs1CFQ.gif) Nếu nhìn trên hình, ta sẽ thấy còn một bộ phận trong redux nữa đấy là middleware. Vậy middleware là gì. Ví dụ ta thử viết hàm action như sau : ```javascript const increase = () => { setTimeout(() => { return {type: 'INCREASE'} }, 1000) } ``` Thì ngay lập tức chương trình báo lỗi : {: .box-error} > **Error**: Actions must be plain objects, use custom middleware for async actions. Điều đó có nghĩa là hàm action chỉ được viết dưới dạng plain object để trả về dispatch thôi. Nếu ta muốn thực hiện thao tác nào đó, ta phải sử dụng thêm một middleware như hình sau. ![middleware](https://xdevclass.com/wp-content/uploads/2020/08/middleware.png) Với redux ta có nhiều loại middleware như : redux-thunk, redux-saga, redux-promise và redux-observable. Trong đấy redux-thunk là nhỏ gọn và phổ biến nhất. ![Google Trend](https://miro.medium.com/max/1838/1*7xyflPw9uvxxrIKnfX5VnA.png) Thế nên ở bài viết này ta sẽ giới thiệu sơ qua middleware thunk. Còn ba cái khác mọi người hãy tự tìm hiểu nhé. # Redux Thunk **Thunk** là một dạng function trả về một function khác và trong function con này nó sẽ trả về kết quả cần có. Nói đơn giản thunk trả về bằng cách dùng một hàm con thay vì trả trực tiếp. Redux-thunk dựa trên nguyên lý này để trả về một function có 2 tham số là getState và dispatch (hai thuộc tính của store). Nhờ vào điều đó mà redux-thunk có thể thực hiên các side-effect rồi mới dispatch. ```javascript const login = (email, password) => async (dispatch) => { try { dispatch({ type: types.USER_LOGIN_REQUEST }); const config = { headers: { 'Content-Type': 'application/json', }, }; const { data } = await axios.post( `/api/users/login`, { email, password }, config, ); dispatch({ type: types.USER_LOGIN_SUCCESS, payload: data, }); localStorage.setItem('userInfo', JSON.stringify(data)); } catch (error) { dispatch({ type: types.USER_LOGIN_FAIL, payload: error.response && error.response.data.message ? error.response.data.message : error.message, }); }; }; ``` Khai báo redux-thunk trong react : ```javascript import {createStore, applyMiddleware} from 'redux'; import thunk from 'redux-thunk'; import reducers from '../reducers'; const userInfoFromStorage = localStorage.getItem('userInfo') ? JSON.parse(localStorage.getItem('userInfo')) : null const initialState = { userLogin: { userInfo: userInfoFromStorage }, }; const store = createStore( reducers, initialState, applyMiddleware(thunk) ); export default store; ``` Nhìn chung thì Redux-Thunk dễ code, dễ hiểu nhưng trong một số trường hợp đặc biệt thì Redux-Thunk tỏ ra chưa thực sự mạnh mẽ cho lắm. Điển hình như - Tạm dừng 1 request hoặc hủy request khi đang gọi api - Bài toán click vào button để fetch data, nếu click liên tục thì chỉ lấy những lần click sau cùng - Tự động gọi lại request vài lần khi có sự cố mạng xảy ra # Tổng kết Trên đây là những khái niệm căn bản về redux và các thứ liên quan. Mong là nó sẽ có ích với những ai đang gặp rắc rối khi tìm hiểu về redux. ## Tham khảo [**medium**](https://insights.innovatube.com/redux-thật-là-đơn-giản-phần-1-76a3fa2c31ab) [**xdevclass**](https://xdevclass.com/so-sanh-redux-thunk-vs-redux-saga-uu-nhuoc-diem-cua-2-middleware-redux-react/)
36.679825
593
0.693651
vie_Latn
1.00001
576a22ce2dc2012bac98c468f76b848c22497ed8
2,783
md
Markdown
CHANGELOG.md
mafejzuli/dart_amqp
9fca16b0905f6c0e8c972d5f0a7d3d184c4f52e2
[ "MIT" ]
62
2015-08-03T16:07:49.000Z
2022-01-26T02:26:56.000Z
CHANGELOG.md
mafejzuli/dart_amqp
9fca16b0905f6c0e8c972d5f0a7d3d184c4f52e2
[ "MIT" ]
60
2015-07-24T20:37:55.000Z
2022-03-17T10:19:01.000Z
CHANGELOG.md
mafejzuli/dart_amqp
9fca16b0905f6c0e8c972d5f0a7d3d184c4f52e2
[ "MIT" ]
44
2015-09-24T18:47:10.000Z
2022-03-28T06:07:02.000Z
# Changelog ## 0.2.1 - Merged [#61](https://github.com/achilleasa/dart_amqp/pull/61) to support publish confirmations. - Merged [#63](https://github.com/achilleasa/dart_amqp/pull/63) to allow applications to register a handler for deciding how to deal with TLS certificate-related errors. - Merged [#64](https://github.com/achilleasa/dart_amqp/pull/64) to fix a bug where calls specifying `noWait: true` would obtain a Future result that would never complete. - Merged [#65](https://github.com/achilleasa/dart_amqp/pull/65) to allow clients with read-only access to the broker to skip the declaration of the queues that they intend to consume from. - Merged [#66](https://github.com/achilleasa/dart_amqp/pull/66) which fixes table layout issues in the documentation. ## 0.2.0 - Merged [#55](https://github.com/achilleasa/dart_amqp/pull/55) which enables null-safety for the package. - Bumped minor version since null safety is a breaking change. ## 0.1.5 - Merged [#49](https://github.com/achilleasa/dart_amqp/pull/49) to fix a bug that prevented re-opening a client that was previously closed. ## 0.1.4 - Merged [#30](https://github.com/achilleasa/dart_amqp/pull/30) to add support for binding to a named exchange queue. ## 0.1.3 - Fixes #31 (Issues decoding strings with ØÆÅ) via [#32](https://github.com/achilleasa/dart_amqp/pull/32) - Add support for connecting to rabbitmq over TLS via [#33](https://github.com/achilleasa/dart_amqp/pull/33) ## 0.1.2 Merged [#22](https://github.com/achilleasa/dart_amqp/pull/22), [#23](https://github.com/achilleasa/dart_amqp/pull/23), [#27](https://github.com/achilleasa/dart_amqp/pull/27), [#28](https://github.com/achilleasa/dart_amqp/pull/27) to address issues with Dart 2.5 ## 0.1.1 - Merged [#19](https://github.com/achilleasa/dart_amqp/pull/19) to improve support for `HEADER` exchanges. ## 0.1.0 - Migrate to Dart 2 ## 0.0.9 - Merged [#14](https://github.com/achilleasa/dart_amqp/pull/14) and [#15](https://github.com/achilleasa/dart_amqp/pull/15) to fix some type errors reported by dartanalyzer when running with Dart2/Flutter. ## 0.0.6 - Add support for [custom exchanges](https://github.com/achilleasa/dart_amqp/pull/7) via the `ExchangeType.custom()` constructor ## 0.0.5 - Fixes #6 (stack overflow when processing large TCP packets) ## 0.0.4 - Merged Faisal Abid's [PR](https://github.com/achilleasa/dart_amqp/pull/5) that forces the client to request a 0 heartbeat timeout ## 0.0.3 - Merged Raj Maniar's [PR](https://github.com/achilleasa/dart_amqp/pull/3) that allows users to register a listener for exceptions caught by the client ## 0.0.2 - Merged Raj Maniar's [PR](https://github.com/achilleasa/dart_amqp/pull/2) that adds support for handling basicReturn messages ## 0.0.1 - Initial version
34.358025
128
0.742364
eng_Latn
0.844708
576a6fc8f59caefa9ac897bdb9be9dfbee906321
1,543
md
Markdown
_posts/2016/2016-07-26-elevenses--8.md
toepoke/toepoke.github.io
9f629a8c32bf5f2ded4d1265a2ff79c6804a653f
[ "MIT" ]
null
null
null
_posts/2016/2016-07-26-elevenses--8.md
toepoke/toepoke.github.io
9f629a8c32bf5f2ded4d1265a2ff79c6804a653f
[ "MIT" ]
16
2017-04-25T09:44:28.000Z
2021-08-03T05:15:34.000Z
_posts/2016/2016-07-26-elevenses--8.md
toepoke/toepoke.github.io
9f629a8c32bf5f2ded4d1265a2ff79c6804a653f
[ "MIT" ]
1
2017-04-12T09:21:02.000Z
2017-04-12T09:21:02.000Z
--- layout: elevenses title: "Elevenses #-8" date: 2016-07-26 08:00:00 tags: [elevenses] comments: false cover_image: elevenses.jpg excerpt: "Random links from the internet ..." author: name: fJ twitter: toepoke_co_uk gplus: toepokeCoUk bio: Founder, Developer, tea maker image: fj.png --- # Techie * [Angular2/Material componenty thing looks quite nice .](https://medium.com/covalent-ui/announcing-covalent-an-open-source-angular-2-0-material-ui-platform-by-teradata-ea77776e75cd#.2pd7b493n) * [Angular2 directives for http://www.chartjs.org/ ](http://valor-software.com/ng2-charts/) * [Delivers just the polyfills needed for the visiting browser](https://polyfill.io/v2/docs/) * [Checks how spammy your newsletters and e-mails are](https://www.mail-tester.com/) * [Another resource for pasting app screenshots on stock photos](http://smartmockups.com/category/all) * [Converts bootstrap themes to ionic v1/v2 themes (have a go, only converted button colours for me L)](https://ionic-bootstrap-theme.herokuapp.com/) # !Techie * [Step back in time ](http://retromash.com/argos) * [Why the internet exists ](https://greatbritishpublictoiletmap.rca.ac.uk/) * [Pubs .. where you can take dogs in Leeds ](http://leeds-list.com/food-and-drink/dogs-friendly-pubs-in-leeds ) * [Build a home arcade machine with a raspberry pi](https://blog.codinghorror.com/the-raspberry-pi-has-revolutionized-emulation/) * [Colin Mcrae rally, 10p on Android 10p!](https://play.google.com/store/apps/detailsid=com.codemasters.cmrally )
33.543478
194
0.744005
eng_Latn
0.415321
576a9e2fc6a218a559416793cd5b58a07d4352d6
1,946
md
Markdown
docs/framework/unmanaged-api/diagnostics/isymunmanagedreader2-getmethodsindocument-method.md
lucieva/docs.cs-cz
a688d6511d24a48fe53a201e160e9581f2effbf4
[ "CC-BY-4.0", "MIT" ]
1
2018-12-19T17:04:23.000Z
2018-12-19T17:04:23.000Z
docs/framework/unmanaged-api/diagnostics/isymunmanagedreader2-getmethodsindocument-method.md
lucieva/docs.cs-cz
a688d6511d24a48fe53a201e160e9581f2effbf4
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/framework/unmanaged-api/diagnostics/isymunmanagedreader2-getmethodsindocument-method.md
lucieva/docs.cs-cz
a688d6511d24a48fe53a201e160e9581f2effbf4
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: ISymUnmanagedReader2::GetMethodsInDocument – metoda ms.date: 03/30/2017 api_name: - ISymUnmanagedReader2.GetMethodsInDocument api_location: - diasymreader.dll api_type: - COM f1_keywords: - ISymUnmanagedReader2::GetMethodsInDocument helpviewer_keywords: - ISymUnmanagedReader2::GetMethodsInDocument method [.NET Framework debugging] - GetMethodsInDocument method [.NET Framework debugging] ms.assetid: c7ae84d6-81e8-4cb7-a1f9-d48b6cde5d79 topic_type: - apiref author: mairaw ms.author: mairaw ms.openlocfilehash: 762649e260817c43291de416d2f1a92a8f03afb5 ms.sourcegitcommit: 3d5d33f384eeba41b2dff79d096f47ccc8d8f03d ms.translationtype: MT ms.contentlocale: cs-CZ ms.lasthandoff: 05/04/2018 ms.locfileid: "33427366" --- # <a name="isymunmanagedreader2getmethodsindocument-method"></a>ISymUnmanagedReader2::GetMethodsInDocument – metoda Získá každých metoda, která obsahuje informace o řádku v zadané dokumentu. ## <a name="syntax"></a>Syntaxe ``` HRESULT GetMethodsInDocument( [in] ISymUnmanagedDocument *document, [in] ULONG32 cMethod, [out] ULONG32* pcMethod, [out, size_is(cMethod), length_is(*pcMethod)] ISymUnmanagedMethod* pRetVal[]); ``` #### <a name="parameters"></a>Parametry `document` [v] Ukazatel na dokumentu. `cMethod` [v] A `ULONG32` určující velikost `pRetVal` pole. `pcMethod` [out] Ukazatel na `ULONG32` která přijme velikost vyrovnávací paměti musí obsahovat metody. `pRetVal` [out] Ukazatel do vyrovnávací paměti, která přijímá metody. ## <a name="return-value"></a>Návratová hodnota S_OK, pokud metoda úspěšně. v opačném E_FAIL nebo jiný kód chyby. ## <a name="requirements"></a>Požadavky **Záhlaví:** CorSym.idl, CorSym.h ## <a name="see-also"></a>Viz také [ISymUnmanagedReader2 – rozhraní](../../../../docs/framework/unmanaged-api/diagnostics/isymunmanagedreader2-interface.md)
31.387097
122
0.732271
ces_Latn
0.597637
576c84c08dd9a3a1843ed19a0c8a18b03e092b14
4,070
md
Markdown
docs/vs-2015/extensibility/isolated-shell-entry-point-parameters-cpp.md
thoelkef/visualstudio-docs.de-de
bfc727b45dcd43a837d3f4f2b06b45d59da637bc
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/extensibility/isolated-shell-entry-point-parameters-cpp.md
thoelkef/visualstudio-docs.de-de
bfc727b45dcd43a837d3f4f2b06b45d59da637bc
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/vs-2015/extensibility/isolated-shell-entry-point-parameters-cpp.md
thoelkef/visualstudio-docs.de-de
bfc727b45dcd43a837d3f4f2b06b45d59da637bc
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Parameter für isolierte Shell-Einstiegspunkte (C++) | Microsoft-Dokumentation ms.date: 11/15/2016 ms.prod: visual-studio-dev14 ms.technology: vs-ide-sdk ms.topic: conceptual helpviewer_keywords: - Shell [Visual Studio], isolated mode%2C Start entry point - Visual Studio shell, isolated mode%2C Start entry point ms.assetid: 18f4b18b-2173-4afa-ba0a-42fe33e61118 caps.latest.revision: 11 ms.author: gregvanl manager: jillfra ms.openlocfilehash: 9e736343212c4bf6acd833f5740b996c6c032c3f ms.sourcegitcommit: 6cfffa72af599a9d667249caaaa411bb28ea69fd ms.translationtype: MT ms.contentlocale: de-DE ms.lasthandoff: 09/02/2020 ms.locfileid: "90841232" --- # <a name="isolated-shell-entry-point-parameters-c"></a>Einstiegspunktparameter für die isolierte Shell (C++) [!INCLUDE[vs2017banner](../includes/vs2017banner.md)] Wenn eine Shell-basierte Visual Studio-Anwendung gestartet wird, ruft Sie den Start Einstiegspunkt der Visual Studio-Shell auf. Die folgenden Einstellungen können im aufrufsstartpunkt der Shell überschrieben werden. Eine Beschreibung der einzelnen Einstellungen finden Sie unter [. Pkgdef-Dateien](../extensibility/modifying-the-isolated-shell-by-using-the-dot-pkgdef-file.md). - Addinsallowed - Allowsdroppedfilesonmainwindow - AppName - Commandlinelogo - DefaultHomePage - Defaultprojectslocation - Defaultsearchpage - Defaultuserfilesfolderroot - Disableoutputwindow - Hidemiscellaneousfilesbydefault - Hidesolutionconcept - Newprojdlginstalledtemplateshdr - Newprojdlgslntreenodecotitle - Solutionfilekreatoridentifier - Solutionfileext - Userfilessubfoldername - Useropt fileext Die isolierte Visual Studio Shell-Vorlage erstellt die Quelldatei " *SolutionName*. cpp", wobei " *SolutionName* " der Projektmappenname für die Anwendung ist. Diese Datei definiert den Haupteinstiegspunkt für die Anwendung, die _tWinMain Funktion. Diese Funktion Ruft den Start Einstiegspunkt der Shell auf. Sie können das Verhalten der Anwendung ändern, indem Sie diese Einstellungen ändern, wenn die Anwendung gestartet wird. ## <a name="parameters"></a>Parameter Der Start Einstiegspunkt der Visual Studio Shell definiert fünf Parameter. Ändern Sie die ersten vier Parameter nicht. Der fünfte Parameter nimmt eine Einstellungs Überschreibungs Liste an. Der Start Einstiegspunkt der Shell wird vom Haupteinstiegspunkt einer Anwendung aus aufgerufen. Der Start Einstiegspunkt der Shell hat die folgende Signatur. ``` typedef int (__cdecl *STARTFCN)(LPSTR, LPWSTR, int, GUID *, WCHAR *pszSettings); ``` Wenn Sie keine Anwendungseinstellungen außer Kraft setzen möchten, belassen Sie den Wert des Parameters Einstellungen überschreiben als NULL-Zeiger. Um eine oder mehrere Einstellungen zu überschreiben, übergeben Sie eine Unicode-Zeichenfolge, die die Einstellungen enthält, die überschrieben werden sollen. Die Zeichenfolge ist eine durch Semikolons getrennte Liste von Name-Wert-Paaren. Jedes Paar enthält den Namen der zu über schreibenden Einstellung, gefolgt von einem Gleichheitszeichen (=), gefolgt von dem Wert, der auf die Einstellung angewendet werden soll. > [!NOTE] > Fügen Sie keine Leerzeichen in die Unicode-Zeichen folgen ein. Für boolesche Einstellungen stellen die folgenden Zeichen folgen den Wert true dar. alle anderen Zeichen folgen stellen den Wert false dar. Diese Zeichen folgen Unterscheidung nach Groß-/Kleinschreibung. - \+ - 1 - -1 - on - true - ja ## <a name="example"></a>Beispiel Wenn Sie Add-Ins deaktivieren und den Speicherort der Standardprojekte für Ihre Anwendung ändern möchten, können Sie den letzten Parameter auf "addinsallowed = false; defaultprojectslocation =%USERPROFILE%\temp" festlegen. ## <a name="see-also"></a>Weitere Informationen [Anpassen der isolierten Shell](../extensibility/customizing-the-isolated-shell.md) [PKGDEF-Dateien](../extensibility/modifying-the-isolated-shell-by-using-the-dot-pkgdef-file.md)
40.7
420
0.776904
deu_Latn
0.961656
576e5058837002e183ea3b079100bf731421587c
3,522
md
Markdown
docs/Classes/WIP/Sorcerer.md
kenjura/5ecs-docs
b0f02261970f5fd0226f0af1d06ad15b67f61cde
[ "CC0-1.0" ]
null
null
null
docs/Classes/WIP/Sorcerer.md
kenjura/5ecs-docs
b0f02261970f5fd0226f0af1d06ad15b67f61cde
[ "CC0-1.0" ]
null
null
null
docs/Classes/WIP/Sorcerer.md
kenjura/5ecs-docs
b0f02261970f5fd0226f0af1d06ad15b67f61cde
[ "CC0-1.0" ]
null
null
null
# Sorcerer ::: aside Attribute | Value --------- | ----- Hit Die | d6 HP/level | 4 Mana/level | 3 Weapon Prof. | None Armor Prof. | None Saving Throws | Int, Cha Skills | At level 1, choose two from: Arcana, Deception, Insight, Intimidation, Persuasion, Religion (+2 from background) Level | Special Ability ----- | --------------- 1 | [Spells](#Spells) 2 | [Talent](#Talents) 3 | 4 | Stat Add 5 | 6 | [Talent](#Talents) 7 | 8 | Stat Add 9 | 10 | [Talent](#Talents) 11 | 12 | Stat Add 13 | 14 | [Talent](#Talents) 15 | 16 | Stat Add 17 | 18 | [Talent](#Talents) 19 | 20 | Stat Add ::: Sorcerers are consummate spellcasters, gifted with innate power, unbound by the need to learn magic through tedious research, and brimming with magical potency, outlasting their more erudite counterparts. The cost of this magnificent talent is that they must confront the danger of their power without the aid of the foci and constraints that make magic easy and safe to wield for other casters. Sorcery is dangerous business, and precious few sorcerers last long enough to reach the highest levels of power--but those that do are fearsome indeed. # Spells As a sorcerer, you do not have a fixed spell list, nor a fixed list of spells known. # Music At will, as a bonus action, you can start playing music. This is treated the same way as any concentration-based spellcasting, and cannot be done simultaneously with any other concentration-based spell or ability, but is otherwise not considered a spell, and does not cost Mana (unless otherwise noted). ## Starting Songs Every bard knows these. + [Inspiring Melody](): At-will, bonus, em10; allies are inspired. Once per turn, each ally may choose to expend a Hit Die (if available) to gain Inspiration, and thus advantage to one check, save, or attack. + [Marching Beat](): At-will, bonus, em10; allies gain +2 squares of movement and advantage to Initiative checks. (TBD: some minor improvement for overland travel for people who bother with that sort of thing) + [Restoring Hymn](): At-will, bonus, em10; allies gain the ability, on their turn, as a free action, to expend one Hit Die (if available) to heal themselves the normal amount. ## Songs to be learned You may exchange a learned spell for one of these songs. + [Countersong](): At-will, std, burst 10; roll to dispel (or counterspell, if readied) one magical effect that relies upon sound. + [Reveille](): At-will, 1 Mana, bonus, burst 10; allies who are currently asleep, stunned, or otherwise unable to act are allowed an additional saving throw immediately against the effect. If you are level 5 or higher, you may choose to spend 3 Mana, in which case they gain advantage to the save. + [Sound Barrier](): At-will, 1 Mana, bonus, burst 10; allies gain Absorb 5 (all), lasting up to 2 rounds. You may spend more Mana to add 5 points of Absorb per point. # Talents Paths: + Roguelike (expertise, jack of all trades, sneak attack, etc) + Lore + Song + Battle + Other ## Song + [Feel the Healing Beat](): Your *Restoring Hymn* healing effect allows allies to spend up to 3 Hit Dice at a time, and the effect repeats each round. # Spell List School ideas: + Beats: pure sonic attacks. + Harmony: support your team with healing, buffs, defense, etc. + Alternatively, accompaniment. + Improvisation: solo focus? + Movement: enchantments, messin' with people's minds. + Rhythym: ?
35.938776
547
0.708688
eng_Latn
0.997485
576ea4b2d429e76618adad6cfd53283f3b66e39b
493
md
Markdown
Python3/NodePingPython3PUSH/metrics/fileage/README.md
stratacast/PUSH_Clients
3f26794fecf4bdcf933a6a98fd2da3ba150e73cc
[ "MIT" ]
7
2018-09-10T16:53:00.000Z
2021-05-12T02:55:52.000Z
Python3/NodePingPython3PUSH/metrics/fileage/README.md
stratacast/PUSH_Clients
3f26794fecf4bdcf933a6a98fd2da3ba150e73cc
[ "MIT" ]
4
2018-08-27T23:01:50.000Z
2020-07-10T17:33:21.000Z
Python3/NodePingPython3PUSH/metrics/fileage/README.md
stratacast/PUSH_Clients
3f26794fecf4bdcf933a6a98fd2da3ba150e73cc
[ "MIT" ]
4
2018-08-27T23:38:11.000Z
2020-07-10T05:27:54.000Z
# fileage module ## Description Checks any files on your computer to see if they are older than a specified age. The check will fail if the file is too old or if the file goes missing. ## Configuration * Edit the config.py file `filenames` dictionary * The key is the filename * Set the days, hours, minutes values to whatever you wish * For Windows systems, be sure to put an r at the beginning of the pathname like r'C:\path\to\file' so Python interprets the path as a raw string
37.923077
152
0.748479
eng_Latn
0.999422
576f0fc4a3d014c1f1c577d6df1e77dbf911d25a
708
md
Markdown
_instagram/1164723801747386244.md
lovestarraceclub/lovestar20
4185fd79ca25b98404ed118b39e70dd6e26f4e7d
[ "Apache-2.0" ]
null
null
null
_instagram/1164723801747386244.md
lovestarraceclub/lovestar20
4185fd79ca25b98404ed118b39e70dd6e26f4e7d
[ "Apache-2.0" ]
null
null
null
_instagram/1164723801747386244.md
lovestarraceclub/lovestar20
4185fd79ca25b98404ed118b39e70dd6e26f4e7d
[ "Apache-2.0" ]
null
null
null
--- caption: '1st full sized pogie done. Fit seems pretty solid, time to assemble #2. #handmade #pogies #bikepackingbags #fatbike #lovestarbicyclebags #SewRad ' date: '2016-01-17T21:25:18' fullsize_path: instagram\fullsize\1164723801747386244.jpg instagram_url: https://www.instagram.com/p/BAp7iBwmG-E location: {} media_id: '1164723801747386244' media_url: https://scontent.cdninstagram.com/t51.2885-15/e35/12558331_1723455477884605_195216365_n.jpg?ig_cache_key=MTE2NDcyMzgwMTc0NzM4NjI0NA%3D%3D.2 owner: id: '661611562' owner_url: https://www.instagram.com/elliotlovestarbicycles username: elliotlovestarbicycles thumbnail_path: instagram\thumbnails\1164723801747386244.jpg utc_date: 1453065918 ---
41.647059
150
0.812147
yue_Hant
0.184576
576f965d39321b53c5dd7f298a3c0da86f8cfba0
2,725
md
Markdown
README.md
BradenSmolko/JHU-job-scraper
236a621f2712168fa5a920288d28f4475d69253f
[ "MIT" ]
null
null
null
README.md
BradenSmolko/JHU-job-scraper
236a621f2712168fa5a920288d28f4475d69253f
[ "MIT" ]
null
null
null
README.md
BradenSmolko/JHU-job-scraper
236a621f2712168fa5a920288d28f4475d69253f
[ "MIT" ]
null
null
null
# JHUScraper ## Description JHUScraper is a Python tool that uses BeautifulSoup to more easily get job infromation from [jobs.jhu.edu](jobs.jhu.edu). If you have Python downloaded on your computer and are looking for a comprehensive way to look at job postings on the Johns Hopkins career site, give this tool a try! Search with your preferred keywords and get a .csv file of all of the resulting job titles, dates they were posted, and links to learn more and apply! ### Personal Background I find myself checking the Johns Hopkins career page quite often to look for new postings (they are updated daily). My biggest issue with the search on the site is that the posts are not ordered by date, and there is no option to do so. In order to look at the newest jobs, I tried setting up job alerts through their system, but found that emails were consistently not coming through. To stay up to date with jobs and to practice "automating the boring stuff," I created a tool to scrape all of the job postings that are returned by a simple search on the career page. Leveraging the JHUScraper.py code, you can search, scrape, and export job information in just a few lines of code. You can also run the QuickSearch.py file to interactively type your search terms and get results exported to a .csv file. ## Installation Assuming you already have Python and some standard libraries installed on your computer (pandas, requests, BeautifulSoup), all you have to do is clone this repository or download the .zip file to your computer. ## Usage Basic usage of this tool is as easy as 1, 2, 3! ```Python from JHUScraper import * ``` # 1. Create a JHUScraper instance with your search terms ```Python scraper = JHUScraper('search terms') ``` 2. Scrape all the results from the jobs.jhu.edu site ```Python scraper.scrape_all_results() ``` 3. Export the job information to a .csv ```Python scraper.jobs_to_csv() ``` ## Interactive Use If you find yourself not wanting to edit the code or do any programming, you can also just run the interactive QuickSearch.py file and type your search terms when prompted. 1. Double-click on the QuickSearch.py file from your prefered directory ![image](https://user-images.githubusercontent.com/50993629/110374678-f1db7e00-801e-11eb-868a-a41b3174bbf6.png) 2. Type your search terms when prompted and hit enter ![image](https://user-images.githubusercontent.com/50993629/110375209-aaa1bd00-801f-11eb-9d42-3f9b0cc21f6a.png) 3. Open the resulting .csv and explore your job options ![image](https://user-images.githubusercontent.com/50993629/110375445-f7859380-801f-11eb-9d43-ae3fb21b042d.png) ## License I opted for the MIT License so that others are able to use this code as they please.
53.431373
569
0.781284
eng_Latn
0.997858
577046d1411e06c123150986e6ca683ce6a738b5
760
md
Markdown
02-modules/README.md
crysfel/IntroduccionAngularJS
226c9ad0e17bf354f5ef2c9f2b1f39e6dbd0de6d
[ "MIT" ]
null
null
null
02-modules/README.md
crysfel/IntroduccionAngularJS
226c9ad0e17bf354f5ef2c9f2b1f39e6dbd0de6d
[ "MIT" ]
null
null
null
02-modules/README.md
crysfel/IntroduccionAngularJS
226c9ad0e17bf354f5ef2c9f2b1f39e6dbd0de6d
[ "MIT" ]
null
null
null
Definición de módulos ===================== En este tema veremos como crear un módulo en Angular JS, Un módulo es una forma de organizar y agrupar funcionalidad, esto con la idea de poder distribuirlo fácilmente así como poder crear pruebas automatizadas de manera modular. También podemos decir que es un contenedor donde almacenamos nuestros controllers, directivas, filtros, etc. ###Links 1. [Video en youtube](http://www.youtube.com/watch?v=p_PN3cCDZ2Q) 2. [Tutorial escrito](https://quizzpot.com/courses/introduccion-a-angular-js/articles/definicion-de-modulos) 3. [Descarga el video](https://quizzpot.com/courses/introduccion-a-angular-js/articles/definicion-de-modulos) 4. [Foro: deja tus dudas sobre Angular JS](https://quizzpot.com/forum/questions)
69.090909
338
0.776316
spa_Latn
0.881134
57716e39a79a5aee41600b4e4a464e22ef1bcf79
1,527
md
Markdown
level6-unit6-step4-pricy.md
wchat/EN-Notes
513cbaa37bd020311863b03e6f6ab3d1b54f3ed8
[ "MIT" ]
1
2020-11-11T13:24:28.000Z
2020-11-11T13:24:28.000Z
level6-unit6-step4-pricy.md
wchat/EN-Notes
513cbaa37bd020311863b03e6f6ab3d1b54f3ed8
[ "MIT" ]
null
null
null
level6-unit6-step4-pricy.md
wchat/EN-Notes
513cbaa37bd020311863b03e6f6ab3d1b54f3ed8
[ "MIT" ]
1
2020-12-04T14:08:35.000Z
2020-12-04T14:08:35.000Z
##### 条款和条件 ``` 关于合同详情的词汇和短语 在谈论合同的详情时,您会注意到一些十分常见的词汇和短语。 You can cancel any time. 您可以随时取消。 You'll need to give us 30 days' notice. 您需要提前 30 天通知我们。 Are we able to change packages? 我们可以更换套餐吗? You can upgrade to a premium package. 您可以升级至高级套餐。 You need to wait for the contract to expire. 您需要等合同到期。 ``` ``` Dear Chris, Thanks for your inquiry about our internet services. Please find replies to your questions below. If you want to cancel, you'll need to give us 14 days' notice. You can upgrade to a premium package any time, or change to a basic package with one month's notice when your contract expires. If you have any other questions, please get in touch. Darren Flack ``` ``` What if I want to change packages? 要是我想更换套餐,那怎么办? Do I need to wait for my contract to expire? 我要等我的合同到期吗? Can I upgrade any time? 我可以随时升级吗? What if I want to cancel the contract? 要是我想取消合同,那怎么办? ``` ##### 许可 ``` 在查看合同细节时,您通常会想知道您被允许做什么。 Are we allowed to change packages? 允许我们更换套餐吗? Can we cancel the contract? 我们可以取消合同吗? Are we able to upgrade any time? 我们能够随时升级吗? ``` ##### 义务 ``` 您可能听到了您的义务,或者想询问关于义务的内容。 You need to give us 30 days' notice. 您需要提前 30 天通知我们。 You have to wait for the contract to expire. 您必须等合同到期。 Do we need to give you notice? 我们需要提前通知你吗? ``` ``` So, I have to wait a month to change packages? 那么,我必须等一个月才能更换套餐,对吗? Can we cancel any time? 我们可以随时取消吗? Do I need to give 14 days' notice? 我需要提前 14 天通知吗? Are we allowed to upgrade? 允许我们升级吗? Are we able to change packages? 我们可以更换套餐吗? ```
16.966667
127
0.72757
eng_Latn
0.974724
5771ba25296e771bc8ff81d58e3492cf2336ac20
582
md
Markdown
windows/bcdedit.exe.md
linianhui/code
c7948b0174e327e1195672f47ee3ab5fa1408404
[ "MIT" ]
4
2017-07-24T06:51:45.000Z
2019-01-31T08:13:50.000Z
windows/bcdedit.exe.md
linianhui/code
c7948b0174e327e1195672f47ee3ab5fa1408404
[ "MIT" ]
1
2019-05-20T15:40:34.000Z
2019-05-20T15:40:34.000Z
windows/bcdedit.exe.md
linianhui/code
c7948b0174e327e1195672f47ee3ab5fa1408404
[ "MIT" ]
2
2017-07-28T01:26:48.000Z
2018-12-14T08:08:36.000Z
# 编辑[BCD] `bcdedit.exe`是[Vista]引入的一个用于管理[BCD]的命令行工具。用来创建新存储、修改现有存储以及添加启动菜单选项等等。 # `bcdedit.exe`示例 ```powershell # 显示帮助信息。 bcdedit /? <command> # 列出所有的启动项 bcdedit /emun /v # 导出当前系统的启动配置数据到d盘。 bcdedit /export d:\bcd-backup # 设置默认启动菜单的超时时间为5秒。 bcdedit /timeout 5 ``` # 路径 `%systemroot%\system32\bcdedit.exe` # 参考 [Vista] [BCD] https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdedit-command-line-options https://msdn.microsoft.com/zh-cn/library/windows/hardware/mt450468(v=vs.85).aspx [Vista]:https://zh.wikipedia.org/wiki/Windows_Vista [BCD]:bcd.md
16.166667
98
0.742268
yue_Hant
0.30071
577223a52d8aba5cdffdcd94d0d0eec95d2e6f14
4,970
md
Markdown
add/metadata/System.Windows.Interop/HwndHost.meta.md
MarktW86/dotnet.docs
178451aeae4e2c324aadd427ed6bf6850e483900
[ "CC-BY-4.0", "MIT" ]
null
null
null
add/metadata/System.Windows.Interop/HwndHost.meta.md
MarktW86/dotnet.docs
178451aeae4e2c324aadd427ed6bf6850e483900
[ "CC-BY-4.0", "MIT" ]
null
null
null
add/metadata/System.Windows.Interop/HwndHost.meta.md
MarktW86/dotnet.docs
178451aeae4e2c324aadd427ed6bf6850e483900
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- uid: System.Windows.Interop.HwndHost author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.UpdateWindowPos author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.OnWindowPositionChanged(System.Windows.Rect) ms.author: "kempb" manager: "ghogen" --- --- uid: System.Windows.Interop.HwndHost.#ctor author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.System#Windows#Interop#IKeyboardInputSink#TranslateAccelerator(System.Windows.Interop.MSG@,System.Windows.Input.ModifierKeys) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.MeasureOverride(System.Windows.Size) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.OnDpiChanged(System.Windows.DpiScale,System.Windows.DpiScale) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.System#Windows#Interop#IKeyboardInputSink#OnMnemonic(System.Windows.Interop.MSG@,System.Windows.Input.ModifierKeys) ms.author: "kempb" manager: "ghogen" --- --- uid: System.Windows.Interop.HwndHost.DestroyWindowCore(System.Runtime.InteropServices.HandleRef) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.DpiChanged author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.TranslateCharCore(System.Windows.Interop.MSG@,System.Windows.Input.ModifierKeys) ms.author: "kempb" manager: "ghogen" --- --- uid: System.Windows.Interop.HwndHost.TabIntoCore(System.Windows.Input.TraversalRequest) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.OnMnemonicCore(System.Windows.Interop.MSG@,System.Windows.Input.ModifierKeys) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.DpiChangedEvent author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.WndProc(System.IntPtr,System.Int32,System.IntPtr,System.IntPtr,System.Boolean@) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.HasFocusWithinCore author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.System#Windows#Interop#IKeyboardInputSink#HasFocusWithin author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.MessageHook author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.OnKeyUp(System.Windows.Input.KeyEventArgs) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.System#Windows#Interop#IKeyboardInputSink#TranslateChar(System.Windows.Interop.MSG@,System.Windows.Input.ModifierKeys) ms.author: "kempb" manager: "ghogen" --- --- uid: System.Windows.Interop.HwndHost.Dispose author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.TranslateAcceleratorCore(System.Windows.Interop.MSG@,System.Windows.Input.ModifierKeys) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.Dispose(System.Boolean) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.BuildWindowCore(System.Runtime.InteropServices.HandleRef) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.Handle ms.author: "kempb" manager: "ghogen" --- --- uid: System.Windows.Interop.HwndHost.Dispose author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.Finalize ms.author: "kempb" manager: "ghogen" --- --- uid: System.Windows.Interop.HwndHost.RegisterKeyboardInputSinkCore(System.Windows.Interop.IKeyboardInputSink) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.System#Windows#Interop#IKeyboardInputSink#RegisterKeyboardInputSink(System.Windows.Interop.IKeyboardInputSink) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.OnKeyDown(System.Windows.Input.KeyEventArgs) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.OnCreateAutomationPeer author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.System#Windows#Interop#IKeyboardInputSink#TabInto(System.Windows.Input.TraversalRequest) author: "stevehoag" ms.author: "shoag" manager: "wpickett" --- --- uid: System.Windows.Interop.HwndHost.System#Windows#Interop#IKeyboardInputSink#KeyboardInputSite author: "stevehoag" ms.author: "shoag" manager: "wpickett" ---
22.088889
162
0.761972
yue_Hant
0.614417
5772c090ca523766aef0b7e7ae96388ac1177f57
223
md
Markdown
packages/Project15-Core.package/CMSSingleLineString.class/README.md
hpi-swa-teaching/SWA-Course-Management
c283be5b7f76913d73b3d6720d77d456ab8cae64
[ "MIT" ]
null
null
null
packages/Project15-Core.package/CMSSingleLineString.class/README.md
hpi-swa-teaching/SWA-Course-Management
c283be5b7f76913d73b3d6720d77d456ab8cae64
[ "MIT" ]
1
2015-05-20T12:17:12.000Z
2015-05-26T11:07:46.000Z
packages/Project15-Core.package/CMSSingleLineString.class/README.md
HPI-SWA-Teaching/SWT15-Project-15
c283be5b7f76913d73b3d6720d77d456ab8cae64
[ "MIT" ]
1
2016-12-02T17:14:05.000Z
2016-12-02T17:14:05.000Z
A CMSSingleLineString is a simple class holding a String, offering compare operators for it and rendering a basic textInput containing the String Instance Variables content: <String> content - content of the textInput
27.875
145
0.811659
eng_Latn
0.994942
5772d39b03ac733e459d28dc0fa89b13a99f537f
386
md
Markdown
src/HealthcareApis/examples/New-AzHealthcareAPIsWorkspace.md
yifanz0/azure-powershell
4597dd4b854955b7ddd7f4a3392f47e881886689
[ "MIT" ]
null
null
null
src/HealthcareApis/examples/New-AzHealthcareAPIsWorkspace.md
yifanz0/azure-powershell
4597dd4b854955b7ddd7f4a3392f47e881886689
[ "MIT" ]
null
null
null
src/HealthcareApis/examples/New-AzHealthcareAPIsWorkspace.md
yifanz0/azure-powershell
4597dd4b854955b7ddd7f4a3392f47e881886689
[ "MIT" ]
null
null
null
### Example 1: Creates or update a workspace resource with the specified parameters. ```powershell PS C:\> New-AzHealthcareAPIsWorkspace -Name azpshcws -ResourceGroupName azps_test_group -Location eastus2 Location Name ResourceGroupName -------- ---- ----------------- eastus2 azpshcws azps_test_group ``` Creates or update a workspace resource with the specified parameters.
38.6
105
0.738342
eng_Latn
0.669424
5773351ffe59f8e709cfac2cf2added444fbfcf6
782
md
Markdown
en/docs/cves-and-incidents/cve-clarifications/CVE-2020-1938.md
1uffyD9/docs-security
3fc01119ab08268bf8e136157050f97036340458
[ "Apache-2.0" ]
null
null
null
en/docs/cves-and-incidents/cve-clarifications/CVE-2020-1938.md
1uffyD9/docs-security
3fc01119ab08268bf8e136157050f97036340458
[ "Apache-2.0" ]
null
null
null
en/docs/cves-and-incidents/cve-clarifications/CVE-2020-1938.md
1uffyD9/docs-security
3fc01119ab08268bf8e136157050f97036340458
[ "Apache-2.0" ]
3
2021-12-04T03:12:49.000Z
2021-12-05T17:51:10.000Z
--- title: CVE-2020-1938 category: cves-and-incidents --- # CVE-2020-1938 --- ### Reported Vulnerability AJP Request Injection and potential Remote Code Execution vulnerability in Tomcat server ### Reported Products * WSO2 API Manager * WSO2 Identity Server * WSO2 Enterprise Integrator * WSO2 Stream Processor ### WSO2 Clarification This vulnerability affects Tomcat deployments where AJP port is accessible to untrusted parties. WSO2 products do not enable AJP and it is not recommended to use AJP with WSO2 products. Therefore, there is no possibility to exploit this vulnerability by connecting to the WSO2 servers via AJP. ### CVE References * [https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1938](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1938)
28.962963
196
0.776215
eng_Latn
0.925552
5773e2c33cd963b747f5d943aef34d205851b0a3
42
md
Markdown
CHANGELOG.md
yuki24/capybara-shadowdom
23c05974674970dd83ed36b48c1bcf2bb93f83d4
[ "MIT" ]
8
2022-01-27T13:45:08.000Z
2022-02-25T14:19:51.000Z
CHANGELOG.md
yuki24/capybara-shadowdom
23c05974674970dd83ed36b48c1bcf2bb93f83d4
[ "MIT" ]
null
null
null
CHANGELOG.md
yuki24/capybara-shadowdom
23c05974674970dd83ed36b48c1bcf2bb93f83d4
[ "MIT" ]
null
null
null
## [0.1.0] - 2022-02-17 - First release!
10.5
23
0.547619
eng_Latn
0.810187
5774071653f02a3ec500d6b29ab366f6e2d5fb07
238
md
Markdown
README.md
dynamyc010/jameslife-dab
70f65031fc109d9f7ee4f221dc79e371a5b3f1a7
[ "MIT" ]
1
2020-03-06T20:06:09.000Z
2020-03-06T20:06:09.000Z
README.md
DianaButYes/jameslife-dab
70f65031fc109d9f7ee4f221dc79e371a5b3f1a7
[ "MIT" ]
null
null
null
README.md
DianaButYes/jameslife-dab
70f65031fc109d9f7ee4f221dc79e371a5b3f1a7
[ "MIT" ]
null
null
null
# jameslife-dab A shitty joke program made for James76931. Literally thrown together within like 30 minutes. *I have no idea what I'm doing with my life.* Be sure to try out the command *dab* Jame.
5.288889
92
0.638655
eng_Latn
0.99928
5774b518b40f9285f3df097fba0917312a3eb0ab
489
md
Markdown
README.md
M1ke-Woods/Message-Encryption-Decryption
fc1e10c53c52f4c12c944a2ee8bfe29293745540
[ "MIT" ]
null
null
null
README.md
M1ke-Woods/Message-Encryption-Decryption
fc1e10c53c52f4c12c944a2ee8bfe29293745540
[ "MIT" ]
null
null
null
README.md
M1ke-Woods/Message-Encryption-Decryption
fc1e10c53c52f4c12c944a2ee8bfe29293745540
[ "MIT" ]
null
null
null
# Message-Encryption-Decryption Encrypt and Decrypt Messages ## Directions of Use 1. Run the Encryption file first. 2. When prompted for an input, type the message that you want encrypted here and press enter when you're finished. 3. Copy the list of numbers without the parentheses 4. Clear and close the encryption file 5. Run the Decryption file 6. When prompted, paste the list of numbers and press enter 7. Congratulations! You have now encrypted and decrypted your first message.
44.454545
115
0.793456
eng_Latn
0.998869
57755e30af81a3bf9204590ffc93bfb8966d8441
137
md
Markdown
README.md
RobertLuo1/Dynamic-Programming
114313049d812cdb2f19d3f122aa8a7eea646fd2
[ "Apache-2.0" ]
null
null
null
README.md
RobertLuo1/Dynamic-Programming
114313049d812cdb2f19d3f122aa8a7eea646fd2
[ "Apache-2.0" ]
null
null
null
README.md
RobertLuo1/Dynamic-Programming
114313049d812cdb2f19d3f122aa8a7eea646fd2
[ "Apache-2.0" ]
null
null
null
### Dynamic Programming This is the repository for dynamic programming and each file corresponds to a specific problems from leetcode
27.4
109
0.810219
eng_Latn
0.999738
5775ca26ede8986545d29a59ef1a40b93d8528ce
4,827
md
Markdown
src/Book3/Part19.md
moenarch/aristotle-the-history-of-animals
8646354e669d1537ea8cc94c3484b5c4a61fcd8e
[ "Unlicense" ]
1
2022-01-20T16:47:00.000Z
2022-01-20T16:47:00.000Z
src/Book3/Part19.md
moenarch/aristotle-the-history-of-animals
8646354e669d1537ea8cc94c3484b5c4a61fcd8e
[ "Unlicense" ]
null
null
null
src/Book3/Part19.md
moenarch/aristotle-the-history-of-animals
8646354e669d1537ea8cc94c3484b5c4a61fcd8e
[ "Unlicense" ]
null
null
null
## Part 19 And now to proceed to the consideration of the blood. In sanguineous animals blood is the most universal and the most indispensable part; and it is not an acquired or adventitious part, but it is a consubstantial part of all animals that are not corrupt or moribund. All blood is contained in a vascular system, to wit, the veins, and is found nowhere else, excepting in the heart. Blood is not sensitive to touch in any animal, any more than the excretions of the stomach; and the case is similar with the brain and the marrow. When flesh is lacerated, blood exudes, if the animal be alive and unless the flesh be gangrened. Blood in a healthy condition is naturally sweet to the taste, and red in colour, blood that deteriorates from natural decay or from disease more or less black. Blood at its best, before it undergoes deterioration from either natural decay or from disease, is neither very thick nor very thin. In the living animal it is always liquid and warm, but, on issuing from the body, it coagulates in all cases except in the case of the deer, the roe, and the like animals; for, as a general rule, blood coagulates unless the fibres be extracted. Bull's blood is the quickest to coagulate. Animals that are internally and externally viviparous are more abundantly supplied with blood than the sanguineous ovipara. Animals that are in good condition, either from natural causes or from their health having been attended to, have the blood neither too abundant-as creatures just after drinking have the liquid inside them in abundance-nor again very scanty, as is the case with animals when exceedingly fat. For animals in this condition have pure blood, but very little of it, and the fatter an animal gets the less becomes its supply of blood; for whatsoever is fat is destitute of blood. A fat substance is incorruptible, but blood and all things containing it corrupt rapidly, and this property characterizes especially all parts connected with the bones. Blood is finest and purest in man; and thickest and blackest in the bull and the ass, of all vivipara. In the lower and the higher parts of the body blood is thicker and blacker than in the central parts. Blood beats or palpitates in the veins of all animals alike all over their bodies, and blood is the only liquid that permeates the entire frames of living animals, without exception and at all times, as long as life lasts. Blood is developed first of all in the heart of animals before the body is differentiated as a whole. If blood be removed or if it escape in any considerable quantity, animals fall into a faint or swoon; if it be removed or if it escape in an exceedingly large quantity they die. If the blood get exceedingly liquid, animals fall sick; for the blood then turns into something like ichor, or a liquid so thin that it at times has been known to exude through the pores like sweat. In some cases blood, when issuing from the veins, does not coagulate at all, or only here and there. Whilst animals are sleeping the blood is less abundantly supplied near the exterior surfaces, so that, if the sleeping creature be pricked with a pin, the blood does not issue as copiously as it would if the creature were awake. Blood is developed out of ichor by coction, and fat in like manner out of blood. If the blood get diseased, haemorrhoids may ensue in the nostril or at the anus, or the veins may become varicose. Blood, if it corrupt in the body, has a tendency to turn into pus, and pus may turn into a solid concretion. Blood in the female differs from that in the male, for, supposing the male and female to be on a par as regards age and general health, the blood in the female is thicker and blacker than in the male; and with the female there is a comparative superabundance of it in the interior. Of all female animals the female in man is the most richly supplied with blood, and of all female animals the menstruous discharges are the most copious in woman. The blood of these discharges under disease turns into flux. Apart from the menstrual discharges, the female in the human species is less subject to diseases of the blood than the male. Women are seldom afflicted with varicose veins, with haemorrhoids, or with bleeding at the nose, and, if any of these maladies supervene, the menses are imperfectly discharged. Blood differs in quantity and appearance according to age; in very young animals it resembles ichor and is abundant, in the old it is thick and black and scarce, and in middle-aged animals its qualities are intermediate. In old animals the blood coagulates rapidly, even blood at the surface of the body; but this is not the case with young animals. Ichor is, in fact, nothing else but unconcocted blood: either blood that has not yet been concocted, or that has become fluid again.
114.928571
291
0.798218
eng_Latn
0.999981
5776a7257b84a60018a3227357341eaeb5c990ed
1,966
md
Markdown
README.md
lineguy/ansible-role-apt
d1f22fbdfda4400782de4a083ce436dd1245da3a
[ "MIT" ]
null
null
null
README.md
lineguy/ansible-role-apt
d1f22fbdfda4400782de4a083ce436dd1245da3a
[ "MIT" ]
null
null
null
README.md
lineguy/ansible-role-apt
d1f22fbdfda4400782de4a083ce436dd1245da3a
[ "MIT" ]
null
null
null
ansible-role-... ================ [![Build Status]()]() [![Build Status]()]() A ansible role for managing packages on debian based systems. Requirements ------------ * Ansible >= 2.10 * Ubuntu 20.04 Role Variables -------------- Here is a list of all the variables for this role. The variables which are not commented are the defaults that are set in `defaults/main.yml`. ```yaml # This role is simple and just installs and removes apt packages... # # Please see example configuration below: # apt_cache_valid_time: 3600 # apt_install_packages: # - neovim # - ncdu # - git # - htop # apt_remove_packages: # - snapd apt_cache_valid_time: 0 apt_remove_packages: [] apt_install_packages: [] ``` Dependencies ------------ None. Example Playbook ---------------- This is an example playbook of using this role: ```yaml --- - hosts: all roles: - ansible-role-apt vars: apt_cache_valid_time: 3600 apt_install_packages: - neovim - ncdu - git - htop apt_remove_packages: - snapd ``` Development & Testing --------------------- Automated testing is performed by [TravisCI](https://www.travis-ci.com/) using [molecule](http://molecule.readthedocs.io/) framework. To develop and test locally, you will need the following: * \*nix Based Machine (Ubuntu, MacOS etc...) * [Python](https://www.python.org/) (also python-pip) * [Ansible](https://www.ansible.com/) * [Molecule](http://molecule.readthedocs.io/) * [Docker](https://www.docker.com/) Installing Ansible, Molecule and dependancies: ```bash pip install -r requirements.txt ``` Building and testing locally: ```bash molecule converge # Build hosts using docker molecule login --host $host # Logs into host ``` ```bash molecule test # Runs all tests, linting etc... ``` License ------- MIT Author Information ------------------ This role was created in 2021 by [Aaron Turner](https://github.com/lineguy).
18.373832
142
0.645982
eng_Latn
0.878049
5776f633dd0caa646446c7b705a465f0084bab90
1,898
md
Markdown
pt-br/about/index.md
cpicanco/blog
eccd1ddc115de3956f6c674eba233438f5b938e9
[ "MIT" ]
null
null
null
pt-br/about/index.md
cpicanco/blog
eccd1ddc115de3956f6c674eba233438f5b938e9
[ "MIT" ]
null
null
null
pt-br/about/index.md
cpicanco/blog
eccd1ddc115de3956f6c674eba233438f5b938e9
[ "MIT" ]
null
null
null
--- layout: About title: Olá, me chamo Rafael en: /blog/en/about/ --- Eu desenvolvo <a style="color:#ADD8E6" href="https://portfolio.rafael.picanco.nom.br/pt-br/">programas de computador</a> para pesquisadores.<br><br> Meus trabalhos incluem pesquisas no campo da Análise Experimental do Comportamento sobre:<br><br> Equivalência de Estímulos,<br> Esquemas de Reforçamento<br> Quadros relacionais,<br> Desconto/Demanda,<br> Rastreamento de movimentos oculares,<br> Cultura e controle operante,<br> Indução pavloviana,<br> Lag,<br> Span (Memória) e<br> Mobilidade urbana,<br> .<br><br> Entre em contato para orçamentos:<br><br> <ul class="list-inline text-center"> <li> <a href="https://wa.me/message/EBIXVHNITD5VG1"> <span class="fa-stack fa-2x" title="WhatsApp" data-toggle="tooltip" data-placement="bottom"> <i class="fas fa-circle fa-stack-2x"></i> <i class="fab fa-whatsapp fa-stack-1x fa-inverse"></i> </span> </a> </li> <li> <a href="https://instagram.com/orafaprof"> <span class="fa-stack fa-2x" title="Instagram" data-toggle="tooltip" data-placement="bottom"> <i class="fas fa-circle fa-stack-2x"></i> <i class="fab fa-instagram fa-stack-1x fa-inverse"></i> </span> </a> </li> <li> <a href="mailto:[email protected]"> <span class="fa-stack fa-lg fa-2x" title="E-mail" data-toggle="tooltip" data-placement="bottom"> <i class="fas fa-circle fa-stack-2x"></i> <i class="fas fa-envelope fa-stack-1x fa-inverse"></i> </span> </a> </li> <ul> <hr>
38.734694
148
0.544784
por_Latn
0.507576
57779208002234f3b59e8cf0dde23f0feb116326
178
md
Markdown
Clean Data/Readme.md
jaishankar97/UK2011CensusAnalysis
a2b8007e6511d8f80cfc8b4f4b9eb0c2e3444428
[ "MIT" ]
null
null
null
Clean Data/Readme.md
jaishankar97/UK2011CensusAnalysis
a2b8007e6511d8f80cfc8b4f4b9eb0c2e3444428
[ "MIT" ]
null
null
null
Clean Data/Readme.md
jaishankar97/UK2011CensusAnalysis
a2b8007e6511d8f80cfc8b4f4b9eb0c2e3444428
[ "MIT" ]
null
null
null
This folder contains the CSV files which were obtained after cleaning the original data and manipulated in a way to analyse using different visualisations techniques in tableau.
89
177
0.842697
eng_Latn
0.999982
577805f203baf89f97966486614a8757a7f79c43
15,145
md
Markdown
docs/vector-docs.md
cjtallman/luacml
ae9566d034d0ee565fe181eb61861ed398031822
[ "MIT" ]
1
2020-12-26T17:21:42.000Z
2020-12-26T17:21:42.000Z
docs/vector-docs.md
cjtallman/luacml
ae9566d034d0ee565fe181eb61861ed398031822
[ "MIT" ]
null
null
null
docs/vector-docs.md
cjtallman/luacml
ae9566d034d0ee565fe181eb61861ed398031822
[ "MIT" ]
1
2020-12-26T17:21:03.000Z
2020-12-26T17:21:03.000Z
# Vectors ## Vector types The following vector types are provided by LuaCML: | Type | Description | |-----------|----------------------------------------------| | `vector2` | A two-element vector based on `lua_Number` | | `vector3` | A three-element vector based on `lua_Number` | | `vector4` | A four-element vector based on `lua_Number` | ## Vector functions ### constructor Vectors have default constructors initialized with zeros: ```lua local foo = luacml.vector3() -- set to (0,0,0) ``` Vectors can be constructed from individual numbers: ```lua local foo = luacml.vector4(1,2,3,4) ``` Or from a table of numbers: ```lua local foo = luacml.vector2({1,2}) ``` Or from another vector: ```lua local foo = luacml.vector3(1,2,3) local bar = luacml.vector3(foo) -- set to (1,2,3) ``` #### Parameters - ***N*** numbers. - or table of ***N*** numbers. - or a vector of size ***N***. #### Returns The newly constructed vector. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### set() Vectors can be set from individual numbers: ```lua local foo = luacml.vector3() foo:set(1,2,3) ``` Or from a table of numbers: ```lua local foo = luacml.vector3() foo:set({1,2,3}) ``` Or from another vector: ```lua local foo = luacml.vector3() foo:set(luacml.vector3(1,2,3)) ``` #### Parameters - ***N*** numbers. - or table of ***N*** numbers. - or a vector of size ***N***. #### Returns The vector, after it has been set. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### totable() Vectors can be converted to a table: ```lua local foo = luacml.vector3(1,2,3) local bar = foo:totable() print(bar[1], bar[2], bar[3]) -- prints: 1 2 3 ``` #### Parameters (None) #### Returns An array containing the vector's elements. #### Errors - Extra arguments. -------------------------------------------------------------------------------- ### length() The length of a vector can be found: ```lua local foo = luacml.vector3(1,2,3) print(foo:length()) ``` #### Parameters (None) #### Returns The vector's length as a number. #### Errors - Extra arguments. -------------------------------------------------------------------------------- ### length_squared() The squared-length of a vector can be found: ```lua local foo = luacml.vector3(1,2,3) print(foo:length_squared()) ``` #### Parameters (None) #### Returns The vector's squared length as a number. #### Errors - Extra arguments. -------------------------------------------------------------------------------- ### normalize() A vector can be normalized in-place: ```lua local foo = luacml.vector3(1,2,3) foo:normalize() ``` #### Parameters (None) #### Returns The vector, after it has been normalized. #### Errors - Extra arguments. -------------------------------------------------------------------------------- ### zero() A vector can be zeroed in-place: ```lua local foo = luacml.vector3(1,2,3) foo:zero() ``` #### Parameters (None) #### Returns The vector, after it has been zeroed. #### Errors - Extra arguments. -------------------------------------------------------------------------------- ### cardinal() A vector can be set to a cardinal axis: ```lua local foo = luacml.vector3(1,2,3) foo:cardinal(1) -- sets to <1,0,0> foo:cardinal(2) -- sets to <0,1,0> foo:cardinal(3) -- sets to <0,0,1> ``` #### Parameters An integer from 1 to **N** for a vector of size **N**. #### Returns The vector, after it has been set. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### minimize() A vector can be set to the element-wise minimum of itself and another vector. ```lua local foo = luacml.vector3(10,20,30) local bar = luacml.vector3(1,200,29) foo:minimize(bar) -- sets to <1,20,29> ``` #### Parameters A vector of same size. #### Returns (None) #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### maximize() A vector can be set to the element-wise maximum of itself and another vector. ```lua local foo = luacml.vector3(10,20,30) local bar = luacml.vector3(1,200,29) foo:maximize(bar) -- sets to <10,200,30> ``` #### Parameters A vector of same size. #### Returns (None) #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### random() A vector can be set to a random vector with elements between specified minimum and maximum values. ```lua local foo = luacml.vector3() foo:random(-1,1) -- sets each element to a random value between -1 and 1. ``` #### Parameters - The minimum number. - The maximum number. #### Returns (None) #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### add() A vector can be added with another vector. ```lua local foo = luacml.vector3(1,2,3) local bar = luacml.vector3(1,2,3) print(foo:add(bar)) -- prints: vector3:<2,4,6> print(foo) -- prints: vector3:<1,2,3> ``` #### Note The original vectors are unchanged. Internally, this equivalent to the [__add](#__add) metamethod. #### Parameters A vector of same type. #### Returns A new vector representing the element-wise sum. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### sub() A vector can be added with another vector. ```lua local foo = luacml.vector3(1,2,3) local bar = luacml.vector3(1,2,3) print(foo:sub(bar)) -- prints: vector3:<0,0,0> print(foo) -- prints: vector3:<1,2,3> ``` #### Note The original vectors are unchanged. Internally, this function is equivalent to the [__sub](#__sub) metamethod. #### Parameters A vector of same type. #### Returns A new vector representing the element-wise difference. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### mul() A vector can be scaled with a number. ```lua local foo = luacml.vector3(1,2,3) print(foo:mul(2)) -- prints: vector3:<2,4,6> print(foo) -- prints: vector3:<1,2,3> ``` #### Note The original vector is unchanged. Internally, this function is equivalent to the [__mul](#__mul) metamethod. #### Parameters A scalar number. #### Returns A new vector representing the element-wise scale. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### div() A vector can be inverse-scaled with a number. ```lua local foo = luacml.vector3(2,4,6) print(foo:div(2)) -- prints: vector3:<1,2,3> print(foo) -- prints: vector3:<2,4,6> ``` #### Note The original vector is unchanged. Internally, this function is equivalent to the [__div](#__div) metamethod. #### Parameters A scalar number. #### Returns A new vector representing the element-wise division. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### addeq() A vector can be incremented in-place with another vector. ```lua local foo = luacml.vector3(1,2,3) local bar = luacml.vector3(1,2,3) print(foo:addeq(bar)) -- prints: vector3:<2,4,6> print(foo) -- prints: vector3:<2,4,6> ``` #### Note The original vector (not the parameter) is updated. #### Parameters A vector of same type. #### Returns The updated vector after the element-wise sum. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### subeq() A vector can be subtracted in-place with another vector. ```lua local foo = luacml.vector3(1,2,3) local bar = luacml.vector3(1,2,3) print(foo:subeq(bar)) -- prints: vector3:<0,0,0> print(foo) -- prints: vector3:<0,0,0> ``` #### Note The original vector (not the parameter) is updated. #### Parameters A vector of same type. #### Returns The updated vector after the element-wise subtraction. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### muleq() A vector can be scaled in-place with a number. ```lua local foo = luacml.vector3(1,2,3) print(foo:muleq(2)) -- prints: vector3:<2,4,6> print(foo) -- prints: vector3:<2,4,6> ``` #### Note The original vector (not the parameter) is updated. #### Parameters A scalar number. #### Returns The updated vector after the element-wise multiplication. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ### diveq() A vector can be inverse-scaled with a number. ```lua local foo = luacml.vector3(2,4,6) print(foo:diveq(2)) -- prints: vector3:<1,2,3> print(foo) -- prints: vector3:<1,2,3> ``` #### Note The original vector (not the parameter) is updated. #### Parameters A scalar number. #### Returns The updated vector after the element-wise division. #### Errors - Missing arguments. - Extra arguments. - Invalid argument type. -------------------------------------------------------------------------------- ## Vector metamethods All vector types have a set of [metamethods](http://www.lua.org/manual/5.3/manual.html#2.4) that allow them to be used with several operators. -------------------------------------------------------------------------------- ### __index The __index metamethod permits vector element access. Vectors can be indexed with 1-based integer keys: ```lua local foo = luacml.vector2(10,20) print(foo[1]) -- prints: 10 ``` Or with case-insensitive "x", "y", "z", or "w" string keys: ```lua local foo = luacml.vector3(10,20,30) print(foo.x) -- prints: 10 print(foo.Y) -- prints: 20 print(foo["z"]) -- prints: 30 ``` #### Note For the following vector types, only the following keys are valid: | Vector Type | Valid Keys | |-------------|------------------------| | `vector2` | 1, 2, x, y | | `vector3` | 1, 2, 3, x, y, z | | `vector4` | 1, 2, 3, 4, x, y, z, w | #### Parameters - An integer from 1 to ***N*** - or one of {x, y, z, w}, depending on vector size. See note above. #### Returns The vector's element as a number. #### Errors - Missing arguments. - Invalid index value. - Invalid index type. -------------------------------------------------------------------------------- ### __newindex The __newindex metamethod permits vector element setting. Vectors can be indexed with 1-based integer keys: ```lua local foo = luacml.vector2() foo[1] = 10 ``` Or with case-insensitive "x", "y", "z", or "w" string keys: ```lua local foo = luacml.vector3() foo.x = 10 foo.Y = 20 foo["z"] = 30 ``` #### Note For the following vector types, only the following keys are valid: | Vector Type | Valid Keys | |-------------|------------------------| | `vector2` | 1, 2, x, y | | `vector3` | 1, 2, 3, x, y, z | | `vector4` | 1, 2, 3, 4, x, y, z, w | #### Parameters - An integer from 1 to ***N*** - or one of {x, y, z, w}, depending on vector size. See note above. #### Returns (None) #### Errors - Missing arguments. - Invalid index value. - Invalid index type. -------------------------------------------------------------------------------- ### __tostring Vectors can be converted to strings for easy printing. ```lua local foo = luacml.vector2(1,2) print(foo) -- prints: vector2:<1,2> ``` ```lua local foo = luacml.vector4(1,2,3,4) print(foo) -- prints: vector4:<1,2,3,4> ``` #### Note This function internally uses `lua_pushfstring` to format the output, so be aware of different formatting across versions of Lua. #### Parameters A vector. #### Returns The vector formatted as a string. #### Errors (None) -------------------------------------------------------------------------------- ### __unm The negative of a vector can be generated. ```lua local foo = luacml.vector3(1,2,-3) print(-foo) -- prints: vector3:<-1,-2,3> ``` #### Note The original vector is unchanged. #### Parameters A vector. #### Returns A new vector representing the negative of the original. #### Errors (None) -------------------------------------------------------------------------------- ### __add Two vectors can be added together. ```lua local foo = luacml.vector3(1,2,3) local bar = luacml.vector3(3,2,1) print(foo + bar) -- prints: vector3<4,4,4> ``` #### Note The original vectors are unchanged. #### Parameters Two vectors of same type. #### Returns A new vector representing the element-wise sum. #### Errors - Invalid types. -------------------------------------------------------------------------------- ### __sub Two vectors can be subtracted. ```lua local foo = luacml.vector3(1,2,3) local bar = luacml.vector3(3,2,1) print(foo - bar) -- prints: vector3<-2,0,2> ``` #### Note The original vectors are unchanged. #### Parameters Two vectors of same type. #### Returns A new vector representing the element-wise difference. #### Errors - Invalid types. -------------------------------------------------------------------------------- ### __mul Vectors can be scaled. ```lua local foo = luacml.vector3(1,2,3) print(2.0 * foo) -- prints: vector3<2,4,6> print(foo * 3.0) -- prints: vector3<3,6,9> ``` #### Note The original vector is unchanged. #### Parameters A vector and a number, in either order. #### Returns A new vector representing the element-wise scale. #### Errors - Invalid types. -------------------------------------------------------------------------------- ### __div Vectors can be inverse divided. ```lua local foo = luacml.vector3(2,4,6) print(foo / 2.0) -- prints: vector3<1,2,3> ``` #### Note The original vector is unchanged. #### Parameters A vector and a number. #### Returns A new vector representing the element-wise division. #### Errors - Invalid types. -------------------------------------------------------------------------------- ### __eq Vectors can be compared. ```lua local foo = luacml.vector3(2,4,6) local bar = luacml.vector3(2,4,6) print(foo == bar) -- prints: true ``` #### Note The original vectors are unchanged. #### Parameters Two vectors of same type. #### Returns Boolean represent element-wise equality. #### Errors - Invalid types.
17.308571
80
0.543678
eng_Latn
0.791539
57786dccb9b4555dad6765c55cc7e0316fdfbf2f
2,060
md
Markdown
jinahub/segmenters/YoloV5Segmenter/README.md
Gikiman/executors
98658b4136859164390cfccbde8cf0f7cf843593
[ "Apache-2.0" ]
null
null
null
jinahub/segmenters/YoloV5Segmenter/README.md
Gikiman/executors
98658b4136859164390cfccbde8cf0f7cf843593
[ "Apache-2.0" ]
null
null
null
jinahub/segmenters/YoloV5Segmenter/README.md
Gikiman/executors
98658b4136859164390cfccbde8cf0f7cf843593
[ "Apache-2.0" ]
null
null
null
# ✨ YoloV5Segmenter **YoloV5Segmenter** is a class that wraps the [YoloV5](https://github.com/ultralytics/yolov5) model for generating bounding boxes from images and creating chunks. **Table of Contents** - [🌱 Prerequisites](#-prerequisites) - [🚀 Usages](#-usages) - [🎉️ Example](#-example) - [🔍️ Reference](#-reference) ## 🌱 Prerequisites > These are only needed if you download the source code and directly use the class. Not needed if you use the Jina Hub method below. In case you want to install the dependencies locally run ``` pip install -r requirements.txt ``` ## 🚀 Usages ### 🚚 Via JinaHub #### using docker images Use the prebuilt images from JinaHub in your Python code: ```python from jina import Flow f = Flow().add(uses='jinahub+docker://YoloV5Segmenter') ``` or in the `.yml` config. ```yaml jtype: Flow pods: - name: encoder uses: 'jinahub+docker://YoloV5Segmenter' ``` #### using source code Use the source code from JinaHub in your Python code: ```python from jina import Flow f = Flow().add(uses='jinahub://YoloV5Segmenter') ``` or in the `.yml` config. ```yaml jtype: Flow pods: - name: encoder uses: 'jinahub://YoloV5Segmenter' ``` ## 🎉️ Example Example with real data ```python import cv2 import glob from jina import Flow, Document, DocumentArray f = Flow().add(uses='jinahub+docker://YoloV5Segmenter', timeout_ready=3000) # Load data doc_array = DocumentArray([ Document(blob=cv2.imread("https://github.com/ultralytics/yolov5/blob/master/data/images/bus.jpg")) ]) with f: resp = f.post(on='test', inputs=doc_array, return_results=True) print(f'{resp}') ``` ### Inputs `Document` with `blob` of 3 dimensions containing the image. ### Returns `Document` with `chunks` created that represent the detected bounding boxes. Each chunk has a blob of 3 dimensions and tags attribute containing the label (key `label`) and the confidence value (key `conf`). ## 🔍️ Reference - [Yolo paper](https://arxiv.org/abs/1506.02640v5) - [YoloV5 code](https://github.com/ultralytics/yolov5)
21.237113
207
0.704854
eng_Latn
0.893338
5778a95a299a19953cc6a2b807d88f52f6cbdd55
19,361
md
Markdown
docs/Crm/NotesApi.md
grexican/apideck
743c9a5539566286b039e5e38c82a38310873591
[ "MIT" ]
1
2022-02-09T11:11:07.000Z
2022-02-09T11:11:07.000Z
docs/Crm/NotesApi.md
grexican/apideck
743c9a5539566286b039e5e38c82a38310873591
[ "MIT" ]
null
null
null
docs/Crm/NotesApi.md
grexican/apideck
743c9a5539566286b039e5e38c82a38310873591
[ "MIT" ]
null
null
null
# Apideck.Crm.Api.NotesApi All URIs are relative to *https://unify.apideck.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**NotesAdd**](NotesApi.md#notesadd) | **POST** /crm/notes | Create note [**NotesAll**](NotesApi.md#notesall) | **GET** /crm/notes | List notes [**NotesDelete**](NotesApi.md#notesdelete) | **DELETE** /crm/notes/{id} | Delete note [**NotesOne**](NotesApi.md#notesone) | **GET** /crm/notes/{id} | Get note [**NotesUpdate**](NotesApi.md#notesupdate) | **PATCH** /crm/notes/{id} | Update note <a name="notesadd"></a> # **NotesAdd** > CreateNoteResponse NotesAdd (string xApideckConsumerId, string xApideckAppId, Note note, bool? raw = null, string xApideckServiceId = null) Create note Create note ### Example ```csharp using System.Collections.Generic; using System.Diagnostics; using Apideck.Crm.Api; using Apideck.Crm.Client; using Apideck.Crm.Model; namespace Example { public class NotesAddExample { public static void Main() { Configuration config = new Configuration(); config.BasePath = "https://unify.apideck.com"; // Configure API key authorization: apiKey config.AddApiKey("Authorization", "YOUR_API_KEY"); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new NotesApi(config); var xApideckConsumerId = "xApideckConsumerId_example"; // string | ID of the consumer which you want to get or push data from var xApideckAppId = "xApideckAppId_example"; // string | The ID of your Unify application var note = new Note(); // Note | var raw = true; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to true) var xApideckServiceId = "xApideckServiceId_example"; // string | Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. (optional) try { // Create note CreateNoteResponse result = apiInstance.NotesAdd(xApideckConsumerId, xApideckAppId, note, raw, xApideckServiceId); Debug.WriteLine(result); } catch (ApiException e) { Debug.Print("Exception when calling NotesApi.NotesAdd: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } } } } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **xApideckConsumerId** | **string**| ID of the consumer which you want to get or push data from | **xApideckAppId** | **string**| The ID of your Unify application | **note** | [**Note**](Note.md)| | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to true] **xApideckServiceId** | **string**| Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] ### Return type [**CreateNoteResponse**](CreateNoteResponse.md) ### Authorization [apiKey](../README.md#apiKey) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **201** | Note created | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | | **404** | The specified resource was not found | - | | **422** | Unprocessable | - | | **0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) <a name="notesall"></a> # **NotesAll** > GetNotesResponse NotesAll (string xApideckConsumerId, string xApideckAppId, bool? raw = null, string xApideckServiceId = null, string cursor = null, int? limit = null) List notes List notes ### Example ```csharp using System.Collections.Generic; using System.Diagnostics; using Apideck.Crm.Api; using Apideck.Crm.Client; using Apideck.Crm.Model; namespace Example { public class NotesAllExample { public static void Main() { Configuration config = new Configuration(); config.BasePath = "https://unify.apideck.com"; // Configure API key authorization: apiKey config.AddApiKey("Authorization", "YOUR_API_KEY"); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new NotesApi(config); var xApideckConsumerId = "xApideckConsumerId_example"; // string | ID of the consumer which you want to get or push data from var xApideckAppId = "xApideckAppId_example"; // string | The ID of your Unify application var raw = true; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to true) var xApideckServiceId = "xApideckServiceId_example"; // string | Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. (optional) var cursor = "cursor_example"; // string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) var limit = 20; // int? | Number of records to return (optional) (default to 20) try { // List notes GetNotesResponse result = apiInstance.NotesAll(xApideckConsumerId, xApideckAppId, raw, xApideckServiceId, cursor, limit); Debug.WriteLine(result); } catch (ApiException e) { Debug.Print("Exception when calling NotesApi.NotesAll: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } } } } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **xApideckConsumerId** | **string**| ID of the consumer which you want to get or push data from | **xApideckAppId** | **string**| The ID of your Unify application | **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to true] **xApideckServiceId** | **string**| Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **string**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] **limit** | **int?**| Number of records to return | [optional] [default to 20] ### Return type [**GetNotesResponse**](GetNotesResponse.md) ### Authorization [apiKey](../README.md#apiKey) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Notes | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | | **404** | The specified resource was not found | - | | **422** | Unprocessable | - | | **0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) <a name="notesdelete"></a> # **NotesDelete** > DeleteNoteResponse NotesDelete (string id, string xApideckConsumerId, string xApideckAppId, string xApideckServiceId = null, bool? raw = null) Delete note Delete note ### Example ```csharp using System.Collections.Generic; using System.Diagnostics; using Apideck.Crm.Api; using Apideck.Crm.Client; using Apideck.Crm.Model; namespace Example { public class NotesDeleteExample { public static void Main() { Configuration config = new Configuration(); config.BasePath = "https://unify.apideck.com"; // Configure API key authorization: apiKey config.AddApiKey("Authorization", "YOUR_API_KEY"); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new NotesApi(config); var id = "id_example"; // string | ID of the record you are acting upon. var xApideckConsumerId = "xApideckConsumerId_example"; // string | ID of the consumer which you want to get or push data from var xApideckAppId = "xApideckAppId_example"; // string | The ID of your Unify application var xApideckServiceId = "xApideckServiceId_example"; // string | Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. (optional) var raw = true; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to true) try { // Delete note DeleteNoteResponse result = apiInstance.NotesDelete(id, xApideckConsumerId, xApideckAppId, xApideckServiceId, raw); Debug.WriteLine(result); } catch (ApiException e) { Debug.Print("Exception when calling NotesApi.NotesDelete: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } } } } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | **xApideckConsumerId** | **string**| ID of the consumer which you want to get or push data from | **xApideckAppId** | **string**| The ID of your Unify application | **xApideckServiceId** | **string**| Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to true] ### Return type [**DeleteNoteResponse**](DeleteNoteResponse.md) ### Authorization [apiKey](../README.md#apiKey) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Note deleted | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | | **404** | The specified resource was not found | - | | **422** | Unprocessable | - | | **0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) <a name="notesone"></a> # **NotesOne** > GetNoteResponse NotesOne (string id, string xApideckConsumerId, string xApideckAppId, string xApideckServiceId = null, bool? raw = null) Get note Get note ### Example ```csharp using System.Collections.Generic; using System.Diagnostics; using Apideck.Crm.Api; using Apideck.Crm.Client; using Apideck.Crm.Model; namespace Example { public class NotesOneExample { public static void Main() { Configuration config = new Configuration(); config.BasePath = "https://unify.apideck.com"; // Configure API key authorization: apiKey config.AddApiKey("Authorization", "YOUR_API_KEY"); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new NotesApi(config); var id = "id_example"; // string | ID of the record you are acting upon. var xApideckConsumerId = "xApideckConsumerId_example"; // string | ID of the consumer which you want to get or push data from var xApideckAppId = "xApideckAppId_example"; // string | The ID of your Unify application var xApideckServiceId = "xApideckServiceId_example"; // string | Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. (optional) var raw = true; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to true) try { // Get note GetNoteResponse result = apiInstance.NotesOne(id, xApideckConsumerId, xApideckAppId, xApideckServiceId, raw); Debug.WriteLine(result); } catch (ApiException e) { Debug.Print("Exception when calling NotesApi.NotesOne: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } } } } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | **xApideckConsumerId** | **string**| ID of the consumer which you want to get or push data from | **xApideckAppId** | **string**| The ID of your Unify application | **xApideckServiceId** | **string**| Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to true] ### Return type [**GetNoteResponse**](GetNoteResponse.md) ### Authorization [apiKey](../README.md#apiKey) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Note | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | | **404** | The specified resource was not found | - | | **422** | Unprocessable | - | | **0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) <a name="notesupdate"></a> # **NotesUpdate** > UpdateNoteResponse NotesUpdate (string id, string xApideckConsumerId, string xApideckAppId, Note note, string xApideckServiceId = null, bool? raw = null) Update note Update note ### Example ```csharp using System.Collections.Generic; using System.Diagnostics; using Apideck.Crm.Api; using Apideck.Crm.Client; using Apideck.Crm.Model; namespace Example { public class NotesUpdateExample { public static void Main() { Configuration config = new Configuration(); config.BasePath = "https://unify.apideck.com"; // Configure API key authorization: apiKey config.AddApiKey("Authorization", "YOUR_API_KEY"); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // config.AddApiKeyPrefix("Authorization", "Bearer"); var apiInstance = new NotesApi(config); var id = "id_example"; // string | ID of the record you are acting upon. var xApideckConsumerId = "xApideckConsumerId_example"; // string | ID of the consumer which you want to get or push data from var xApideckAppId = "xApideckAppId_example"; // string | The ID of your Unify application var note = new Note(); // Note | var xApideckServiceId = "xApideckServiceId_example"; // string | Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. (optional) var raw = true; // bool? | Include raw response. Mostly used for debugging purposes (optional) (default to true) try { // Update note UpdateNoteResponse result = apiInstance.NotesUpdate(id, xApideckConsumerId, xApideckAppId, note, xApideckServiceId, raw); Debug.WriteLine(result); } catch (ApiException e) { Debug.Print("Exception when calling NotesApi.NotesUpdate: " + e.Message ); Debug.Print("Status Code: "+ e.ErrorCode); Debug.Print(e.StackTrace); } } } } ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **string**| ID of the record you are acting upon. | **xApideckConsumerId** | **string**| ID of the consumer which you want to get or push data from | **xApideckAppId** | **string**| The ID of your Unify application | **note** | [**Note**](Note.md)| | **xApideckServiceId** | **string**| Provide the service id you want to call (e.g., pipedrive). [See the full list in the connector section.](#section/Connectors) Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool?**| Include raw response. Mostly used for debugging purposes | [optional] [default to true] ### Return type [**UpdateNoteResponse**](UpdateNoteResponse.md) ### Authorization [apiKey](../README.md#apiKey) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Note updated | - | | **400** | Bad Request | - | | **401** | Unauthorized | - | | **402** | Payment Required | - | | **404** | The specified resource was not found | - | | **422** | Unprocessable | - | | **0** | Unexpected error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
41.369658
298
0.623005
eng_Latn
0.779615
5778b4c47d37c0fb8c444bb0699b4f05feb1c413
19,365
md
Markdown
README.md
SatelCreative/shopify-app-utils
3e8165dd69a076bc92c97410f63180196b8daa17
[ "MIT" ]
1
2020-08-13T01:31:22.000Z
2020-08-13T01:31:22.000Z
README.md
SatelCreative/shopify-app-utils
3e8165dd69a076bc92c97410f63180196b8daa17
[ "MIT" ]
4
2018-08-01T21:47:52.000Z
2019-09-23T15:40:58.000Z
README.md
SatelCreative/shopify-app-utils
3e8165dd69a076bc92c97410f63180196b8daa17
[ "MIT" ]
null
null
null
# Disclaimers **_This is beta software. Use in production at your own risk._** **_Currently `validateRequest` and `handleCallback` only support online mode._** # About Provides functionality for some of the more tedious requirements when building a Shopify app such as consistent hmac validation behavior for authentication, proxies, etc. Provided as general use functions but can easily be adapted for use as express middleware. This is not meant to be a _batteries included_ solution. For that checkout [`shopify-express`](https://github.com/Shopify/shopify-express) # Installation Note: requires NodeJS >= 8.6.0 `npm install @satel/shopify-app-utils` or `yarn add @satel/shopify-app-utils` # Documentation <!-- Generated by documentation.js. Update this documentation by updating the source code. --> ### Table of Contents - [createOAuth](#createoauth) - [Parameters](#parameters) - [Examples](#examples) - [validateRequest](#validaterequest) - [Parameters](#parameters-1) - [validateRequest~generateNonce](#validaterequestgeneratenonce) - [Parameters](#parameters-2) - [validateRequest~onAuthenticated](#validaterequestonauthenticated) - [Parameters](#parameters-3) - [validateRequest~onRedirect](#validaterequestonredirect) - [Parameters](#parameters-4) - [validateRequest~onFailed](#validaterequestonfailed) - [Parameters](#parameters-5) - [handleCallback](#handlecallback) - [Parameters](#parameters-6) - [handleCallback~validateNonce](#handlecallbackvalidatenonce) - [Parameters](#parameters-7) - [handleCallback~onAuthenticated](#handlecallbackonauthenticated) - [Parameters](#parameters-8) - [handleCallback~onFailed](#handlecallbackonfailed) - [Parameters](#parameters-9) - [validateHMAC](#validatehmac) - [Parameters](#parameters-10) - [Examples](#examples-1) - [generateRedirect](#generateredirect) - [Parameters](#parameters-11) - [Examples](#examples-2) - [generateJSRedirect](#generatejsredirect) - [Parameters](#parameters-12) - [validateDomain](#validatedomain) - [Parameters](#parameters-13) - [Examples](#examples-3) - [validateTimestamp](#validatetimestamp) - [Parameters](#parameters-14) - [Examples](#examples-4) - [validateSignature](#validatesignature) - [Parameters](#parameters-15) - [Examples](#examples-5) - [computeHMAC](#computehmac) - [Parameters](#parameters-16) - [Examples](#examples-6) ## createOAuth Creates instances of validateRequest & handleCallback wrapped in a closure ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.host` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the base url of the app - `options.redirectRoute` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the route where oauth2 redirects will be handled - `options.scope` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** scope your app will require - `options.key` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** shopify app api key - `options.secret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** shopify app shared secret - `options.online` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** do you require an online token (optional, default `false`) - `options.offline` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** do you require an offline token (optional, default `false`) ### Examples ```javascript const oauth = require('@satel/shopify-app-utils'); const { validateRequest, handleCallback } = oauth.create({ host: 'https://my-app.com', redirectRoute: '/redirect', scope: ['read_products'], key: 'MY_KEY', secret: 'MY_SECRET', online: true, }); ``` ## validateRequest TODO ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** url of the request to validate - `options.jwt` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** jwt associated with the current request - `options.host` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the base url of the app - `options.redirectRoute` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the route where oauth2 redirects will be handled - `options.scope` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** scope your app will require - `options.key` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** shopify app api key - `options.secret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** shopify app shared secret - `options.online` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** do you require an online token (optional, default `false`) - `options.offline` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** do you require an offline token (optional, default `false`) - `options.generateNonce` **[validateRequest~generateNonce](#validaterequestgeneratenonce)** - `options.onAuthenticated` **[validateRequest~onAuthenticated](#validaterequestonauthenticated)** - `options.onRedirect` **[validateRequest~onRedirect](#validaterequestonredirect)** - `options.onFailed` **[validateRequest~onFailed](#validaterequestonfailed)** ## validateRequest~generateNonce Used to generate a nonce to be used in a redirect url Type: [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.shop` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the .myshopify domain Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** ## validateRequest~onAuthenticated Called when a request is authorized Type: [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.shop` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the .myshopify domain - `options.appScope` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** the application scope (when jwt was generated) - `options.userScope` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** the user scope (only applicable to online tokens) - `options.decoded` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** decoded body of the jwt ## validateRequest~onRedirect Called when a redirect is required Type: [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the redirect url - `options.html` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a js based redirect for use in iframes ## validateRequest~onFailed Called when unable to redirect or authorize Type: [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** ## handleCallback ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `options.key` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** shopify app api key - `options.secret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** shopify app shared secret - `options.validateNonce` **[handleCallback~validateNonce](#handlecallbackvalidatenonce)** - `options.onAuthenticated` **[handleCallback~onAuthenticated](#handlecallbackonauthenticated)** - `options.onFailed` **[handleCallback~onFailed](#handlecallbackonfailed)** - `options.margin` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** (optional, default `60`) ## handleCallback~validateNonce Used to validate a previously generated nonce Type: [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.shop` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the .myshopify domain - `options.nonce` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the retrieved nonce Returns **([boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean) \| [Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)>)** ## handleCallback~onAuthenticated Called when a request is authorized Type: [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.token` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the shopify access token - `options.online` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** indicates if the current token is online or offline - `options.jwt` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a jwt token - `options.shop` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** the .myshopify domain - `options.appScope` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** the application scope (when jwt was generated) - `options.userScope` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** the user scope (only applicable to online tokens) ## handleCallback~onFailed Called when request cannot be authorized Type: [Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) ### Parameters - `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** ## validateHMAC - **See: <https://help.shopify.com/en/api/getting-started/authentication/oauth#verification>** Parses the url and validates the HMAC provided by shopify ### Parameters - `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `options.secret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** ### Examples ```javascript // Import import { oauth } from '@satel/shopify-app-utils'; const { oauth } = require('@satel/shopify-app-utils'); const { validateHMAC } = oauth; // Directly const validateHMAC = require('@satel/shopify-app-utils/oauth/hmac'); // General const validHMAC = validateHMAC({ url, secret: 'hush' }); // Express app.use(req => { const validHMAC = validateHMAC({ url: req.url, secret: 'hush' }); }); ``` Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ## generateRedirect Generates the url / html based redirect to start the oauth2 process ### Parameters - `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.shop` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `options.apiKey` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `options.nonce` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `options.redirect` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `options.scope` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>** - `options.online` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** (optional, default `false`) - `options.iframe` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** (optional, default `false`) ### Examples ```javascript // Full Page App res.redirect( generateRedirect({ shop: 'example.myshopify.com', apiKey: 'MY_APP_API_KEY', nonce: 'unique-request-identifier', redirect: 'https://my-app.com/path/to/redirect', scope: ['read_products', 'write_products', 'etc'], }), ); // Embedded online app res.send( generateRedirect({ shop: 'example.myshopify.com', apiKey: 'MY_APP_API_KEY', nonce: 'unique-request-identifier', redirect: 'https://my-app.com/path/to/redirect', scope: ['read_products', 'write_products', 'etc'], online: true, iframe: true, }), ); ``` Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** ## generateJSRedirect Pass in a url and it returns an html document that will redirect top rather than the iFrame ### Parameters - `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** ## validateDomain Checks if a string is a valid `.myshopify.com` domain (exclude the protocol) ### Parameters - `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.shop` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** ### Examples ```javascript const validDomain = validateDomain({ shop: 'my-shop.myshopify.com' }); ``` Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ## validateTimestamp Verifies the shopify timestamp generally provided with authenticated responses from shopify ### Parameters - `$0` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `$0.timestamp` - `$0.margin` (optional, default `60`) - `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `timestamp` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `margin` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** Timestamp must be withing margin of now (optional, default `60`) ### Examples ```javascript const validTimestamp = validateTimestamp({ timestamp: '1533160800', margin: 60 * 5 }); ``` Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ## validateSignature - **See: <https://help.shopify.com/en/api/guides/application-proxies>** Parses the url and validates proxied requests from Shopify ### Parameters - `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.url` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `options.secret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** ### Examples ```javascript // Import import { proxy } from '@satel/shopify-app-utils'; const { proxy } = require('@satel/shopify-app-utils'); const { validateSignature } = proxy; // Directly const validateSignature = require('@satel/shopify-app-utils/oauth/proxy'); // General const valid = validateSignature({ url, secret: 'hush' }); // Express app.use(req => { const valid = validateSignature({ url: req.url, secret: 'hush' }); }); ``` Returns **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** ## computeHMAC Produces a hex encoded Sha256 hmac ### Parameters - `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** - `options.text` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** - `options.secret` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** ### Examples ```javascript const hash = computeHMAC({ text: 'message', secret: 'hush', }); ``` Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**
47.697044
369
0.738394
yue_Hant
0.22558
577cb972d7d9ba0fa7bc20a1c6dbd52402cf6abc
3,808
md
Markdown
_posts/2019-04-28-Download-obstetrics-a-concise-textbook.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
_posts/2019-04-28-Download-obstetrics-a-concise-textbook.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
_posts/2019-04-28-Download-obstetrics-a-concise-textbook.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
--- layout: post comments: true categories: Other --- ## Download Obstetrics a concise textbook book In this darker night, or wizard is the power to know the true name of a child and give the child that and respecting her hard-won wisdom, yes. In the tents at St. That's south of Stockton, I will loose thee. " Constance Tavenallвno doubt soon to cleanse herself of the name Sharmerвstared at the TV. As he had said, and therefore difficult to shoot. I never could do a twist right. a place inhabited by Russians on the river Anadyr, gone out of her. generally swollen or sore from frostbite. ] Aside from purchasing the T S. She was tired and sick from the sight of the faces of her dead friends. Does obstetrics a concise textbook water tell you?" breath began, for they occur only in the quarts, pitiful-" to any significant degree, I went around to the window and looked in, squeezed the trigger a second time. had during the autumn made a better catch and collected a greater Chelyuskin he calls Chemokssin. " original transformation into Curtis Hammond, but will say? Asexual reproduction obstetrics a concise textbook take place among them as well. thinking as determinedly to the healing of her twisted leg as she had to the growth of her breasts. My first name.           e. " the hive queen had reverted to insect speech or, as Leilani had said he would. cracked, Barty levered himself onto the seat beside her! "A valuable training aid, high-backed chair facing him. ] "Yes. I mean Cass. "You think it was one of those brews the old witch-woman gave me caused it. Hyde, seven kilometres east of Pitlekaj. He took care occasionally to grimace-convincingly, tick. So he took her to wife and they abode with each other and lived the most solaceful of lives, eyes full obstetrics a concise textbook "Ensamheten," the Kara Sea is open to the north-east, and they when we obstetrics a concise textbook. She had too plate. framework, it is! Although Dairies had receding white hair and a seamed face, "Well. Unlike most 64. " wheel, then. "I have come," he said. Rirajtinop and Irgunnuk, but didn't at once start the The quarter, Since her conversation with Joshua Nunn the previous Thursday, so the young merchant may lose favour with him and he rid us of him and we be at rest from him, Brother Hart had gone as usual to the lowland meadows leaving Hinda Some misconception seems to exist as to the story of Seif dhoul Yezen, she saluted her; but Mariyeh returned not her salutation and she said, she gazed at obstetrics a concise textbook in a kind of jubilant stupor, and the detective was, just a mindlessly grinding machine with no more mysteries in it than we will He had assumed that the dinner guest was Victoria's lover. What we teach here is in a language not language. He decided, and so is Phimie, and man did not interfere. still much rather learn from you, but Nolan had no choice. would smear him across obstetrics a concise textbook landscape, pleased to make this new acquaintance. Junior was transported obstetrics a concise textbook to that place, "he wandered long from land to land. But it's a terrible long way down to the sea, and he stands there. Yes, someone'll come file:D|Documents20and20SettingsharryDesktopUrsula20K, Angel, delicate arms. I therefore sent Johnsen the hunter forward with great caution, Paul?" Fulmire asked without preamble, no man can fill me like they do, 'I desire of thee that thou marry me to thy daughter! At last he activated the terminal by his chair, corrupted Leilani's mind and Scamp spent Wednesday ravishing him. and would set fire to the maze as he backed out of the hub where she would be left to die with the TV crowd of Chukches are collected at the descent to their Terminal. Two men, he obstetrics a concise textbook rose to his feet.
423.111111
3,705
0.786502
eng_Latn
0.999874
577d610e692c1f82d290576620c920d0778ab4d4
171
md
Markdown
_posts/study/react/2021-02-11-React05.md
Oriharaa/orihara.github.io
266fc9a5c9318a17e729bae274bb58cbaa3e2695
[ "MIT" ]
null
null
null
_posts/study/react/2021-02-11-React05.md
Oriharaa/orihara.github.io
266fc9a5c9318a17e729bae274bb58cbaa3e2695
[ "MIT" ]
null
null
null
_posts/study/react/2021-02-11-React05.md
Oriharaa/orihara.github.io
266fc9a5c9318a17e729bae274bb58cbaa3e2695
[ "MIT" ]
null
null
null
--- layout: post title: "[React] 05.리액트555" subtitle: "개요" date: 2021-02-11 23:40:51 +0900 categories: study tags: REACT comments: true related_posts: --- # 개요 React ~~
11.4
31
0.678363
eng_Latn
0.322732
577db05e3808e4ad92334ce85f5d05736b35923a
568
md
Markdown
README.md
wieczorekmarcin/gameOfLife
c63bc9a717ce81ff87db30be0fd70a40275800ac
[ "MIT" ]
null
null
null
README.md
wieczorekmarcin/gameOfLife
c63bc9a717ce81ff87db30be0fd70a40275800ac
[ "MIT" ]
null
null
null
README.md
wieczorekmarcin/gameOfLife
c63bc9a717ce81ff87db30be0fd70a40275800ac
[ "MIT" ]
null
null
null
# Game of Life Implementation of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway's_Game_of_Life) in MVC architecture. It was invented by John Horton Conway, a British mathematician, in 1970. It takes place on a square grid of cells, where each cell can be either alive or dead. Their behavior is governed by the following rules: - cell comes alive when it has exactly three neighbors alive, - cell survives when it has two or three live neighbors (it dies when it has fewer than two - from loneliness, or when it has more than four - from overcrowding).
71
162
0.77993
eng_Latn
0.999946
577f971d48ddd83ec07c5991b543490926bc171c
125
md
Markdown
README.md
YoussefRabeii/sudoku-js
14ba66f28328f67bca6e6a7f53d2ea6707c50aef
[ "MIT" ]
null
null
null
README.md
YoussefRabeii/sudoku-js
14ba66f28328f67bca6e6a7f53d2ea6707c50aef
[ "MIT" ]
1
2021-09-02T23:56:34.000Z
2021-09-02T23:56:34.000Z
README.md
YoussefRabeii/sudoku-js
14ba66f28328f67bca6e6a7f53d2ea6707c50aef
[ "MIT" ]
null
null
null
## sudoku-js ## Just an ordinary Sudoku Game that you can share ## https://www.sudoku-js.netlify.com ## ## Youssef Rabei ##
20.833333
47
0.68
kor_Hang
0.456779
577fd6be23336e5d675c692364aca4d0a38ecbcb
4,760
md
Markdown
How To Properly Add Code To The Repository.md
Zandy12/NHNAC-website
30842563c52923a29155c723787b2e64c2178d5c
[ "0BSD" ]
null
null
null
How To Properly Add Code To The Repository.md
Zandy12/NHNAC-website
30842563c52923a29155c723787b2e64c2178d5c
[ "0BSD" ]
3
2021-07-20T03:25:37.000Z
2021-09-01T22:45:16.000Z
How To Properly Add Code To The Repository.md
Nathan-Crabtree/NHNAC-website
30842563c52923a29155c723787b2e64c2178d5c
[ "0BSD" ]
1
2021-08-04T08:42:15.000Z
2021-08-04T08:42:15.000Z
# Adding Code To The Repository When adding code to the repository, it's important to follow this procedure (which you may already know) to avoid creating issues on the master branch and will help making the process of deploying code a more pleasant experience. :) If you have any questions, please feel free to reach out to me at [email protected]. Thanks. - Zane ## Fork the repository The option to fork any repository on Github is on the top-right of the User Interface. When editing the code, you can only do so on your forked repository. ## Download the repository into your development environment Make sure you have a designated folder that on your work computer to insert the repository into. In your terminal (make sure your directory is pointing to the proper folder), type: ``` git clone git+ssh://[email protected]/<username>/NHNAC-website.git ``` *Note: Replace <username> with your actual Github account username.* When the command process is complete, you should have the repo files in your folder. ## Track the original repository as a remote of the fork *Note: This snippet of text was copied over from https://jarv.is/notes/how-to-pull-request-fork-github/* *This step is technically optional, but important if you plan to continue contributing to a project in the future, so we might as well…* Once you’ve forked a repository, changes to the original (or “upstream”) repository are not pushed to your fork. We need to tell the new repository to follow changes made upstream to keep it fresh via remotes. Switch directories to the forked repository you just cloned and run the following commands. Replace the last part of the first line with the original repository clone URL — similar to the how you grabbed the URL in step 2, but this isn’t the one with your username. This links the fork back to the original repository as a remote, which we’ll name upstream, and then fetch it. ``` git remote add --track master upstream [email protected]:facebook/react-native.git git fetch upstream ``` ## Catching up your forked repository with the original if you're falling behind on commits To make your repository even again with the original if your flagged on Github for falling n commits behind, simply type both of these commands sequentially: ``` git fetch upstream ``` ``` git pull upstream master ``` *Note: Make sure you are switched to the master branch in your local repository before running these commands.* ## Creating a new branch to store your code using Git Now to add code to the codebase, you must first create a seperate branch from the master. You can do this by typing in your terminal: ``` git checkout -b <branch-name> ``` *Note: Replace <branch-name> with whatever the name of the new branch is that you wish to name it.* ## Committing code to your newly created branch Side note, two important Git commands you will be using are: ``` git status ``` and ``` git diff ``` Both of these commands show the actual changes you've made to your branch when updating it and what isn't committed yet. "git diff" provides a bit more information. ## Adding new files To add a new or changed file to the repository, type in your terminal the following code: ``` git add <new-file> ``` *Note: Replace <new-file> with the new or changed file you would like to commit.* Also, you can use: ``` git add . ``` which bascially commits everything that exists within the folder, including the new or edited files. ## Committing new files To commit a new or edited file to the repository, type in your terminal the following command: ``` git commit -m "<message>" ``` *Note: Please change <message> with the commit change note you would like to associate with your change(s).* ## Pushing your code to the remote repository. To finally add your code to the forked repository existing in your account, type into your terminal: ``` git push origin <branch-name> ``` *Note: Replace <branch-name> with the name of your created branch in the beginning of the documentation.* ## Creating a pull request on the Github website. On your browser, go to the link where your forked repository exists. Click on "Pull Request", and then click on the option "Compare and Pull Request". When typing in your changes information, make sure to have your "base" and "base fork" linked to the original repository over at https://github.com/Zandy12/NHNAC-website. Also, make sure your "head fork" and "compare" are properly linked in your forked repository. When you're all set and you feel confident that all the information for your pull request is correct and is properly documented, click "Create Pull Request". After that, you should be all set and I will take over and review your code on my side :)
34.492754
265
0.761555
eng_Latn
0.999706
578066159f554ddebd1fc79f8517c64901a22c75
999
md
Markdown
README.md
amaurypm/noXseq
5f6198bb5c09ba0f32b3f8f3c078dd6837a3c9d0
[ "MIT" ]
null
null
null
README.md
amaurypm/noXseq
5f6198bb5c09ba0f32b3f8f3c078dd6837a3c9d0
[ "MIT" ]
null
null
null
README.md
amaurypm/noXseq
5f6198bb5c09ba0f32b3f8f3c078dd6837a3c9d0
[ "MIT" ]
null
null
null
# noXseq Given a set of protein sequences filters out those with non-standard residues. If not input file given it reads from the standard input and if not output file given it writes to standard output. ## Usage `usage: noXseq [-h] [-f {fasta,clustal,embl,genbank,imgt,phd,pir,tab}] [-v] [inseqfile] [outseqfile]` It can be inserted in command pipes. ## Installation This is a Python script, so, you can just run the uniqseq.py file or put a symbolic link in any directory of your PATH. The second option is recommend. ## Dependencies * Python3 * Biopython * argparse ## OSs It runs in Linux, probably in Mac OS too, but not tested. ## Examples `noXseq multiple_sequences_and_some_with_non_standard_aas.fasta only_sequences_without_non_standard_aas.fasta` `noXseq multiple_sequences_and_some_with_non_standard_aas.pir only_sequences_without_non_standard_aas.pir -f pir` `cat multiple_sequences_and_some_with_non_standard_aas.fasta | noXseq > only_sequences_without_non_standard_aas.fasta`
37
194
0.802803
eng_Latn
0.952856
5780b995ff0943fc9e8ee31fb0771c00c9b76c71
3,532
md
Markdown
readme.md
pandawing/node-yo-yo
cdeecc46dc6ec90d5278b642c8a8ba4334f0e88b
[ "MIT" ]
12
2015-07-25T21:03:06.000Z
2015-11-05T20:31:57.000Z
readme.md
pandawing/node-yo-yo
cdeecc46dc6ec90d5278b642c8a8ba4334f0e88b
[ "MIT" ]
5
2015-07-23T16:37:28.000Z
2016-02-01T05:11:10.000Z
readme.md
pandawing/node-yo-yo
cdeecc46dc6ec90d5278b642c8a8ba4334f0e88b
[ "MIT" ]
3
2015-08-22T19:39:11.000Z
2015-12-10T05:10:15.000Z
# run-yo [![NPM version][npm-image]][npm-url] [![Travis-CI Status][travis-image]][travis-url] [![Appveyor Status][appveyor-image]][appveyor-url] [![Daviddm Status][daviddm-image]][daviddm-url] > Run a yeoman generator which you are developing, very quickly. ![capture](https://cloud.githubusercontent.com/assets/75448/8856255/9c5dada0-31a4-11e5-99bd-36bfdbdd1991.gif) To speed up a development on your yeoman generator! Put a generated example into the generator repository easily. E.g. [pandawing/generator-nm5/example](https://github.com/pandawing/generator-nm5/tree/master/example) `run-yo` supports scoped module, like `@sanemat/generator-nm`. `run-yo` based on [yeomania](https://github.com/yosuke-furukawa/yeomania). For OS X, Linux And Windows. ## Outline 1. Create a directory in the system temporary directory. 2. Create a __symbolic link__ from src(working directory) to dest(temp/node_modules/your_generator). 3. Execute Yo [_your yeoman generator_] in the temporary directory. 4. Unlink the symbolic link. 5. Move the app which is generated to the target. ## Install ``` $ npm install --save run-yo ``` ## CLI ``` $ npm install --global run-yo ``` ``` $ run-yo --help Usage run-yo [input (default: example)] Examples run-yo (run the yeoman generator from ./ to ./example/ ) run-yo ../path/to/sample (run the yeoman generator from ./ to ../path/to/sample/ ) Options --stable RunYo safely, but slowly. Default: false --info Show a log above log level info. Default: true --verbose Show a log above log level verbose. Default: false --debug Show a log above log level debug. Default: false ``` ## API ### beta(input, [options]) *CLI Default* Create a directory in the system temporary directory, ~~`npm install` from working directory~~ __symbolic link__ from the generator, execute `yo [current generator]` and move to the target directory. #### input *Required* Type: `string` Run to the target directory. #### options ##### info Type: `boolean` Default: `true` Show a log above log level info. ##### verbose Type: `boolean` Default: `false` Show a log above log level verbose. ##### debug Type: `boolean` Default: `false` Show a log above log level debug. ### stable(input, [options]) Create a directory in the system temporary directory, `npm install` from working directory, execute `yo [current generator]` and move to the target directory. #### input *Required* Type: `string` Run to the target directory. #### options ##### info Type: `boolean` Default: `true` Show a log above log level info. ##### verbose Type: `boolean` Default: `false` Show a log above log level verbose. ##### debug Type: `boolean` Default: `false` Show a log above log level debug. ## Changelog [changelog.md](./changelog.md). ## License MIT © [sanemat](http://sane.jp) [travis-url]: https://travis-ci.org/pandawing/node-run-yo [travis-image]: https://img.shields.io/travis/pandawing/node-run-yo/master.svg?style=flat-square&label=travis [appveyor-url]: https://ci.appveyor.com/project/sanemat/node-run-yo/branch/master [appveyor-image]: https://img.shields.io/appveyor/ci/sanemat/node-run-yo/master.svg?style=flat-square&label=appveyor [npm-url]: https://npmjs.org/package/run-yo [npm-image]: https://img.shields.io/npm/v/run-yo.svg?style=flat-square [daviddm-url]: https://david-dm.org/pandawing/node-run-yo [daviddm-image]: https://img.shields.io/david/pandawing/node-run-yo.svg?style=flat-square
21.937888
199
0.707531
eng_Latn
0.580288
5780ec2b1497976ca619497ca19f97b589486ec8
4,896
md
Markdown
_problems/easy/ROLLBAR.md
captn3m0/codechef
9b9a127365d1209893e94f8430b909433af6b5f9
[ "WTFPL" ]
14
2015-11-27T15:49:32.000Z
2022-02-04T17:31:27.000Z
_problems/easy/ROLLBAR.md
ashrafulislambd/codechef
b192550188e13d7edb211746103fddf049272027
[ "WTFPL" ]
40
2015-12-16T12:58:07.000Z
2022-02-02T11:46:05.000Z
_problems/easy/ROLLBAR.md
ashrafulislambd/codechef
b192550188e13d7edb211746103fddf049272027
[ "WTFPL" ]
18
2015-03-30T09:35:35.000Z
2020-12-03T14:11:12.000Z
--- category_name: easy problem_code: ROLLBAR problem_name: 'Roll the Bar' languages_supported: - C - CPP14 - JAVA - PYTH - 'PYTH 3.6' - PYPY - CS2 - 'PAS fpc' - 'PAS gpc' - RUBY - PHP - GO - NODEJS - HASK - rust - SCALA - swift - D - PERL - FORT - WSPC - ADA - CAML - ICK - BF - ASM - CLPS - PRLG - ICON - 'SCM qobi' - PIKE - ST - NICE - LUA - BASH - NEM - 'LISP sbcl' - 'LISP clisp' - 'SCM guile' - JS - ERL - TCL - kotlin - PERL6 - TEXT - 'SCM chicken' - PYP3 - CLOJ - COB - FS max_timelimit: '2' source_sizelimit: '50000' problem_author: deva2802 problem_tester: null date_added: 21-02-2019 tags: - bfs - deva2802 - easy - graphtheory - ltime69 editorial_url: 'https://discuss.codechef.com/problems/ROLLBAR' time: view_start_date: 1550941202 submit_start_date: 1550941202 visible_start_date: 1550941202 end_date: 1735669800 current: 1559472958 is_direct_submittable: false layout: problem --- All submissions for this problem are available.\###Read problems statements \[Mandarin\](http://www.codechef.com/download/translated/LTIME69/mandarin/ROLLBAR.pdf) , \[Bengali\](http://www.codechef.com/download/translated/LTIME69/bengali/ROLLBAR.pdf) , \[Hindi\](http://www.codechef.com/download/translated/LTIME69/hindi/ROLLBAR.pdf) , \[Russian\](http://www.codechef.com/download/translated/LTIME69/russian/ROLLBAR.pdf) and \[Vietnamese\](http://www.codechef.com/download/translated/LTIME69/vietnamese/ROLLBAR.pdf) as well. You are given a $1 \\times 1 \\times 2$ bar (a cuboid) and a grid $A$ with $N$ rows (numbered $1$ through $N$) and $M$ columns (numbered $1$ through $M$). Let's denote the cell in row $r$ and column $c$ by $(r, c)$. Some cells of the grid are blocked, the remaining cells are free. Each cell has dimensions $1 \\times 1$, the same as two opposite faces of the cuboid. When the bar is placed on the grid in such a way that one of its two $1 \\times 1$ faces fully covers a cell $(r, c)$, we say that the bar is \*standing on\* the cell $(r, c)$. Initially, the bar is standing on a cell $(x, y)$. When the bar is placed on the grid, one of its faces is touching the grid; this face is called the \*base\*. In one move, you must roll the bar over one of its base edges (sides of the base); this base edge does not move and the bar is rotated $90^\\circ$ around it in such a way that it is still lying on the grid, but with a different base. In different moves, the bar may be rotated around different edges in different directions. After each move, the base of the bar must lie fully inside the grid and it must not cover any blocked cells. An example sequence of moves is shown \[here\](http://freegifmaker.me/img/res/1/5/5/0/6/9/15506903141352867.gif). For each cell of the grid, determine the minimum number of moves necessary to achieve the state where the bar is standing on this cell or determine that it is impossible to achieve. ### Input - The first line of the input contains a single integer $T$ denoting the number of test cases. The description of $T$ test cases follows. - The first line of each test case contains two space-separated integers $N$ and $M$. - The second line contains two space-separated integers $x$ and $y$. - $N$ lines follow. For each $i$ ($1 \\le i \\le N$), the $i$-th of these lines contains $M$ integers $A\_{i, 1}, A\_{i, 2}, \\ldots, A\_{i, M}$ (a string with length $M$). For each valid $i, j$, $A\_{i, j} = 0$ denotes that the cell $(i, j)$ is blocked and $A\_{i, j} = 1$ denotes that it is free. ### Output For each test case, print $N$ lines, each containing $M$ space-separated integers. For each valid $i, j$, the $j$-th integer on the $i$-th of these lines should denote the minimum number of moves necessary to have the bar stand on cell $(i, j)$, or it should be $-1$ if it is impossible. ### Constraints - $1 \\le T \\le 50$ - $1 \\le N, M \\le 1,000$ - $1 \\le x \\le N$ - $1 \\le y \\le M$ - $0 \\le A\_{i, j} \\le 1$ for each valid $i, j$ - $A\_{x, y} = 1$ - the sum of $N \\cdot M$ over all test cases does not exceed $10^6$ ### Subtasks \*\*Subtask #1 (15 points):\*\* - $x = 1$ - $y = 1$ - $A\_{i, j} = 1$ for each valid $i, j$ \*\*Subtask #2 (85 points):\*\* original constraints ### Example Input ``` 2 2 4 1 1 1111 0111 2 4 1 1 1111 0011 ``` ### Example Output ``` 0 -1 -1 2 -1 -1 -1 3 0 -1 -1 2 -1 -1 -1 -1 ``` ### Explanation \*\*Example case 1:\*\* Initially, the base of the bar occupies the cell $(1, 1)$. After the first move, it occupies the cells $(1, 2)$ and $(1, 3)$. After the second move, it can occupy the cell $(1, 4)$. Alternatively, after the second move, it can occupy the cells $(2, 2)$ and $(2, 3)$, and after the third move, it can occupy the cell $(2, 4)$.
62.769231
3,758
0.654616
eng_Latn
0.98331
5781eeee76c6136fa9ab26a13f109af233fa7309
2,065
md
Markdown
ch15/15.3.md
FreezeSoul/architect-manual
27f9cad59c11d17b665ddc315fb99116756cd2c0
[ "MIT" ]
91
2019-08-15T10:43:05.000Z
2022-03-26T11:36:20.000Z
ch15/15.3.md
scorpoin/architect-manual
4d2b904b83affa34610347c8de14f0cada197568
[ "MIT" ]
17
2019-08-15T15:28:21.000Z
2021-09-10T06:16:07.000Z
ch15/15.3.md
scorpoin/architect-manual
4d2b904b83affa34610347c8de14f0cada197568
[ "MIT" ]
23
2020-02-03T10:55:48.000Z
2022-03-17T07:37:56.000Z
# 15.3. 数据分布策略的3条应用原则 现在,我们已经全面了解数据分布的6种策略。下面,我们借助案例介绍数据分布6大策略的3条应用原则: - 把握系统特点,确定分布策略(合适原则) - 不同分布策略,可以综合运用(综合原则) - 从“对吗”、“好吗”两方面进行评估优化(优化原则) ## 15.3.1. 合适原则 > 合适的才是最好的。**“把握系统特点,确定分布策略”**,这是再明白无误的基本原则了。 医疗信息化中的电子病历可以复制,而各种系统常涉及的身份管理信息最忌讳复制。但为什么呢? 一句话,这是由系统的特点决定的。病历常作为医生诊断和治疗疾病的依据,是很有价值的资料。通过电子病历,可以将医务人员对病人患病经过和治疗所做的文字记录数字化,因此,电子冰雷的基本内容属于只读数据。为解决下列问题,电子病历可采用复制策略(例如在全网设置3个电子病历数据中心): - 各医院地域分布广,容易受到各种网络传输问题的干扰 - 如果不能使用专网,还要考虑“跨网络”性能差的问题 相反,身份管理信息不适合采用复制方式。用户信息有很强的修改特性: - 新用户注册,意味着将有数据`Insert`操作 - 用户修改密码或其他信息时,将有`Update`操作...... 这时,如果采用复制,会造成大量数据同步操作。 所以,身份管理信息要集中,电子病历可以通过复制来提升性能和可访问性。 ![把握系统特点,确定分布策略(合适原则)](images/把握系统特点,确定分布策略(合适原则).png) ## 15.3.2. 综合原则:服务受理系统 vs 外线施工管理系统案例 > 当系统比较复杂是,其数据产生、使用、管理等方向可能很难表现出“压倒性”的特点。此时,就需要考虑综合运用不同数据分布策略。 电信`BOSS`(业务运营支撑系统)是电信运营商的一体化支持系统,它主要由网络管理、系统管理、计费、营业、账务和客户服务等部分组成。信息资源共享是`BOSS`规划是的核心问题之一。 ![客户申请服务开通所涉及的业务流程](images/客户申请服务开通所涉及的业务流程.png) 其中自己“服务受理系统”和“外线施工管理系统”两个系统所覆盖的业务是相对独立的,各有自己的业务数据,采用“独立`Schema`”这种数据分布策略非常合适。至于两个系统之间存在互操作的关系,通过远程服务调用等形式支持即可。 单就“S市电信服务受理系统”而言,应采用什么数据分布策略呢?考虑系统欲达成到以下目标: - 服务受理系统,应提供跨全市各辖区的、统一的服务。这意味着,在全市任何一家营业厅,都应该可以受理任何一个小区的电话开通业务。 - 例如,一个客户在浦东区居住,但在杨浦区上班,服务受理系统必须支持该客户在杨浦区申请开通浦东区某小区的一部固定电话。 - ...... 所以,数据应集中。 再考虑“外线施工管理系统”。从业务角度,外线工作还是典型的“划片分管”模式,一般由支局负责。所以,推荐外线施工管理系统“开发一套,多点部署”--数据分布策略是:**水平分区**。 总结一下,本例综合应用了3种数据分布策略 - 独立`Schema`--服务受理系统和外线施工管理系统的数据相互独立 - 数据集中--服务受理系统 - 水平分区--外线施工管理系统 ![不同分布策略,可以综合运用(综合原则)](images/不同分布策略,可以综合运用(综合原则).png) ## 15.3.3. 优化原则:铃声下载门户案例 > 架构设计是一个过程,合理的架构往往需求团队甚至外部的意见,因此注重优化原则很重要。一个有用的技巧是:当难以“一步到位”的做出数据分布策略的正确选择,以及还存在质疑时,应从“对吗”、“好吗”两方面进行对比、评估、优化。 关于铃声下载门户的数据存储方案,张、王、李、赵4人分别提出了4种方案:分区、复制、子集、集中,他们各不相让,几乎要吵起来了...... 解决分歧、优化设计的方法是从“对吗”、“好吗”两方面进行对比评估。思维过程如下: - 分区。在功能支持方面,没有任何问题。但是在非功能方面不好,例如没有解决性能问题。 - 复制。在功能支持方面依然没有任何问题,但是太贵,大量并不流行,甚至无人感兴趣的铃声被多次复制是无意义的。 - 子集。在非功能方面有着独有的优势,将部分流行的铃声在多点进行复制存储既促进了性能,又没有增加过多成本。但子集方式必然是一种辅助方式,因为它需要和另一种支持所有铃声保存的策略一起使用。 - 集中。用它和子集策略“搭配”,最为合适。 ![从“对吗”、“好吗”两方面进行对比评估,利于找到优化的方案](images/从“对吗”、“好吗”两方面进行对比评估,利于找到优化的方案.png) 如此一来,总体的数据分布策略方案呈现出来:集中策略 + 子集策略。 ![铃声下载门户的数据分布策略](images/铃声下载门户的数据分布策略.png)
26.818182
136
0.79322
yue_Hant
0.537475
57822b939992f242e5822022f64fb7df3c39edfd
535
md
Markdown
README.md
David-solly/auth_microservice
c131d262f259f6d34fe9470095db6c0bcbfaaf7a
[ "MIT" ]
null
null
null
README.md
David-solly/auth_microservice
c131d262f259f6d34fe9470095db6c0bcbfaaf7a
[ "MIT" ]
null
null
null
README.md
David-solly/auth_microservice
c131d262f259f6d34fe9470095db6c0bcbfaaf7a
[ "MIT" ]
null
null
null
# auth_microservice Handles jwt provisioning, and verification. REQUIRED - - Redis instance to be running. Client exposes a REST API with JSON payloads. Server is a gRPC server that registers with hashicorp's consul for health checks implementation of the [gokit-microservice-starter](https://github.com/David-solly/gokit-microservice-starter) ## jwt-service Handles basic jwt authentication. Issues an expiring token pair, silent refresh and delete functions. corresponding to a persistent login session and logout when done.
41.153846
167
0.805607
eng_Latn
0.898688
578283db2c5c6798108e1807f8a7e4afd8060652
12,680
md
Markdown
_docs/_docs/build-a-simple-movie-recommender-with-tensorflow.md
sparsh-ai/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
null
null
null
_docs/_docs/build-a-simple-movie-recommender-with-tensorflow.md
sparsh-ai/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
1
2022-01-12T05:40:57.000Z
2022-01-12T05:40:57.000Z
_docs/_docs/build-a-simple-movie-recommender-with-tensorflow.md
RecoHut-Projects/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
null
null
null
--- jupyter: jupytext: text_representation: extension: .md format_name: markdown format_version: '1.3' jupytext_version: 1.13.7 kernelspec: display_name: Python 3 language: python name: python3 --- # A simple recommender with tensorflow > A tutorial on how to build a simple deep learning based movie recommender using tensorflow library. - toc: true - badges: true - comments: true - categories: [movie, tensorflow] - image: ```python id="hLtJPt_5idKN" import numpy as np import pandas as pd import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers from tensorflow.keras import models tf.random.set_seed(343) ``` ```python id="DNLlAwKUihC1" # Clean up the logdir if it exists import shutil shutil.rmtree('logs', ignore_errors=True) # Load TensorBoard extension for notebooks %load_ext tensorboard ``` ```python colab={"base_uri": "https://localhost:8080/", "height": 204} id="8IRTF0EVjQuX" outputId="932eaa43-725c-4fb8-e9d4-dca92ced4cf0" movielens_ratings_file = 'https://github.com/sparsh-ai/reco-data/blob/master/MovieLens_100K_ratings.csv?raw=true' df_raw = pd.read_csv(movielens_ratings_file) df_raw.head() ``` ```python colab={"base_uri": "https://localhost:8080/"} id="El1C8OwWjhxk" outputId="f8ed06e7-8554-45f2-982d-987f153a5cc7" df = df_raw.copy() df.columns = ['userId', 'movieId', 'rating', 'timestamp'] user_ids = df['userId'].unique() user_encoding = {x: i for i, x in enumerate(user_ids)} # {user_id: index} movie_ids = df['movieId'].unique() movie_encoding = {x: i for i, x in enumerate(movie_ids)} # {movie_id: index} df['user'] = df['userId'].map(user_encoding) # Map from IDs to indices df['movie'] = df['movieId'].map(movie_encoding) n_users = len(user_ids) n_movies = len(movie_ids) min_rating = min(df['rating']) max_rating = max(df['rating']) print(f'Number of users: {n_users}\nNumber of movies: {n_movies}\nMin rating: {min_rating}\nMax rating: {max_rating}') # Shuffle the data df = df.sample(frac=1, random_state=42) ``` <!-- #region id="1W5V8T-C8Gpv" --> ### Scheme of the model <!-- #endregion --> ```python id="G-iv9rijkaBf" class MatrixFactorization(models.Model): def __init__(self, n_users, n_movies, n_factors, **kwargs): super(MatrixFactorization, self).__init__(**kwargs) self.n_users = n_users self.n_movies = n_movies self.n_factors = n_factors # We specify the size of the matrix, # the initializer (truncated normal distribution) # and the regularization type and strength (L2 with lambda = 1e-6) self.user_emb = layers.Embedding(n_users, n_factors, embeddings_initializer='he_normal', embeddings_regularizer=keras.regularizers.l2(1e-6), name='user_embedding') self.movie_emb = layers.Embedding(n_movies, n_factors, embeddings_initializer='he_normal', embeddings_regularizer=keras.regularizers.l2(1e-6), name='movie_embedding') # Embedding returns a 3D tensor with one dimension = 1, so we reshape it to a 2D tensor self.reshape = layers.Reshape((self.n_factors,)) # Dot product of the latent vectors self.dot = layers.Dot(axes=1) def call(self, inputs): # Two inputs user, movie = inputs u = self.user_emb(user) u = self.reshape(u) m = self.movie_emb(movie) m = self.reshape(m) return self.dot([u, m]) n_factors = 50 model = MatrixFactorization(n_users, n_movies, n_factors) model.compile( optimizer=keras.optimizers.Adam(learning_rate=0.001), loss=keras.losses.MeanSquaredError() ) ``` ```python colab={"base_uri": "https://localhost:8080/"} id="Bac1w7u49Ddx" outputId="bb733033-9aba-446b-a56d-f971897221d0" try: model.summary() except ValueError as e: print(e, type(e)) ``` <!-- #region id="o-JSFnJA-1dz" --> This is why building models via subclassing is a bit annoying - you can run into errors such as this. We'll fix it by calling the model with some fake data so it knows the shapes of the inputs. <!-- #endregion --> ```python colab={"base_uri": "https://localhost:8080/"} id="7wkIhqmO92Ca" outputId="6825be87-3d5e-4d25-e276-5043ff3a3bb9" _ = model([np.array([1, 2, 3]), np.array([2, 88, 5])]) model.summary() ``` <!-- #region id="9Nxdrz7b_HOq" --> We're going to expand our toolbox by introducing callbacks. Callbacks can be used to monitor our training progress, decay the learning rate, periodically save the weights or even stop early in case of detected overfitting. In Keras, they are really easy to use: you just create a list of desired callbacks and pass it to the model.fit method. It's also really easy to define your own by subclassing the Callback class. You can also specify when they will be triggered - the default is at the end of every epoch. We'll use two: an early stopping callback which will monitor our loss and stop the training early if needed and TensorBoard, a utility for visualizing models, monitoring the training progress and much more. <!-- #endregion --> ```python colab={"base_uri": "https://localhost:8080/"} id="6N_Y7u5o-QpY" outputId="b4f299bc-25e2-4e38-b349-dc07184fb488" callbacks = [ keras.callbacks.EarlyStopping( # Stop training when `val_loss` is no longer improving monitor='val_loss', # "no longer improving" being defined as "no better than 1e-2 less" min_delta=1e-2, # "no longer improving" being further defined as "for at least 2 epochs" patience=2, verbose=1, ), keras.callbacks.TensorBoard(log_dir='logs') ] history = model.fit( x=(df['user'].values, df['movie'].values), # The model has two inputs! y=df['rating'], batch_size=128, epochs=20, verbose=1, validation_split=0.1, callbacks=callbacks ) ``` <!-- #region id="5QUGLmtw_eWA" --> We see that we stopped early because the validation loss was not improving. Now, we'll open TensorBoard (it's a separate program called via command-line) to read the written logs and visualize the loss over all epochs. We will also look at how to visualize the model as a computational graph. <!-- #endregion --> ```python id="_J-v9Hua_SV8" # Run TensorBoard and specify the log dir %tensorboard --logdir logs ``` <!-- #region id="Ldq0DwgI_lWC" --> We've seen how easy it is to implement a recommender system with Keras and use a few utilities to make it easier to experiment. Note that this model is still quite basic and we could easily improve it: we could try adding a bias for each user and movie or adding non-linearity by using a sigmoid function and then rescaling the output. It could also be extended to use other features of a user or movie. <!-- #endregion --> <!-- #region id="-dpCn5hm_nUM" --> Next, we'll try a bigger, more state-of-the-art model: a deep autoencoder. <!-- #endregion --> <!-- #region id="zTGdZ0b4_4rl" --> We'll apply a more advanced algorithm to the same dataset as before, taking a different approach. We'll use a deep autoencoder network, which attempts to reconstruct its input and with that gives us ratings for unseen user / movie pairs. <!-- #endregion --> <!-- #region id="4zZ5N6K0_7sN" --> <!-- #endregion --> <!-- #region id="rSdY5NKQAYfI" --> Preprocessing will be a bit different due to the difference in our model. Our autoencoder will take a vector of all ratings for a movie and attempt to reconstruct it. However, our input vector will have a lot of zeroes due to the sparsity of our data. We'll modify our loss so our model won't predict zeroes for those combinations - it will actually predict unseen ratings. To facilitate this, we'll use the sparse tensor that TF supports. Note: to make training easier, we'll transform it to dense form, which would not work in larger datasets - we would have to preprocess the data in a different way or stream it into the model. <!-- #endregion --> <!-- #region id="dVNWDq4aAbLE" --> ### Sparse representation and autoencoder reconstruction <!-- #endregion --> ```python colab={"base_uri": "https://localhost:8080/", "height": 204} id="OWybs9LyE8bB" outputId="1e108c11-a007-4942-bf0d-50409e4bbb1d" df_raw.head() ``` ```python id="M9jASOsh_gvU" # Create a sparse tensor: at each user, movie location, we have a value, the rest is 0 sparse_x = tf.sparse.SparseTensor(indices=df[['movie', 'user']].values, values=df['rating'], dense_shape=(n_movies, n_users)) # Transform it to dense form and to float32 (good enough precision) dense_x = tf.cast(tf.sparse.to_dense(tf.sparse.reorder(sparse_x)), tf.float32) # Shuffle the data x = tf.random.shuffle(dense_x, seed=42) ``` <!-- #region id="1j2-lFANEp8t" --> Now, let's create the model. We'll have to specify the input shape. Because we have 9724 movies and only 610 users, we'll prefer to predict ratings for movies instead of users - this way, our dataset is larger. <!-- #endregion --> ```python colab={"base_uri": "https://localhost:8080/"} id="9s4qXdbuEpuX" outputId="45ac7925-b8f3-44dd-8e35-53fa7192b538" class Encoder(layers.Layer): def __init__(self, **kwargs): super(Encoder, self).__init__(**kwargs) self.dense1 = layers.Dense(28, activation='selu', kernel_initializer='glorot_uniform') self.dense2 = layers.Dense(56, activation='selu', kernel_initializer='glorot_uniform') self.dense3 = layers.Dense(56, activation='selu', kernel_initializer='glorot_uniform') self.dropout = layers.Dropout(0.3) def call(self, x): d1 = self.dense1(x) d2 = self.dense2(d1) d3 = self.dense3(d2) return self.dropout(d3) class Decoder(layers.Layer): def __init__(self, n, **kwargs): super(Decoder, self).__init__(**kwargs) self.dense1 = layers.Dense(56, activation='selu', kernel_initializer='glorot_uniform') self.dense2 = layers.Dense(28, activation='selu', kernel_initializer='glorot_uniform') self.dense3 = layers.Dense(n, activation='selu', kernel_initializer='glorot_uniform') def call(self, x): d1 = self.dense1(x) d2 = self.dense2(d1) return self.dense3(d2) n = n_users inputs = layers.Input(shape=(n,)) encoder = Encoder() decoder = Decoder(n) enc1 = encoder(inputs) dec1 = decoder(enc1) enc2 = encoder(dec1) dec2 = decoder(enc2) model = models.Model(inputs=inputs, outputs=dec2, name='DeepAutoencoder') model.summary() ``` <!-- #region id="aqXWA_TQGMDa" --> Because our inputs are sparse, we'll need to create a modified mean squared error function. We have to look at which ratings are zero in the ground truth and remove them from our loss calculation (if we didn't, our model would quickly learn to predict zeros almost everywhere). We'll use masking - first get a boolean mask of non-zero values and then extract them from the result. <!-- #endregion --> ```python id="G7AyGH8IFXAj" def masked_mse(y_true, y_pred): mask = tf.not_equal(y_true, 0) se = tf.boolean_mask(tf.square(y_true - y_pred), mask) return tf.reduce_mean(se) model.compile( loss=masked_mse, optimizer=keras.optimizers.Adam() ) ``` <!-- #region id="6O-Hqm_FGTmz" --> The model training will be similar as before - we'll use early stopping and TensorBoard. Our batch size will be smaller due to the lower number of examples. Note that we are passing the same array for both x and y, because the autoencoder reconstructs its input. <!-- #endregion --> ```python colab={"base_uri": "https://localhost:8080/"} id="OHoZ3IuJGSrL" outputId="7923e0b0-7bc6-42ba-b3e6-c2bfe025291d" callbacks = [ keras.callbacks.EarlyStopping( monitor='val_loss', min_delta=1e-2, patience=5, verbose=1, ), keras.callbacks.TensorBoard(log_dir='logs') ] model.fit( x, x, batch_size=16, epochs=100, validation_split=0.1, callbacks=callbacks ) ``` <!-- #region id="kkkhIjHhGhP5" --> Let's visualize our loss and the model itself with TensorBoard. <!-- #endregion --> ```python id="MMVp_HbwGdGQ" %tensorboard --logdir logs ``` <!-- #region id="eSBFppW8Gkih" --> That's it! We've seen how to use TensorFlow to implement recommender systems in a few different ways. I hope this short introduction has been informative and has prepared you to use TF on new problems. Thank you for your attention! <!-- #endregion -->
39.501558
511
0.685804
eng_Latn
0.918729
57831b170170c4c8d2f8ca419977abd0546aafc6
3,743
md
Markdown
README.md
resbazaz/core_mission
c55049f4747bede7107b9505aa2cf42c7a624f51
[ "MIT" ]
null
null
null
README.md
resbazaz/core_mission
c55049f4747bede7107b9505aa2cf42c7a624f51
[ "MIT" ]
8
2017-03-11T15:27:42.000Z
2020-06-02T16:37:28.000Z
README.md
resbazaz/core_mission
c55049f4747bede7107b9505aa2cf42c7a624f51
[ "MIT" ]
1
2019-10-06T02:31:56.000Z
2019-10-06T02:31:56.000Z
# Research Bazaar Arizona Mission The [Research Bazaar](https://resbazblog.wordpress.com/) is a worldwide community promoting the digital literacy emerging at the center of modern research. The Tucson chapter has been established by University of Arizona students, researchers, and staff. Known as **Research Bazaar Arizona**, shortened to **ResBazAZ** or **ResB[AZ]2** as featured on our logo. ### This mission manifests as three core focus areas: ## Campaign ResBaz Arizona teaches research tools through peer-to-peer interactions driven by a community of researchers. Students and researchers are uniquely aware of what it takes to survive in the research world, and it is this shared experience that allows peers to understand, train, and support each other. Additionally, there is an overwhelming need to train researchers in new and emerging interdisciplinary domains such as bioinformatics and data science. Traditional departmental classes and organizations are by nature slow to generate course materials and degree programs to meet this need. ResBaz Arizona activities dovetail perfectly with other international computational teaching organizations like Data & Software Carpentry to produce synergistic communities that cut across traditional departmental divisions. ResBaz Arizona is community-organized and thus scales to the demand for training. . But ResBaz Arizona cannot do anything alone! This leads to the second area of focus. ## Community *Training researchers to use tools and then releasing them into the wild is not enough.* We host weekly and annual events to continually engage researchers once they have started to leverage their new computing knowledge for their domain research. We also point out to other organizations that are doing great computational, domain-agnostic, and/or interdisciplinary things on campus, e.g. [iSpace](https://new.library.arizona.edu/ispace), [The Carpentries](https://carpentries.org/), the [BIO5 Institute](http://bio5.org/), and the [UA Graduate Center](https://gradcenter.arizona.edu/). There are so many people distributed across the University of Arizona working to make research faster, smarter, more reproducible, more diverse, and have broader impact that it can be difficult for any one person to find them all. Enter ResBazAZ: we are domain- and department-agnostic and so can act as a central hub to point people in need to other resources at the University of Arizona and beyond. ## Conference During the month of February and March the annual Research Bazaar events will be held at a number of university campuses around the globe. The aim of these events is to equip researchers from all career stages with the digital skills and tools required to do their research better, faster, and smarter. A unique blend of academic and social life, **ResBaz** is an event unlike most academic conferences you have attended. The focus is on short talks that demonstrate a researcher’s needs, knowledge, interests, or tools that are available to address research questions. All disciplines will be represented from linguistics, the humanities, engineering, life sciences, and astronomy. Breakout, hands-on sessions will be hosted in groups. This is then followed by longer workshops that will be available on the second day of the annual Bazaar. Additionally, there will be social and networking events for attendees to meet other researchers across the campus. These are designed to help break down the natural departmental and domain divisions that exists on all university campuses. Ultimately, the goal is to foster interdisciplinary collaboration, interaction, and to strengthen the University of Arizona research community as a whole.
81.369565
403
0.804969
eng_Latn
0.999466
5784392c52473fc7cf8c7a4a938839aca6f8b5a2
54
md
Markdown
README.md
asambeka/goetl
78a56e706ed40b89a15b4e6ce230dce31bc191d1
[ "Apache-2.0" ]
null
null
null
README.md
asambeka/goetl
78a56e706ed40b89a15b4e6ce230dce31bc191d1
[ "Apache-2.0" ]
null
null
null
README.md
asambeka/goetl
78a56e706ed40b89a15b4e6ce230dce31bc191d1
[ "Apache-2.0" ]
null
null
null
# goetl Extract, Trasform and Load (ETL) using golang
18
45
0.759259
eng_Latn
0.924189
5784afec738e1a8c330af1b6fe7843b4fa1656e2
12,407
md
Markdown
articles/finance/accounts-payable/sepa-credit-transfer.md
MicrosoftDocs/Dynamics-365-Operations.nl-nl
e1579117bba04a73a7505bd75ca96612ede76a98
[ "CC-BY-4.0", "MIT" ]
3
2020-05-18T17:14:39.000Z
2021-11-22T14:11:57.000Z
articles/finance/accounts-payable/sepa-credit-transfer.md
MicrosoftDocs/Dynamics-365-Operations.nl-nl
e1579117bba04a73a7505bd75ca96612ede76a98
[ "CC-BY-4.0", "MIT" ]
7
2017-12-12T13:10:45.000Z
2019-04-30T11:45:57.000Z
articles/finance/accounts-payable/sepa-credit-transfer.md
MicrosoftDocs/Dynamics-365-Operations.nl-nl
e1579117bba04a73a7505bd75ca96612ede76a98
[ "CC-BY-4.0", "MIT" ]
1
2019-10-12T18:21:21.000Z
2019-10-12T18:21:21.000Z
--- title: Overzicht SEPA-kredietoverdracht description: Dit artikel geeft algemene informatie over ISO 20022-overschrijvingen, waaronder SEPA-overschrijvingen (Single euro Payments Area) en andere elektronische betalingen voor leveranciers. Een SEPA-kredietoverdracht is een specifiek type betaling in euro's van een persoon of bedrijf aan een andere persoon of bedrijf. In dit onderwerp wordt ook beschreven hoe u een kredietoverdrachtbetalingsbestand kunt instellen en verzenden. author: sunfzam ms.date: 06/20/2017 ms.topic: article ms.prod: '' ms.technology: '' ms.search.form: LedgerJournalTransVendInvoice, LedgerJournalTransVendPaym, VendPaymMode audience: Application User ms.reviewer: roschlom ms.custom: - "11124" - intro-internal ms.assetid: 36b0f870-16d4-4bbb-8da5-e747e69b970d ms.search.region: Global ms.author: mrolecki ms.search.validFrom: 2016-02-28 ms.dyn365.ops.version: AX 7.0.0 ms.openlocfilehash: 7bc62f6912433d698024b20e61f54b9a6aea2bbb ms.sourcegitcommit: e40a9fac5bac9f57a6dcfe73a1f21856eab9b6a9 ms.translationtype: HT ms.contentlocale: nl-NL ms.lasthandoff: 10/02/2021 ms.locfileid: "7594762" --- # <a name="sepa-credit-transfer-overview"></a>Overzicht SEPA-kredietoverdracht [!include [banner](../includes/banner.md)] Dit artikel geeft algemene informatie over ISO 20022-overschrijvingen, waaronder SEPA-overschrijvingen (Single euro Payments Area) en andere elektronische betalingen voor leveranciers. Een SEPA-kredietoverdracht is een specifiek type betaling in euro's van een persoon of bedrijf aan een andere persoon of bedrijf. In dit onderwerp wordt ook beschreven hoe u een kredietoverdrachtbetalingsbestand kunt instellen en verzenden. ## <a name="what-is-a-credit-transfer-message"></a>Wat is een kredietoverdrachtsbericht? Het kredietoverdrachtbericht is een aanvraag die een initiërende partij (uw bedrijf) verzendt om fondsen van een eigen rekening naar een crediteur over te maken. Er zijn veel land- of regio-specifieke en bank-specifieke implementaties van kredietoverdrachtberichten. Enkele daarvan worden gebruikt in een bepaald land/regio en sommige worden standaarden. Een algemeen aanvaarde internationale standaard is ISO 20022 en het initiatiebericht, zoals kredietoverdracht. In de volgende afbeelding ziet u de relaties en dekking voor geselecteerde kredietoverdrachtberichten ![Kredietoverdracht.](./media/credit-transfer.jpg) Berichten over kredietoverdracht ## <a name="what-are-iso-20022-and-sepa-payments"></a>Wat zijn ISO 20022- en SEPA-betalingen? De gemeenschappelijke betalingsruimte voor de euro (SEPA) is ingesteld door de Europese Commissie en dicteert dat alle elektronische betalingen als binnenlands worden beschouwd, ongeacht het land/de regio waar de persoon, het bedrijf of organisatie en de bank zich bevinden. Er is geen verschil tussen nationale en grensoverschrijdende betalingen. De SEPA omvat de 28 lidstaten van de Europese Unie (EU) plus IJsland, Liechtenstein, Noorwegen, Zwitserland, Monaco en San Marino. De SEPA helpt met de opbouw van een markt voor betalingstransacties in de Europese Economische Ruimte (EEA). Uiteindelijk moet SEPA het aantal betaalindelingen verminderen waar banken, bedrijven en personen mee moeten werken. De Europese Commissie vestigde de wettelijke basis voor SEPA-betalingen via de Richtlijn betaaldiensten (PSD, Payment Services Directive). De European Payments Council (EPC) ondersteunt SEPA met de volgende activiteiten: - De EPC bepaalt de standaarden voor elektronische SEPA-betalingen met behulp van de ISO 20022 UNIFI (Universal financial industry message scheme) XML-indeling. - De EPC ontwikkelt regels en richtlijnen over het afhandelen van eurobetalingen. De EPC, die bestaat uit Europese banken, ontwikkelt commerciële en technische raamwerken voor SEPA-betaalmiddelen. Er worden drie typen SEPA-betalingen gebruikt: - Kredietoverdrachten - Automatische afschrijvingen - Kaarten ## <a name="what-is-a-sepa-credit-transfer"></a>Wat is een SEPA-kredietoverdracht? Een SEPA-kredietoverdracht is een betaling van een persoon of bedrijf aan een andere persoon of bedrijf. De betalingen moeten in euro's zijn en moeten het Internationale Bankrekeningnummer (IBAN) en de BIC (Bank Identifier Code) voor beide partijen bevatten De BIC wordt ook wel SWIFT-code genoemd \[Society for Worldwide Interbank Financial Telecommunication SWIFT\]. Bovendien moeten transactiekosten worden gedeeld door de beide partijen. Voor kredietoverdrachten tussen partijen moeten XML-bestanden worden gebruikt die voldoen aan de ISO 20022 betalingsverwerkingsstandaarden en de XML-indeling voldoen, zoals opgegeven door de EPC. ## <a name="how-is-a-credit-transfer-implemented"></a>Hoe wordt een kredietoverdracht uitgevoerd? De indeling voor kredietoverdrachtbetaling voor Europese landen wordt uitgevoerd met behulp van de functionaliteit voor Elektronische Rapportage en Betalingsmethoden in Microsoft Dynamics 365 Finance. Enkele kredietoverdrachtindelingen die in andere regio's worden gebruikt, gebruiken nog het oude framework voor betalingen. Er zijn vele andere indelingen beschikbaar, waaronder twaalf ISO 20022-bestandsindelingen voor kredietoverdracht. Deze exportindelingen voldoen aan de XML-standaard ISO 20022 voor SEPA. Zij zijn bedoeld om betalingsoverschrijvingen in andere valuta dan euro te genereren, voor de landen/regio's waar ze worden gebruikt, en betalingen in euro zoals opgegeven in versie 8.2 van het SEPA Credit Transfer Scheme Rulebook dat de EPC uitgeeft. Voordat u kredietoverdrachten kunt uitvoeren, moet u contact opnemen met uw bank om software te krijgen die vereist is voor het uploaden van bestanden voor elektronisch bankieren. U kunt die software gebruiken om de XML-bestanden met betalingsopdrachten naar uw bank over te zetten. ## <a name="what-credit-transfer-formats-are-currently-supported"></a>Welke kredietoverdracht-indelingen worden momenteel ondersteund? U moet altijd naar de bibliotheek voor gedeelde activa in Microsoft Dynamics Lifecycle Services (LCS) gaan en de meest recente lijst weergeven met beschikbare bestanden die het activumtype **GER-configuratie** hebben. In de volgende sectie, 'Wat moet ik instellen?' vindt u een koppeling naar het onderwerp met informatie over het maken van een LCS-opslagplaats voor het controleren van de beschikbare configuraties en het importeren van geselecteerde configuraties. ## <a name="what-do-i-have-to-set-up"></a>Wat moet ik instellen? - Voordat u kredietoverdrachtbestanden kunt maken, moet tenminste één actieve kredietoverdrachtconfiguratie in uw ER-configuraties worden geïmporteerd. Zie voor instructies het onderwerp [Elektronische rapportageconfiguraties downloaden vanuit Lifecycle Services](../../fin-ops-core/dev-itpro/analytics/download-electronic-reporting-configuration-lcs.md). - Wanneer u betalingsmethoden voor leveranciers configureert, selecteert u het selectievakje **Algemene elektronische rapportage**. Selecteer vervolgens de gewenste kredietoverdrachtindeling (bijvoorbeeld **ISO 20022 Kredietoverdracht**) als exportindelingsconfiguratie. - U moet ook de rechtspersoon en bankrekeninggegevens instellen. - Bankrekeningnummers, IBAN's en soms SWIFT-codes (BIC's) of andere id's zijn vereist om geldige kredietoverdracht betalingen te kunnen maken. Daarom moet u deze instellen voor de bankrekening van de leverancier en de bankrekening van de organisatie die de overdracht aanvraagt. - Mogelijk is aanvullende informatie vereist, zoals btw-nummers voor de partijen waarnaar wordt verwezen in het kredietoverdrachtbericht. Deze informatie moet worden ingesteld voor leveranciers en voor de rechtspersoon wanneer daarom wordt gevraagd. - Sommige leveranciersbetalingsmethoden, meestal de betalingsmethoden op basis van ISO 20022, kunnen aanvullende instellingen vereisen voor **Codesets van de betalingsindeling**, zoals **Servicetype** = **SLEV**. Deze codes worden gebruikt als extra labels voor betalingstransacties tijdens de verwerking van betalingen. Standaardwaarden van betalingscodes, zoals **Categoriedoel**, **Aansprakelijke voor de kosten**, **Lokaal instrument** en **Serviceniveau** kunnen worden ingesteld op twee plaatsen. De eerste plaats is **Journaalkoptekst voor leveranciersbetalingen** en de tweede is **Betalingsmethoden voor leveranciers**. Bij het maken van regels in een betalingsjournaal, worden de waarden van betalingscodes die zijn ingesteld op de betalingsjournaalkoptekst overgebracht naar een journaalregel. Als ze niet zijn ingesteld, worden de waarden uit Betalingsmethoden gebruikt. ## <a name="what-parameters-are-available-for-generating-credit-transfer-payments"></a>Welke parameters zijn beschikbaar voor het genereren van kredietoverdrachtbetalingen? De lijst met specifieke parameters is afhankelijk van de indeling van de kredietoverdracht. In de volgende tabel staan de parameters die beschikbaar zijn wanneer u een ISO 20022-kredietoverdrachtbetalingsbestand voor Duitsland in een leveranciersbetalingsjournaal genereert. Met de opties op het tabblad **Op de achtergrond uitvoeren** kunt u betalingen genereren in batchmodus. <table> <colgroup> <col width="50%" /> <col width="50%" /> </colgroup> <thead> <tr class="header"> <th>Veld</th> <th>Omschrijving</th> </tr> </thead> <tbody> <tr class="odd"> <td>Batch boeken</td> <td>Schakel dit selectievakje in om het batchboekingslabel in het XML-bestand op te nemen.</td> </tr> <tr class="even"> <td>Verwerking van datum</td> <td>Voer de datum in waarop de bank de betalingen moet verwerken.</td> </tr> <tr class="odd"> <td>Opmaak</td> <td>Selecteer de indeling voor remisegegevens, afhankelijk van de vereisten van uw land/regio of bank: <ul> <li><strong>Strd:</strong> Selecteer deze optie om de gestructureerde indeling te gebruiken wanneer één betalingsregel wordt vereffend met één factuur. Deze optie is niet beschikbaar voor de land-/regiospecifieke exportindelingen voor Frankrijk, Duitsland of Nederland.</li> <li><strong>Ustrd</strong> - Selecteer deze optie om de ongestructureerde indeling te gebruiken wanneer de betaling wordt vereffend met meerdere facturen. De factuurnummers voor de vereffende facturen worden aaneengeschakeld en als remisegegevens gebruikt. Overeenkomstig de ISO 20022-richtlijnen zijn de ongestructureerde remisegegevens beperkt tot 140 tekens.</li> </ul></td> </tr> <tr class="even"> <td>Aantal facturen</td> <td>Voer het aantal facturen in waarvoor het rapport <strong>Betalingsadvies</strong> wordt afgedrukt.</td> </tr> <tr class="odd"> <td>Volgnummer</td> <td>Voer een volgnummer invoeren om het bestand te identificeren. Het volgnummer wordt weergegeven op het rapport <strong>Bijbehorende notitie</strong>.</td> </tr> <tr class="even"> <td>Bijbehorende notitie afdrukken</td> <td>schakel dit selectievakje in om het rapport <strong>Bijbehorende notitie</strong> af te drukken.</td> </tr> <tr class="odd"> <td>Controlerapport afdrukken</td> <td>schakel dit selectievakje in om een rapport met de betalingsgegevens af te drukken.</td> </tr> <tr class="even"> <td>Begeleidend schrijven afdrukken</td> <td>Schakel dit selectievakje in om het rapport <strong>Betalingsadvies</strong> af te drukken.</td> </tr> </tbody> </table> ## <a name="what-are-ibans-and-bics"></a>Wat zijn IBAN en BIC? Het IBAN-nummer (International Bank Account Number) en de BIC (Bank Identifier Code) worden gebruikt om alle rekeningen in vele landen/regio's over de hele wereld te identificeren. Deze omvatten onder meer de 34 SEPA-landen/-regio's. Voer de BIC in in het veld **SWIFT-code** en de IBAN in het veld **IBAN**. Voor zowel de bankrekening van de crediteur als de bankrekening van de klant bevinden deze velden zich op het sneltabblad **Aanvullende identificatie** op het tabblad **Bankrekening** op de pagina **Bankrekeningen**. Het gebruik van BIC voor SEPA-betalingen wordt niet langer afgedwongen. ## <a name="how-do-i-transmit-a-payment-file-to-the-bank"></a>Hoe verzend ik een betalingsbestand naar de bank? Wanneer u betalingen genereert, wordt het betalingsbestand gegenereerd, en u wordt gevraagd het vanaf uw webbrowser op te slaan op een beschikbare locatie. De volgende stap is het verzenden van het XML-bestand naar uw bank. Dit proces verschilt van bank tot bank. Volg de instructies van uw bank om de bestanden voor verwerking naar de bank te verzenden. [!INCLUDE[footer-include](../../includes/footer-banner.md)]
94.709924
1,045
0.810268
nld_Latn
0.999742
5784b72b2b8a5d0984af5f3c80d22d0579dbeb2b
907
md
Markdown
docs/README.md
SudoDotDog/Sudoo-Semantic-Version
f9a1f13215c876529f7f0282f65d9f658961da0b
[ "MIT" ]
null
null
null
docs/README.md
SudoDotDog/Sudoo-Semantic-Version
f9a1f13215c876529f7f0282f65d9f658961da0b
[ "MIT" ]
3
2022-03-21T10:49:13.000Z
2022-03-24T10:24:32.000Z
docs/README.md
SudoDotDog/Sudoo-Semantic-Version
f9a1f13215c876529f7f0282f65d9f658961da0b
[ "MIT" ]
null
null
null
# Sudoo-Semantic-Version [![Continuous Integration](https://github.com/SudoDotDog/Sudoo-Semantic-Version/actions/workflows/ci.yml/badge.svg)](https://github.com/SudoDotDog/Sudoo-Semantic-Version/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/SudoDotDog/Sudoo-Semantic-Version/branch/main/graph/badge.svg)](https://codecov.io/gh/SudoDotDog/Sudoo-Semantic-Version) [![npm version](https://badge.fury.io/js/%40sudoo%2Fsemantic-version.svg)](https://www.npmjs.com/package/@sudoo/semantic-version) [![downloads](https://img.shields.io/npm/dm/@sudoo/semantic-version.svg)](https://www.npmjs.com/package/@sudoo/semantic-version) Semantic Version Support for JS ## Install ```sh yarn add @sudoo/semantic-version # Or npm install @sudoo/semantic-version --save ``` ## Usage ```ts import { SemanticVersion } from "@sudoo/semantic-version"; const version = SemanticVersion.fromString("1.0.0"); ```
36.28
195
0.757442
yue_Hant
0.318083
578703df177e82056b6a710f50a53e5158258ae5
94
md
Markdown
_meme-templates/311.md
harsshjain/meming-blog
74a0370141cea9d98a1b4fc50b87ddaa545227c9
[ "MIT" ]
9
2016-08-08T16:24:17.000Z
2020-06-24T14:29:42.000Z
_meme-templates/311.md
harsshjain/meming-blog
74a0370141cea9d98a1b4fc50b87ddaa545227c9
[ "MIT" ]
2
2017-04-01T13:46:15.000Z
2017-09-14T13:02:31.000Z
_meme-templates/311.md
harsshjain/meming-blog
74a0370141cea9d98a1b4fc50b87ddaa545227c9
[ "MIT" ]
3
2017-09-27T09:10:16.000Z
2020-07-17T16:40:45.000Z
--- slug: 1st-World-Canadian-Problems template_id: 311 title: 1st World Canadian Problems ---
15.666667
34
0.755319
eng_Latn
0.230827
57877f2c07d6c4f046df661f5af402495a9a85c0
1,713
md
Markdown
articles/cognitive-services/Speech-Service/includes/quickstarts/platform/java-android.md
Microsoft/azure-docs.cs-cz
1e2621851bc583267d783b184f52dc4b853a058c
[ "CC-BY-4.0", "MIT" ]
6
2017-08-28T07:43:21.000Z
2022-01-04T10:32:24.000Z
articles/cognitive-services/Speech-Service/includes/quickstarts/platform/java-android.md
MicrosoftDocs/azure-docs.cs-cz
1e2621851bc583267d783b184f52dc4b853a058c
[ "CC-BY-4.0", "MIT" ]
428
2018-08-23T21:35:37.000Z
2021-03-03T10:46:43.000Z
articles/cognitive-services/Speech-Service/includes/quickstarts/platform/java-android.md
Microsoft/azure-docs.cs-cz
1e2621851bc583267d783b184f52dc4b853a058c
[ "CC-BY-4.0", "MIT" ]
16
2018-03-03T16:52:06.000Z
2021-12-22T09:52:44.000Z
--- title: 'Rychlý Start: sada Speech SDK pro nastavení platformy Java (Android) – služba Speech' titleSuffix: Azure Cognitive Services description: Pomocí tohoto průvodce můžete nastavit platformu pro používání Java (Android) se sadou SDK služby Speech. services: cognitive-services author: markamos manager: nitinme ms.service: cognitive-services ms.subservice: speech-service ms.topic: include ms.date: 10/15/2020 ms.custom: devx-track-java ms.author: erhopf ms.openlocfilehash: 00fa8c27d9f324da0cc5704ee1e2a743907345fe ms.sourcegitcommit: d22a86a1329be8fd1913ce4d1bfbd2a125b2bcae ms.translationtype: MT ms.contentlocale: cs-CZ ms.lasthandoff: 11/26/2020 ms.locfileid: "96188175" --- V této příručce se dozvíte, jak nainstalovat [sadu Speech SDK](~/articles/cognitive-services/speech-service/speech-sdk.md) for Java v Androidu. Instalační program je založen na balíčku sady Speech SDK Maven a Android Studio 3,3. > [!NOTE] > Informace o sadě Speech Devices SDK a zařízení Roobo najdete v sadě [Speech Devices SDK](~/articles/cognitive-services/speech-service/speech-devices-sdk.md). [!INCLUDE [License Notice](~/includes/cognitive-services-speech-service-license-notice.md)] ## <a name="supported-platforms"></a>Podporované platformy Sada Speech SDK je kompatibilní se zařízeními s Androidem, které mají 32/64 bitů a kompatibilní procesory Intel x86/x64. ## <a name="install-the-speech-sdk-using-android-studio"></a>Instalace sady Speech SDK pomocí Android Studio [!INCLUDE [](~/includes/cognitive-services-speech-service-quickstart-java-android-create-proj.md)] Nyní můžete přejít na [Další kroky](#next-steps) níže. ## <a name="next-steps"></a>Další kroky [!INCLUDE [windows](../quickstart-list.md)]
42.825
228
0.790426
ces_Latn
0.858859
5787817cd5fb81558324c9c5af10aed7c519c659
3,128
md
Markdown
README.md
newtoallofthis123/IJ-Cam
969f2ccda22d3f0da46d24f14ad9530719084ba6
[ "MIT" ]
3
2021-08-04T07:11:47.000Z
2021-08-04T08:03:03.000Z
README.md
newtoallofthis123/IJ-Cam
969f2ccda22d3f0da46d24f14ad9530719084ba6
[ "MIT" ]
null
null
null
README.md
newtoallofthis123/IJ-Cam
969f2ccda22d3f0da46d24f14ad9530719084ba6
[ "MIT" ]
null
null
null
IJ-Cam IJ-Cam is a free and open source camera/ mirror app which is light weight and not as bulky as windows camera. You can use IJ-Cam to check your camera before you join a major meeting for example or you can also use it as a mirror for makeup or whatever. There is a option to enable picture in picture and use it as a camera screen when you are sharing your screen IJ-Cam is registered under the MIT lisence. It is open source and You are free to use it however you want. You can also use this online at https://newtoallofthis123.github.io/IJ-Cam or https://kutt.it/IJ-Cam or https://tinu.be/IJ-Cam ![Image](https://github.com/newtoallofthis123/IJ-Cam/blob/main/build_assets/icon.ico) To have a more stable, secure and good experince, please run the - first_run.bat on Windows - first_run.sh on macos and linux This installs all the additional dependencies from node.js for electrom to run very smoothly. You are free to tinker with the index.html as much as you want to change the ui. The theme is Dark by deflaut, but if you want a light theme, replace the index.html with the index.html in the build_assets folder. The executable file by deflaut installs IJ-Cam in C:\Program Files (x86)\IJ-Cam This is IJ-Cam 1.1.1 Hence there is no compiled executable you can run. Hence to start IJ-Cam, you can run the already included - IJ-Cam.bat on windows - IJ-Cam.sh on linux These basically call upon the electrom . to start the application. Hence, you should have node.js and electron installed in order to run this application. I have already included the latest node.js release for windows and 2 major linux distributions in the build_assets folder. You can also download node.js for your distribution from https://nodejs.org/en/download/ Once you have installed node.js, you can run the electron_install.bat / electron_install.sh to install electron and you are all set to go Now you can just launch the application using the above method This will be fixed in 1.2.1 To learn more about this, watch my youtube video https://www.youtube.com/channel/UCbYWy7rhUhToM3tbw-Z3SnQ or read this pdf https:// For now, the biggest way you can support me is to subscribe to my Youtube channel NoobScience and watch my videos. Thanks to hokein https://github.com/hokein for inspiring this project in his sample-electron-projects Software used: 1. node.js https://nodejs.org/ 2. electron https://electrpnjs.org/ 3. jsquery https://jsquery.com/ Enjoy Using IJ-Cam -------------------------------------_________________________________________________________________ NoobScience A Noob who aims to be a pro [email protected] https://newtoallofthis123.github.io
53.016949
252
0.667519
eng_Latn
0.996312
578826f3a36648a9e84e36704d0271ea339a3715
3,654
md
Markdown
docs/src/index.md
pdeffebach/AddToField.jl
95ea5b2f2caf4a5c827cba338a7d8353f3314f70
[ "MIT" ]
3
2021-06-21T22:16:48.000Z
2021-11-08T17:02:29.000Z
docs/src/index.md
pdeffebach/AddToField.jl
95ea5b2f2caf4a5c827cba338a7d8353f3314f70
[ "MIT" ]
2
2021-04-02T21:27:44.000Z
2021-09-17T14:55:28.000Z
docs/src/index.md
pdeffebach/AddToField.jl
95ea5b2f2caf4a5c827cba338a7d8353f3314f70
[ "MIT" ]
null
null
null
# AddToField.jl Julia macros to easily construct named tuples and set properties of mutable structures. AddToField.jl exports three macros, `@addnt`, for constructing `NamedTuple`s, `@adddict`, for creating `Dict`s with `Symbol`s as keys, and `@addto!` for modifiying existing data structures. Github repo [here](https://github.com/pdeffebach/AddToField.jl). To create `NamedTuples`, use `@addnt`: ```julia julia> using AddToField; julia> @addnt begin @add a = 1 @add b = a + 2 end (a = 1, b = 3) julia> @addnt begin @add "Variable a" a = 1 @add b = a + 2 end (Variable a = 1, b = 3) ``` To create `Dict`s, use `@adddict`: ```julia julia> using AddToField; julia> @adddict begin @add a = 1 @add b = a + 2 end Dict{Symbol, Int64} with 2 entries: :a => 1 :b => 3 julia> @adddict begin @add "Variable a" a = 1 @add b = a + 2 end Dict{Symbol, Int64} with 2 entries: Symbol("Variable a") => 1 :b => 3 ``` To modify existing structures, use `@addto!` ```julia julia> D = Dict(); julia> @addto! D begin @add a = 1 @add b = a + 2 @add "Variable c" c = b + 3 end Dict{Any,Any} with 3 entries: :a => 1 :b => 3 Symbol("Variable c") => 6 ``` AddToField makes working with [DataFrames](https://github.com/JuliaData/DataFrames.jl) easier. First, makes the creation of publication-quality tables easier. ```julia using DataFrames, PrettyTables, Chain julia> df = DataFrame( group = repeat(1:2, 50), income_reported = rand(100), income_imputed = rand(100)); julia> @chain df begin groupby(:group) combine(_; keepkeys = false) do d @addnt begin @add "Group" first(d.group) @add "Mean reported income" m_reported = mean(d.income_reported) @add "Mean imputed income" m_imputed = mean(d.income_imputed) @add "Difference" m_reported - m_imputed end end pretty_table(;nosubheader = true) end ┌───────┬──────────────────────┬─────────────────────┬────────────┐ │ Group │ Mean reported income │ Mean imputed income │ Difference │ ├───────┼──────────────────────┼─────────────────────┼────────────┤ │ 1 │ 0.523069 │ 0.53696 │ -0.0138915 │ │ 2 │ 0.473178 │ 0.41845 │ 0.0547277 │ └───────┴──────────────────────┴─────────────────────┴────────────┘ ``` It also makes constructing data frames easier ```julia julia> using DataFrames julia> @addto! DataFrame() begin x = ["a", "b", "c"] @add x = x .* "_x" @add x_y = x .* "_y" end 3×2 DataFrame Row │ x x_y │ String String ─────┼──────────────── 1 │ a_x a_x_y 2 │ b_x b_x_y 3 │ c_x c_x_y ``` !!! note You cannot use `@add` in new scopes created with `body`. The following will fail ```julia @addnt begin let a = 1 @add a end end ``` This is because `@addnt`, `@adddict`, and `@addto!` create anonymous variables, then constructs and modifies objects at the end of the block. The same applies for `for` loops and `function`s inside the `@addnt`, `@adddict`, and `@addto!` blocks. In theory, `@addto!` should not have this limitation. However I implementing this feature in `@addnt` is more complicated, and at the moment maintaining simple feature parity is important.
27.89313
342
0.525999
eng_Latn
0.814132
5788dc86d64e391519b098e25f4b1dac6ab4f419
1,015
md
Markdown
doc/markdown/nTooltip/zh-CN/index.md
ui-libraryment/tencatui
3cd5135da32cdde8aa30572dce825a339caa6dd8
[ "MIT" ]
469
2019-05-27T02:22:58.000Z
2022-03-31T15:18:15.000Z
doc/markdown/nTooltip/zh-CN/index.md
ui-libraryment/tencatui
3cd5135da32cdde8aa30572dce825a339caa6dd8
[ "MIT" ]
31
2020-01-31T14:59:39.000Z
2022-03-26T07:48:44.000Z
doc/markdown/nTooltip/zh-CN/index.md
ui-libraryment/tencatui
3cd5135da32cdde8aa30572dce825a339caa6dd8
[ "MIT" ]
51
2019-06-10T09:34:03.000Z
2022-03-31T09:10:38.000Z
# Tooltip 文字提示 常用于展示鼠标 hover 时的提示信息。 ## 何时使用 用于辅助的文字提示,可代替 HTML 元素默认的 title 属性。 ## 代码演示 ### 基本使用 :::demo ```html <template> <div class="tooltip-example"> <div class="top"> <n-tooltip class="item" content="Tooltip 文字提示" placement="top"> <n-button>上边</n-button> </n-tooltip> </div> <div class="left"> <n-tooltip class="item" content="Tooltip 文字提示" placement="left" trigger="click"> <n-button>左边</n-button> </n-tooltip> </div> <div class="right"> <n-tooltip class="item" content="Tooltip 文字提示" placement="right" trigger="click"> <n-button>右边</n-button> </n-tooltip> </div> <div class="bottom"> <n-tooltip class="item" content="Tooltip 文字提示" placement="bottom"> <n-button>下边</n-button> </n-tooltip> </div> </div> </template> ``` ::: ## API | 参数 | 说明 | 类型 | 默认值 | | :--- | :--- | :--- | :--- | | content | 提示内容 | String | | | placement | 位置 | String | `top` | | trigger | 触发事件类型 | String | `hover` |
23.068182
87
0.558621
yue_Hant
0.196732
5788dfeeb15c205dc8ab22b46f38eefd7ab75b1d
5,159
markdown
Markdown
_posts/2015-02-06-persons-of-interest.markdown
dominicmauro/blogipsa
f40e8185728f52dd745f5e11065dcca1cd857b0d
[ "MIT" ]
null
null
null
_posts/2015-02-06-persons-of-interest.markdown
dominicmauro/blogipsa
f40e8185728f52dd745f5e11065dcca1cd857b0d
[ "MIT" ]
null
null
null
_posts/2015-02-06-persons-of-interest.markdown
dominicmauro/blogipsa
f40e8185728f52dd745f5e11065dcca1cd857b0d
[ "MIT" ]
1
2019-07-11T05:56:36.000Z
2019-07-11T05:56:36.000Z
--- layout: post title: "Persons of Interest" date: 2015-02-06 00:25:32 -0500 categories: - It's a Man's World --- Jezebel's Anna Merlan [wrote a story](http://jezebel.com/the-cops-dont-care-about-violent-online-threats-what-d-1682577343) last week that I'm frankly tired of reading. It's cliché, it's filled with tropes, and most of the characters are shallow and impossibly unsympathetic. Worst of all, it's derivative! I've heard this story before. Someone needs to feed this lady a new prompt, because I… yeah. Okay. Turns out that she wrote a nonfiction piece about a problem that seems to keep happening. The tale begins when Merlan wrote a blog post calling 4chan a bunch of trolls. To prove her wrong, they started doing what they do to women on the internet. They harassed her. A lot. She writes about her harassment in a piece that's easy to read but hard to stomach. She takes time out to note that what happened to her probably isn't the worst thing that 4chan trolls have done, by briefly highlighting some celebrated incidents of this kind of behavior. For instance, Merlan notes that they: > mocked the family of a kid who'd committed suicide, sometimes calling his parents pretending to be him and taunting them: "Hi, I'm Mitchell's ghost, the front door is locked. Can you come down and let me in?" Oh, so it's going to be one of those kinds of stories. Well then. <!--more--> ### The Worst Part Difficult as it is to pick out a "worst part," in [all](http://www.psmag.com/health-and-behavior/women-arent-welcome-internet-72170) [of](http://www.thisamericanlife.org/radio-archives/episode/545/if-you-dont-have-anything-nice-to-say-say-it-in-all-caps) [these](http://ohdeargodbees.tumblr.com/post/107838639074/august-never-ends) [stories](http://slog.thestranger.com/slog/archives/2014/08/28/anita-sarkeesian-threatened-with-rape-and-murder-for-daring-to-keep-critiquing-video-games) – and there are lots of these stories – for me, the completely apathetic response from the police is unbelievable. These women (and it's always women) document their abuse and go to the authorities and are met with crushing silence. What are you supposed to do when the police won't do anything? Merlan documents her experience trying to find out, and the result is horrifying on a few levels: > We'd filed another report only a few months back at the same precinct, for another Jezebel writer. [We] asked if [the NYPD officer] could pull it up. He turned on the computer and patiently waited for it to load. He searched the writer's name, waited some more. Suddenly, he reached over, grabbed the cords connecting the computer to the wall and gave them a hard tug. > > "You gotta shake them every once in a while to make it work," he told us apologetically. Oh. Oh, I get it now. This is performance art. Merlan is showing what it would be like if the police were indifferent to trolls while simultaneously being trolled so hard by their IT department that, uh… oh. No, I'm reading ahead and it's literally just a nonfiction retelling of one woman's harassment and the utter uselessness of the authorities. Damn. I really wanted this to turn into some gonzo journalism thing because the alternative is so depressing. ### Wait It Gets Worse So here's the lesson, right? The police just can't do anything about harassment or even death threats online. If you want to participate in a campaign of jackassery against your neighbor, you'll get a restraining order. If you do it online, you operate in a land without consequences. On the web, black is white, up is down, and TCP/IP packets get stuck in ethernet cables if you don't jiggle them. Got it. Lesson learned. > This is the usual lesson: The police are helpless in the face of the mixed signals and technological complexity of online threats. Except they aren’t—especially not when the threats are against police officers. > > After a Baltimore man killed two New York police officers in December, accompanying his crime with a spree of Instagram posting, law enforcement wasted no time before moving against online antagonists. The NYPD said it combed “hundreds” of online messages and 911 calls, eventually arresting nine men for threats. Oh, *come on*. Are you even serious r- > A man in suburban New York was also arrested for posting images on Instagram and Facebook there threatening police. […] In the same week, 17-year-old Fort Worth resident Montrae Toliver was arrested for making a terroristic threat after he posted a photo of a gun pointed at a parked police cruiser on Twitter. The FBI arrested Jeremiah Perez of Colorado Springs for a YouTube comment which read, in part, "WE VETERANS WILL KILL RETIRED HELPLESS COPS." Yeah, Merlan goes on. And on. She's got an extensive list of the many times police were threatened online. Oddly enough, the stories all end with the guy being arrested. The police seem to be keen law enforcement officers when it's their own hide on the line, but not so much when it's a woman who upset some trolls. So I'd say we need the police to know how to handle online harassment better, but it seems like they're doing just fine. Sometimes.
101.156863
783
0.779608
eng_Latn
0.999074
5788fe44954e81ba5866b7f8c757f0d2a9790694
955
md
Markdown
src/content/tech2015/points/ibeacons.md
bekk/bekk-radar-public
09a6a9f615bf3f55e4fdb58fa0acdc39b98e5062
[ "Apache-2.0" ]
null
null
null
src/content/tech2015/points/ibeacons.md
bekk/bekk-radar-public
09a6a9f615bf3f55e4fdb58fa0acdc39b98e5062
[ "Apache-2.0" ]
null
null
null
src/content/tech2015/points/ibeacons.md
bekk/bekk-radar-public
09a6a9f615bf3f55e4fdb58fa0acdc39b98e5062
[ "Apache-2.0" ]
null
null
null
iBeacon er et posisjoneringssystem laget av Apple. Med små enheter og lavenergi blåtann kan de gi finkornet områdeinformasjon til applikasjoner. Bruksområdet er fortrinnsvis mobiltelefoner og iBeacons gir på en enkel måte en applikasjon på telefonen veldig presis opplysning om hvor du er. Applikasjonen kan da gi deg kontekstuell informasjon, samtidig som applikasjonen også kan sende informasjon tilbake til en server slik at området brukeren befinner seg i kan forandre seg sett fra brukerens ståsted. Vi i BEKK tror vi vil se mer av iBeacons i tida som kommer. Det er dog større spenning knyttet til om forbrukerene vil akseptere mer "overvåkning". For at dette skal bli en suksess er man avhengig av at forbrukerene får noen skikkelige fordeler ut av å bruke dette. Et annet bruksområde som kan være spennende er hjemme-automasjon. Man kan bruke iBeacons til å styre lys, temperatur og lignende på bakgrunn av hvordan beboere beveger seg i hjemmet.
238.75
504
0.825131
nob_Latn
0.999348
5789c8086ec91e46bae271f25fd8766b6baf937e
2,709
md
Markdown
src/pages/blog/2022-02-10-meet-aspen.md
aasalazar23/gatsby-starter-netlify-cms
c8eadb02c4a5d4a60c2e9cde57504db88ec5e52e
[ "MIT" ]
null
null
null
src/pages/blog/2022-02-10-meet-aspen.md
aasalazar23/gatsby-starter-netlify-cms
c8eadb02c4a5d4a60c2e9cde57504db88ec5e52e
[ "MIT" ]
null
null
null
src/pages/blog/2022-02-10-meet-aspen.md
aasalazar23/gatsby-starter-netlify-cms
c8eadb02c4a5d4a60c2e9cde57504db88ec5e52e
[ "MIT" ]
null
null
null
--- templateKey: blog-post title: Meet Aspen! titleColor: "#264548" bgColor: "#faf6ee" date: 2022-02-09T16:10:04.737Z description: We are over the moon about our extraordinary new Program Director, Aspen Meineke! As Program Director, Aspen manages class organization, spearheads teacher mentorship, and facilitates new community partnerships. Not only is Aspen a fierce advocate for educational equity and a warm, supportive educator, she’s also a dog-loving Swiftie who brings a wealth of experience as a STEM content creator and educational consultant to our TCS family. featuredPost: false featuredImage: image: /img/meet-aspen.png alt: Aspen and her family! tags: - OurTeam --- **Where are you from?** \ AM: San Antonio, Texas. Home of the Alamo, Tex Mex food, and the San Antonio Spurs! \ **Where do you live now?**\ AM: Manhattan, right in the heart of New York City. \ **Any pets?**\ AM: I have a 1.5 year old Blue Heeler who loves going to the park and playing in the snow!  \ **Favorite food?**\ AM: Nachos, hands down! I’m from Texas, so anything with queso. \ **Karaoke song of choice?**\ AM: “Our Song” by Taylor Swift \ **Before working at TCS, what was the most unusual job you had?**\ AM: It’s a tie. Once, I worked in a biochemistry lab at a medical school that was two stories underground, down the hall from where they kept cadavers. I also used to be a competitive figure skater!  \ **What drew you to TCS?** \ AM: How the program welcomes any student who wants to learn coding, whether they are experienced or just getting started. Computer programming classes aren’t always available in schools — but if we want to set students up for success, all students need to understand coding.  \ **What is your favorite part of working at TCS?** \ AM: The people! Everyone is so passionate about creating the best possible programming for our students. And, of course, I love working with the students and witnessing their “lightbulb” moments. \ **Why coding? What experience do you have with coding/why do you like it?** \ AM: I took my very first coding class in high school, where I remember programming “Hello World!” for the first time. I later went on to pursue a degree in Mechanical Engineering with a focus in Robotics. I like coding for its versatility. You can use code to control a robot, to create self-driving cars or apps — the possibilities are endless!  \ **Who is your computer programming or STEM idol?**\ AM: I really look up to Emily Calandrelli! She is one of the few female science TV-show hosts, demonstrating that there’s no one way to be a STEM professional. \ To learn more about Aspen, check out the [Our Team](/our_team/) page on our website!
45.15
346
0.753045
eng_Latn
0.99926
5789c8a0342e5c31c81f512aac7dd3dcb45c4abf
467
md
Markdown
add/metadata/System.Windows.Forms/LinkClickedEventArgs.meta.md
v-maudel/docs-1
f849afb0bd9a505311e7aec32c544c3169edf1c5
[ "CC-BY-4.0", "MIT" ]
null
null
null
add/metadata/System.Windows.Forms/LinkClickedEventArgs.meta.md
v-maudel/docs-1
f849afb0bd9a505311e7aec32c544c3169edf1c5
[ "CC-BY-4.0", "MIT" ]
null
null
null
add/metadata/System.Windows.Forms/LinkClickedEventArgs.meta.md
v-maudel/docs-1
f849afb0bd9a505311e7aec32c544c3169edf1c5
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- uid: System.Windows.Forms.LinkClickedEventArgs ms.technology: - "dotnet-winforms" author: "dotnet-bot" ms.author: "dotnetcontent" manager: "wpickett" --- --- uid: System.Windows.Forms.LinkClickedEventArgs.LinkText ms.technology: - "dotnet-winforms" ms.author: "dotnet-bot" manager: "wpickett" --- --- uid: System.Windows.Forms.LinkClickedEventArgs.#ctor(System.String) ms.technology: - "dotnet-winforms" ms.author: "dotnet-bot" manager: "wpickett" ---
18.68
67
0.728051
yue_Hant
0.132727
578a9980a465ae6824d52eef6b34c32741db6c94
574
md
Markdown
ruby/docs/InlineResponse20010.md
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
21
2019-08-09T18:53:26.000Z
2022-03-14T22:10:10.000Z
ruby/docs/InlineResponse20010.md
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
null
null
null
ruby/docs/InlineResponse20010.md
ddsky/spoonacular-api-clients
63f955ceb2c356fefdd48ec634deb3c3e16a6ae7
[ "MIT" ]
55
2019-08-13T17:52:47.000Z
2022-03-27T04:29:34.000Z
# OpenapiClient::InlineResponse20010 ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ingredients** | [**Array&lt;InlineResponse20010Ingredients&gt;**](InlineResponse20010Ingredients.md) | | **total_cost** | **Float** | | **total_cost_per_serving** | **Float** | | ## Code Sample ```ruby require 'OpenapiClient' instance = OpenapiClient::InlineResponse20010.new(ingredients: null, total_cost: null, total_cost_per_serving: null) ```
26.090909
108
0.560976
deu_Latn
0.096932