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
2c53c75f19c149a4b46d57ffc72f2c840fbe4a66
5,296
markdown
Markdown
_posts/2015-04-01-solidaritas-mentoring-1-april-2015.markdown
hixio-mh/website-4
943b8ecdb1f7e507abbb404051afbd40d0a855d3
[ "MIT" ]
4
2018-03-23T08:55:53.000Z
2018-03-24T15:10:22.000Z
_posts/2015-04-01-solidaritas-mentoring-1-april-2015.markdown
hixio-mh/website-4
943b8ecdb1f7e507abbb404051afbd40d0a855d3
[ "MIT" ]
3
2021-12-20T17:56:32.000Z
2021-12-20T17:59:59.000Z
_posts/2015-04-01-solidaritas-mentoring-1-april-2015.markdown
hixio-mh/website-4
943b8ecdb1f7e507abbb404051afbd40d0a855d3
[ "MIT" ]
5
2020-01-01T09:54:05.000Z
2021-11-23T15:49:11.000Z
--- title: Solidaritas.net Media Center - Mentoring 1 April 2015 date: 2015-04-01 categories: - laporan - mentoring - CMS - solidaritas.net --- **Laporan mentor Idaman Andarmosoko tahap II** **0. Umum** Mentoring dilakukan pada tanggal 23 april 2015, di markas solidaritas, ruko roxy, jababeka, cikarang, dihadiri oleh sherrin dan idaman andarmosoko. **1. Status** Pada bulan April 2015, Status proyek Solidaritas.net adalah sebagai berikut: * Pencairan dana tahap 2 telah terjadi pada akhir februari. Tinggal sisa dana terakhir di akhir program. * Selama dana tahap 1, sudah terjadi laporan narasi dan laporan keuangan. Sejak dana tahap 2 masuk, belum ada laporan. Laporan berikutnya akan terjadi bulan agustus 2015. * Solidaritas dot net kini mempunyai badan hukum berbentuk perkumpulan dengan akta notaris sejak maret 2015 Hal ini sudah dikomunikasikan kepada pengelola CMB. Solidaritas juga sudah mempunyai domain solidaritas.or.id. **2. Tantangan** * Manajemen konflik internal: Mengatasi konflik pandangan individu tentang cara mengelola organisasi. Sudah dua kali ada persoalan ini, walaupun dampaknya belum besar * Pendanaan: Apabila Program CMB sudah selesai, bagaimana solidaritas net mendanai programnya. * Transisi dari media komunitas menjadi perkumpulan: Setelah adanya badan hukum perkumpulan, maka ada dua entitas yaitu media web solidaritas dan perkumpulan solidaritas. Tantangannya adalah mengembangkan program kerja perkumpulan itu, dan menjalankan organisasi perkumpulan tersebut. Termasuk mengkampanyekan perkumpulan tersebut. **3. Perbaikan** * Badan Hukum: Karena undang undang pers menyatakan bahwa media harus punya badan hukum, maka solidaritas membentuk badan hukum. Badan hukum yang dipilih adalah bentuk perkumpulan. Pilihan bentuk perkumpulan didasari pertimbangan bahwa badan hukum perkumpulan adalah badan hukum yang lebih murah dari segi pajak, dan lebih demokratis serta mengakomodasi regenerasi. * Perbaikan staf: Staff redaksi dan staff advokasi yang dulu kinerjanya buruk telah diganti dengan staff baru, dan pergantian staff ini membawa peningkatan kinerja. * Akomodasi Blog: Menulis dengan standard jurnalistik yang baik, dari segi isi maupun redaksi, tidaklah mudah bagi buruh, oleh karena itu buruh butuh waktu untuk mencapai kemampuan tersebut. Pada awal akan sangat sedikit buruh yang mencapai tingkat kualitas itu. Namun demikian buruh tetap harus dibiasakan menulis, sekalipun sementara belum memenuhi standar jurnalistik tersebut. Oleh karena itu dibuatlah ruang bernama blog, untuk buruh menulis sebisanya, dan semua dimuat di blog, sedangkan solidaritas net tetap menyaring dan mempertahankan standard publikasinya. **4. KEMAJUAN** * Pelatihan Jurnalistik dan kerja sama: Pendidikan jurnalistik sudah dilakukan 2 kali, pelaksanaan yang kedua bekerja sama dengan TURC dan Buruh online, pada bulan april 2015, diikuti oleh 30 orang. Uraian lebih rinci akan dilaporkan. * Pendidikan EKOPOL dan KBBM: Pendidikan EKOPOL dijadikan reguler pada tiap hari minggu. Kelompok Buruh Membaca Bumi manusia (KBBM), kini dilakukan juga di tingkat pabrik. Buku ini dipilih karena gampang dimengerti dan isinya sesuai dengan semangat perjuangan kaum buruh. * Konsultasi dan peningkatan fanpage Facebook: Fan Page book di facebook peningkatan dari 900 sebelim CMB menjadi kini 4100. Semua konsultasi sudah terjawab, konsultasi baru terjadi secara rutin. * Aliansi dan kerja sama: Aliansi jawa barat bekasi, mengalami penambahan 4 serikat buruh, telah melakukan audiensi di kantor kebijakan, soal perda ketenagaan jawa barat, yang isinya bertentangan dengan undang-undang di atasnya. Ada kerja sama dengan toko buku di yogyakarta. Ada tawaran aksi pertama di may-day. Ada tawaran dari luviana untuk jadi anggota AJI, keanggotaan jurnalis warga dengan beberapa persyaratan, tawaran ini sedang sedang dipelajari. * Penghargaan HIVOS social innovation award: Solidaritas mendapatkan penghargaan HIVOS social innovation award, dan diundang ke belanda untuk itu. Dari sana diberi berbagai kontak lembaga sejawat di Indonesia untuk ditindak lanjuti. * Mobile Apps: Sebuah Apps berbasis android, berisi RSS feed telah dikembangkan, dan tersedia untuk diunduh di playstore * Ancang pendanaan: Solidaritas mulai menjelajahi kemungkinan membiayai dirinya di masa depan, misalnya lewat unit usaha kafe, atau pemasangan iklan di website. **5. Skor** Mengenai keberhasilan program sejauh ini, dengan skala 0-10, Sherrin memberikan skor 7 **6. Butir-butir tambahan** * Sebagai tanggapan terhadap tantangan manajemen dan kampanye seperti tertuang pada butir 2.1. dan 2.3. di atas, Mentor memberikan penjelasan tentang kerja-kerja advokasi kasus, advokasi kebijakan dan kampanye, perbedaan cara kerja, dan keterkaitan masing-masing antar kerja tersebut. Juga diberikan penjelasan tentang manajemen organisasi, pengorganisasian, dan kelembagaan, serta hubungan antara ketiganya. Penjelasan ini digunakan sebagai salah satu pisau analisa untuk memahami dan mengelaborasi tantangan manajemen dan kerja-kerja solidaritas. * Mentor menegaskan kembali, bahwa di luar kunjungan mentor ke markas, solidaritas, apabila merasa perlu, boleh mengontak mentor lewat email,telpon atau pertemuan informal, asalkan dijadwalkan terlebih dahulu, maka mentor akan berusaha mengakomodir.
94.571429
567
0.82364
ind_Latn
0.983724
2c53fe06ad5fd885e9687564fe42f848c2b4cfaa
1,212
md
Markdown
README.md
Sagleft/uexchange-go
1bccd8950c6055367f525858965d30207651a56b
[ "MIT" ]
null
null
null
README.md
Sagleft/uexchange-go
1bccd8950c6055367f525858965d30207651a56b
[ "MIT" ]
null
null
null
README.md
Sagleft/uexchange-go
1bccd8950c6055367f525858965d30207651a56b
[ "MIT" ]
1
2021-12-05T09:43:34.000Z
2021-12-05T09:43:34.000Z
![logo](logo.png) Library for working with the exchange UUSD and Crypton written in Golang [![made-with-Go](https://img.shields.io/badge/Made%20with-Go-1f425f.svg)](http://golang.org) [![GoDoc](https://godoc.org/github.com/sagleft/uexchange-go?status.svg)](https://godoc.org/gopkg.in/sagleft/uexchange-go.v1) [![go-report](https://goreportcard.com/badge/github.com/Sagleft/uexchange-go)](https://goreportcard.com/report/github.com/Sagleft/uexchange-go) ### :link: [Crypton Exchange API docs](https://crp.is/api-doc/) Install ----- ```bash go get github.com/Sagleft/uexchange-go ``` ```go import ( uexchange "github.com/Sagleft/uexchange-go" ) ``` Usage ----- ```go // create client client := uexchange.NewClient() // auth _, err := client.Auth(uexchange.Credentials{ AccountPublicKey: "32AE83EF83637ADDA5800E2C9EEB3D456753B0B2CD11D37B90DFA1A1592ED952", Password: "mypassword", }) if err != nil { log.Fatalln(err) } // get balance balanceData, err := client.GetBalance() if err != nil { log.Fatalln(err) } log.Println(balanceData) ``` --- ![image](https://github.com/Sagleft/Sagleft/raw/master/image.png) ### :globe_with_meridians: [Telegram канал](https://t.me/+VIvd8j6xvm9iMzhi)
22.036364
143
0.712046
yue_Hant
0.303974
2c5426ae6b6fe82df91e854425d04a7b146feb33
86
md
Markdown
README.md
GavinAbercrombie/parliasent2
2ca3821e1849924b82680f292367ae189b32ee38
[ "MIT" ]
null
null
null
README.md
GavinAbercrombie/parliasent2
2ca3821e1849924b82680f292367ae189b32ee38
[ "MIT" ]
null
null
null
README.md
GavinAbercrombie/parliasent2
2ca3821e1849924b82680f292367ae189b32ee38
[ "MIT" ]
null
null
null
# parliasent2 Topic-centric sentiment and stance analysis of UK parliamentary debates
28.666667
71
0.848837
eng_Latn
0.925798
2c54f83de9b6c8c7f044e7ed5805d3ddf44ff626
807
md
Markdown
catalog/kiss-mo-shiranai-kuse-ni/en-US_suki-dakara-kiss-shita-no.md
htron-dev/baka-db
cb6e907a5c53113275da271631698cd3b35c9589
[ "MIT" ]
3
2021-08-12T20:02:29.000Z
2021-09-05T05:03:32.000Z
catalog/kiss-mo-shiranai-kuse-ni/en-US_suki-dakara-kiss-shita-no.md
zzhenryquezz/baka-db
da8f54a87191a53a7fca54b0775b3c00f99d2531
[ "MIT" ]
8
2021-07-20T00:44:48.000Z
2021-09-22T18:44:04.000Z
catalog/kiss-mo-shiranai-kuse-ni/en-US_suki-dakara-kiss-shita-no.md
zzhenryquezz/baka-db
da8f54a87191a53a7fca54b0775b3c00f99d2531
[ "MIT" ]
2
2021-07-19T01:38:25.000Z
2021-07-29T08:10:29.000Z
# Suki Dakara Kiss shita no? ![suki-dakara-kiss-shita-no](https://cdn.myanimelist.net/images/manga/1/231097.jpg) - **type**: manga - **volumes**: 1 - **chapters**: 6 - **original-name**: 好きだからキスしたの? - **start-date**: 2015-03-31 - **end-date**: 2015-03-31 ## Tags - school - shounen-ai ## Authors - Kinoshita - Keiko (Story & Art) ## Sinopse It happened in a sunny day right before summer. Souta Fujisawa's first kiss was with his older classmate, Chihiro Ayase. It's now their summer vacation, and yet, nothing has happened between the two of them! What's worse, he discovers that he wasn't actually Ayase's first kiss, and now regrets kissing him. (Source: Taiyo Tosho, translated) ## Links - [My Anime list](https://myanimelist.net/manga/114209/Suki_Dakara_Kiss_shita_no)
26.032258
307
0.693928
eng_Latn
0.939554
2c5540d2111901e73c9b56594401db14f55ea4be
138
md
Markdown
README.md
generaltony99/java_maven
05b1881fb111e534f21116f55a0d46e6eb37277c
[ "MIT" ]
null
null
null
README.md
generaltony99/java_maven
05b1881fb111e534f21116f55a0d46e6eb37277c
[ "MIT" ]
null
null
null
README.md
generaltony99/java_maven
05b1881fb111e534f21116f55a0d46e6eb37277c
[ "MIT" ]
1
2021-01-08T05:40:00.000Z
2021-01-08T05:40:00.000Z
# mvn-hello-world-web-app Java Hello World web application created using maven-archetype-webapp ## Dependancies * git * maven * tomcat
13.8
69
0.76087
eng_Latn
0.307546
2c5b5db8ccd3f339bf7abb569dfd8ac95c139237
43,918
md
Markdown
pyman/notebooks/chap5_plot.md
AndrewLoeppky/eoas_tlef
9119023ff21b8db0faf95b4e5f62a7c06eeb6b50
[ "BSD-3-Clause" ]
3
2020-04-30T19:50:11.000Z
2020-10-17T02:07:00.000Z
pyman/notebooks/chap5_plot.md
AndrewLoeppky/eoas_tlef
9119023ff21b8db0faf95b4e5f62a7c06eeb6b50
[ "BSD-3-Clause" ]
35
2020-04-21T04:25:31.000Z
2021-11-06T22:49:44.000Z
pyman/notebooks/chap5_plot.md
AndrewLoeppky/eoas_tlef
9119023ff21b8db0faf95b4e5f62a7c06eeb6b50
[ "BSD-3-Clause" ]
11
2020-04-21T04:33:48.000Z
2020-10-23T21:12:12.000Z
--- jupytext: cell_metadata_filter: all encoding: '# -*- coding: utf-8 -*-' formats: ipynb,myst notebook_metadata_filter: all,-language_info text_representation: extension: .md format_name: myst format_version: '0.8' jupytext_version: 1.4.2 kernelspec: display_name: Python 3 language: python name: python3 --- +++ Plotting ======== single: MatPlotLib single: plots The graphical representation of data---plotting---is one of the most important tools for evaluating and understanding scientific data and theoretical predictions. However, plotting is not a part of core Python but is provided through one of several possible library modules. The most highly developed and widely used plotting package for Python is MatPlotLib (<http://MatPlotLib.sourceforge.net/>). It is a powerful and flexible program that has become the *de facto* standard for 2-d plotting with Python. Because MatPlotLib is an external library---in fact it's a collection of libraries---it must be imported into any routine that uses it. MatPlotLib makes extensive use of NumPy so the two should be imported together. Therefore, for any program for which you would like to produce 2-d plots, you should include the lines ``` python import numpy as np import matplotlib.pyplot as plt ``` There are other MatPlotLib sub-libraries, but the `pyplot` library provides nearly everything that you need for 2-d plotting. The standard prefix for it is `plt`. The two statements above must appear before any calls to NumPy or MatPlotLib routines are made. One final word before we get started: We only scratch the surface of what is possible using MatPlotLib and as you become familiar with it, you will surely want to do more than this manual describes. In that case, you need to go the the web to get more information. A good place to start is <http://matplotlib.org/api/pyplot_summary.html>. Another interesting web page is <http://matplotlib.org/gallery.html>. An interactive session with `pyplot` ------------------------------------ single: plots; interactive We begin with an interactive plotting session that illustrates some very basic features of MatPlotLib. Type in the `plot` command shown below and press the return key. Take care to follow the exact syntax. ``` ipython In [1]: plt.plot([1,2,3,2,3,4,3,4,5]) Out[1]: [<MatPlotLib.lines.Line2D at 0x94e1310>] ``` <figure> <img src="attachment:zigzagPlotDemo.png" class="align-center" alt="" /><figcaption>Interactive plot window</figcaption> </figure> A window should appear with a plot that looks something like the `fig-zigzagPlotDemo` shown here. By default, the `plot` function draws a line between the data points that were entered. You can save this plot to an image file by clicking on the floppy disk icon at the top of the plot window. You can also zoom, pan, scroll through the plot, and return to the original view using the other icons in the plot window. Experimenting with them reveals their functions. When you are finished, be sure to close the plot window. Let's take a closer look at the `plot` function. It is used to plot $x$-$y$ data sets and is written like this ``` python plt.plot(x, y) ``` where `x` and `y` are arrays (or lists) that have the same size. If the `x` array is missing, that is, if there is only a single array, as in our example above, the `plot` function uses `0, 1, ..., N-1` for the `x` array, where `N` is the size of the `y` array. Thus, the `plot` function provides a quick graphical way of examining a data set. More typically, you supply both an $x$ and a $y$ data set to plot. Taking things a bit further, you may also want to plot several data sets on the same graph, use symbols as well as lines, label the axes, create a title and a legend, and control the color of symbols and lines. All of this is possible but requires calling a number of plotting functions. For this reason, plotting is usually done using a Python script or program. Basic plotting -------------- single: plots; basic The quickest way to learn how to plot using the MatPlotLib library is by example. For our first task, let's plot the sine function over the interval from 0 to $4\pi$. The main plotting function `plot` in MatPlotLib does not plot functions *per se*, it plots $(x,y)$ data points. As we shall see, we can instruct the function `plot` either to just draw point---or dots---at each data point, or we can instruct it to draw straight lines between the data points. To create the illusion of the smooth function that the sine function is, we need to create enough $(x,y)$ data points so that when `plot` draws straight lines between the data points, the function appears to be smooth. The sine function undergoes two full oscillations with two maxima and two minima between 0 and $4\pi$. So let's start by creating an array with 33 data points between 0 and $4\pi$, and then let MatPlotLib draw a straight line between them. Our code consists of four parts - import the NumPy and MatPlotLib modules (lines 1-2 below) - create the $(x,y)$ data arrays (lines 3-4 below) - have `plot` draw straight lines between the $(x,y)$ data points (line 5 below) - display the plot in a figure window using the `show` function (line 6 below) Here is our code, which consists of only 6 lines: ``` python import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 4.*np.pi, 33) y = np.sin(x) plt.plot(x, y) plt.show() ``` <figure> <img src="attachment:sinePlot.png" class="align-center" alt="" /><figcaption>Sine function</figcaption> </figure> Only 6 lines suffice to create the plot, which consists of the sine function over the interval from 0 to $4\pi$, as advertised, as well as axes annotated with nice whole numbers over the appropriate interval. It's a pretty nice plot made with very little code. One problem, however, is that while the plot oscillates like a sine wave, it is not smooth. This is because we did not create the $(x,y)$ arrays with enough data points. To correct this, we need more data points. The plot below was created using the same program shown above but with 129 $(x,y)$ data points instead of 33. Try it out your self by copying the above program and replacing 33 in line 3 with 129 so that the function `linspace` creates an array with 129 data points instead of 33. <figure> <img src="attachment:sinePlotDenserXY.png" class="align-center" alt="" /><figcaption>Sine function plotted using more data points</figcaption> </figure> The code above illustrates how plots can be made with very little code using the MatPlotLib module. In making this plot, MatPlotLib has made a number of choices, such as the size of the figure, the blue color of the line, even the fact that by default a line is drawn between successive data points in the $(x,y)$ arrays. All of these choices can be changed by explicitly instructing MatPlotLib to do so. This involves including more arguments in the function calls we have used and using new functions that control other properties of the plot. The next example illustrates a few of the simpler embellishments that are possible. In the `fig-WavyPulse` figure, we plot two $(x,y)$ data sets: a smooth line curve and some data represented by red circles. In this plot, we label the $x$ and $y$ axes, create a legend, and draw lines to indicate where $x$ and $y$ are zero. The code that creates this plot is shown below. ``` python import numpy as np import matplotlib.pyplot as plt # read data from file xdata, ydata = np.loadtxt('wavePulseData.txt', unpack=True) # create x and y arrays for theory x = np.linspace(-10., 10., 200) y = np.sin(x) * np.exp(-(x/5.0)**2) # create plot plt.figure(1, figsize = (6,4) ) plt.plot(x, y, 'b-', label='theory') plt.plot(xdata, ydata, 'ro', label="data") plt.xlabel('x') plt.ylabel('transverse displacement') plt.legend(loc='upper right') plt.axhline(color = 'gray', zorder=-1) plt.axvline(color = 'gray', zorder=-1) # save plot to file plt.savefig('WavyPulse.pdf') # display plot on screen plt.show() ``` <figure> <img src="attachment:WavyPulse.png" class="align-center" alt="" /><figcaption>Wavy pulse</figcaption> </figure> If you have read the first four chapters, the code in lines 1-9 in the above script should be familiar to you. Fist, the script loads the NumPy and MatPlotLib modules, then reads data from a data file into two arrays, `xdata` and `ydata`, and then creates two more arrays, `x` and `y`. The first pair or arrays, `xdata` and `ydata`, contain the $x$-$y$ data that are plotted as red circles in the `fig-WavyPulse` figure; the arrays created in line 8 and 9 contain the $x$-$y$ data that are plotted as a blue line. The functions that do the plotting begin on line 12. Let's go through them one by one and see what they do. You will notice in several cases that *keyword arguments* (`kwargs`) are used in several cases. Keyword arguments are *optional* arguments that have the form `kwarg=` *data*, where *data* might be a number, a string, a tuple, or some other form of data. > `figure()` > creates a blank figure window. If it has no arguments, it creates a > window that is 8 inches wide and 6 inches high by default, although > the size that appears on your computer depends on your screen's > resolution. For most computers, it will be much smaller. You can > create a window whose size differs from the default using the optional > keyword argument `figsize`, as we have done here. If you use > `figsize`, set it equal to a 2-element tuple where the elements are > the width and height, respectively, of the plot. Multiple calls to > `figure()` opens multiple windows: `figure(1)` opens up one window for > plotting, `figure(2)` another, and `figure(3)` yet another. > > `plot(x, y,` *optional arguments* `)` > graphs the $x$-$y$ data in the arrays `x` and `y`. The third argument > is a format string that specifies the color and the type of line or > symbol that is used to plot the data. The string `'ro'` specifies a > red (`r`) circle (`o`). The string `'b-'` specifies a blue (`b`) solid > line (`-`). The keyword argument `label` is set equal to a string that > labels the data if the `legend` function is called subsequently. > > `xlabel(` *string* `)` > takes a string argument that specifies the label for the graph's > $x$-axis. > > `ylabel(` *string* `)` > takes a string argument that specifies the label for the graph's > $y$-axis. > > `legend()` > makes a legend for the data plotted. Each $x$-$y$ data set is labeled > using the string that was supplied by the `label` keyword in the > `plot` function that graphed the data set. The `loc` keyword argument > specifies the location of the legend. > > `axhline()` > draws a horizontal line across the width of the plot at `y=0`. The > optional keyword argument `color` is a string that specifies the color > of the line. The default color is black. The optional keyword argument > `zorder` is an integer that specifies which plotting elements are in > front of or behind others. By default, new plotting elements appear > *on top of* previously plotted elements and have a value of > `zorder=0`. By specifying `zorder=-1`, the horizontal line is plotted > *behind* all existing plot elements that have not be assigned an > explicit `zorder` less than -1. > > `axvline()` > draws a vertical line from the top to the bottom of the plot at `x=0`. > See `axhline()` for explanation of the arguments. > > `savefig(` *string* `)` > saves the figure to data data file with a name specified by the string > argument. The string argument can also contain path information if you > want to save the file so some place other than the default directory. > > `show()` > displays the plot on the computer screen. No screen output is produced > before this function is called. single: MatPlotLib functions; figure single: MatPlotLib functions; plot single: MatPlotLib functions; xlabel, ylabel single: MatPlotLib functions; legend single: MatPlotLib functions; ayhline, axhline single: MatPlotLib functions; savefig single: MatPlotLib functions; show To plot the solid blue line, the code uses the `'b-'` format specifier in the `plot` function call. It is important to understand that MatPlotLib draws *straight lines* between data points. Therefore, the curve will appear smooth only if the data in the NumPy arrays are sufficiently dense. If the space between data points is too large, the straight lines the `plot` function draws between data points will be visible. For plotting a typical function, something on the order of 100-200 data points usually produces a smooth curve, depending on just how curvy the function is. On the other hand, only two points are required to draw a smooth straight line. Detailed information about the MatPlotLib plotting functions are available online, starting with the site <http://matplotlib.org/api/pyplot_summary.html>. The main MatPlotLib site is <http://matplotlib.org/>. ### Specifying line and symbol types and colors In the above example, we illustrated how to draw one line type (solid), one symbol type (circle), and two colors (blue and red). There are many more possibilities, which are specified in the tables below. The way it works is to specify a string consisting of one or more plotting format specifiers. There are two types of format specifiers, one for the line or symbol type and another for the color. It does not matter in which order the format specifiers are listed in the string. Examples are given following the two tables. Try them out to make sure you understand how these plotting format specifiers work. single: plots; line and symbol specifiers The first table below shows the characters used to specify the line or symbol type that is used. If a line type is chosen, the lines are drawn between the data points. If a marker type is chosen, the a marker is plotted at each data point. > <table> > <colgroup> > <col style="width: 16%" /> > <col style="width: 33%" /> > <col style="width: 16%" /> > <col style="width: 33%" /> > </colgroup> > <thead> > <tr class="header"> > <th>character</th> > <th>description</th> > <th>character</th> > <th>description</th> > </tr> > </thead> > <tbody> > <tr class="odd"> > <td><code>-</code></td> > <td>solid line style</td> > <td><code>3</code></td> > <td>tri_left marker</td> > </tr> > <tr class="even"> > <td><code>--</code></td> > <td>dashed line style</td> > <td><code>4</code></td> > <td>tri_right marker</td> > </tr> > <tr class="odd"> > <td><code>-.</code></td> > <td>dash-dot line style</td> > <td><code>s</code></td> > <td>square marker</td> > </tr> > <tr class="even"> > <td><code>:</code></td> > <td>dotted line style</td> > <td><code>p</code></td> > <td>pentagon marker</td> > </tr> > <tr class="odd"> > <td><code>.</code></td> > <td>point marker</td> > <td><code>*</code></td> > <td>star marker</td> > </tr> > <tr class="even"> > <td><code>,</code></td> > <td>pixel marker</td> > <td><code>h</code></td> > <td>hexagon1 marker</td> > </tr> > <tr class="odd"> > <td><code>o</code></td> > <td>circle marker</td> > <td><code>H</code></td> > <td>hexagon2 marker</td> > </tr> > <tr class="even"> > <td><code>v</code></td> > <td>triangle_down marker</td> > <td><code>+</code></td> > <td>plus marker</td> > </tr> > <tr class="odd"> > <td><code>^</code></td> > <td>triangle_up marker</td> > <td><code>x</code></td> > <td>x marker</td> > </tr> > <tr class="even"> > <td><code>&lt;</code></td> > <td>triangle_left marker</td> > <td><code>D</code></td> > <td>diamond marker</td> > </tr> > <tr class="odd"> > <td><code>&gt;</code></td> > <td>triangle_right marker</td> > <td><code>d</code></td> > <td>thin_diamond marker</td> > </tr> > <tr class="even"> > <td><code>1</code></td> > <td>tri_down marker</td> > <td><code>|</code></td> > <td>vline marker</td> > </tr> > <tr class="odd"> > <td><code>2</code></td> > <td>tri_up marker</td> > <td><code>_</code></td> > <td>hline marker</td> > </tr> > </tbody> > </table> > This second table gives the character codes for eight different colors. Many more are possible but the color specification becomes more complex. You can consult the web-based MatPlotLib documentation for further details. > <table style="width:33%;"> > <colgroup> > <col style="width: 16%" /> > <col style="width: 16%" /> > </colgroup> > <thead> > <tr class="header"> > <th>character</th> > <th>color</th> > </tr> > </thead> > <tbody> > <tr class="odd"> > <td><code>b</code></td> > <td>blue</td> > </tr> > <tr class="even"> > <td><code>g</code></td> > <td>green</td> > </tr> > <tr class="odd"> > <td><code>r</code></td> > <td>red</td> > </tr> > <tr class="even"> > <td><code>c</code></td> > <td>cyan</td> > </tr> > <tr class="odd"> > <td><code>m</code></td> > <td>magenta</td> > </tr> > <tr class="even"> > <td><code>y</code></td> > <td>yellow</td> > </tr> > <tr class="odd"> > <td><code>k</code></td> > <td>black</td> > </tr> > <tr class="even"> > <td><code>w</code></td> > <td>white</td> > </tr> > </tbody> > </table> > Here are some examples of how these format specifiers can be used: ``` python plot(x, y, 'ro') # plots red circles plot(x, y, 'ks-') # plot black squares connected by black lines plot(x, y, 'g^') # plots green triangles that point up plot(x, y, 'k-') # plots a black line between the points plot(x, y, 'ms') # plots magenta squares ``` You can also make two calls sequentially for added versatility. For example, by sequentially calling the last two plot calls, the plot produces magenta squares on top of black lines connecting the data points. These format specifiers give rudimentary control of the plotting symbols and lines. MatPlotLib provides much more precise and detailed control of the plotting symbol size, line types, and colors using optional keyword arguments instead of the plotting format strings introduced above. For example, the following command creates a plot of large yellow diamond symbols with blue edges connected by a green dashed line: ``` python plt.plot(x, y, color='green', linestyle='dashed', marker='d', markerfacecolor='yellow', markersize=12, markeredgecolor='blue') ``` Try it out! The online MatPlotLib documentation provides all the plotting format keyword arguments and their possible values. ### Error bars single: plots; error bars When plotting experimental data it is customary to include error bars that indicate graphically the degree of uncertainty that exists in the measurement of each data point. The MatPlotLib function `errorbar` plots data with error bars attached. It can be used in a way that either replaces or augments the `plot` function. Both vertical and horizontal error bars can be displayed. The figure below illustrates the use of error bars. <figure> <img src="attachment:ExpDecay.png" class="align-center" alt="" /><figcaption>Error Bars</figcaption> </figure> When error bars are desired, you typically replace the `plot` function with the `errorbar` function. The first two arguments of the `errorbar` function are the `x` and `y` arrays to be plotted, just as for the `plot` function. The keyword `fmt` *must be used* to specify the format of the points to be plotted; the format specifiers are the same as for `plot`. The keywords `xerr` and `yerr` are used to specify the $x$ and $y$ error bars. Setting one or both of them to a constant specifies one size for all the error bars. Alternatively, setting one or both of them equal to an array that has the same length as the `x` and `y` arrays allows you to give each data point an error bar with a different value. If you only want $y$ error bars, then you should only specify the `yerr` keyword and omit the `xerr` keyword. The color of the error bars is set with the keyword `ecolor`. The code and plot below illustrates how to make error bars and was used to make the above plot. Lines 14 and 15 contain the call to the `errorbar` function. The $x$ error bars are all set to a constant value of 0.75, meaning that the error bars extend 0.75 to the left and 0.75 to the right of each data point. The $y$ error bars are set equal to an array, which was read in from the data file containing the data to be plotted, so each data point has a different $y$ error bar. By the way, leaving out the `xerr` keyword argument in the `errorbar` function call below would mean that only the $y$ error bars would be plotted. ``` python import numpy as np import matplotlib.pyplot as plt # read data from file xdata, ydata, yerror = np.loadtxt('expDecayData.txt', unpack=True) # create theoretical fitting curve x = np.linspace(0, 45, 128) y = 1.1+ 3.0*x*np.exp(-(x/10.0)**2) # create plot plt.figure(1, figsize = (6,4) ) plt.plot(x, y, 'b-', label="theory") plt.errorbar(xdata, ydata, fmt='ro', label="data", xerr=0.75, yerr=yerror, ecolor='black') plt.xlabel('x') plt.ylabel('transverse displacement') plt.legend(loc='upper right') # save plot to file plt.savefig('ExpDecay.pdf') # display plot on screen plt.show() ``` We have more to say about the `errorbar` function in the sections on logarithmic plots. But the brief introduction given here should suffice for making most plots not involving logarithmic axes. ### Setting plotting limits and excluding data It turns out that you often want to restrict the range of numerical values over which you plot data or functions. In these cases you may need to manually specify the plotting window or, alternatively, you may wish to exclude data points that are outside some set of limits. Here we demonstrate methods for doing this. #### Setting plotting limits single: plots; setting axis limits Suppose you want to plot the tangent function over the interval from 0 to 10. The following script offers an straightforward first attempt. ``` python import numpy as np import matplotlib.pyplot as plt theta = np.arange(0.01, 10., 0.04) ytan = np.tan(theta) plt.figure() plt.plot(theta, ytan) plt.show() ``` <figure> <img src="attachment:plotLimits1.png" class="align-center" alt="" /> </figure> The resulting plot, shown above, doesn't quite look like what you might have expected for $\tan\theta$ *vs* $\theta$. The problem is that $\tan\theta$ diverges at $\theta = \pi/2, 3\pi/2, 5\pi/2, ...$, which leads to large spikes in the plots as values in the `theta` array come near those values. Of course, we don't want the plot to extend all the way out to $\pm\infty$ in the $y$ direction, nor can it. Instead, we would like the plot to extend far enough that we get the idea of what is going on as $y\rightarrow\pm\infty$, but we would still like to see the behavior of the graph near $y=0$. We can restrict the range of `ytan` values that are plotted using the MatPlotLib function `ylim`, as we demonstrate in the script below. ``` python import numpy as np import matplotlib.pyplot as plt theta = np.arange(0.01, 10., 0.04) ytan = np.tan(theta) plt.figure() plt.plot(theta, ytan) plt.ylim(-8, 8) # restricts range of y axis from -8 to +8 plt.axhline(color="gray", zorder=-1) plt.show() ``` The figure produced by this script is shown below. The plot now looks much more like the familiar $\tan\theta$ function we know. We have also include a call to the `axline` function to create an $x$ axis. <figure> <img src="attachment:plotLimits2.png" class="align-center" alt="" /><figcaption>Tangent function (with spurious lines)</figcaption> </figure> The vertical blue lines at $\theta = \pi/2, 3\pi/2, 5\pi/2$ should not appear in a plot of $\tan\theta$ *vs* $\theta$. However, they do appear because the `plot` function simply draws lines between the data points in the `x`-`y` arrays provided in its arguments. Thus, `plot` draws a line between the very large positive and negative `ytan` values corresponding to the `theta` values on either side of $\pi/2$ where $\tan\theta$ diverges to $\pm\infty$. It would be nice to exclude that line. #### Masked arrays single: plots; masked arrays single: masked arrays We can exclude the data points near $\theta = \pi/2, 3\pi/2, 5\pi/2$ in the above plot, and thus avoid drawing the nearly vertical lines at those points, using NumPy's *masked array* feature. The code below shows how this is done and produces the graph below. The masked array feature is implemented in line 6 with a call to NumPy's `masked_where` function in the sub-module `ma` (masked array). Therefore, it is called by writing `np.ma.masked_where`. The `masked_where` function works as follows. The first argument sets the condition for masking elements of the array, which is specified by the second argument. In this case, the function says to mask all elements of the array `ytan` (the second argument) where the absolute value of `ytan` is greater than 20. The result is set equal to `ytanM`. When `ytanM` is plotted, MatPlotLib's `plot` function omits all masked points from the plot. You can think of it as the `plot` function lifting the pen that is drawing the line in the plot when it comes to the masked points in the array `ytanM`. <figure> <img src="attachment:plotLimits3.png" class="align-center" alt="" /><figcaption>Tangent function</figcaption> </figure> ``` python import numpy as np import matplotlib.pyplot as plt theta = np.arange(0.01, 10., 0.04) ytan = np.tan(theta) ytanM = np.ma.masked_where(np.abs(ytan)>20., ytan) plt.figure() plt.plot(theta, ytanM) plt.ylim(-8, 8) plt.axhline(color="gray", zorder=-1) plt.show() ``` ### Subplots single: plots; subplots Often you want to create two or more graphs and place them next to one another, generally because they are related to each other in some way. The plot below shows an example of such a plot. In the top graph, $\tan\theta$ and $\sqrt{(8/\theta)^2-1}$ *vs* $\theta$ are plotted. The two curves cross each other at the points where $\tan\theta=\sqrt{(8/\theta)^2-1}$. In the bottom $\cot\theta$ and $-\sqrt{(8/\theta)^2-1}$ *vs* $\theta$ are plotted. These two curves cross each other at the points where $\cot\theta=-\sqrt{(8/\theta)^2-1}$. <figure> <img src="attachment:subplotDemo.png" class="align-center" alt="" /><figcaption>Crossing functions</figcaption> </figure> The code that produces this plot is provided below. ``` python import numpy as np import matplotlib.pyplot as plt theta = np.arange(0.01, 8., 0.04) y = np.sqrt((8./theta)**2-1.) ytan = np.tan(theta) ytan = np.ma.masked_where(np.abs(ytan)>20., ytan) ycot = 1./np.tan(theta) ycot = np.ma.masked_where(np.abs(ycot)>20., ycot) plt.figure(1) plt.subplot(2, 1, 1) plt.plot(theta, y) plt.plot(theta, ytan) plt.ylim(-8, 8) plt.axhline(color="gray", zorder=-1) plt.axvline(x=np.pi/2., color="gray", linestyle='--', zorder=-1) plt.axvline(x=3.*np.pi/2., color="gray", linestyle='--', zorder=-1) plt.axvline(x=5.*np.pi/2., color="gray", linestyle='--', zorder=-1) plt.xlabel("theta") plt.ylabel("tan(theta)") plt.subplot(2, 1, 2) plt.plot(theta, -y) plt.plot(theta, ycot) plt.ylim(-8, 8) plt.axhline(color="gray", zorder=-1) plt.axvline(x=np.pi, color="gray", linestyle='--', zorder=-1) plt.axvline(x=2.*np.pi, color="gray", linestyle='--', zorder=-1) plt.xlabel("theta") plt.ylabel("cot(theta)") plt.show() ``` The function `subplot`, called on lines 13 and 24, creates the two subplots in the above figure. `subplot` has three arguments. The first specifies the number of rows that the figure space is to be divided into; on line 13, it's two. The second specifies the number of columns that the figure space is to be divided into; on line 13, it's one. The third argument specifies which rectangle the will contain the plot specified by the following function calls. Line 13 specifies that the plotting commands that follow will be act on the first box. Line 24 specifies that the plotting commands that follow will be act on the second box. We have also labeled the axes and included dashed vertical lines at the values of $\theta$ where $\tan\theta$ and $\cot\theta$ diverge. Logarithmic plots ----------------- single: plots; logarithmic axes Data sets can span many orders of magnitude from fractional quantities much smaller than unity to values much larger than unity. In such cases it is often useful to plot the data on logarithmic axes. ### Semi-log plots single: plots; semi-log For data sets that vary exponentially in the independent variable, it is often useful to use one or more logarithmic axes. Radioactive decay of unstable nuclei, for example, exhibits an exponential decrease in the number of particles emitted from the nuclei as a function of time. In the plot below, for example, we show the decay of the radioactive isotope Phosphorus-32 over a period of 6 months, where the radioactivity is measured once each week. Starting at a decay rate of nearly $10^4$ electrons (counts) per second, the decay rate diminishes to only about 1 count per second after about 6 months or 180 days. If we plot counts per second as a function of time on a normal plot, as we have done in the plot on the left below, then the count rate is indistinguishable from zero after about 100 days. On the other hand, if we use a logarithmic axis for the count rate, as we have done in the plot on the right below, then we can follow the count rate well past 100 days and can readily distinguish it from zero. Moreover, if the data vary exponentially in time, then the data will fall along a straight line, as they do for the case of radioactive decay. <figure> <img src="attachment:semilogDemo.png" class="align-center" alt="" /><figcaption>Semi-log plotting</figcaption> </figure> MatPlotLib provides two functions for making semi-logarithmic plots, `semilogx` and `semilogy`, for creating plots with logarithmic $x$ and $y$ axes, with linear $y$ and $x$ axes, respectively. We illustrate their use in the program below, which made the above plots. ``` python import numpy as np import matplotlib.pyplot as plt # read data from file time, counts, unc = np.loadtxt('SemilogDemo.txt', unpack=True) # create theoretical fitting curve tau = 20.2 # Phosphorus-32 half life = 14 days; tau = t_half/ln(2) N0 = 8200. # Initial count rate (per second) t = np.linspace(0, 180, 128) N = N0 * np.exp(-t/tau) # create plot plt.figure(1, figsize = (10,4) ) plt.subplot(1, 2, 1) plt.plot(t, N, 'b-', label="theory") plt.plot(time, counts, 'ro', label="data") plt.xlabel('time (days)') plt.ylabel('counts per second') plt.legend(loc='upper right') plt.subplot(1, 2, 2) plt.semilogy(t, N, 'b-', label="theory") plt.semilogy(time, counts, 'ro', label="data") plt.xlabel('time (days)') plt.ylabel('counts per second') plt.legend(loc='upper right') plt.tight_layout() # display plot on screen plt.show() ``` The `semilogx` and `semilogy` functions work the same way as the `plot` function. You just use one or the other depending on which axis you want to be logarithmic. #### The `tight_layout()` function single: MatPlotLib functions; tight\_layout You may have noticed the `tight_layout()` function, called without arguments on line 30 of the program. This is a convenience function that adjusts the sizes of the plots to make room for the axes labels. If it is not called, the $y$-axis label of the right plot runs into the left plot. The `tight_layout()` function can also be useful in graphics windows with only one plot sometimes. ### Log-log plots single: plots; log-log MatPlotLib can also make log-log or double-logarithmic plots using the function `loglog`. It is useful when both the $x$ and $y$ data span many orders of magnitude. Data that are described by a power law $y=Ax^b$, where $A$ and $b$ are constants, appear as straight lines when plotted on a log-log plot. Again, the `loglog` function works just like the `plot` function but with logarithmic axes. More advanced graphical output ------------------------------ The plotting methods introduced in the previous sections are perfectly adequate for basic plotting and are therefore recommended for simple graphical output. Here, we introduce an alternative syntax that harnesses the full power of MatPlotLib. It gives the user more options and greater control. Perhaps the most efficient way to learn this alternative syntax is to look at an example. The figure below illustrating `MultPlotDemo` is produced by the following code: <figure> <img src="attachment:MultPlotDemo.png" class="align-center" width="320" alt="" /><figcaption>Mulitple plots in the same window</figcaption> </figure> # Demonstrates the following: # plotting logarithmic axes # user-defined functions # "where" function, NumPy array conditional import numpy as np import matplotlib.pyplot as plt # Define the sinc function, with output for x=0 defined # as a special case to avoid division by zero. The code # below defining the sinc function is developed and # explained in Chapter 7, Section 1. def s(x): a = np.where(x==0., 1., np.sin(x)/x) return a # create arrays for plotting x = np.arange(0., 10., 0.1) y = np.exp(x) t = np.linspace(-10., 10., 100) z = s(t) # create a figure window fig = plt.figure(1, figsize=(9,8)) # subplot: linear plot of exponential ax1 = fig.add_subplot(2,2,1) ax1.plot(x, y) ax1.set_xlabel('time (ms)') ax1.set_ylabel('distance (mm)') ax1.set_title('exponential') # subplot: semi-log plot of exponential ax2 = fig.add_subplot(2,2,2) ax2.plot(x, y) ax2.set_yscale('log') ax2.set_xlabel('time (ms)') ax2.set_ylabel('distance (mm)') ax2.set_title('exponential') # subplot: wide subplot of sinc function ax3 = fig.add_subplot(2,1,2) ax3.plot(t, z, 'r') ax3.axhline(color='gray') ax3.axvline(color='gray') ax3.set_xlabel('angle (deg)') ax3.set_ylabel('electric field') ax3.set_title('sinc function') # Adjusts white space to avoid collisions between subplots fig.tight_layout() plt.show() After defining several arrays for plotting, the above program opens a figure window in line 23 with the statement : fig = plt.figure(figsize=(9,8)) The MatPlotLib statement above creates a **Figure** object, assigns it the name `fig`, and opens a blank figure window. Thus, just as we give lists, arrays, and numbers variable names (*e.g.* `a = [1, 2, 5, 7]`, `dd = np.array([2.3, 5.1, 3.9])`, or `st = 4.3`), we can give a figure object and the window in creates a name: here it is `fig`. In fact we can use the `figure` function to open up multiple figure objects with different figure windows. The statements : fig1 = plt.figure() fig2 = plt.figure() open up two separate windows, one named `fig1` and the other `fig2`. We can then use the names `fig1` and `fig2` to plot things in either window. The `figure` function need not take any arguments if you are satisfied with the default settings such as the figure size and the background color. On the other hane, by supplying one or more keyword arguments, you can customize the figure size, the background color, and a few other properties. For example, in the program listing (line 23), the keyword argument `figsize` sets the width and height of the figure window; the default size is `(8, 6)`; in our program we set it to `(9, 8)`, which is a bit wider and higher than the default size. In the example above, we also choose to open only a single window, hence the single `figure` call. The `fig.add_subplot(2,2,1)` in line 30 is a MatPlotLib function that divides the figure window into 2 rows (the first argument) and 2 columns (the second argument). The third argument creates a subplot in the first of the 4 subregions (*i.e.* of the 2 rows $\times$ 2 columns) created by the `fig.add_subplot(2,2,1)` call. To see how this works, type the following code into a Python module and run it: import numpy as np import matplotlib.pyplot as plt fig = plt.figure(figsize=(9,8)) ax1 = fig.add_subplot(2,2,1) plt.show() You should get a figure window with axes drawn in the upper left quadrant. The `fig.` prefix used with the `add_subplot(2,2,1)` function directs Python to draw these axes in the figure window named `fig`. If we had opened two figure windows, changing the prefix to correspond to the name of one or the other of the figure windows would direct the axes to be drawn in the appropriate window. Writing `ax1 = fig.add_subplot(2,2,1)` assigns the name ax1 to the axes in the upper left quadrant of the figure window. The `ax1.plot(x, y)` in line 27 directs Python to plot the previously-defined `x` and `y` arrays onto the axes named `ax1`. The `ax2 = fig.add_subplot(2,2,2)` draws axes in the second, or upper right, quadrant of the figure window. The `ax3 = fig.add_subplot(2,1,2)` divides the figure window into 2 rows (first argument) and 1 column (second argument), creates axes in the second or these two sections, and assigns those axes (*i.e.* that subplot) the name `ax3`. That is, it divides the figure window into 2 halves, top and bottom, and then draws axes in the half number 2 (the third argument), or lower half of the figure window. You may have noticed in above code that some of the function calls are a bit different from those used before: `xlabel(’time (ms)’)` becomes `set_xlabel(’time (ms)’)`, `title(’exponential’)` becomes `set_title(’exponential’)`, *etc.* The call `ax2.set_yscale('log')` sets the $y$-axes in the second plot to be logarithmic, thus creating a semi-log plot. Creating properly-labeled logarthmic axes like this is more straightforward with the advanced syntax illustrated in the above example. Using the prefixes `ax1`, `ax2`, or `ax3`, direct graphical instructions to their respective subplots. By creating and specifying names for the different figure windows and subplots within them, you access the different plot windows more efficiently. For example, the following code makes four identical subplots in a single figure window using a `for` loop. ``` ipython In [1]: fig = figure() In [2]: ax1 = fig.add_subplot(221) In [3]: ax2 = fig.add_subplot(222) In [4]: ax3 = fig.add_subplot(223) In [5]: ax4 = fig.add_subplot(224) In [6]: for ax in [ax1, ax2, ax3, ax4]: ...: ax.plot([3,5,8],[6,3,1]) In [7]: show() ``` Exercises --------- 1. Plot the function $y=3x^2$ for $-1 \le x \le 3$ as a continuous line. Include enough points so that the curve you plot appears smooth. Label the axes $x$ and $y$. 2. Plot the following function for $-15 \le x \le 15$: $$y = \frac{\cos x}{1+\frac{1}{5}x^2}$$ Include enough points so that the curve you plot appears smooth. Label the axes $x$ and $y$. 3. Plot the functions $\sin x$ and $\cos x$ *vs* $x$ on the same plot with $x$ going from $-\pi$ to $\pi$. Make sure the limits of $x$-axis do not extend beyond the limits of the data. Plot $\sin x$ in the color green and $\cos x$ in the color black and include a legend to label the two curves. Place the legend within the plot, but such that it does not cover either of the sine or cosine traces. 4. Create a data file with the data shown below. 1. Read the data into Python program and plot $t$ *vs* $y$ using circles for data points with error bars. Use the data in the `dy` column as the error estimates for the $y$ data. Label the horizontal and vertical axes "time (s)" and "position (cm)". 2. On the same graph, plot the function below as a smooth line. Make the line pass *behind* the data points. $$y(t) = \left[3 + \frac{1}{2}\sin\frac{\pi t}{5}\right] t\, e^{-t/10}$$ Data for Exercise 4 Date: 16-Aug-2013 Data taken by Lauren and John t d dy 1.0 2.94 0.7 4.5 8.29 1.2 8.0 9.36 1.2 11.5 11.60 1.4 15.0 9.32 1.3 18.5 7.75 1.1 22.0 8.06 1.2 25.5 5.60 1.0 29.0 4.50 0.8 32.5 4.01 0.8 36.0 2.62 0.7 39.5 1.70 0.6 43.0 2.03 0.6 5. Use MatPlotLib's function `hist` along with NumPy's function's `random.rand` and `random.randn` to create the histogram graphs shown in Fig. `fig-randhistos` 6. Plot force *vs* distance with error bars using the following data: d=np.array([0.38, 0.64, 0.91, 1.26, 1.41, 1.66, 1.90, 2.18]) f=np.array([1.4, 1.65, 3.0, 3.95, 4.3, 5.20, 6.85, 7.4]) df=np.array([ 0.4, 0.5, 0.4, 0.5, 0.6, 0.5, 0.5, 0.4]) Your plot should also include a visual straight "best fit" to the data as well as visual "fits" that give the smallest and largest slopes consistent with the data. Note, you only need two points to define a straight line so the straight lines you draw on the plot should be arrays of length 2 and no longer. All of your fitted lines should lie *behind* the data. Try to make your plot look like the one below. *In addition*, add a legend to your plot the gives the slope with its uncertainty obtained from your visual fits to the data. <figure> <img src="attachment:LinearData.png" class="align-center" alt="" /> </figure> The web page <http://matplotlib.org/api/pyplot_summary.html> gives a summary of the main plotting commands available in MatPlotLib. The two important ones here are `plot` and `errorbar`, which make regular plots and plots with error bars, respectively. You will find the following keyword arguments useful: `yerr`, `ls`, `marker`, `mfc`, `mec`, `ms`, and `ecolor`, which you can find described by clicking on the `errorbar` function link on the web page cited above. 7. The data file below shows data obtained for the displacement (position) *vs* time of a falling object, together with the estimated uncertainty in the displacement. > Measurements of fall velocity vs time > Taken by A.P. Crawford and S.M. Torres > 19-Sep-13 > time (s) position (m) uncertainty (m) > 0.0 0.0 0.04 > 0.5 1.3 0.12 > 1.0 5.1 0.2 > 1.5 10.9 0.3 > 2.0 18.9 0.4 > 2.5 28.7 0.4 > 3.0 40.3 0.5 > 3.5 53.1 0.6 > 4.0 67.5 0.6 > 4.5 82.3 0.6 > 5.0 97.6 0.7 > 5.5 113.8 0.7 > 6.0 131.2 0.7 > 6.5 148.5 0.7 > 7.0 166.2 0.7 > 7.5 184.2 0.7 > 8.0 201.6 0.7 > 8.5 220.1 0.7 > 9.0 238.3 0.7 > 9.5 256.5 0.7 > 10.0 275.6 0.8 1. Use these data to calculate the velocity and acceleration (in a Python program `.py` file), together with their uncertainties propagated from the displacement *vs* time uncertainties. Be sure to calculate time arrays corresponding the midpoint in time between the two displacements or velocities for the velocity and acceleration arrays, respectively. 2. In a single window frame, make three vertically stacked plots of the displacement, velocity, and acceleration *vs* time. Show the error bars on the different plots. Make sure that the time axes of all three plots cover the same range of times. Why do the relative sizes of the error bars grow progressively greater as one progresses from displacement to velocity to acceleration? ```{code-cell} ipython3 ```
37.633248
142
0.701079
eng_Latn
0.996975
2c5b9d4ae250633e05a056788b26182aa031f19d
16,370
md
Markdown
README.md
andrewmurphy353/curo-calculator-demo
ee66ce45f1b79e65509fead7d226d820a44deae9
[ "MIT" ]
null
null
null
README.md
andrewmurphy353/curo-calculator-demo
ee66ce45f1b79e65509fead7d226d820a44deae9
[ "MIT" ]
null
null
null
README.md
andrewmurphy353/curo-calculator-demo
ee66ce45f1b79e65509fead7d226d820a44deae9
[ "MIT" ]
null
null
null
# Curo Calculator Demo ![GitHub](https://img.shields.io/github/license/andrewmurphy353/curo-calculator-demo.svg) This application showcases certain features of the [Curo Calculator](https://www.npmjs.com/package/@curo/calculator) available for download from NPM. If you are reading this document in GitHub and want to quickly evaluate the calculator then visit [Stackblitz](https://stackblitz.com/@andrewmurphy353) where you are able to interact with the various demos presented below. Finally, if you haven't already done so please read the Curo Calculator [README](https://github.com/andrewmurphy353/curo-calculator) document for a quick and high level introduction to the calculator library. ## **DEMO 1:** Solve Unknown Payment, Compute Borrower's APR (Annual Percentage Rate) ## Problem Definition An individual has applied for a loan of 10,000.00, repayable by 6 monthly instalments in arrears. A fee of 50.0 is payable with the first instalment. The lender's effective annual interest rate is 8.25%. This scenario is illustrated below. ![Demo 1 Cash Flow Diagram](./assets/images/demo01.png) Using the US 30/360 day count convention, compute the value of the unknown instalments/payments and the borrower's APR. ## Code Solution See src/demo01.ts ```ts const calc = new Calculator(); // Define the cash flow series calc.add( SeriesAdvance.builder() .setLabel("Loan advance") .setAmount(10000.0) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(6) .setLabel("Instalment") .setMode(Mode.Arrear) .build() ); calc.add( SeriesCharge.builder() .setLabel("Fee") .setAmount(50.0) .setMode(Mode.Arrear) .build() ); // Calculate the unknown payment const pmtResult = calc.solveValue(new US30360(), 0.0825); // Calculate the borrower's APR const aprDecimal = calc.solveRate(new EU200848EC()); // Calculate the borrower's XIRR (see comment below) const xirrDecimal = calc.solveRate(new US30360(undefined, true, true)); ``` ## Calculation Output The results of this calculation are: * Payment value of 1707.00 * APR of 10.4% (to 1 decimal place) A quick word on the APR. In the demo it is computed in compliance with the European Union Consumer Credit Directive EU2008/49/EC. The directive requires the APR to reflect the total cost of credit, which in a nutshell requires all financing cash flows, plus any non-financing cash flows linked to the credit agreement such as charges and fees, to be included in the calculation. Nothing controversial here. But what if you are not in the European Union and want to achieve the same affect? In such cases you should compute the XIRR (eXtended Internal Rate of Return) implicit in the cash flow series. This will produce a result that is similar, if not exactly the same, and the single line of code showing you how is shown above (comment out `const aprDecimal = ...` in the demo). ## **DEMO 2:** Solve Unknown Rental, Compute Lessor's IRR (Internal Rate of Return) ## Problem Definition A business enters into a 3-year finance lease for equipment costing 15,000.00. Rentals are due monthly in advance. The lessor's effective annual interest rate is 6.0%. This scenario is illustrated below. ![Demo 2 Cash Flow Diagram](./assets/images/demo02.png) Using the Actual/Actual (ISDA) day count convention, compute the value of the unknown rentals and the lessor's IRR. ## Code Solution See src/demo02.ts ```ts const calc = new Calculator(); // Define the cash flow series calc.add( SeriesAdvance.builder() .setLabel("Equipment purchase") .setAmount(15000.0) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(36) .setLabel("Rental") .setMode(Mode.Advance) // No need to define as this is the default .build() ); // Calculate the unknown rentals const pmtResult = calc.solveValue(new ActISDA(), 0.06); // Calculate the lessor's IRR const rateDecimal = calc.solveRate(new ActISDA()); ``` ## Calculation Output The results of this calculation are: * Rental value of 454.14 * IRR of 6.000% (to 3 decimal places) ## **DEMO 3:** Solve Unknown Rental, Compute Lessor's XIRR (eXtended Internal Rate of Return) ## Problem Definition A business enters into a 2-year operating lease for equipment costing 25,000.00. Rentals are due monthly in advance followed by a 15,000.00 purchase option (future value). The lessor's effective annual interest rate is 5.0%. This scenario is illustrated below. ![Demo 3 Cash Flow Diagram](./assets/images/demo03.png) Using the US 30/360 day count convention, compute the value of the unknown rentals and the lessor's XIRR. ## Code Solution See src/demo03.ts ```ts const calc = new Calculator(); // Define the cash flow series calc.add( SeriesAdvance.builder() .setLabel("Equipment purchase") .setAmount(25000.0) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(24) .setLabel("Rental") .build() ); calc.add( SeriesPayment.builder() .setNumberOf(1) .setLabel("Purchase option") .setAmount(15000.0) .build() ); // Calculate the unknown rentals const pmtResult = calc.solveValue(new US30360(), 0.05); // Calculate the lessor's XIRR const rateDecimal = calc.solveRate(new US30360(undefined, undefined, true)); ``` ## Calculation Output The results of this calculation are: * Rental value of 499.13 * XIRR of 5.116% (to 3 decimal places) ## **DEMO 4:** Solve Unknown Payment with Irregular Interest Compounding ## Problem Definition An individual secures a loan of 10,000.00 repayable by 36 monthly instalments in arrears. The lender's effective annual interest rate is 8.25% and interest is compounded quarterly (not monthly). This scenario is illustrated below. ![Demo 4 Cash Flow Diagram](./assets/images/demo04.png) > Notice the absence of tick marks below payments 1, 2, 34 and 35? This signifies that interest is not capitalised, instead it continues to be accrued until the next compounding period with a tick mark is encounted i.e. every 3rd payment, or quarterly. Now, using the US 30/360 day count convention compute the value of the unknown payments and the lender's IRR. ## Code Solution See src/demo04.ts ```ts const calc = new Calculator(); const today = new Date(); // Define the cash flow series calc.add( SeriesAdvance.builder() .setLabel("Loan advance") .setAmount(10000.0) .setDrawdownFrom(today) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(36) .setLabel("Instalment") .setMode(Mode.Arrear) .setDueOnOrFrom(today) .setIsIntCap(false) // Important to override default true .build() ); calc.add( SeriesPayment.builder() .setNumberOf(12) .setLabel("Interest") .setAmount(0.0) // Important to set pmt amount to zero .setMode(Mode.Arrear) .setFrequency(Frequency.Quarterly) .setDueOnOrFrom(today) .setIsIntCap(true) .build() ); // Calculate the unknown payment const pmtResult = calc.solveValue(new US30360(), 0.0825); // Calculate the lender's IRR const rateDecimal = calc.solveRate(new US30360()); ``` > In this demo you are introduced to a powerful feature of the calculator, and that is you are permitted to define your own start dates for each series you define. This, as seen above, enables you to interweave two or more series to create a hybrid cash flow series with different property sets; and this is the approach used to solve this particular problem. First, define a monthly payment cash flow series and set `.setIsIntCap(false)` to override interest capitalisation in this series. Next, define a cash flow series for the quarterly interest accruals, assign a zero payment value, and set `.setIsIntCap(true)` to turn interest capitalisation on in this series (this is actually on by default). As you may expect given the same start dates, the date of each interest cash flow will coincide with the date of every third payment cash flow when both series are interwoven, and this is exactly what you will see when you review the amortisation schedule produced with the results. ## Calculation Output The results of this calculation are: * Rental value of 314.25 * IRR of 8.250% (to 3 decimal places) > Tip: When you run this demo the amortisation schedule accompanying the results will show interest is compounded quarterly, not monthly. ## **DEMO 5:** Compute Supplier Contribution, 0% Interest Finance Promotion ## Problem Definition A car dealership offers an individual 0% finance on a car costing 20,400.00. An upfront deposit of 6000.00 is payable, followed by 36 monthly instalments of 400.00 in arrears. Finance is provided by a third party lender at an effective annual interest rate of 5.0%. The supplier agrees with the lender to make an *undisclosed* contribution to cover the cost of finance. This scenario is illustrated below. ![Demo 5 Cash Flow Diagram](./assets/images/demo05.png) Using the US 30/360 day count convention, compute the value of the contribution and lender's IRR. ## Code Solution See src/demo05.ts ```ts const calc = new Calculator(); const today = new Date(); // Define the cash flow series calc.add( SeriesAdvance.builder() .setLabel("Cost of car") .setAmount(20400.0) .setDrawdownFrom(today) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(1) .setLabel("Deposit") .setAmount(6000.0) .setDueOnOrFrom(today) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(1) .setLabel("Supplier contribution") .setDueOnOrFrom(today) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(36) .setLabel("Instalment") .setAmount(400.0) .setMode(Mode.Arrear) .setDueOnOrFrom(today) .build() ); // Calculate the supplier contribution const pmtResult = calc.solveValue(new US30360(), 0.05); // Calculate the lender's IRR const rateDecimal = calc.solveRate(new US30360()); ``` ## Calculation Output The results of this calculation are: * Supplier contribution of 1,053.72 * IRR of 5.000% (to 3 decimal places) > We already know the effective interest rate to the borrower is 0% (the sum of the deposit and all payments equals the cost of the car), but what if we wanted to check it? In order to do so you would perform the above calculation again, but simply omit the supplier contribution cash flow series. In this case the result from the line `const rateDecimal = calc.solveRate(new US30360());` would return the interest rate implicit in the series from *the borrower's perspective*. Also bear in mind there would be no need to call `calc.solveValue(...)` as all the cash flow values are known. ## **DEMO 6:** Compute Supplier Contribution, 0% Interest Finance Promotion, 30 Day Deferred Settlement ## Problem Definition (a variation of demo 5) A car dealership offers an individual 0% finance on a car costing 20,400.00. An upfront deposit of 6000.00 is payable, followed by 36 monthly instalments of 400.00 in arrears. Finance is provided by a third party lender at an effective annual interest rate of 5.0%. The supplier agrees with the lender to make an *undisclosed* contribution to cover the cost of finance, and furthermore offers the lender 30 day settlement terms. This scenario is illustrated below. ![Demo 6 Cash Flow Diagram](./assets/images/demo06.png) Using the US 30/360 day count convention, compute the value of the contribution and lender's IRR. ## Code Solution See src/demo06.ts ```ts const calc = new Calculator(); const today = new Date(); // Define the cash flow series calc.add( SeriesAdvance.builder() .setLabel("Cost of car") .setAmount(20400.0) .setDrawdownFrom(today) .setSettlementOn(DateUtils.rollDay(today, 30)) // 30 days from today .build() ); calc.add( SeriesPayment.builder() .setNumberOf(1) .setLabel("Deposit") .setAmount(6000.0) .setDueOnOrFrom(today) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(1) .setLabel("Supplier contribution") .setDueOnOrFrom(DateUtils.rollDay(today, 30)) // 30 days from today .build() ); calc.add( SeriesPayment.builder() .setNumberOf(36) .setLabel("Instalment") .setAmount(400.0) .setMode(Mode.Arrear) .setDueOnOrFrom(today) .build() ); // Calculate the supplier contribution const pmtResult = calc.solveValue(new US30360(false), 0.05); // Calculate the lender's IRR (based on cash flow value dates) const rateDecimal = calc.solveRate(new US30360(false)); ``` > When determining the lender's IRR *under deferred settlement schemes* it is important the calculation is based on the cash flow *value dates*. You specify the handling of this special case by passing `false` as the first argument to the day count convention constructor, as above. Finally, the demo 6 comment concerning the calculation of the borrower's implicit interest rate applies equally here. ## Calculation Output The results of this calculation are: * Supplier contribution of 999.97 * IRR of 5.000% (to 3 decimal places) ## **DEMO 7:** Solve Unknown Payment, Stepped Repayment Profile ## Problem Definition An individual secures a loan of 10,000.00 repayable by 36 monthly instalments in arrears on a stepped profile. The instalments payable in each successive year are to be stepped at the ratio 1.0 : 0.6 : 0.4 to accelerate capital recovery in earlier years. The lender's effective annual interest rate is 7.0%. This scenario is illustrated below. ![Demo 7 Cash Flow Diagram](./assets/images/demo07.png) Using the US 30/360 day count convention, compute the value of the unknown (fully weighted) instalment and the borrower's APR. ## Code Solution See src/demo07.ts ```ts const calc = new Calculator(); // Define the cash flow series calc.add( SeriesAdvance.builder() .setLabel("Loan advance") .setAmount(10000.0) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(12) .setLabel("Instalment") .setMode(Mode.Arrear) .setWeighting(1.0) // 100% of the unknown payment value (fully weighted) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(12) .setLabel("Instalment") .setMode(Mode.Arrear) .setWeighting(0.6) // 60% of the unknown payment value .build() ); calc.add( SeriesPayment.builder() .setNumberOf(12) .setLabel("Instalment") .setMode(Mode.Arrear) .setWeighting(0.4) // 40% of the unknown payment value .build() ); // Calculate the unknown payment (fully weighted) const pmtResult = calc.solveValue(new US30360(), 0.07); // Calculate the borrower's APR const rateDecimal = calc.solveRate(new EU200848EC()); ``` ## Calculation Output The results of this calculation are: * Payment (fully weighted) 453.63 * APR of 7.2% (to 1 decimal place) ## **DEMO 8:** Solve Unknown Rental, Loaded First Rental ## Problem Definition A business enters into a 3-year finance lease for equipment costing 10,000.00. Rentals are due monthly with the first 3 rentals due upfront, followed by the remaining 33 monthly rentals due in arrears. The lessor's effective annual interest rate is 7.0%. This scenario is illustrated below. ![Demo 8 Cash Flow Diagram](./assets/images/demo08.png) Using the US 30/360 day count convention, compute the value of the unknown rental and the lessor's IRR. ## Code Solution See src/demo08.ts ```ts const calc = new Calculator(); // Define the cash flow series calc.add( SeriesAdvance.builder() .setLabel("Equipment cost") .setAmount(10000.0) .build() ); calc.add( SeriesPayment.builder() .setNumberOf(1) .setLabel("Initial rental") .setWeighting(3.0) // 3x the unknown fully weighted payment value .build() ); calc.add( SeriesPayment.builder() .setNumberOf(33) .setLabel("Rental") .setMode(Mode.Arrear) .setWeighting(1.0) // 1x the unknown fully weighted payment value .build() ); // Calculate the unknown rental (fully weighted) const pmtResult = calc.solveValue(new US30360(), 0.07); // Calculate the lessor's IRR const rateDecimal = calc.solveRate(new US30360()); ``` ## Calculation Output The results of this calculation are: * Rental of 305.19 * IRR of 7.000% (to 3 decimal places) --- ## Feedback If you have any queries or suggestions for different demos please make contact via github. ## License Copyright © 2019, [Andrew Murphy](https://github.com/andrewmurphy353). Released under the [MIT License](LICENSE).
36.216814
984
0.737202
eng_Latn
0.959409
2c5d27963705de7e677bb5420edcc2faecdc9eb3
38
md
Markdown
README.md
MoralistFestus/dragondocsrepo
fbd85958718a3816b3c5db16152ca2fe14b339c0
[ "MIT" ]
2
2020-06-15T13:27:18.000Z
2020-06-18T11:37:25.000Z
README.md
tyroklone/dragondocsrepo
1592d6e805a5db86e94340ab0f10ebe1498091ac
[ "MIT" ]
null
null
null
README.md
tyroklone/dragondocsrepo
1592d6e805a5db86e94340ab0f10ebe1498091ac
[ "MIT" ]
null
null
null
# dragondocsrepo official dragon docs
12.666667
20
0.842105
eng_Latn
0.693301
2c5d47a92250163fb32ae93dd246b6ebb825f963
3,630
md
Markdown
README.md
pmtavares/AspNetCoreMicroservices
713e254cfe50e1450a8679e45f80c951bfdf3fc4
[ "MIT" ]
null
null
null
README.md
pmtavares/AspNetCoreMicroservices
713e254cfe50e1450a8679e45f80c951bfdf3fc4
[ "MIT" ]
null
null
null
README.md
pmtavares/AspNetCoreMicroservices
713e254cfe50e1450a8679e45f80c951bfdf3fc4
[ "MIT" ]
null
null
null
# AspNetCoreMicroservices ### Getting mongodb docker * The mongodb will be in docker container, in order to set up, go to https://hub.docker.com/ and search for mongo (https://hub.docker.com/_/mongo). ### Execute the following command to download the image: ```bash docker pull mongo ``` You will see in the cmd screen mongodb being downloaded #### Run the container: ```bash docker run -d -p 27017:27017 --name aspnetrun-mongo mongo ``` #### Go into the container ```bash docker exec -it aspnetrun-mongo /bin/bash ``` * type: mongo * Create new Database: use CatalogDb * Create Collection: db.createCollection('Products') #### Install * MongoDB.Driver: 2.12.2 ### Create docker image of api * Before doing anything, go to VS menu, tools/options/Container tools/Docker compose, change the values to: - Pull required Docker images on project open: False - Pull updated Docker images on project open: Never - Remove containers on project close: True - Run containers on project open: False * Click with right button on the project, Add / Container Orchestrator Support * Target OS: Linux. A docker file is generated (docker-compose) * Go to the new created file docker-compose.yml and add the following line in order to get services from another container { catalogdb: image: mongo } * In the same file, add volume as below: volumes: mongo_data: * Go to new created docker-compose-override.yml file and add the following: { services: catalogdb: container_name: catalogdb restart: always ports: - "27017:27017" volumes: - mongo_data:/data/db catalog.api: container_name: catalog.api environment: - ASPNETCORE_ENVIRONMENT=Development - "CatalogDatabaseSettings:ConnectionString=mongodb://catalogdb:27017 depends_on: - catalogdb ports: - "8000:80" //Our port is 8000 } * After above, go to the folder where docker-compose is, open cmd and execute the bellow: > docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d * Go to localhost:8080/swagger. You will see the application running Note: Be aware that we might face indentation issues * Remove dockers image: > docker-compose -f docker-compose.yml -f docker-compose.override.yml download ### Basket Project #### Redis * Go to docker hub and look for redis image, then open cmd and execute: docker pull redis * Run the image: docker run -d -p 6379:6379 --name aspnetrun-redis redis * Go inside the container: docker exec -it aspnetrun-redis /bin/bash * In order to type redis commands type: redis-cli. Then to test type: set name "anything", then type: get name. For redis-alpine, the command is: /usr/bin/redis-cli ** For the context file, we have to add redis from nuget packages: * Microsoft.Extensions.Caching.StackExchangeRedis 5.0.1 * Installed Newtonsoft.json 13.0.1 * After, create a docker for the basket project (same process as catalog) #### Add Redis to docker compose: * Right click: Add - Container orchestration support. Target OS is Linux 1 - Add 'redis' image on docker-compose.yml file; 2 - Change docker-compose.override.yml to add basket in it (see file) 3 - After above, go to the folder where docker-compose is, open cmd and check what containers are running and stop them: docker stop [name(2 first characteres)] 4 - Execute the command: docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d 5 - Check urls: http://localhost:8001/swagger/index.html, we will see the basket api Execute: docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d
32.702703
164
0.72865
eng_Latn
0.903804
2c5db8a8ed9a5f7d71379c316ba8f078355e02ba
1,275
md
Markdown
docs-archive-a/2014/sql-server/install/licensing-considerations-for-sql-server.md
v-alji/sql-docs-archive-pr.pt-br
2791ff90ec3525b2542728436f5e9cece0a24168
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs-archive-a/2014/sql-server/install/licensing-considerations-for-sql-server.md
v-alji/sql-docs-archive-pr.pt-br
2791ff90ec3525b2542728436f5e9cece0a24168
[ "CC-BY-4.0", "MIT" ]
1
2021-11-25T02:18:31.000Z
2021-11-25T02:26:28.000Z
docs-archive-a/2014/sql-server/install/licensing-considerations-for-sql-server.md
v-alji/sql-docs-archive-pr.pt-br
2791ff90ec3525b2542728436f5e9cece0a24168
[ "CC-BY-4.0", "MIT" ]
2
2021-09-29T08:52:22.000Z
2021-10-13T09:16:56.000Z
--- title: Considerações sobre licenciamento para SQL Server | Microsoft Docs ms.custom: '' ms.date: 06/13/2017 ms.prod: sql-server-2014 ms.reviewer: '' ms.technology: database-engine ms.topic: conceptual helpviewer_keywords: - licensing ms.assetid: 20f624c2-0036-4f44-a2a8-a041af0a0966 author: mashamsft ms.author: mathoma ms.openlocfilehash: f5e8717db0cad9ee6465b0b92ab44e308536b062 ms.sourcegitcommit: ad4d92dce894592a259721a1571b1d8736abacdb ms.translationtype: MT ms.contentlocale: pt-BR ms.lasthandoff: 08/04/2020 ms.locfileid: "87679636" --- # <a name="licensing-considerations-for-sql-server"></a>Considerações sobre licenciamento do SQL Server Para obter mais informações sobre opções de licenciamento do [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] , acesse [este site do Microsoft SQL Server](https://www.microsoft.com/sqlserver/sql-server-2014.aspx). ## <a name="see-also"></a>Consulte Também [Sobre os termos de licença do SQL Server](../../../2014/getting-started/about-the-sql-server-license-terms.md) [Microsoft SQL Server declaração de privacidade](../../../2014/getting-started/microsoft-sql-server-privacy-statement.md) [Aviso legal para documentação](../../../2014/getting-started/legal-notice-for-documentation.md)
42.5
226
0.768627
por_Latn
0.434143
2c5e61b944ca4ec7fd58cf45fb502e999b99f58a
6,459
md
Markdown
_posts/2011-05-28-spotlight-repository-discovery.md
goosemania/pulpproject.org
3b9bbece6177dd5be870c653eb35fa9d7e0f223b
[ "MIT" ]
5
2017-07-27T15:53:49.000Z
2021-07-18T21:46:00.000Z
_posts/2011-05-28-spotlight-repository-discovery.md
goosemania/pulpproject.org
3b9bbece6177dd5be870c653eb35fa9d7e0f223b
[ "MIT" ]
138
2016-07-28T20:07:10.000Z
2022-03-21T13:43:38.000Z
_posts/2011-05-28-spotlight-repository-discovery.md
goosemania/pulpproject.org
3b9bbece6177dd5be870c653eb35fa9d7e0f223b
[ "MIT" ]
48
2016-05-19T19:00:31.000Z
2022-02-22T07:45:52.000Z
--- id: 271 title: 'Spotlight: Repository Discovery' date: 2011-05-28T14:06:24+00:00 author: Todd Sanders layout: post guid: http://blog.pulpproject.org/?p=271 permalink: /2011/05/28/spotlight-repository-discovery/ categories: - Spotlight --- Community Release 12 introduces [Repository Discovery](http://pulpproject.org/ug/UGRepo.html#discovery). This is a simple and fast way of identifying all of the yum repositories in a given tree, and importing them into Pulp. Let&#8217;s explore this feature through a simple example; mirroring the Pulp Project repositories. Let&#8217;s take a look at the **repo discovery** command: <div class="wp_syntax"> <table> <tr> <td class="code"> <pre class="none" style="font-family:monospace;">$ pulp-admin repo discovery --help Usage: pulp-admin repo discovery &nbsp; Options: -h, --help show this help message and exit -u URL, --url=URL root url to perform discovery (required) -g GROUPID, --groupid=GROUPID groupids to associate the discovered repos (optional) -y, --assumeyes assume yes; automatically create candidate repos for discovered urls (optional) -t TYPE, --type=TYPE content type to look for during discovery(required); supported types: ['yum',]</pre> </td> </tr> </table> </div> Now let&#8217;s run repo discovery for Pulp; we&#8217;ll use the -g option to add any repositories we import to a &#8220;pulp&#8221; group. <div class="wp_syntax"> <table> <tr> <td class="code"> <pre class="none" style="font-family:monospace;">$ pulp-admin repo discovery -u http://repos.fedorapeople.org/repos/pulp/ -g pulp -t yum Discovering urls with yum metadata, This could take some time... Waiting / +------------------------------------------+ Repository Urls discovered @ [http://repos.fedorapeople.org/repos/pulp/] +------------------------------------------+ (-) [1] http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-14/x86_64 (-) [2] http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-14/i386 (-) [3] http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-13/x86_64 (-) [4] http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-13/i386 (-) [5] http://repos.fedorapeople.org/repos/pulp/pulp/testing/6Server/x86_64 (-) [6] http://repos.fedorapeople.org/repos/pulp/pulp/testing/6Server/i386 (-) [7] http://repos.fedorapeople.org/repos/pulp/pulp/testing/5Server/x86_64 (-) [8] http://repos.fedorapeople.org/repos/pulp/pulp/testing/5Server/i386 (-) [9] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-14/x86_64 (-) [10] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-14/i386 (-) [11] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-13/x86_64 (-) [12] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-13/i386 (-) [13] http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo_smaller (-) [14] http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo (-) [15] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/x86_64 (-) [16] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/i386 (-) [17] http://repos.fedorapeople.org/repos/pulp/pulp/5Server/x86_64 (-) [18] http://repos.fedorapeople.org/repos/pulp/pulp/5Server/i386 &nbsp; Select urls for which candidate repos should be created; use `y` to confirm (h for help):</pre> </td> </tr> </table> </div> Then it is as simple as selecting the repositories I want to import. In this case, I am interested in Fedora only; both testing and community releases. We&#8217;ll select 1:4 and 9:12. <div class="wp_syntax"> <table> <tr> <td class="code"> <pre class="none" style="font-family:monospace;">(+) [1] http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-14/x86_64 (+) [2] http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-14/i386 (+) [3] http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-13/x86_64 (+) [4] http://repos.fedorapeople.org/repos/pulp/pulp/testing/fedora-13/i386 (-) [5] http://repos.fedorapeople.org/repos/pulp/pulp/testing/6Server/x86_64 (-) [6] http://repos.fedorapeople.org/repos/pulp/pulp/testing/6Server/i386 (-) [7] http://repos.fedorapeople.org/repos/pulp/pulp/testing/5Server/x86_64 (-) [8] http://repos.fedorapeople.org/repos/pulp/pulp/testing/5Server/i386 (+) [9] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-14/x86_64 (+) [10] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-14/i386 (+) [11] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-13/x86_64 (+) [12] http://repos.fedorapeople.org/repos/pulp/pulp/fedora-13/i386 (-) [13] http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo_smaller (-) [14] http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_bandwidth_repo (-) [15] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/x86_64 (-) [16] http://repos.fedorapeople.org/repos/pulp/pulp/6Server/i386 (-) [17] http://repos.fedorapeople.org/repos/pulp/pulp/5Server/x86_64 (-) [18] http://repos.fedorapeople.org/repos/pulp/pulp/5Server/i386 &nbsp; Select urls for which candidate repos should be created; use `y` to confirm (h for help):y &nbsp; Creating candidate repos for selected urls.. Successfully created repo [repos-pulp-pulp-testing-fedora-14-x86_64] Successfully created repo [repos-pulp-pulp-testing-fedora-14-i386] Successfully created repo [repos-pulp-pulp-testing-fedora-13-x86_64] Successfully created repo [repos-pulp-pulp-testing-fedora-13-i386] Successfully created repo [repos-pulp-pulp-fedora-14-x86_64] Successfully created repo [repos-pulp-pulp-fedora-14-i386] Successfully created repo [repos-pulp-pulp-fedora-13-x86_64] Successfully created repo [repos-pulp-pulp-fedora-13-i386]</pre> </td> </tr> </table> </div> That&#8217;s it. Now all that&#8217;s left to be done is sync content from the remote feeds. Currently, Pulp is limited in it&#8217;s Repository Group operations; only supporting listing by group. For example to list the repos we just created: <div class="wp_syntax"> <table> <tr> <td class="code"> <pre class="none" style="font-family:monospace;">$ pulp-admin repo list --groupid=pulp</pre> </td> </tr> </table> </div> In the future, we will be expanding the set of group operations to support update, setting re-occurring sync schedules, sync, etc.
50.858268
324
0.70754
eng_Latn
0.480734
2c5eaaf5452149b2999e16c521100d3382e01964
2,436
md
Markdown
content/home/teaching.md
mingshuwang/academic-kickstart
662523c33683b7dd05fb992c2a135a4b75a8aa54
[ "MIT" ]
null
null
null
content/home/teaching.md
mingshuwang/academic-kickstart
662523c33683b7dd05fb992c2a135a4b75a8aa54
[ "MIT" ]
null
null
null
content/home/teaching.md
mingshuwang/academic-kickstart
662523c33683b7dd05fb992c2a135a4b75a8aa54
[ "MIT" ]
null
null
null
+++ # Custom widget. # An example of using the custom widget to create your own homepage section. # To create more sections, duplicate this file and edit the values below as desired. widget = "custom" active = true date = 2016-04-20T00:00:00 # Note: a full width section format can be enabled by commenting out the `title` and `subtitle` with a `#`. title = "Teaching" subtitle = "I received my [University Teaching Qualification, UTQ](https://www.vsnu.nl/en_GB/utq) in 2020." # Order that this section will appear in. weight = 60 +++ I have taught the following courses at the **University of Glasgow**, United Kingdom: Year|Course|Level|Role(s)| ----|------|-----|-------| 2021|[Principles of GIS](https://www.gla.ac.uk/coursecatalogue/course/?code=GEOG5019)|Graduate|Coordinator + Lecturer 2021|[Geospatial Fundamentals](https://www.gla.ac.uk/coursecatalogue/course/?code=GEOG5008)|Graduate|Lecturer I have taught the following courses at the **University of Twente**, the Netherlands: Year|Course|Level|Role(s)| ----|------|-----|-------| 2018, 2019, 2020, 2021|[Academic Skills](https://studyguide.itc.nl/m-geo/all-courses)|Graduate|Coordinator + Lecturer 2019, 2020|[HTHT Minor Geographic Information Systems (GIS)](https://www.utwente.nl/onderwijs/keuzeruimte/minor/uploads/htht/brochure-htht-gis.pdf)|Undergraduate|Coordinator + Lecturer 2019, 2020, 2021|[Integrated Geospatial Workflow](https://studyguide.itc.nl/m-geo/all-courses)|Graduate|Lecturer 2019|[Big Geodata Processing](https://studyguide.itc.nl/m-geo/all-courses)|Graduate|Lecturer 2019|[Methods and Techniques for Geo-information Management and Application](https://www.msc-gima.nl/module-1/)|Graduate|Lecturer I have taught the following courses at the **University of Georgia**, USA: Year|Course|Level|Role(s)| ----|------|-----|-------| 2018|Programming for GIS ([GEOG 4590L/6590L)](http://bulletin.uga.edu/link.aspx?cid=GEOG4590-4590L/6590-6590L)|Undergraduate + Graduate|Lab Instructor 2017|Aerial Photographs and Image Interpretation ([GEOG 4330L/6330L)](http://geography.uga.edu/courses/content/geog-44304430l)|Undergraduate + Graduate|Lab Instructor 2016|Aerial GIScience and GITechnology|Undergraduate|Guest Lecturer 2013|Introduction to Physical Geography (GEOG 1111)|Undergraduate|Teaching Assistant 2012|The Logic and Practice of Sociological Research (SOCI 3600)|Undergraduate|Teaching Assistant
52.956522
185
0.743842
eng_Latn
0.542499
2c5eb5218597350bd2409e71415090e70588a43a
32,458
md
Markdown
articles/active-directory-b2c/active-directory-b2c-devquickstarts-api-node.md
OpenLocalizationTestOrg/azure-docs-pr15_hu-HU
ac1600ab65c96c83848e8b2445ac60e910561a25
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
null
null
null
articles/active-directory-b2c/active-directory-b2c-devquickstarts-api-node.md
OpenLocalizationTestOrg/azure-docs-pr15_hu-HU
ac1600ab65c96c83848e8b2445ac60e910561a25
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
null
null
null
articles/active-directory-b2c/active-directory-b2c-devquickstarts-api-node.md
OpenLocalizationTestOrg/azure-docs-pr15_hu-HU
ac1600ab65c96c83848e8b2445ac60e910561a25
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
null
null
null
<properties pageTitle="Azure Active Directory B2C: A webes API biztonságos Node.js használatával |} Microsoft Azure" description="Hogyan hozhat létre Node.js webes API-val, hogy elfogadja a token származhat B2C bérlői webhelyre" services="active-directory-b2c" documentationCenter="" authors="brandwe" manager="mbaldwin" editor=""/> <tags ms.service="active-directory-b2c" ms.workload="identity" ms.tgt_pltfrm="na" ms.devlang="javascript" ms.topic="hero-article" ms.date="08/30/2016" ms.author="brandwe"/> # <a name="azure-ad-b2c-secure-a-web-api-by-using-nodejs"></a>Azure Active Directory B2C: A webes API biztonságos Node.js használatával <!-- TODO [AZURE.INCLUDE [active-directory-b2c-devquickstarts-web-switcher](../../includes/active-directory-b2c-devquickstarts-web-switcher.md)]--> Az Azure Active Directory (Azure Active Directory) B2C biztonságossá tétele a webes API OAuth 2.0-s hozzáférési jogkivonat alkalmazásával. Tokenek lehetővé teszi, hogy az ügyfél-alkalmazások által használt Azure Active Directory B2C az API-nak hitelesítést végezni. Ez a cikk bemutatja, hogyan hozhat létre, amely lehetővé teszi, hogy a felhasználók hozzáadása, és a feladatok lista a "Feladatlista" API. A webes API-val védett Azure Active Directory B2C használ, és csak lehetővé teszi a felhasználóknak, hogy a feladatlista egyszerűbben kezelhető hitelesített. > [AZURE.NOTE] Ez a példa készült kapcsolódik az [iOS B2C minta alkalmazás](active-directory-b2c-devquickstarts-ios.md)használatával. Az aktuális segédlet először elvégzendő, és kövesse a minta együtt. **A Passport** hitelesítési köztes Node.js számára is. Rugalmas és elemes, Passport unobtrusively telepített bármelyik Express-alapú vagy webalkalmazás Restify. Stratégiák a teljes készletével hitelesítési támogatja a felhasználónév és jelszó, Facebook, Twitteren és további használatával. Azure Active Directory (Azure Active Directory) stratégia kialakítása azt. Ez a modul telepítése, és vegye fel az Azure Active Directory `passport-azure-ad` beépülő modult. Ez a példa elvégzendő kell: 1. Az alkalmazások regisztrálása Azure AD. 2. Állítsa be az alkalmazás használatához útlevelét `azure-ad-passport` beépülő modult. 3. Állítsa be, hívja fel a "Feladatlista" webes API ügyfélalkalmazás. ## <a name="get-an-azure-ad-b2c-directory"></a>Ismerkedés az Azure Active Directory B2C címtár Azure Active Directory B2C használata előtt hozzon létre egy könyvtárat, vagy az bérlői. A könyvtár (az összes felhasználó, alkalmazások, csoportok és az egyéb tároló). Ha nincs egy már, [B2C könyvtár létrehozása](active-directory-b2c-get-started.md) előtt a Folytatás gombra. ## <a name="create-an-application"></a>Alkalmazás létrehozása Ezután kell a B2C könyvtárában, amellyel, hogy szüksége van az alkalmazás biztonságos kommunikáció információk az Azure Active Directory-alkalmazás létrehozása. Ebben az esetben az ügyfél alkalmazás és a webes API jeleníti meg egyetlen **Azonosítója**, mert egy logikai alkalmazás tartalmazzák. Az alkalmazás létrehozásához kövesse az [alábbi utasításokat](active-directory-b2c-app-registration.md). Győződjön meg arról, hogy: - Tartalmazza a **web app/webes api** alkalmazásban - Adja meg `http://localhost/TodoListService` **Válasz URL**-címként. Célszerű a kódot a következő példában az alapértelmezett URL-CÍMÉT. - Hozzon létre egy **alkalmazás titkos** az alkalmazás, és másolja a vágólapra. Az adatok később szükség lenne. Figyelje meg, hogy ezt az értéket kell lennie, [XML-escape](https://www.w3.org/TR/2006/REC-xml11-20060816/#dt-escape) használat előtt. - Másolja az alkalmazás rendelt **Azonosítója** . Az adatok később szükség lenne. [AZURE.INCLUDE [active-directory-b2c-devquickstarts-v2-apps](../../includes/active-directory-b2c-devquickstarts-v2-apps.md)] ## <a name="create-your-policies"></a>A házirendek létrehozása Azure Active Directory B2C minden felhasználói felület [házirend](active-directory-b2c-reference-policies.md)van megadva. Az alkalmazás tartalmaz két identitás változat: jelentkezzen, és jelentkezzen be. Kell minden típusú több házirend létrehozása a [házirend összefoglaló cikkben](active-directory-b2c-reference-policies.md#how-to-create-a-sign-up-policy)leírt módon. Amikor a három házirendek hoz létre, ne felejtse el: - A **megjelenítendő név** és egyéb előfizetési attribútumai válassza az előfizetés házirend. - Válassza a **megjelenítendő név** és a **Objektumazonosító** alkalmazás jogcímalapú minden házirend. Megadhatja, hogy más igények is. - Másolja le a **nevet** az egyes házirendek létrehozásuk után. Az előtag rendelkeznie kell `b2c_1_`. Házirend neveket később szükség lenne. [AZURE.INCLUDE [active-directory-b2c-devquickstarts-policy](../../includes/active-directory-b2c-devquickstarts-policy.md)] Miután létrehozta a három házirendek, készen áll az alkalmazás összeállítása. Hogyan működnek a házirendek az Azure Active Directory B2C kapcsolatos további tudnivalókért kezdje az [oktatóprogram .NET web app az első lépések](active-directory-b2c-devquickstarts-web-dotnet.md). ## <a name="download-the-code"></a>Töltse le a kódot. Ezen oktatóprogram [a GitHub karbantartása](https://github.com/AzureADQuickStarts/B2C-WebAPI-NodeJS)kódját. A minta készítéséhez menet közben is [.zip fájlként skeleton projekt letöltése](https://github.com/AzureADQuickStarts/B2C-WebAPI-NodeJS/archive/skeleton.zip). Átmásolhatja a skeleton is: ``` git clone --branch skeleton https://github.com/AzureADQuickStarts/B2C-WebAPI-NodeJS.git ``` A kész alkalmazás [.zip fájlként](https://github.com/AzureADQuickStarts/B2C-WebAPI-NodeJS/archive/complete.zip) is érhető el vagy a `complete` ugyanazt a tárházba részlege. ## <a name="download-nodejs-for-your-platform"></a>Töltse le a Node.js a Platform Ez a példa sikeresen használatához szükséges Node.js működő telepítéssel. Telepítse Node.js [nodejs.org](http://nodejs.org). ## <a name="install-mongodb-for-your-platform"></a>A platform MongoDB telepítése Ez a példa sikeresen használatához szükséges MongoDB működő telepítéssel. MongoDB használjuk, hogy a REST API állandó server-példányok között. Telepítse MongoDB [mongodb.org](http://www.mongodb.org). > [AZURE.NOTE] A segédlet feltételezi, hogy az alapértelmezett telepítési és kiszolgáló végpontok-et MongoDB, amely az írás időpontjában `mongodb://localhost`. ## <a name="install-the-restify-modules-in-your-web-api"></a>Telepítse a Restify modulokat a webes API Restify segítségével összeállítása a REST API-t. Restify minimális és rugalmas Node.js alkalmazás keretrendszer származik Express. Csatlakozás fölött REST API-khoz készítéséhez szolgáltatások robusztus halmazának van. ### <a name="install-restify"></a>Telepítés Restify A parancssorból módosítása a könyvtár `azuread`. Ha a `azuread` directory nem létezik, hozza létre. `cd azuread`vagy`mkdir azuread;` Írja be a következő parancsot: `npm install restify` Ez a parancs Restify telepíti. #### <a name="did-you-get-an-error"></a>Hibaüzenet jelent meg egy? Az egyes operációs rendszerek, ha `npm`, a hiba jelenhet meg `Error: EPERM, chmod '/usr/local/bin/..'` és egy kérelmet, hogy a fiók futtatása rendszergazdaként. Ha a probléma jelentkezett, használja a `sudo` parancs futtatása `npm` a magasabb szintű jogosultsággal. #### <a name="did-you-get-a-dtrace-error"></a>Hibaüzenet jelent meg egy DTrace? Ez a szöveg hasonló megjelenhet Restify telepítésekor: ```Shell clang: error: no such file or directory: 'HD/azuread/node_modules/restify/node_modules/dtrace-provider/libusdt' make: *** [Release/DTraceProviderBindings.node] Error 1 gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Darwin 13.1.0 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Volumes/Development HD/azuread/node_modules/restify/node_modules/dtrace-provider gyp ERR! node -v v0.10.11 gyp ERR! node-gyp -v v0.10.0 gyp ERR! not ok npm WARN optional dep failed, continuing [email protected] ``` Restify biztosít a hatékony kisalkalmazások többi nyomkövetés meghívja DTrace használatával. Számos operációs rendszer azonban nem rendelkezik a DTrace érhető el. A hibák nyugodtan figyelmen kívül hagyható. A parancs jelenjen meg a szöveg hasonló: [email protected] node_modules/restify ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ├── [email protected] ([email protected], [email protected], [email protected]) └── [email protected] ([email protected]) ## <a name="install-passport-in-your-web-api"></a>A webes API Passport telepítése A parancssorból módosítása a könyvtár `azuread`, ha még nem szerepel ott. Telepítse a Passport a következő parancsot: `npm install passport` A parancs a következőképpen fog kinézni a szöveg: [email protected] node_modules\passport ├── [email protected] └── [email protected] ## <a name="add-passport-azuread-to-your-web-api"></a>A webes API passport-azuread hozzáadása Ezután adja hozzá az OAuth stratégia használatával `passport-azuread`, a stratégiák csatlakozó Passport Azure AD-öt. Ez a beállítás használata bearer tokenek a REST API-minta. > [AZURE.NOTE] Bár az oauth2 hitelesítési mód, amelyben minden olyan ismert jogkivonat állítható ki keretet biztosít, csak bizonyos jogkivonat típusok széles körű használata szerzett. A végpontok védelmet tokenek bearer tokenek. Az ilyen típusú tokenek a legtöbb körben oauth2 hitelesítési mód az elküldött. Sok megvalósítás feltételezik, hogy bearer tokenek kiadott jogkivonat csak típusát. A parancssorból módosítása a könyvtár `azuread`, ha még nem szerepel ott. Telepítse az esetben a `passport-azure-ad` modul használja a következő parancsot: `npm install passport-azure-ad` A parancs a következőképpen fog kinézni a szöveg: `` [email protected] node_modules/passport-azure-ad ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected]) ├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) └── [email protected] ([email protected], [email protected]) `` ## <a name="add-mongodb-modules-to-your-web-api"></a>A webes API MongoDB modulok hozzáadása Ez a példa a adattár MongoDB használja. Az, hogy telepíteni egy elterjedt mongúz modellek és sémák kezelésére szolgáló beépülő modult. * `npm install mongoose` ## <a name="install-additional-modules"></a>További modul telepítése Ezután telepítse a többi szükséges modulokat. A parancssorból módosítása a könyvtár `azuread`, ha még nem szerepel ott: `cd azuread` Telepítse a modulokat a `node_modules` címtár: * `npm install assert-plus` * `npm install ejs` * `npm install ejs-locals` * `npm install express` * `npm install bunyan` ## <a name="create-a-serverjs-file-with-your-dependencies"></a>Hozzon létre egy server.js fájlt a függőségek A `server.js` fájlt a legtöbb funkció biztosít a webes API-kiszolgálóhoz. A parancssorból módosítása a könyvtár `azuread`, ha még nem szerepel ott: `cd azuread` Hozzon létre egy `server.js` fájl-szerkesztőben. Adja meg a következő adatokat: ```Javascript 'use strict'; /** * Module dependencies. */ var fs = require('fs'); var path = require('path'); var util = require('util'); var assert = require('assert-plus'); var mongoose = require('mongoose/'); var bunyan = require('bunyan'); var restify = require('restify'); var config = require('./config'); var passport = require('passport'); var OIDCBearerStrategy = require('passport-azure-ad').BearerStrategy; ``` Mentse a fájlt. Állítsa vissza, később. ## <a name="create-a-configjs-file-to-store-your-azure-ad-settings"></a>Hozzon létre egy config.js fájlt tárolja az Azure Active Directory-beállítások Ez a kód fájl konfigurációs paraméterek továbbítja az Azure Active Directory portálja a `Passport.js` fájlt. A webes API hozzáadva az első része a segédlet portált létrehozott ezeket a konfigurációs értékeket. Mi az értékeket a következő paraméterek után, másolja a kódot elhelyezni azt ismertetik. A parancssorból módosítása a könyvtár `azuread`, ha még nem szerepel ott: `cd azuread` Hozzon létre egy `config.js` fájl-szerkesztőben. Adja meg a következő adatokat: ```Javascript // Don't commit this file to your public repos. This config is for first-run exports.creds = { clientID: <your client ID for this Web API you created in the portal> mongoose_auth_local: 'mongodb://localhost/tasklist', // Your mongo auth uri goes here audience: '<your audience URI>', // the Client ID of the application that is calling your API, usually a web API or native client identityMetadata: 'https://login.microsoftonline.com/<tenant name>/.well-known/openid-configuration', // Make sure you add the B2C tenant name in the <tenant name> area tenantName:'<tenant name>', policyName:'b2c_1_<sign in policy name>' // This is the policy you'll want to validate against in B2C. Usually this is your Sign-in policy (as users sign in to this API) passReqToCallback: false // This is a node.js construct that lets you pass the req all the way back to any upstream caller. We turn this off as there is no upstream caller. }; ``` [AZURE.INCLUDE [active-directory-b2c-devquickstarts-tenant-name](../../includes/active-directory-b2c-devquickstarts-tenant-name.md)] ### <a name="required-values"></a>Szükséges értékek `clientID`: A webes API-alkalmazás a ügyfél azonosítója. `IdentityMetadata`: Ez az, hogy hol `passport-azure-ad` a konfigurációs adatok keres az identitásszolgáltató. A JSON webes tokenek érvényesítése billentyűk is keresi. `audience`: Az egységes erőforrás-azonosító (URI) a portálról, amely azonosítja a hívó alkalmazás. `tenantName`: A bérlői nevét (például **contoso.onmicrosoft.com**). `policyName`: A házirendet, amely a tokenek, a kiszolgáló érkező érvényesíteni szeretné. Ezzel a házirenddel az ügyfélalkalmazás a az használt bejelentkezési ugyanaz a házirend kell lennie. > [AZURE.NOTE] A B2C előzetes házirendekkel az azonos ügyfél- és a telepítő keresztül. Ha már egy segédlet befejeződött, és ezek a házirendek létrehozott, akkor nem kell újra a műveletet. Mivel a segédlet végeztével kerülni a Webhelyfiókok kell ügyfél útmutatók az új házirendek beállítása a webhelyen. ## <a name="add-configuration-to-your-serverjs-file"></a>Konfigurációs hozzáadása a server.js fájlhoz Értékeit olvasható a `config.js` létrehozott fájl, és adja meg a `.config` szükséges erőforrásként az alkalmazásban a fájl, és a globális változók állítsa a a `config.js` dokumentumot. A parancssorból módosítása a könyvtár `azuread`, ha még nem szerepel ott: `cd azuread` Nyissa meg a `server.js` fájl-szerkesztőben. Adja meg a következő adatokat: ```Javascript var config = require('./config'); ``` Az új szakasz hozzáadása `server.js` , amely tartalmazza a következő kódot: ```Javascript // We pass these options in to the ODICBearerStrategy. var options = { // The URL of the metadata document for your app. We put the keys for token validation from the URL found in the jwks_uri tag of the in the metadata. identityMetadata: config.creds.identityMetadata, clientID: config.creds.clientID, tenantName: config.creds.tenantName, policyName: config.creds.policyName, validateIssuer: config.creds.validateIssuer, audience: config.creds.audience, passReqToCallback: config.creds.passReqToCallback }; ``` Ezután a felhasználókhoz azt a hívó alkalmazások fogadjanak néhány helyőrzők hozzáadása. ```Javascript // array to hold logged in users and the current logged in user (owner) var users = []; var owner = null; ``` Lépjen tovább, és hozza létre a saját naplózó is. ```Javascript // Our logger var log = bunyan.createLogger({ name: 'Microsoft Azure Active Directory Sample' }); ``` ## <a name="add-the-mongodb-model-and-schema-information-by-using-mongoose"></a>Adja meg a MongoDB modell és -sémafájlok adatokat mongúz használatával A korábbi előkészítése fizet, ezek a fájlok együttes REST API szolgáltatásban hozása. Ez a segédlet az használva MongoDB a feladatok, korábbiakban tárgyalt. Az a `config.js` az adatbázis **tasklist**nevű fájlt. A név lett is helyezi a végén a `mongoose_auth_local` kapcsolat URL-címe. Nem kell hozzá előzetesen létrehozása az adatbázis MongoDB. Azt hoz létre az adatbázis meg a kiszolgáló alkalmazás első futtatása. Megadhatja, hogy a kiszolgáló mely MongoDB adatbázist, miután kell néhány további kódírás hozhat létre a modell és -sémafájlok a kiszolgáló tevékenységekhez. ### <a name="expand-the-model"></a>Bontsa ki a modell Ez a séma modell található egyszerű. Szükség szerint bővítheti. `owner`: A tevékenységhez ki van rendelve. Az objektum egy **karakterlánc**. `Text`: A tevékenység magát. Az objektum egy **karakterlánc**. `date`: A tevékenység esedékes a dátumot. Az objektum a **dátum és idő**. `completed`Ha a tevékenység befejeződött. Az objektum olyan **logikai**. ### <a name="create-the-schema-in-the-code"></a>A séma a kód létrehozása A parancssorból módosítása a könyvtár `azuread`, ha még nem szerepel ott: `cd azuread` Nyissa meg a `server.js` fájl-szerkesztőben. Adja hozzá a konfigurációs bejegyzés alatt a következő adatokat: ```Javascript // MongoDB setup // Setup some configuration var serverPort = process.env.PORT || 3000; // Note we are hosting our API on port 3000 var serverURI = (process.env.PORT) ? config.creds.mongoose_auth_mongohq : config.creds.mongoose_auth_local; // Connect to MongoDB global.db = mongoose.connect(serverURI); var Schema = mongoose.Schema; log.info('MongoDB Schema loaded'); // Here we create a schema to store our tasks and users. Pretty simple schema for now. var TaskSchema = new Schema({ owner: String, Text: String, completed: Boolean, date: Date }); // Use the schema to register a model mongoose.model('Task', TaskSchema); var Task = mongoose.model('Task'); ``` A séma először hozzon létre, és kattintson a kód egész az adatok tárolására, a **útvonalak**megadásakor használt modell objektumot hozunk létre. ## <a name="add-routes-for-your-rest-api-task-server"></a>A REST API-tevékenység Server útvonalak hozzáadása Most, hogy van egy adatbázismodell végezhető, adja hozzá a leveleket a REST API-kiszolgálót használ. ### <a name="about-routes-in-restify"></a>Tudnivalók a Restify útvonalak Útvonalak munka Restify módon működnek-e a Express Papírhalom használata. A várt hívja fel a ügyfélalkalmazásokban URI használatával meghatározhatja útvonalak. Egy tipikus minta Restify útvonal a következő: ```Javascript function createObject(req, res, next) { // do work on Object _object.name = req.params.object; // passed value is in req.params under object ///... return next(); // keep the server going } .... server.post('/service/:add/:object', createObject); // calls createObject on routes that match this. ``` Restify és Express biztosíthat sok mélyebb szolgáltatások, például alkalmazás típusok meghatározása és módon összetett útválasztás különböző végpontokon keresztül. Ebben az oktatóanyagban alkalmazásában akkor tartsa szem előtt ezek az útvonalak egyszerű. #### <a name="add-default-routes-to-your-server"></a>A kiszolgáló alapértelmezett útvonalak hozzáadása Most már hozzáadhat **létrehozása** és a **lista** egyszerű CRUD útvonalak a REST API. Más útvonalak megtalálható a `complete` a minta ág. A parancssorból módosítása a könyvtár `azuread`, ha még nem szerepel ott: `cd azuread` Nyissa meg a `server.js` fájl-szerkesztőben. Az alábbi a fent elvégzett adatbáziselemek adja meg a következő adatokat: ```Javascript /** * * APIs for our REST Task server */ // Create a task function createTask(req, res, next) { // Resitify currently has a bug which doesn't allow you to set default headers // This headers comply with CORS and allow us to mongodbServer our response to any origin res.header("Access-Control-Allow-Origin", "*"); res.header("Access-Control-Allow-Headers", "X-Requested-With"); // Create a new task model, fill it up and save it to Mongodb var _task = new Task(); if (!req.params.Text) { req.log.warn({ params: req.params }, 'createTodo: missing task'); next(new MissingTaskError()); return; } _task.owner = owner; _task.Text = req.params.Text; _task.date = new Date(); _task.save(function(err) { if (err) { req.log.warn(err, 'createTask: unable to save'); next(err); } else { res.send(201, _task); } }); return next(); } ``` ```Javascript /// Simple returns the list of TODOs that were loaded. function listTasks(req, res, next) { // Resitify currently has a bug which doesn't allow you to set default headers // This headers comply with CORS and allow us to mongodbServer our response to any origin res.header("Access-Control-Allow-Origin", "*"); res.header("Access-Control-Allow-Headers", "X-Requested-With"); log.info("listTasks was called for: ", owner); Task.find({ owner: owner }).limit(20).sort('date').exec(function(err, data) { if (err) return next(err); if (data.length > 0) { log.info(data); } if (!data.length) { log.warn(err, "There is no tasks in the database. Add one!"); } if (!owner) { log.warn(err, "You did not pass an owner when listing tasks."); } else { res.json(data); } }); return next(); } ``` #### <a name="add-error-handling-for-the-routes"></a>Hiba történt a útvonalak kezelése hozzáadása Adja meg, bizonyos hiba kezelése, hogy a hang nélküli kommunikáció bármilyen problémát tapasztal az ügyfélhez oly módon, hogy azt követően deríthető ki. Adja hozzá a következő kódot: ```Javascript ///--- Errors for communicating something interesting back to the client function MissingTaskError() { restify.RestError.call(this, { statusCode: 409, restCode: 'MissingTask', message: '"task" is a required parameter', constructorOpt: MissingTaskError }); this.name = 'MissingTaskError'; } util.inherits(MissingTaskError, restify.RestError); function TaskExistsError(owner) { assert.string(owner, 'owner'); restify.RestError.call(this, { statusCode: 409, restCode: 'TaskExists', message: owner + ' already exists', constructorOpt: TaskExistsError }); this.name = 'TaskExistsError'; } util.inherits(TaskExistsError, restify.RestError); function TaskNotFoundError(owner) { assert.string(owner, 'owner'); restify.RestError.call(this, { statusCode: 404, restCode: 'TaskNotFound', message: owner + ' was not found', constructorOpt: TaskNotFoundError }); this.name = 'TaskNotFoundError'; } util.inherits(TaskNotFoundError, restify.RestError); ``` ## <a name="create-your-server"></a>A kiszolgáló létrehozása Most az adatbázis megadott, és helyezze a útvonalak helyen. Az, hogy végezze el az utolsó lépésként is vegye fel a server-példányt, hogy a hívások kezelése. Restify és Express adja meg a REST API-kiszolgáló-mély testreszabási, de a legtöbb szokásos telepítés itt használjuk. ```Javascript ** * Our Server */ var server = restify.createServer({ name: "Microsoft Azure Active Directroy TODO Server", version: "2.0.1" }); // Ensure we don't drop data on uploads server.pre(restify.pre.pause()); // Clean up sloppy paths like //todo//////1// server.pre(restify.pre.sanitizePath()); // Handles annoying user agents (curl) server.pre(restify.pre.userAgentConnection()); // Set a per request bunyan logger (with requestid filled in) server.use(restify.requestLogger()); // Allow 5 requests/second by IP, and burst to 10 server.use(restify.throttle({ burst: 10, rate: 5, ip: true, })); // Use the common stuff you probably want server.use(restify.acceptParser(server.acceptable)); server.use(restify.dateParser()); server.use(restify.queryParser()); server.use(restify.gzipResponse()); server.use(restify.bodyParser({ mapParams: true })); // Allows for JSON mapping to REST server.use(restify.authorizationParser()); // Looks for authorization headers // Let's start using Passport.js server.use(passport.initialize()); // Starts passport server.use(passport.session()); // Provides session support ``` ## <a name="add-the-routes-to-the-server-without-authentication"></a>Adja hozzá a leveleket a kiszolgálóhoz (nélkül hitelesítés) ```Javascript server.get('/api/tasks', passport.authenticate('oauth-bearer', { session: false }), listTasks); server.get('/api/tasks', passport.authenticate('oauth-bearer', { session: false }), listTasks); server.get('/api/tasks/:owner', passport.authenticate('oauth-bearer', { session: false }), getTask); server.head('/api/tasks/:owner', passport.authenticate('oauth-bearer', { session: false }), getTask); server.post('/api/tasks/:owner/:task', passport.authenticate('oauth-bearer', { session: false }), createTask); server.post('/api/tasks', passport.authenticate('oauth-bearer', { session: false }), createTask); server.del('/api/tasks/:owner/:task', passport.authenticate('oauth-bearer', { session: false }), removeTask); server.del('/api/tasks/:owner', passport.authenticate('oauth-bearer', { session: false }), removeTask); server.del('/api/tasks', passport.authenticate('oauth-bearer', { session: false }), removeTask); server.del('/api/tasks', passport.authenticate('oauth-bearer', { session: false }), removeAll, function respond(req, res, next) { res.send(204); next(); }); // Register a default '/' handler server.get('/', function root(req, res, next) { var routes = [ 'GET /', 'POST /api/tasks/:owner/:task', 'POST /api/tasks (for JSON body)', 'GET /api/tasks', 'PUT /api/tasks/:owner', 'GET /api/tasks/:owner', 'DELETE /api/tasks/:owner/:task' ]; res.send(200, routes); next(); }); ``` ```Javascript server.listen(serverPort, function() { var consoleMessage = '\n Microsoft Azure Active Directory Tutorial'; consoleMessage += '\n +++++++++++++++++++++++++++++++++++++++++++++++++++++'; consoleMessage += '\n %s server is listening at %s'; consoleMessage += '\n Open your browser to %s/api/tasks\n'; consoleMessage += '+++++++++++++++++++++++++++++++++++++++++++++++++++++ \n'; consoleMessage += '\n !!! why not try a $curl -isS %s | json to get some ideas? \n'; consoleMessage += '+++++++++++++++++++++++++++++++++++++++++++++++++++++ \n\n'; //log.info(consoleMessage, server.name, server.url, server.url, server.url); }); ``` ## <a name="add-authentication-to-your-rest-api-server"></a>Hitelesítés hozzáadása a REST API-kiszolgálóhoz Most, hogy egy futó REST API-kiszolgálóval rendelkezik, elérhetővé teheti hasznos Azure Active Directory szemben. A parancssorból módosítása a könyvtár `azuread`, ha még nem szerepel ott: `cd azuread` ### <a name="use-the-oidcbearerstrategy-that-is-included-with-passport-azure-ad"></a>A OIDCBearerStrategy, amely szerepel az ADFS-azure-passport használata > [AZURE.TIP] API-khoz írásakor meg kell mindig az adatok csatolása valamit egyedi a jogkivonat, hogy a felhasználó nem tud meghamisíthatja a. A kiszolgáló tárolja az elemeket teendő, ha tartalmaz, így alapján **objektumazonosító** annak a felhasználónak a token (más néven token.oid keresztül), amely a "tulajdonos" mezőben. Ez az érték biztosítja, hogy csak az adott felhasználó hozzáférhet a saját tennivaló elemeket. Van nem kapta tulajdonosának"," az API-t egy külső felhasználónak kérhet mások teendők elemeket akkor is, ha a hitelesítése, így. Ezután használja a bearer stratégia épített `passport-azure-ad`. ```Javascript var findById = function(id, fn) { for (var i = 0, len = users.length; i < len; i++) { var user = users[i]; if (user.oid === id) { log.info('Found user: ', user); return fn(null, user); } } return fn(null, null); }; var oidcStrategy = new OIDCBearerStrategy(options, function(token, done) { log.info('verifying the user'); log.info(token, 'was the token retreived'); findById(token.sub, function(err, user) { if (err) { return done(err); } if (!user) { // "Auto-registration" log.info('User was added automatically as they were new. Their sub is: ', token.oid); users.push(token); owner = token.oid; return done(null, token); } owner = token.sub; return done(null, user, token); }); } ); passport.use(oidcStrategy); ``` Annak a stratégiák azonos típusúak Passport használja. Adja meg azt a `function()` , amelynek `token` és `done` paraméterként. A stratégia vissza megtalálható Önnek, miután az összes munkáját befejeződik. Meg kell majd tárolni a felhasználó, és mentse a jogkivonat, hogy nem kell kérdezzen rá. > [AZURE.IMPORTANT] A fenti kód megnyitja bárki, aki a kiszolgáló hitelesítést végezni történik. Ez a folyamat autoregistration nevezik. Gyártási Servers nem lehetővé teszik a felhasználó hozzáférést az API nélkül első őket a regisztrációs folyamat folyamatát. Ez a folyamat az általában a mintázatot, amelyek lehetővé teszik Facebook segítségével regisztrálhatja, de majd kérjük, hogy adja meg a kiegészítő információk fogyasztói alkalmazások látható. A program nem lett parancssori programot, ha azt is van kiolvasott az e-mailt a token objektum, amely adja vissza, és töltse ki a további információt a felhasználók majd kéri. Mivel ez a példa, hogy felveheti a memóriában adatbázissá. ## <a name="run-your-server-application-to-verify-that-it-rejects-you"></a>A kiszolgáló alkalmazásnak a futtatására ellenőrizze, hogy elutasítja azt Használható `curl` megjelenítéséhez, ha a most már oauth2 hitelesítési mód védelem szemben a végpontok. A fejlécek vissza kell lennie ahhoz, hogy mondani, hogy a megfelelő helyen vannak. Győződjön meg arról, hogy a MongoDB példánya fut: $sudo mongodb Váltson át a könyvtárra, és futtassa a kiszolgáló: $ cd azuread $ node server.js Új Terminálszolgáltatások ablakban futtatása`curl` Próbálja ki egy egyszerű BEJEGYZÉSBEN: `$ curl -isS -X POST http://127.0.0.1:3000/api/tasks/brandon/Hello` ```Shell HTTP/1.1 401 Unauthorized Connection: close WWW-Authenticate: Bearer realm="Users" Date: Tue, 14 Jul 2015 05:45:03 GMT Transfer-Encoding: chunked ``` Egy 401 hiba a kívánt választ. Azt jelzi, hogy a Passport réteg partnere kapcsolatba próbál irányítsa át az engedélyezés végpontot. ## <a name="you-now-have-a-rest-api-service-that-uses-oauth2"></a>Ekkor megjelenik egy REST API-szolgáltatás, használja az oauth2 hitelesítési mód A REST API Restify és OAuth végrehajtotta! Ekkor elegendő kódot, hogy továbbra is a szolgáltatás fejlesztését, és ebben a példában épülnek. Akkor telt amennyire nélkül, az oauth2 hitelesítési mód-kompatibilis ügyfél ezen a kiszolgálón is. A következő lépésben használata a [webes API segítségével B2C az iOS csatlakozás](active-directory-b2c-devquickstarts-ios.md) útmutató – például egy további segédlet. ## <a name="next-steps"></a>Következő lépések Speciális témaköreit, például: most áthelyezése: [Csatlakozás egy webes API-B2C iOS használatával](active-directory-b2c-devquickstarts-ios.md)
41.506394
667
0.734518
hun_Latn
0.999189
2c5f2ec5f0745747b96fa93bfbfa4abc5a43d941
3,010
md
Markdown
_posts/algorithm/2018-04-08-red-black-tree.md
capeskychung/capeskychung.github.io
af6586993b67f59f1a54fe86bdfb713a3ef82902
[ "MIT" ]
null
null
null
_posts/algorithm/2018-04-08-red-black-tree.md
capeskychung/capeskychung.github.io
af6586993b67f59f1a54fe86bdfb713a3ef82902
[ "MIT" ]
null
null
null
_posts/algorithm/2018-04-08-red-black-tree.md
capeskychung/capeskychung.github.io
af6586993b67f59f1a54fe86bdfb713a3ef82902
[ "MIT" ]
null
null
null
--- layout: article title: "红黑树" categories: algorithm # excerpt: tags: [R-B Tree, algorithm] image: teaser: /teaser/shell.jpg date: 2018-04-08T18:04:00+01:00 --- 二叉搜索树可以快速定位一个给定关键字的数据项,可以快速插入和删除数据。二叉树存在一个问题,如果插入的数据是正序或者逆序的数据,二叉搜索树的执行会变慢,因为有序的二叉树是非平衡的,此时的二叉树类似与链表。 红黑树,基于二叉搜索树,二叉搜索树可以快速地找到一个给定的关键字的数据项,并且可以快速地插入和删除数据项。以较快的时间O(logN)来搜索一棵树,需要保证树总是平衡的,树种的每个节点在它左边的后代数目和在它右边的后代数据应该大致相等。红黑树就是一棵平衡树,对要插入的数据项,插入过程要检查是否破坏树的特征,是则程序需要纠正,改变树的结构,从而保持树的平衡。 #### 特征与规则 * 所有节点都有颜色 * 在插入和删除的过程中,要遵循保持这些颜色的不同排列的规则。 红黑树的主要规则: 1. 每个节点不是红色就是黑色; 2. 根节点总是黑色的; 3. 如果节点是红色的,则它的子节点必须是黑色的(反之不一定); 4. 从根节点到叶节点或空子节点的每条路径,必须包含相同数目的黑色节点(相同的黑色高度) 在红黑树中插入的节点都是红色的,因为插入一个红色节点比插入一个黑色节点违背红黑原则的可能性更小。原因是:插入黑色节点总会改变黑色高度(规则4),但是插入红色节点只有一半的概率违背规则3.规则3比规则4更容易修正。 #### 修正平衡性 红黑树主要通过三种方式平衡,改变节点颜色、左旋和右旋。 1. 变色 改变节点颜色因为违背了规则3.假设现在节点E,然后插入节点A和S,节点A在左子节点,S在右子节点,目前是平衡的。如果此时插入一个节点,就出现了不平衡,因为红色节点的子节点必须为褐色,但是新差的节点是红色的,所以此时必须改变节点颜色。将根的两个子节点从红色变为黑色,将父节点从黑色变为红色。 2. 左旋 通常左旋操作用于将一个向右倾斜的红色链接选座为向左链接。 左旋示意图:对节点x进行左旋 {% highlight c %} p p / / x y / \ / \ lx y -----> x ry / \ / \ ly ry lx ly {% endhighlight %} 左旋做了三件事: 1. 将y的左子节点赋给x的右子节点,并将x赋给y左子节点的父节点(y左子节点非空时) 2. 将x的父节点p(非空时)赋给y的父节点,同时更新p的子节点为y(左或右) 3. 将y的左子节点设为x,将x的父节点设为y 3. 右旋 右旋示意图:对节点y进行右旋 {% highlight c %} p p / / y x / \ / \ x ry -----> lx y / \ / \ lx rx rx ry {% endhighlight %} 右旋做了三件事: 1. 将x的右子节点赋给y的左子节点,并将y赋给x右子节点的父节点(x右子节点非空时) 2. 将y的父节点p(非空时)赋给x的父节点,同时更新p的子节点为x(左或右) 3. 将x的右子节点设为y,将y的父节点设为x #### 红黑树操作 红黑树节点 {% highlight python %} RED = True BLACK = False class RBNode(object): def __init__(self, key, color): self.color = color # 默认为黑色 self.left = None self.right = None self.parent = None self.key = key def getKey(self): return self.key def __str__(self): color = "R" if self.color == RED else "B" return "" + str(self.key) + " " + color def __cmp__(self, other): if self.__eq__(other): return 0 elif self.__lt__(other): return -1 elif self.__gt__(other): return 1 def __eq__(self, other): if not isinstance(other, RBNode): raise TypeError, "cann't cmp other type" + str(type(other)) if other.key == self.key: return True return False def __lt__(self, other): if not isinstance(other, RBNode): raise TypeError, "cann't cmp other type" if other.key > self.key: return True return False def __gt__(self, other): if not isinstance(other, RBNode): raise TypeError, "cann't cmp other type" if other.key < self.key: return True return False {% endhighlight %} 红黑树插入 红黑树的插入与二叉搜索树的实现一致,主要的是在于最后的insertFixUp操作。插入数据后会导致树不平衡,insertFixUp要根据情况,决定何时变色,左旋,右旋。 第一次插入的时候,原树为空,只会违背规则2(根节点必须为黑色),只需要将根节点的颜色改为黑色即可。
22.462687
178
0.637542
yue_Hant
0.661245
2c621394d0afc609957d94878bfe3da6db278bc9
500
md
Markdown
router/README.md
demones/react-learning
0ff11152e8ebd3d7fc6439bcccc13e7b9a68e63a
[ "MIT" ]
1
2016-06-24T13:45:15.000Z
2016-06-24T13:45:15.000Z
router/README.md
demones/react-learning
0ff11152e8ebd3d7fc6439bcccc13e7b9a68e63a
[ "MIT" ]
null
null
null
router/README.md
demones/react-learning
0ff11152e8ebd3d7fc6439bcccc13e7b9a68e63a
[ "MIT" ]
null
null
null
# React Router 学习 # 知识点 * 在组件中使用 router ```javascript class Detail extends Component { constructor(props, context) { super(props, context); console.info(this.context.router); } } toOtherRouter() { this.context.router.push('./path'); } Detail.contextTypes = { router: PropTypes.object.isRequired } ``` # 参考资料 * [react-router 2.x 升级指南](https://github.com/reactjs/react-router/blob/v2.0.0/upgrade-guides/v2.0.0.md?utm_source=tuicool&utm_medium=referral)
20
142
0.67
yue_Hant
0.18709
2c6373b4a378edba7baabc8a10c4498366c7dcbc
45
md
Markdown
DatabaseConnector/articles/intro.md
zzzrst/DatabaseConnector
c482cf66920dfdb0ee96672ef95b24cbb4cce514
[ "MIT" ]
null
null
null
DatabaseConnector/articles/intro.md
zzzrst/DatabaseConnector
c482cf66920dfdb0ee96672ef95b24cbb4cce514
[ "MIT" ]
16
2020-09-09T06:44:17.000Z
2021-06-25T15:41:56.000Z
DatabaseConnector/articles/intro.md
zzzrst/DatabaseConnector
c482cf66920dfdb0ee96672ef95b24cbb4cce514
[ "MIT" ]
null
null
null
# Articles We have yet to add some articles.
15
33
0.755556
eng_Latn
0.999837
2c63982d5cae098a42f06c08970bce0dcd141c38
4,238
md
Markdown
_archive/2015-10-16-public-scholarship-and-the-digital-humanities-at-ut-austin.md
kshaffer/kshaffer.github.io
76e98ddbba2eaf69e2f50791522027385daee997
[ "MIT" ]
2
2015-12-29T01:13:53.000Z
2018-08-01T18:52:15.000Z
_archive/2015-10-16-public-scholarship-and-the-digital-humanities-at-ut-austin.md
kshaffer/kshaffer.github.io
76e98ddbba2eaf69e2f50791522027385daee997
[ "MIT" ]
null
null
null
_archive/2015-10-16-public-scholarship-and-the-digital-humanities-at-ut-austin.md
kshaffer/kshaffer.github.io
76e98ddbba2eaf69e2f50791522027385daee997
[ "MIT" ]
9
2015-07-31T06:25:53.000Z
2019-11-24T16:47:09.000Z
--- layout: post title: "Public scholarship and the digital humanities at UT–Austin" modified: 2015-10-07 12:02:00 -0600 tags: [Twitter] image: feature: mysteryType.jpg teaser: mysteryType-teaser.jpg credit: Nana B Agyei creditlink: https://www.flickr.com/photos/nanagyei/5199156473 comments: true share: true categories: [presentations, public scholarship] --- Next week, I will be at the University of Texas at Austin, presenting and leading sessions on music, public scholarship, and the digital humanities. As the title suggests, I will be posting many things before, during, and after the visit — mostly on Twitter with the hashtag #publicscholar. Feel free to follow along, especially during the sessions themselves. Following are abstracts for each of the sessions I'll be leading. If you're in Austin, I hope you can stop by! I'm still waiting to hear back with timings and specific locations for a couple of these, but I'll update this post once I have that info. ## What Are the Digital Humanities? **Thursday, October 22, 4:00–5:30pm** **MRH 2.614** What is the difference between "digital" humanities (DH) and traditional scholarly work in the humanities? Are they different in content as well as in form? Or perhaps neither? Are the digital humanities about "building stuff" or "breaking stuff"? Hack or yack? And is digital pedagogy part of DH, or something else entirely? Kris Shaffer (CU–Boulder & Hybrid Pedagogy Publishing) will lead this open discussion of what DH is. The answer to that question is likely elusive, but it's not the answer that's interesting. As with most digital "innovations" in the academy, DH isn't as new as it sounds, but it does prompt us to engage questions that have gone unasked for too long, questions that get at the heart of what we do in the arts and the humanities, and the politics that frame that activity. Come listen, yack, perhaps even hack as we explore the philosophy behind our practice ― our praxis ― in the humanities. ## Online scholarly collaboration – a mini-unconference **Friday, October 23, 10:00–11:30am** **MRH 2.614** Humanities research is usually a solitary affair, but online collaboration opens up new options for inter-institutional and interdisciplinary projects. Collaborative, interdisciplinary, and/or digital projects allow us to engage new kinds of research questions, but they also come with additional challenges. What tools are necessary to foster online collaboration? Who gets credit for a collaborative project in an evaluation system designed around mostly individual scholarship and "first authors"? How do we balance connectivity with privacy online? These are the kinds of questions we will explore in this mini-"unconference": a participant-driven, activity-based session introduced and led by visiting scholar, Kris Shaffer (CU–Boulder & Hybrid Pedagogy Publishing). ## The Public Intellectual: Online Scholarship in the Humanities **Friday, October 23, 3:00–5:00pm** **MRH 2.604** **Association of Graduate Ethnomusicology and Musicology Students (AGEMS) Colloquium series** How many people read the average scholarly article? What do people find when they Google your name? The internet has opened up new means of communication and publishing that have changed (and are still changing) the way that we find information, engage with texts, and connect with others. These changes pose tremendous opportunities ― and challenges ― to humanities scholars. How do we ensure that would-be readers have access to our work? How do we ensure that our scholarship has the greatest potential to make a positive impact on the world ― or at least our corner of it? In this presentation, Kris Shaffer (CU–Boulder & Hybrid Pedagogy Publishing) will lay out some of the ways the scholarly publishing landscape is changing, as well as some of the ways that scholars can use new forms of digital communication to increase the potential impact of our work. Not only can the use of digital and social media increase readership inside and outside the academy, but it can open up new dialogs with those outside our scholarly disciplines, dialogs that can enrich our scholarship and form new communities that themselves have value.
81.5
771
0.790467
eng_Latn
0.99901
2c63f32cce03645fbb1d46fb3376408ab1a9f614
276
md
Markdown
README.md
skalnik/shitty-beer-bingo
105d3d717f9ff0273078d961dc505b5f622ba955
[ "MIT" ]
5
2015-03-21T17:10:24.000Z
2020-12-25T07:38:18.000Z
README.md
skalnik/shitty-beer-bingo
105d3d717f9ff0273078d961dc505b5f622ba955
[ "MIT" ]
6
2015-03-13T22:13:17.000Z
2017-06-15T20:58:39.000Z
README.md
skalnik/shitty-beer-bingo
105d3d717f9ff0273078d961dc505b5f622ba955
[ "MIT" ]
6
2015-03-13T16:26:57.000Z
2019-11-16T00:01:07.000Z
# Shitty Beer Bingo 💩🍺🎲 Now with [.com™](http://shittybeerbingo.com) While brainstorming a bar crawl, I and a few others came up with the idea of bingo cards for shitty beers. And thus this project was born. ### Is it any good? Yes. ### I like this, what next? Star & RT ⭐
25.090909
138
0.699275
eng_Latn
0.996607
2c64185bdfee7756657fe7741b4627178613be8d
126
md
Markdown
README.md
ilooky/multi-module
d86552dd22d440ceefe77814a843b2f69537ab91
[ "MIT" ]
null
null
null
README.md
ilooky/multi-module
d86552dd22d440ceefe77814a843b2f69537ab91
[ "MIT" ]
null
null
null
README.md
ilooky/multi-module
d86552dd22d440ceefe77814a843b2f69537ab91
[ "MIT" ]
null
null
null
# Gradle, Kotlin, Spring Skeleton ! This is a multi-project / multi-module skeleton with the following details > gradle build
31.5
74
0.777778
eng_Latn
0.998388
2c643f53a94c63531d2ccfe0d5ff780517d88c1c
23,508
md
Markdown
2018-04-18.md
issmirnov/github-trending
c260350ccba4e3de1f6315f8e62846a0d0e0b645
[ "MIT" ]
2
2018-09-19T07:08:18.000Z
2019-09-04T01:37:39.000Z
2018-04-18.md
issmirnov/github-trending
c260350ccba4e3de1f6315f8e62846a0d0e0b645
[ "MIT" ]
null
null
null
2018-04-18.md
issmirnov/github-trending
c260350ccba4e3de1f6315f8e62846a0d0e0b645
[ "MIT" ]
1
2021-08-12T20:08:35.000Z
2021-08-12T20:08:35.000Z
### 2018-04-18 #### swift * [serhii-londar / open-source-mac-os-apps](https://github.com/serhii-londar/open-source-mac-os-apps): 🚀 Awesome list of open source applications for macOS. * [lukakerr / regxr](https://github.com/lukakerr/regxr): A minimal, lightweight MacOS desktop application to check for regular expression pattern matches * [pointfreeco / swift-tagged](https://github.com/pointfreeco/swift-tagged): 🏷 A library for safer types. * [Boilertalk / Web3.swift](https://github.com/Boilertalk/Web3.swift): A pure swift Ethereum Web3 library * [jdisho / Papr](https://github.com/jdisho/Papr): An Unsplash app for iOS. * [Toxblh / MTMR](https://github.com/Toxblh/MTMR): My TouchBar. My rules * [sindresorhus / Defaults](https://github.com/sindresorhus/Defaults): Swifty and modern UserDefaults * [raywenderlich / swift-algorithm-club](https://github.com/raywenderlich/swift-algorithm-club): Algorithms and data structures in Swift, with explanations! * [vsouza / awesome-ios](https://github.com/vsouza/awesome-ios): A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects * [Uncommon / Xit](https://github.com/Uncommon/Xit): Mac OS X Git GUI * [DotzuX / DotzuX](https://github.com/DotzuX/DotzuX): Next Generation of Dotzu (iOS Debugging Tool) * [lhc70000 / iina](https://github.com/lhc70000/iina): The modern video player for macOS. * [Juanpe / SkeletonView](https://github.com/Juanpe/SkeletonView): An elegant way to show users that something is happening and also prepare them to which contents he is waiting * [ReactiveX / RxSwift](https://github.com/ReactiveX/RxSwift): Reactive Programming in Swift * [SwiftyJSON / SwiftyJSON](https://github.com/SwiftyJSON/SwiftyJSON): The better way to deal with JSON data in Swift. * [danielgindi / Charts](https://github.com/danielgindi/Charts): Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart. * [xmartlabs / Eureka](https://github.com/xmartlabs/Eureka): Elegant iOS form builder in Swift * [lkzhao / Hero](https://github.com/lkzhao/Hero): Elegant transition library for iOS & tvOS * [Alamofire / Alamofire](https://github.com/Alamofire/Alamofire): Elegant HTTP Networking in Swift * [Clipy / Clipy](https://github.com/Clipy/Clipy): Clipboard extension app for macOS. * [mxcl / PromiseKit](https://github.com/mxcl/PromiseKit): Promises for Swift & ObjC * [dkhamsing / open-source-ios-apps](https://github.com/dkhamsing/open-source-ios-apps): 📱 Collaborative List of Open-Source iOS Apps * [onevcat / Kingfisher](https://github.com/onevcat/Kingfisher): A lightweight, pure-Swift library for downloading and caching images from the web. * [Ramotion / animated-tab-bar](https://github.com/Ramotion/animated-tab-bar): RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion * [matteocrippa / awesome-swift](https://github.com/matteocrippa/awesome-swift): A collaborative list of awesome Swift libraries and resources. Feel free to contribute! #### objective-c * [NJHu / iOSProject](https://github.com/NJHu/iOSProject): oc综合项目,ios综合项目,iosdemo,ocdemo,demo,iosproject,百思不得姐,新浪微博,sina,QQ音乐,QQMusic,music,视频列表,滚动播放,拖拽播放,离线下载,即时通讯,打印 ios 日志,省市区三级联动,没有导航栏,自定义导航栏,字体适配屏幕,空白页展示,空白页,导航条颜色渐变,导航条高度渐变,YYText 使用,列表的展开和收起,京东首页布局,流水布局,垂直流水布局,水平流水布局,非规则流水布局,键盘处理,文件下载,Masonry 案例,fmdb,数据库,sqlite,百度地图,二维码,照片上传,照片上传有进度,列表倒计时,H5和原生交互,自定义各种弹框,常见表单类型,人脸识别,列表加载图片,列表拖拽,日历操作,导航条渐变,指纹解锁,物理仿… * [newyjp / JPVideoPlayer](https://github.com/newyjp/JPVideoPlayer): Automatic play video & cache video data in UITableView like Weibo and Douyin. * [GodzzZZZ / MFPictureBrowser](https://github.com/GodzzZZZ/MFPictureBrowser): ⚡️一个集成简单交互效果不错的图片浏览器 * [react-community / react-native-maps](https://github.com/react-community/react-native-maps): React Native Mapview component for iOS + Android * [Instagram / IGListKit](https://github.com/Instagram/IGListKit): A data-driven UICollectionView framework for building fast and flexible lists. * [cimain / SortingForArray](https://github.com/cimain/SortingForArray): Demo·必会的算法操作:字符串数组排序+模型对象数组排序 * [91renb / BRPickerView](https://github.com/91renb/BRPickerView): 此框架封装的是iOS常用的选择器组件,只需一句代码即可调用。选择器类型主要包括:日期选择器、时间选择器、地址选择器、自定义单列字符串选择器、自定义多列字符串选择器。支持CocoaPods导入。 * [objective-see / LuLu](https://github.com/objective-see/LuLu): LuLu is the free open-source macOS firewall that aims to block unauthorized (outgoing) network traffic * [cimain / CMPdfPreviewDemo](https://github.com/cimain/CMPdfPreviewDemo): CMPdfPreviewDemo: 一个本地及在线PDF阅读Demo * [changsanjiang / SJVideoPlayer](https://github.com/changsanjiang/SJVideoPlayer): Video Player. Support cocoapods & Generate GIF & Export & Localization & Play in View(UIView || TableHeader || TableCell || CollectionCell) & Keyboard Orientation & StatusBar(Style&Hide). * [TextureGroup / Texture](https://github.com/TextureGroup/Texture): Smooth asynchronous user interfaces for iOS apps. * [hackiftekhar / IQKeyboardManager](https://github.com/hackiftekhar/IQKeyboardManager): Codeless drop-in universal library allows to prevent issues of keyboard sliding up and cover UITextField/UITextView. Neither need to write any code nor any setup required and much more. * [AAChartModel / AAChartKit](https://github.com/AAChartModel/AAChartKit): An elegant and friendly chart library for iOS . Powerful,support the column chart、bar chart、area chart、areaspline chart、line chart、spline chart、radar chart、polar chart、pie chart、bubble chart、pyramid chart、funnel chart、columnrange chart and other graphics.极其精美而又强大的 iOS 图表组件库,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完… * [halfrost / Halfrost-Field](https://github.com/halfrost/Halfrost-Field): ✍️ 这里是写博客的地方 —— Halfrost-Field 冰霜之地 * [marcuswestin / WebViewJavascriptBridge](https://github.com/marcuswestin/WebViewJavascriptBridge): An iOS/OSX bridge for sending messages between Obj-C and JavaScript in UIWebViews/WebViews * [wigl / iSimulator](https://github.com/wigl/iSimulator): iSimulator is a GUI utility to control the Simulator, and manage the app installed on the simulator. * [rs / SDWebImage](https://github.com/rs/SDWebImage): Asynchronous image downloader with cache support as a UIImageView category * [realm / realm-cocoa](https://github.com/realm/realm-cocoa): Realm is a mobile database: a replacement for Core Data & SQLite * [LaiFengiOS / LFLiveKit](https://github.com/LaiFengiOS/LFLiveKit): LaiFeng IOS Live Kit,H264 and AAC Hard coding,support GPUImage Beauty, rtmp transmission,weak network lost frame,Dynamic switching rate * [18840851520 / MyShow](https://github.com/18840851520/MyShow): * [SVProgressHUD / SVProgressHUD](https://github.com/SVProgressHUD/SVProgressHUD): A clean and lightweight progress HUD for your iOS and tvOS app. * [expo / expo](https://github.com/expo/expo): Expo iOS/Android Client * [amisare / NNNavigationBar](https://github.com/amisare/NNNavigationBar): * [CocoaLumberjack / CocoaLumberjack](https://github.com/CocoaLumberjack/CocoaLumberjack): A fast & simple, yet powerful & flexible logging framework for Mac and iOS * [casatwy / CTMediator](https://github.com/casatwy/CTMediator): The mediator with no regist process to split your iOS Project into multiple project. #### go * [GoogleContainerTools / kaniko](https://github.com/GoogleContainerTools/kaniko): Build Container Images In Kubernetes * [mjl- / duit](https://github.com/mjl-/duit): pure go, cross-platform, MIT-licensed ui toolkit for developers * [iikira / BaiduPCS-Go](https://github.com/iikira/BaiduPCS-Go): 百度网盘客户端 - Go语言编写 * [eolinker / GoKu-API-Gateway](https://github.com/eolinker/GoKu-API-Gateway): GoKu API Gateway CE,悟空API网关(开源版),是国内首个开源go语言API网关,帮助企业进行API服务治理与API性能安全维护,为企业数字化赋能。 * [kubernetes / kubernetes](https://github.com/kubernetes/kubernetes): Production-Grade Container Scheduling and Management * [dinedal / textql](https://github.com/dinedal/textql): Execute SQL against structured text like CSV or TSV * [golang / go](https://github.com/golang/go): The Go programming language * [uber / prototool](https://github.com/uber/prototool): Your Swiss Army Knife for Protocol Buffers * [yunabe / lgo](https://github.com/yunabe/lgo): Go (golang) Jupyter Notebook kernel and an interactive REPL * [ethereum / go-ethereum](https://github.com/ethereum/go-ethereum): Official Go implementation of the Ethereum protocol * [NetSPI / goddi](https://github.com/NetSPI/goddi): goddi (go dump domain info) dumps Active Directory domain information * [avelino / awesome-go](https://github.com/avelino/awesome-go): A curated list of awesome Go frameworks, libraries and software * [containous / traefik](https://github.com/containous/traefik): Træfik, a modern reverse proxy * [teh-cmc / go-internals](https://github.com/teh-cmc/go-internals): A book about the internals of the Go programming language. * [txthinking / brook](https://github.com/txthinking/brook): Brook is a cross-platform(Linux/MacOS/Windows/Android/iOS) proxy software * [apex / up](https://github.com/apex/up): Deploy infinitely scalable serverless apps, apis, and sites in seconds to AWS. * [kubernetes / kops](https://github.com/kubernetes/kops): Kubernetes Operations (kops) - Production Grade K8s Installation, Upgrades, and Management * [gohugoio / hugo](https://github.com/gohugoio/hugo): The world’s fastest framework for building websites. * [istio / istio](https://github.com/istio/istio): An open platform to connect, manage, and secure microservices. * [gin-gonic / gin](https://github.com/gin-gonic/gin): Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin. * [astaxie / build-web-application-with-golang](https://github.com/astaxie/build-web-application-with-golang): A golang ebook intro how to build a web with golang * [coreos / etcd](https://github.com/coreos/etcd): Distributed reliable key-value store for the most critical data of a distributed system * [spf13 / cobra](https://github.com/spf13/cobra): A Commander for modern Go CLI interactions * [boyter / scc](https://github.com/boyter/scc): Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in Go * [prometheus / prometheus](https://github.com/prometheus/prometheus): The Prometheus monitoring system and time series database. #### javascript * [vuejs / vuepress](https://github.com/vuejs/vuepress): 📝 Minimalistic Vue-powered static site generator * [Mailtrain-org / mailtrain](https://github.com/Mailtrain-org/mailtrain): Self hosted newsletter app * [drcmda / react-spring](https://github.com/drcmda/react-spring): 🙌 Helping react-motion and animated to become best friends * [marktext / marktext](https://github.com/marktext/marktext): 📝Next generation markdown editor, running on platforms of MacOS Windows and Linux. * [text-mask / text-mask](https://github.com/text-mask/text-mask): Input mask for React, Angular, Ember, Vue, & plain JavaScript * [tehnokv / picojs](https://github.com/tehnokv/picojs): A face detection library in 200 lines of JavaScript * [vuejs / vue](https://github.com/vuejs/vue): 🖖 A progressive, incrementally-adoptable JavaScript framework for building UI on the web. * [atulmy / crate](https://github.com/atulmy/crate): 👕👖📦 A sample web and mobile application built with Node, Express, React, React Native, Redux and GraphQL. Very basic replica of stitchfix.com / krate.in (allows users to get monthly subscription of trendy clothes and accessories). * [sarahdayan / dinero.js](https://github.com/sarahdayan/dinero.js): 💸 An immutable library to create, calculate and format monetary values. * [Meituan-Dianping / mpvue](https://github.com/Meituan-Dianping/mpvue): 基于 Vue.js 的小程序开发框架,从底层支持 Vue.js 语法和构建工具体系。 * [facebook / react](https://github.com/facebook/react): A declarative, efficient, and flexible JavaScript library for building user interfaces. * [intoli / remote-browser](https://github.com/intoli/remote-browser): A low-level browser automation framework built on top of the Web Extensions API standard. * [facebook / create-react-app](https://github.com/facebook/create-react-app): Create React apps with no build configuration. * [pshihn / rough](https://github.com/pshihn/rough): Create graphics with a hand-drawn, sketchy, appearance * [axios / axios](https://github.com/axios/axios): Promise based HTTP client for the browser and node.js * [jargonist / jargon.ist](https://github.com/jargonist/jargon.ist): Jargon.ist - Bilgisayar bilimleri jargonu sözlüğü * [aweary / react-copy-write](https://github.com/aweary/react-copy-write): ✍️ Immutable state with a mutable API * [GoogleChromeLabs / puppeteer-examples](https://github.com/GoogleChromeLabs/puppeteer-examples): Use case-driven examples for using Puppeteer and headless chrome * [yangshun / front-end-interview-handbook](https://github.com/yangshun/front-end-interview-handbook): 🕸 Almost complete answers to "Front-end Job Interview Questions" which you can use to interview potential candidates, test yourself or completely ignore * [krasimir / react-in-patterns](https://github.com/krasimir/react-in-patterns): A free book that talks about design patterns/techniques used while developing with React. * [nodejs / node](https://github.com/nodejs/node): Node.js JavaScript runtime ✨🐢🚀✨ * [justjavac / free-programming-books-zh_CN](https://github.com/justjavac/free-programming-books-zh_CN): 📚 免费的计算机编程类中文书籍,欢迎投稿 * [FrontendMasters / front-end-handbook-2018](https://github.com/FrontendMasters/front-end-handbook-2018): 2018 edition of our front-end development handbook * [GoogleChrome / puppeteer](https://github.com/GoogleChrome/puppeteer): Headless Chrome Node API * [zeit / hyper](https://github.com/zeit/hyper): A terminal built on web technologies #### ruby * [GratefulGarmentProject / StockAid](https://github.com/GratefulGarmentProject/StockAid): A website for tracking inventory * [jondot / awesome-react-native](https://github.com/jondot/awesome-react-native): Awesome React Native components, news, tools, and learning material! * [oracle / truffleruby](https://github.com/oracle/truffleruby): A high performance implementation of the Ruby programming language. Built on the GraalVM by Oracle Labs. * [palkan / action_policy](https://github.com/palkan/action_policy): Authorization framework for Ruby/Rails applications * [dreadlocked / Drupalgeddon2](https://github.com/dreadlocked/Drupalgeddon2): Exploit for Drupal v7.x + v8.x (Drupalgeddon 2 / CVE-2018-7600 / SA-CORE-2018-002) * [bayandin / awesome-awesomeness](https://github.com/bayandin/awesome-awesomeness): A curated list of awesome awesomeness * [rails / rails](https://github.com/rails/rails): Ruby on Rails * [fastlane / fastlane](https://github.com/fastlane/fastlane): 🚀 The easiest way to automate building and releasing your iOS and Android apps * [tootsuite / mastodon](https://github.com/tootsuite/mastodon): Your self-hosted, globally interconnected microblogging community * [Homebrew / brew](https://github.com/Homebrew/brew): 🍺 The missing package manager for macOS * [Homebrew / homebrew-core](https://github.com/Homebrew/homebrew-core): 🍻 Default formulae for the missing package manager for macOS * [jekyll / jekyll](https://github.com/jekyll/jekyll): 🌐 Jekyll is a blog-aware, static site generator in Ruby * [Netflix / fast_jsonapi](https://github.com/Netflix/fast_jsonapi): A lightning fast JSON:API serializer for Ruby Objects. * [discourse / discourse](https://github.com/discourse/discourse): A platform for community discussion. Free, open, simple. * [freeCodeCamp / devdocs](https://github.com/freeCodeCamp/devdocs): API Documentation Browser * [ruby / ruby](https://github.com/ruby/ruby): The Ruby Programming Language * [Lackoftactics / facebook_data_analyzer](https://github.com/Lackoftactics/facebook_data_analyzer): Analyze facebook copy of your data. Download zip file from facebook and get info about friends ranking by message, vocabulary, contacts, friends added statistics and more * [rapid7 / metasploit-framework](https://github.com/rapid7/metasploit-framework): Metasploit Framework * [hashicorp / vagrant](https://github.com/hashicorp/vagrant): Vagrant is a tool for building and distributing development environments. * [iridakos / elman](https://github.com/iridakos/elman): Full text searching Linux man pages with Elasticsearch 🐧 * [rmosolgo / graphql-ruby](https://github.com/rmosolgo/graphql-ruby): Ruby implementation of GraphQL * [caskroom / homebrew-cask](https://github.com/caskroom/homebrew-cask): 🍻 A CLI workflow for the administration of macOS applications distributed as binaries * [plataformatec / devise](https://github.com/plataformatec/devise): Flexible authentication solution for Rails with Warden. * [stympy / faker](https://github.com/stympy/faker): A library for generating fake data such as names, addresses, and phone numbers. * [fastlane / ci](https://github.com/fastlane/ci): Open source, self hosted, mobile optimized CI powered by fastlane #### rust * [ashleygwilliams / wasm-pack](https://github.com/ashleygwilliams/wasm-pack): 📦✨ pack up the wasm and publish it to npm! * [solana-labs / solana](https://github.com/solana-labs/solana): High Performance Blockchain * [rcoh / angle-grinder](https://github.com/rcoh/angle-grinder): Slice and dice log files on the command line * [rust-lang / rust](https://github.com/rust-lang/rust): A safe, concurrent, practical language. * [jwilm / alacritty](https://github.com/jwilm/alacritty): A cross-platform, GPU-accelerated terminal emulator * [substantic / rain](https://github.com/substantic/rain): Framework for large distributed pipelines * [yoshuawuyts / human-panic](https://github.com/yoshuawuyts/human-panic): Panic messages for humans. * [bootandy / dust](https://github.com/bootandy/dust): A more intuitive version of du in rust * [atom / xray](https://github.com/atom/xray): An experimental next-generation Electron-based text editor * [rust-lang / cargo](https://github.com/rust-lang/cargo): The Rust package manager * [sharkdp / fd](https://github.com/sharkdp/fd): A simple, fast and user-friendly alternative to 'find' * [SergioBenitez / Rocket](https://github.com/SergioBenitez/Rocket): A web framework for Rust. * [google / xi-editor](https://github.com/google/xi-editor): A modern editor with a backend written in Rust. https://google.github.io/xi-editor * [rustwasm / wasm-bindgen](https://github.com/rustwasm/wasm-bindgen): Interoperating JS and Rust code * [nebulet / nebulet](https://github.com/nebulet/nebulet): (Going to be) A microkernel that implements a WebAssembly "usermode" that runs in Ring 0. * [rust-lang / book](https://github.com/rust-lang/book): The Rust Programming Language * [ogham / exa](https://github.com/ogham/exa): Replacement for 'ls' written in Rust. * [DenisKolodin / yew](https://github.com/DenisKolodin/yew): Rust framework for making client web apps * [tokio-rs / tokio](https://github.com/tokio-rs/tokio): A runtime for writing reliable, asynchronous, and slim applications with the Rust programming language. * [hyperium / hyper](https://github.com/hyperium/hyper): An HTTP library for Rust * [rust-unofficial / awesome-rust](https://github.com/rust-unofficial/awesome-rust): A curated list of Rust code and resources. * [uutils / coreutils](https://github.com/uutils/coreutils): Cross-platform Rust rewrite of the GNU coreutils * [google / rerast](https://github.com/google/rerast): A tool for transforming Rust code using rules * [bokuweb / rustynes](https://github.com/bokuweb/rustynes): 👾 An NES emulator by Rust and WebAssembly * [rustwasm / twiggy](https://github.com/rustwasm/twiggy): Twiggy is a code size profiler #### python * [shobrook / rebound](https://github.com/shobrook/rebound): Command-line tool that instantly fetches Stack Overflow results when you get a compiler error * [zulip / zulip](https://github.com/zulip/zulip): Zulip server - powerful open source team chat * [vaguileradiaz / tinfoleak](https://github.com/vaguileradiaz/tinfoleak): The most complete open-source tool for Twitter intelligence analysis * [tensorflow / models](https://github.com/tensorflow/models): Models and examples built with TensorFlow * [skorov / ridrelay](https://github.com/skorov/ridrelay): Enumerate usernames on a domain where you have no creds by using SMB Relay with low priv. * [NVlabs / MUNIT](https://github.com/NVlabs/MUNIT): Multimodal Unsupervised Image-to-Image Translation * [toddmotto / public-apis](https://github.com/toddmotto/public-apis): A collective list of public JSON APIs for use in web development. * [vinta / awesome-python](https://github.com/vinta/awesome-python): A curated list of awesome Python frameworks, libraries, software and resources * [suragnair / alpha-zero-general](https://github.com/suragnair/alpha-zero-general): A clean implementation based on AlphaZero for any game in any framework + tutorial + Othello/Gobang/TicTacToe/Connect4 * [keras-team / keras](https://github.com/keras-team/keras): Deep Learning for humans * [rg3 / youtube-dl](https://github.com/rg3/youtube-dl): Command-line program to download videos from YouTube.com and other video sites * [apachecn / MachineLearning](https://github.com/apachecn/MachineLearning): Machine Learning in Action(机器学习实战) * [audibleblink / doxycannon](https://github.com/audibleblink/doxycannon): A poorman's proxycannon and botnet, using docker, ovpn files, and a dante socks5 proxy * [trailofbits / algo](https://github.com/trailofbits/algo): Set up a personal IPSEC VPN in the cloud * [GauravBh1010tt / DeepLearn](https://github.com/GauravBh1010tt/DeepLearn): Implementation of research papers on Deep Learning+ NLP+ CV in Python using Keras, Tensorflow and Scikit Learn. * [python-security / pyt](https://github.com/python-security/pyt): A Static Analysis Tool for Detecting Security Vulnerabilities in Python Web Applications * [matterport / Mask_RCNN](https://github.com/matterport/Mask_RCNN): Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow * [pallets / flask](https://github.com/pallets/flask): The Python micro framework for building web applications. * [donnemartin / system-design-primer](https://github.com/donnemartin/system-design-primer): Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards. * [deepfakes / faceswap](https://github.com/deepfakes/faceswap): Non official project based on original /r/Deepfakes thread. Many thanks to him! * [roytseng-tw / Detectron.pytorch](https://github.com/roytseng-tw/Detectron.pytorch): A pytorch implementation of Detectron. Both training from scratch and inferring directly from pretrained Detectron weights are available. * [scikit-learn / scikit-learn](https://github.com/scikit-learn/scikit-learn): scikit-learn: machine learning in Python * [scrapy / scrapy](https://github.com/scrapy/scrapy): Scrapy, a fast high-level web crawling & scraping framework for Python. * [pypa / pipenv](https://github.com/pypa/pipenv): Python Development Workflow for Humans. * [ansible / ansible](https://github.com/ansible/ansible): Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications — automate in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com/ansible/
123.078534
423
0.774119
eng_Latn
0.382175
2c64a97521bcdb69161b3cc389527c62a47184e3
8,323
md
Markdown
docs/2014/analysis-services/schema-rowsets/data-mining/dmschema-mining-services-rowset.md
IrvinDominin/sql-docs.it-it
4b82830a24c29e5486f950728a69ddb46cb4c874
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/2014/analysis-services/schema-rowsets/data-mining/dmschema-mining-services-rowset.md
IrvinDominin/sql-docs.it-it
4b82830a24c29e5486f950728a69ddb46cb4c874
[ "CC-BY-4.0", "MIT" ]
null
null
null
docs/2014/analysis-services/schema-rowsets/data-mining/dmschema-mining-services-rowset.md
IrvinDominin/sql-docs.it-it
4b82830a24c29e5486f950728a69ddb46cb4c874
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: Set di righe DMSCHEMA_MINING_SERVICES | Microsoft Docs ms.custom: '' ms.date: 03/06/2017 ms.prod: sql-server-2014 ms.reviewer: '' ms.technology: - analysis-services - docset-sql-devref ms.topic: reference api_name: - DMSCHEMA_MINING_SERVICES topic_type: - apiref helpviewer_keywords: - DMSCHEMA_MINING_SERVICES rowset ms.assetid: 4a672f2f-d637-4def-a572-c18556f83d34 author: minewiskan ms.author: owend manager: craigg ms.openlocfilehash: ba6a0172207c84bb2bdb4b7e3de7acc84362b8f7 ms.sourcegitcommit: 3da2edf82763852cff6772a1a282ace3034b4936 ms.translationtype: MT ms.contentlocale: it-IT ms.lasthandoff: 10/02/2018 ms.locfileid: "48099762" --- # <a name="dmschemaminingservices-rowset"></a>Set di righe DMSCHEMA_MINING_SERVICES Fornisce una descrizione di ogni algoritmo di data mining supportato dal provider. ## <a name="rowset-columns"></a>Colonne del set di righe Il `DMSCHEMA_MINING_SERVICES` set di righe contiene le colonne seguenti. |Nome colonna|Indicatore del tipo|Length|Description| |-----------------|--------------------|------------|-----------------| |`SERVICE_NAME`|`DBTYPE_WSTR`||Nome dell'algoritmo. Questa colonna è specifica del provider.| |`SERVICE_TYPE_ID`|`DBTYPE_UI4`||Questa colonna contiene una bitmap che descrive il servizio di data mining. [!INCLUDE[msCoName](../../../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] [!INCLUDE[ssASnoversion](../../../includes/ssasnoversion-md.md)] Popola questa colonna con uno dei valori seguenti:<br /><br /> - `DM_SERVICETYPE_CLASSIFICATION` (`1`)<br />- `DM_SERVICETYPE_CLUSTERING` (`2`)| |`SERVICE_DISPLAY_NAME`|`DBTYPE_WSTR`||Nome visualizzato localizzabile per l'algoritmo.| |`SERVICE_GUID`|`DBTYPE_GUID`||GUID dell'algoritmo.| |`DESCRIPTION`|`DBTYPE_WSTR`||Descrizione intuitiva dell'algoritmo.| |`PREDICTION_LIMIT`|`DBTYPE_UI4`||Numero massimo di stime che possono fornire il modello e l'algoritmo.| |`SUPPORTED_DISTRIBUTION_FLAGS`|`DBTYPE_WSTR`||Elenco delimitato da virgole di flag che descrivono le distribuzioni statistiche supportate dall'algoritmo. Questa colonna contiene uno o più dei valori seguenti:<br /><br /> - "`NORMAL`"<br />- "`LOG NORMAL`"<br />- "`UNIFORM`"| |`SUPPORTED_INPUT_CONTENT_TYPES`|`DBTYPE_WSTR`||Elenco delimitato da virgole di flag che descrivono i tipi di contenuto di input supportati dall'algoritmo. Questa colonna contiene uno o più dei valori seguenti:<br /><br /> - "`KEY`"<br />- "`DISCRETE`"<br />- "`CONTINUOUS`"<br />- "`DISCRETIZED`"<br />- "`ORDERED`"<br />-"CHIAVE `SEQUENCE`"<br />- "`CYCLICAL`"<br />- "`PROBABILITY`"<br />- "`VARIANCE`"<br />- "`STDEV`"<br />- "`SUPPORT`"<br />- "`PROBABILITY VARIANCE`"<br />- "`PROBABILITY STDEV`"<br />- "`KEY TIME`"| |`SUPPORTED_PREDICTION_CONTENT_TYPES`|`DBTYPE_WSTR`||Elenco delimitato da virgole di flag che descrivono i tipi di contenuto di stima supportati dall'algoritmo. Questa colonna contiene uno o più dei valori seguenti:<br /><br /> - "`KEY`"<br />- "`DISCRETE`"<br />- "`CONTINUOUS`"<br />- "`DISCRETIZED`"<br />- "`ORDERED`"<br />-"CHIAVE `SEQUENCE` "<br />- "`CYCLICAL`"<br />- "`PROBABILITY`"<br />- "`VARIANCE`"<br />- "`STDEV`"<br />- "`SUPPORT`"<br />- "`PROBABILITY VARIANCE`"<br />- "`PROBABILITY STDEV`"<br />-"LA CHIAVE TEMPORALE"| |`SUPPORTED_MODELING_FLAGS`|`DBTYPE_WSTR`||Elenco delimitato da virgole dei flag di modellazione supportati dall'algoritmo. Questa colonna contiene uno o più dei valori seguenti:<br /><br /> - "`MODEL_EXISTENCE_ONLY`"<br />- "`REGRESSOR`"<br /><br /> È inoltre possibile definire flag specifici del provider.| |`SUPPORTED_SOURCE_QUERY`|`DBTYPE_WSTR`||-Questa colonna è supportata per la compatibilità con le versioni precedenti.| |`TRAINING_COMPLEXITY`|`DBTYPE_I4`||La durata di tempo prevista per l'esecuzione del training:<br /><br /> - `DM_TRAINING_COMPLEXITY_LOW` indica che il tempo di esecuzione è relativamente breve ed è proporzionale all'input.<br />- **DM_TRAINING_COMPLEXITY_MEDIUM** indica che il tempo di esecuzione potrebbe essere lungo, ma è in genere proporzionale all'input.<br />- **DM_TRAINING_COMPLEXITY_HIGH** indica che il tempo di esecuzione è lungo e può aumentare in misura esponenziale in relazione al numero di case di training.| |`PREDICTION_COMPLEXITY`|`DBTYPE_I4`||La durata di tempo prevista per la stima:<br /><br /> - **DM_PREDICTION_COMPLEXITY_LOW** indica che il tempo di esecuzione è relativamente breve ed è proporzionale all'input.<br />- **DM_PREDICTION_COMPLEXITY_MEDIUM** indica che il tempo di esecuzione potrebbe essere lungo, ma è in genere proporzionale all'input.<br />- **DM_PREDICTION_COMPLEXITY_HIGH** indica che il tempo di esecuzione è lungo e può aumentare in misura esponenziale in relazione al numero di case di training.| |`EXPECTED_QUALITY`|`DBTYPE_I4`||Qualità prevista del modello prodotto con questo algoritmo:<br /><br /> - `DM_EXPECTED_QUALITY_LOW`<br />- `DM_EXPECTED_QUALITY_MEDIUM`<br />- **DM_EXPECTED_QUALITY_HIGH**| |`SCALING`|`DBTYPE_I4`||Scalabilità dell'algoritmo.<br /><br /> - **DM_SCALING_LOW**<br />- `DM_SCALING_MEDIUM`<br />- **DM_SCALING_HIGH**| |`ALLOW_INCREMENTAL_INSERT`|`DBTYPE_BOOL`||Valore booleano che indica se l'algoritmo supporta il training incrementale, ovvero l'aggiornamento dei modelli individuati in base a nuovi dati effettivi anziché mediante una nuova individuazione dei modelli.| |`ALLOW_PMML_INITIALIZATION`|`DBTYPE_BOOL`||Valore booleano che indica se è possibile creare modelli di data mining in base a una stringa PMML 2.1.<br /><br /> Se è `TRUE`, l'algoritmo di data mining supporta inizializzazione da contenuto PMML 2.1.| |`CONTROL`|`DBTYPE_I4`||Supporto fornito dal servizio se il training viene interrotto:<br /><br /> - `DM_CONTROL_NONE` indica che l'algoritmo non può essere annullato dopo l'avvio per il training del modello.<br />- `DM_CONTROL_CANCEL` indica che l'algoritmo può essere annullato dopo che viene avviato per il training del modello, ma deve essere riavviato per riprendere il training.<br />- `DM_CONTROL_SUSPENDRESUME` indica che l'algoritmo può essere annullato e ripreso in qualsiasi momento, ma i risultati non sono disponibili fino al completamento del training.<br />- `DM_CONTROL_SUSPENDWITHRESULT` indica che l'algoritmo può essere annullato e ripreso in qualsiasi momento e possono essere ottenuti eventuali risultati incrementali.| |`ALLOW_DUPLICATE_KEY`|`DBTYPE_BOOL`||Valore booleano che indica se i case possono contenere chiavi duplicate.<br /><br /> Se è `VARIANT_TRUE`, i case possono contenere chiavi duplicate.| |`VIEWER_TYPE`|`DBTYPE_WSTR`||Visualizzatore consigliato per questo modello.| |`HELP_FILE`|`DBTYPE_WSTR`||(Facoltativo) Nome del file che contiene la documentazione per questo servizio.| |`HELP_CONTEXT`|`DBTYPE_I4`||(Facoltativo) ID di contesto della Guida per questo servizio.| |`MSOLAP_SUPPORTS_ANALYSIS_SERVICES_DDL`|`DBTYPE_WSTR`||Versione DDL supportata. 0 indica nessun supporto DDL.| |`MSOLAP_SUPPORTS_OLAP_MINING_MODELS`|`DBTYPE_BOOL`||Valore booleano che indica se è possibile creare modelli di data mining OLAP.<br /><br /> Se è `TRUE`, è possibile creare modelli di data mining OLAP. Richiede che `MSOLAP_SUPPORTS_ANALYSIS_SERVICES_DDL` sia diverso da zero.| |`MSOLAP_SUPPORTS_DATA_MINING_DIMENSIONS`|`DBTYPE_BOOL`||Valore booleano che indica se è possibile creare dimensioni di data mining.<br /><br /> Se è `TRUE`, è possibile creare dimensioni di data mining.| |`MSOLAP_SUPPORTS_DRILLTHROUGH`|`DBTYPE_BOOL`||Valore booleano che indica se il servizio supporta funzionalità drill-through.<br /><br /> Se è `TRUE`, il servizio supporta funzionalità drill-through.| ## <a name="restriction-columns"></a>Colonne di restrizione Il set di righe `DMSCHEMA_MINING_SERVICES` può essere limitato sulle colonne elencate nella tabella seguente. |Nome colonna|Indicatore del tipo|Stato della restrizione| |-----------------|--------------------|-----------------------| |`SERVICE_NAME`|`DBTYPE_WSTR`|Facoltativo.| |`SERVICE_TYPE_ID`|`DBTYPE_UI4`|Facoltativo.| ## <a name="see-also"></a>Vedere anche [Set di righe dello schema di data mining](../../schema-rowsets/data-mining/data-mining-schema-rowsets.md)
110.973333
750
0.737234
ita_Latn
0.956308
2c64f565b55a9103a10517a2126e7d3e9076f641
1,052
md
Markdown
AlchemyInsights/does-visio-work-on-mac.md
isabella232/OfficeDocs-AlchemyInsights-pr.es-ES
ac116fbd9d1c1d91f8560a05b3bd9bf7ac60d13b
[ "CC-BY-4.0", "MIT" ]
2
2020-05-19T19:06:13.000Z
2020-09-30T12:26:20.000Z
AlchemyInsights/does-visio-work-on-mac.md
isabella232/OfficeDocs-AlchemyInsights-pr.es-ES
ac116fbd9d1c1d91f8560a05b3bd9bf7ac60d13b
[ "CC-BY-4.0", "MIT" ]
2
2022-02-09T06:58:54.000Z
2022-02-09T06:59:11.000Z
AlchemyInsights/does-visio-work-on-mac.md
isabella232/OfficeDocs-AlchemyInsights-pr.es-ES
ac116fbd9d1c1d91f8560a05b3bd9bf7ac60d13b
[ "CC-BY-4.0", "MIT" ]
4
2019-10-11T18:38:49.000Z
2020-12-05T17:24:01.000Z
--- title: ¿Visio funciona en un Mac ms.author: janellem author: janellemcintosh-msft manager: eliree ms.date: 04/21/2020 ms.audience: Admin ms.topic: article ms.service: o365-administration ROBOTS: NOINDEX, NOFOLLOW localization_priority: Normal ms.collection: Adm_O365 ms.custom: - "1799" - "9000201" ms.openlocfilehash: 8a6f8925d89582942c05596ea0431eee3fc71c9e8c15fdc555dbbeaa7790d976 ms.sourcegitcommit: b5f7da89a650d2915dc652449623c78be6247175 ms.translationtype: MT ms.contentlocale: es-ES ms.lasthandoff: 08/05/2021 ms.locfileid: "53965226" --- # <a name="does-visio-work-on-a-mac"></a>¿Visio funciona en un Mac? No hay ninguna aplicación de escritorio de Visio para Mac. Sin embargo, siempre que el usuario que necesite la aplicación tenga asignada una licencia de [Visio Online,](https://docs.microsoft.com/microsoft-365/admin/add-users/add-users)podrá ver, crear y editar [diagramas](https://support.office.com/article/06f04845-91b8-4e8f-881f-a43c970735fc?wt.mc_id=OfficeAdm_ClientDIA_Alchemy1799) en Visio Online en un explorador web.
38.962963
425
0.803232
spa_Latn
0.346751
2c6658982bf57f29f4d707a58a771811909f89a6
125
md
Markdown
content/auctions/2018-07-22/_index.md
lukebennett88/the-auction-queens
c7a3f9dbc1d768c9d5aae4d0552d56ba09cc4742
[ "MIT" ]
null
null
null
content/auctions/2018-07-22/_index.md
lukebennett88/the-auction-queens
c7a3f9dbc1d768c9d5aae4d0552d56ba09cc4742
[ "MIT" ]
null
null
null
content/auctions/2018-07-22/_index.md
lukebennett88/the-auction-queens
c7a3f9dbc1d768c9d5aae4d0552d56ba09cc4742
[ "MIT" ]
null
null
null
+++ date = "Sunday 22nd of July" layout = "auction" title = "Kempsey Showground" type = "auctions" +++ Sunday 22nd of July
12.5
28
0.664
eng_Latn
0.849685
2c66f9ca7536cb2a06a7b7c86aad370e0a38dafe
2,343
md
Markdown
README.md
pabloheigvd/tb
f12ee193538f175d6aba50c66eca05cf680d89de
[ "MIT" ]
null
null
null
README.md
pabloheigvd/tb
f12ee193538f175d6aba50c66eca05cf680d89de
[ "MIT" ]
null
null
null
README.md
pabloheigvd/tb
f12ee193538f175d6aba50c66eca05cf680d89de
[ "MIT" ]
null
null
null
# DevOps: Mise en place de cloud-native storage **Etudiant**: Pablo Mercado __Abstract__ Alors que plusieurs secteurs de l’industrie et organisations gouvernementales se tournent vers le développement d’applications cloud-native, il reste que les orchestrateurs de containers (tel que Kubernetes) ne fournissent pas de stockage persistant par défaut. Dans ce travail de Bachelor, les performances de Longhorn, une solution de stockage open source cloud-native orientée bloc sont testées sur le cluster de l’IICT avec l’outil FIO (Flexible I/O Tester). Une analyse théorique compare Longhorn et les différentes solutions existantes que pourrait héberger un fournisseur de cloud public. L’analyse et les résultats expérimentaux indiquent que Longhorn peut mieux performer qu’un cluster EKS sur certaines métriques tel que l’écriture aléatoire et séquentielle. Longhorn offre aussi une durabilité configurable et surtout moins mystérieuse qu’une solution propriétaire comme un volume EBS. --- ## Jobs Fio Le *jupyter notebook* `fio-benchmark.ipynb` contient: * l'ensemble des graphiques liés au travail de bachelor * les instructions minimales pour la réalisation des benchmarks sur les différents clusters testés Les résultats des benchmarks sont disponibles dans le dossier `fio-jobs-output`. ## Image de test Les jobs Fio sont packagés dans une image docker se trouvant dans le dossier `docker/iict`: ```bash docker pull ghcr.io/pabloheigvd/tb-fiobench:latest ``` ## Deployments testés Les *deployments* utilisés se trouvent dans le dossier `deployments`. Les plugins de stockage Longhorn et EBS ont été testés. --- ## Slides Un pdf de la présentation est disponible (`slides.pdf`). Pour voir la présentation sur le web, installez `https://github.com/yusukebe/revealgo`, puis lancez : ```bash revealgo --theme sky --transition linear slides.md ``` Pour générer un nouveau pdf, ouvrez `http://localhost:3000/?print-pdf` dans chrome puis `ctrl-p`. ## Remerciements/thanks * [Chris Evans](https://github.com/architectingit/k8sstorage), [technical report](https://resources.storageos.com/downloadbenchmarkreport) available for free * [Lee Liu (LogDNA)](https://github.com/leeliu/dbench) for the original dbench ## Moral License If you intend to use this work for your own paid work, please credit my name or this repository.
33
96
0.790013
fra_Latn
0.928364
2c677c3d0b429f4d70b2fa03bd5cd1b484229abe
403
md
Markdown
docs/OrderGiftCertificate.md
UltraCart/rest_api_v2_sdk_java
aff5ac367c25a663209d32e8ec6d4c069917b1dc
[ "Apache-2.0" ]
null
null
null
docs/OrderGiftCertificate.md
UltraCart/rest_api_v2_sdk_java
aff5ac367c25a663209d32e8ec6d4c069917b1dc
[ "Apache-2.0" ]
1
2021-02-06T14:31:50.000Z
2021-02-06T14:31:50.000Z
docs/OrderGiftCertificate.md
UltraCart/rest_api_v2_sdk_java
aff5ac367c25a663209d32e8ec6d4c069917b1dc
[ "Apache-2.0" ]
null
null
null
# OrderGiftCertificate ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **giftCertificateAmount** | [**Currency**](Currency.md) | | [optional] **giftCertificateCode** | **String** | Gift certificate code used on the order | [optional] **giftCertificateOid** | **Integer** | Gift certificate object identifier | [optional]
31
93
0.573201
eng_Latn
0.437146
2c682b569e36479ee35c9c97a5183403d4dcbb52
3,948
md
Markdown
content/project/SyGNet/index.md
tsrobinson/academic-kickstart
75dbb560c7b21b2334773ddad688d57f2dc5ded0
[ "MIT" ]
null
null
null
content/project/SyGNet/index.md
tsrobinson/academic-kickstart
75dbb560c7b21b2334773ddad688d57f2dc5ded0
[ "MIT" ]
null
null
null
content/project/SyGNet/index.md
tsrobinson/academic-kickstart
75dbb560c7b21b2334773ddad688d57f2dc5ded0
[ "MIT" ]
1
2020-09-18T14:22:41.000Z
2020-09-18T14:22:41.000Z
--- # Documentation: https://wowchemy.com/docs/managing-content/ title: "Synthetic data using Generative Adversarial Networks (SyGNet)" summary: "" authors: [] tags: [] categories: [] date: 2021-09-07T17:16:32+01:00 # Optional external URL for project (replaces project detail page). external_link: "" # Featured image # To use, add an image named `featured.jpg/png` to your page's folder. # Focal points: Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight. image: caption: "" focal_point: "" preview_only: false # Custom links (optional). # Uncomment and edit lines below to show custom links. # links: # - name: Follow # url: https://twitter.com # icon_pack: fab # icon: twitter url_code: "" url_pdf: "" url_slides: "" url_video: "" # Slides (optional). # Associate this project with Markdown slides. # Simply enter your slide deck's filename without extension. # E.g. `slides = "example-slides"` references `content/slides/example-slides.md`. # Otherwise, set `slides = ""`. slides: "" --- *SyGNet (**Sy**nthetic data using **G**enerative Adversarial **Net**works) is an 18-month project funded by a British Academy/Leverhulme Trust Small Project grant (£33k FEC, £10k cost to funder).* Social science data is both incredibly diverse and complex. From chaotic and noisy data generating processes, researchers aim to make concrete inferential claims about social phenomena. At the forefront of social science research, novel techniques and statistical methods are being developed to enable researchers to make robust inferential claims amid this complexity. Effective use of these tools and methods rests on demonstrations of their performance, which in turn relies on using the right kind of data to test them. Yet simulations are hard to conduct well precisely because real social science data is so complex. Overly simplified tests using parametric data may not comport well with actual social science applications. Conversely, benchmarking on well-known studies or datasets leaves researchers unable to estimate bias since the population parameters are unknown. In this project I propose to help solve this tension by using synthetic data: a strategy in which the underlying relationships between variables in real-world data are learned, and from which an arbitrary number of entirely new but realistic observations can be generated (i.e. “synthesised”). Creating synthetic data is a recent but increasingly popular method of analysis. Synthetic data is already used to run public analyses without compromising personally-identifying information of real-world subjects (eg Wang and Docherty 2006, Zięba et al 2016, Assefa 2020), to train predictive models with few, naturally occurring observations (eg Wang et al 2019, Zhang et al 2019) or, in my own research, to increase the predictive power of multiple imputation models (Lall and Robinson 2021). To effectively model the complexity of real-world data, this project will construct synthetic datasets using generative adversarial networks (GANs) -- a form of deep learning. GANs are a class-leading solution for detecting and modelling complex, non-parametric relationships within data. Specifically, in a GAN, two separate neural networks "compete" against each other in an effort to produce ever-more realistic looking data. One network constructs new observations, and the second network aims to detect which observations are real. By training these two networks in tandem, the GAN becomes highly proficient at reproducing data that looks like real data. GANs are notably good, for instance, at generating fake photo-realistic portraits (eg Karras et al 2017). With a team of two research assistants (one hire pending) we will develop the underlying neural network architecture, collate relevant social science data, and demonstrate the practical utility of this method to applied methodologists and social scientists.
75.923077
877
0.787741
eng_Latn
0.995646
2c695543f042b239bb6710d4bb95069a41719f81
6,699
md
Markdown
_posts/2019-01-10-Download-cleaning-validation-manual-a-comprehensive-guide-for-the-pharmaceutical-and-biotechnology-industries.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
_posts/2019-01-10-Download-cleaning-validation-manual-a-comprehensive-guide-for-the-pharmaceutical-and-biotechnology-industries.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
_posts/2019-01-10-Download-cleaning-validation-manual-a-comprehensive-guide-for-the-pharmaceutical-and-biotechnology-industries.md
Jobby-Kjhy/27
ea48bae2a083b6de2c3f665443f18b1c8f241440
[ "MIT" ]
null
null
null
--- layout: post comments: true categories: Other --- ## Download Cleaning validation manual a comprehensive guide for the pharmaceutical and biotechnology industries book In "And do not disturb me till we get there,в said the skinny grey man. There was no other way through or round the bulkhead! A slight, 'Thou shall have my help in whatsoever thou desirest. Is it that obvious?" challenging life than any she had envisioned only this morning. Everybody's bonded. The Music played within. By the water was to be found there. Not dead, 'O Tuhfet es Sudour. Last man in line. Inn at Kusatsu, repeatedly rising and Every vehicle. creatures of the Grove? She packed -- so quickly. "No, "You know why. They were both grinning. "You're the best. They don't seek war or plunder. dirty, and other life-threatening complications, was squeezed into one comer of the precinct next to a coffee shop, he drops to his knees to search the closet floor for anything that 4. " Time passes as time does, with another three months in which to continue his quest and an introduction to Intensity Five, and spoken and sung entire every year at the ahead. concept of a library of electronic works that could be freely shared Undeterred, as the Europeans settled on the island informed inventor of the game, Florida. 'Hint was the deal. " Now one day in late spring, but I didn't want to hurt thingy, with a gray plastic knob on the top! ] --Voyages from Behring's Straits westward--Fictitious Polar She threw up her hands. When it was the beginning of the new month, and a wide-mouthed shriek accused the world with a silent but profound cry of cleaning validation manual a comprehensive guide for the pharmaceutical and biotechnology industries, which will ordering Curtis to get out and fend for himself, down his chin, trees were cleared well back from the edge of the dig, a large number of Scandinavian artists. That while- because the amusing heroes had grown less amusing or less heroic. I'll dash over there, efficient, and that was the last word he spoke to Ivory. "Harry's been kinda friendly with him, I feel that hi fairness both to the Company and to the King stack of four decks, Benedictus Klerk! 'O my lord,' answered the traveller, he went away, sweetie?" compressors can be damaged. But maybe I can't learn to do that one, as though a great weight were unfortunate a cleaning validation manual a comprehensive guide for the pharmaceutical and biotechnology industries for the greater part of the crew. You can't get married! Third World inconvenience with the warm regards of the governor. I was never genius enough that I could have got a really good job with, "and A little moonlight nevertheless would be welcome, drawn by R. Surely this was With that thought, who was recounting his experiences to Maddock and a group of others. Nos. jerked the drapes out of the way. cleaning validation manual a comprehensive guide for the pharmaceutical and biotechnology industries anyway, with which I soon framed was as gray as pumice, and always, making the sand red, else, he thank-you. If you've been up to something, Andy had a portable typewriter. ' And he fell a-hemming and saying, Barry could feel the middle of his body turning outrageous, who was overwhelmed with bitter reproaches for with a fresh breeze and made rapid progress, if the July the vessels anchored in the sound which I have named Malygin board, who at the "We were suiting up when you got here, and gave not over going till she came to the house of El Abbas, i, among them the medals to the last precious photograph. He wanted to be able to give Agnes winning cards once in a while, manned by a rancher "I should sap. As a member in this privileged class, go. In fact, the pedestrian precinct beneath the shopping complex and business offices of the Manhattan module was lively and crowded with people! 78, i, unseen but not unfelt, is very dangerous, explosions of dynamite hauling trucks He stopped to listen, and indeed the astrologers lied, No. collected by himself during his residence in Ceylon. bear was fallen in with on land and was pierced by a bullet, ho," she said, was silent. Keep the-keep the mouth open, he favored and surveyed considerable stretches of the coast, same faith from different angles, so he probably poses little danger to them, who was in charge. Only a handful, and the number of tents at each village, but you are, intended exclusively for the men "Your majesty is sending forth his fleets," Early said to the staring old man in the armchair in Room to room through the upstairs. seemed to be an endurance challenge to visitors. She would be a mutant, until the desired facts are recalled or hypothermic collapse ensues, not too theatrically- "She performed at a club called Planet Pussycat. Stress and self-loathing were the two bartenders who served her, the universe -- an indifference that no Andвchuddaboom!вthe chopper is right here. Their eyes were only for each other, and he looked back toward where the window seat must be, both alone and together with some of That was the flash. Thirty years before, boy, LIABILITY WAIVER REQUIRED, 'If he be saved from the lion, where they cleaning validation manual a comprehensive guide for the pharmaceutical and biotechnology industries hear the stream running over the STILL NO OVERTURE came from the Chironian leaders, i, "but I still want to, luxuriant trees, probably. I don't know her last name. An hour Here Comes Mr. They were both grinning. Through the telescope it looked like a porcupine, cranked up the heat under the stew pot of his instinct, although additional members of this inbred clan might be lurking He followed an alleyway to the building's service entrance, "you're sure to have What a peculiar thing to say, wiser Tom agglutinating type, and finally Reminding himself that fortune favored the persistent and that he must always look for the bright side. The paintings of Sklent and the works of Zedd were packed in the van, chief," Driscoll announced. When the affair was prolonged and I found none but her, taken us the better part of fifteen years to pay off the blood-suckin' find him here. Lipscomb said, defended by a thousand spells against the present day. Only twice, mother-ignoring boy would fail to take. When the blurred hurricanes of motion were interrupted for a moment, came out, and even sex had not recently provided him with significant relief of tension! I cut in another dozen tracks, if you'd track down an address for Tetsy's parents and "I'll know. vnder an Island. to know, dear. He would eat more if he had them. bloody intent, skillfully making up the fire, like crushed leaves on a cream cubits.
744.333333
6,525
0.793103
eng_Latn
0.999939
2c6a118e15317dde63395520b15aa5a59eed021a
341
md
Markdown
docs/_sidebar.md
hendrikniemann/purescript-graphql
1be1dabb629a90056c0ca064550bee27d5836036
[ "MIT" ]
90
2018-08-14T20:36:10.000Z
2022-01-19T08:43:48.000Z
docs/_sidebar.md
hendrikniemann/purescript-graphql
1be1dabb629a90056c0ca064550bee27d5836036
[ "MIT" ]
28
2018-11-18T11:52:55.000Z
2021-08-25T11:09:47.000Z
docs/_sidebar.md
hendrikniemann/purescript-graphql
1be1dabb629a90056c0ca064550bee27d5836036
[ "MIT" ]
12
2018-12-05T03:44:34.000Z
2021-05-29T04:19:38.000Z
- [Introduction](README.md) - [What's new in v2?](version_2.md) - Tutorial - [Intro To GraphQL](intro_to_graphql.md) - [Getting Started](getting_started.md) - [Building the HTTP server](http_server.md) - Reference - [Scalar Types](scalar_types.md) - [Object Types](object_types.md) - [Union Types and Interfaces](union_types.md)
31
48
0.71261
yue_Hant
0.467839
2c6afa70208d3426359544412949d24d53d51534
1,476
md
Markdown
2020/10/28/2020-10-28 14:35.md
zhzhzhy/WeiBoHot_history
32ce4800e63f26384abb17d43e308452c537c902
[ "MIT" ]
3
2020-07-14T14:54:15.000Z
2020-08-21T06:48:24.000Z
2020/10/28/2020-10-28 14:35.md
zhzhzhy/WeiBoHot_history
32ce4800e63f26384abb17d43e308452c537c902
[ "MIT" ]
null
null
null
2020/10/28/2020-10-28 14:35.md
zhzhzhy/WeiBoHot_history
32ce4800e63f26384abb17d43e308452c537c902
[ "MIT" ]
null
null
null
2020年10月28日14时数据 Status: 200 1.郑爽状态 微博热度:3154260 2.新疆新增22例确诊 微博热度:2456670 3.新 一 代 羽 绒 服 微博热度:2360477 4.金晨张继科聊理想型条件 微博热度:2310923 5.吴京 好丈夫要做老婆的跟屁虫 微博热度:1334938 6.与滴滴代驾一起拒绝酒驾 微博热度:1036550 7.女儿们的恋爱 微博热度:861305 8.31日晚将出现年度最小满月 微博热度:860067 9.文在寅回应59人接种流感疫苗后死亡 微博热度:852348 10.上海迪士尼回应APP被工信部通报 微博热度:847098 11.单手飙车到255公里司机落网 微博热度:841550 12.王牌对王牌6原班人马 微博热度:836162 13.世界动画日 微博热度:828786 14.孟加拉国出现首位三次感染新冠病例 微博热度:818923 15.100秒重温童年经典动画片 微博热度:813177 16.金莎 降低标准等于否定过去 微博热度:808251 17.巴西总统建议民众去邻国买米 微博热度:803157 18.大学生恋爱是两个宿舍的事 微博热度:800754 19.西北师范大学开设毛线制作课 微博热度:786668 20.如何看待蓝领月薪高过大学生 微博热度:784397 21.郭麒麟现在单身的原因 微博热度:784119 22.网红奶茶实际容量与描述不符 微博热度:485605 23.天津着火 微博热度:425287 24.我们恋爱吧 微博热度:358543 25.官员回应8600万元建88米高雕塑 微博热度:316685 26.F4再重聚 微博热度:315907 27.沈梦辰为杜海涛庆生 微博热度:300751 28.商场撸掉银杏真树叶绑上假的 微博热度:275572 29.滴滴打球侵权滴滴判赔70万 微博热度:275380 30.国台办回应美一周内两次对台军售 微博热度:271961 31.李现杀青发长文告别良乡 微博热度:271033 32.明星早期微博能有多好笑 微博热度:267905 33.美国费城警察枪杀黑人引发抗议冲突 微博热度:267790 34.扫地机器人离家出走 微博热度:260870 35.国台办回应两岸热点 微博热度:260698 36.林允闺蜜约会妆vlog 微博热度:260612 37.张雪迎万圣节伤痕妆教程 微博热度:242638 38.你是哪种人 微博热度:199507 39.大学生晚归给宿管阿姨唱歌求情 微博热度:186466 40.万圣节病娇少女妆 微博热度:180821 41.胡歌肖像权案胜诉 微博热度:178270 42.动画片中的经典台词 微博热度:155836 43.王者跟青铜的区别 微博热度:141937 44.飞人科尔曼被禁赛2年 微博热度:141871 45.关晓彤被男粉送香菜花 微博热度:141732 46.秦昊拍吻戏前伊能静准备漱口水 微博热度:141579 47.c罗因新冠无缘战梅西 微博热度:141434 48.网红服务区商品价格低于市区 微博热度:141363 49.辽宁葫芦岛海边现荧光海 微博热度:141220 50.北京链家禁止经纪人电话营销 微博热度:133836
7.235294
20
0.788618
yue_Hant
0.339367
2c6bf203e1ea7bcebee1848f1f97054310b08662
4,416
md
Markdown
_notes/flexible-framework-is-required-for-creative-work.md
keikhcheung/khc-jekyll-tailwind
903b23f80f583f1a19b34764398cf5a09d60ff2e
[ "MIT" ]
null
null
null
_notes/flexible-framework-is-required-for-creative-work.md
keikhcheung/khc-jekyll-tailwind
903b23f80f583f1a19b34764398cf5a09d60ff2e
[ "MIT" ]
75
2021-06-03T11:08:27.000Z
2022-03-22T11:14:35.000Z
_notes/flexible-framework-is-required-for-creative-work.md
keikhcheung/khc-jekyll-tailwind
903b23f80f583f1a19b34764398cf5a09d60ff2e
[ "MIT" ]
null
null
null
--- title: "Flexible framework is required for creative work" tags: - creativity last_modified_at: 2021-02-18 --- Planning for open-ended work like research or creative tasks forces us to work in a rigid framework, which contradicts the serendipitous discovery of insights and emergence of ideas. Instead of focusing on primary planning, we should **foster a smooth workflow that allows the arrival of new ideas** and **maximises how they may benefit our work.** (Ahrens ch. 1) - *‘The whole point is about [creative] play is it is unpredictable. In our culture now, what people want more than anything else is clarity. Everybody wants clarity and clarity quickly. One of the characteristics of creative people is that they can live in confusion quick happily if they quite enjoy it. They don’t feel they have to be clear about everything. It is incredibly important that you don’t really know where you are going.’* (Cleese) The strategy can be broken down into two parts: namely tackling idea capture and idea application. Idea capture is about **curating an environment that induces creativity**. This is similar to setting up wildlife parks or natural reserves for restoring flora and fauna. Start by creating a favourable habitat and maintaining the its conditions instead of planning for the very coming of every species. - *‘Creativity cannot be taught like a rule or approached like a plan. But we can make sure that our working environment allows us to be creative with ideas.’* (Ahrens ch. 12) - Create boundaries of space and time *for creativity*, inside which one can feel comfortable to play without interruptions (Cleese). For the aspect of idea application, we have to look into how we may **assist abstracting the gist of concepts**. The easier we can turn the detachment of concepts from the sources we come across, the more pliable and transposable these concepts can become, and the readier they are to inspire our work beyond the fences of disciplines. Hence, we need to allow an efficient and flexible system to handle the mass of knowledge we receive. (Ahrens ch. 1) ==> [[Knowledge is locked up if not freed from the source context]] Apart from a flexible framework, which would serve as a tool, creative people also need to acquire a flexible mindset. The capability to **switch between a wandering, explorative mind and the meticulous, analytical rationality** at the right moment and for the right task is indispensable. - *‘On one hand, those with wandering, defocused, childlike minds seem to be the most creative; on the other, it seems to be analysis and application that’s important. The answer to this conundrum is that creative people need both […] The key to creativity is being able to switch between a wide-open, playful mind and a narrow analytical frame.’* (Dean 152; Ahrens ch. 9) - Ideas come from playing with the unconscious. *‘You’ve got to allow it to grow because you can’t start criticising it until you really understand what you may be coming up with. Then you have to bring your normal, everyday, critical mind into being to see whether it’s a good idea or not.’* (Cleese) Keeping ideas in a flexible framework—which is still a framework—may sound self-contradictory. Yet, a standardised structure with clear restrictions works well to allow us to focus on creativity *with it* and *against it*. It helps us compare similarities and differences. Conversely, the lack of structure and restrictions (or process) can engender paralysis. That makes it hard to differentiate, compare or experiment with new possibilities. ==> [[Attention, work and workflow]] ==> [[Note-taking is different from note-making]] - A clear structure allows us to explore the internal possibilities of something. Even the act of breaking with convention depends on it. (Ahrens ch. 12) * * * ## References Ahrens, Sönke. *[[How To Take Smart Notes]]: One Simple Technique to Boost Writing, Learning and Thinking – for Students, Academics and Nonfiction Book Writers*. Sönke Ahrens, 2017. Cleese, John, narrator. ‘John Cleese: A cheerful guide to creativity’. _Design Better_, season 5, episode 48, InVision, 26 Jan 2021, [www.designbetter.co/podcast/john-cleese](https://www.designbetter.co/podcast/john-cleese). Accessed 15 Feb. 2021. Dean, Jeremy. *Making Habits, Breaking Habits: Why We Do Things, Why We Don’t, and How to Make Any Change Stick*. Da Capo Press, 2013.
116.210526
453
0.780571
eng_Latn
0.99939
2c6c1a76ebda6620e06a1895b222a39cfefdb8ca
28
md
Markdown
README.md
LanceLiang2018/CosLogParser
16dc22ad57cba64548d04ce97d255f2a698e1880
[ "MIT" ]
null
null
null
README.md
LanceLiang2018/CosLogParser
16dc22ad57cba64548d04ce97d255f2a698e1880
[ "MIT" ]
null
null
null
README.md
LanceLiang2018/CosLogParser
16dc22ad57cba64548d04ce97d255f2a698e1880
[ "MIT" ]
null
null
null
# CosLogParser CosLogParser
9.333333
14
0.857143
kor_Hang
0.644397
2c6cfcad08421da0ba2b54500cc8ba60373deb9a
2,100
md
Markdown
articles/traffic-manager/traffic-manager-point-internet-domain.md
OpenLocalizationTestOrg/azure-docs-pr16_de-DE
bf18172a4f9060051b3861ff8930d9f0303f7f10
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
null
null
null
articles/traffic-manager/traffic-manager-point-internet-domain.md
OpenLocalizationTestOrg/azure-docs-pr16_de-DE
bf18172a4f9060051b3861ff8930d9f0303f7f10
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
null
null
null
articles/traffic-manager/traffic-manager-point-internet-domain.md
OpenLocalizationTestOrg/azure-docs-pr16_de-DE
bf18172a4f9060051b3861ff8930d9f0303f7f10
[ "CC-BY-3.0", "CC-BY-4.0", "MIT" ]
null
null
null
<properties pageTitle="Zeigen Sie eine Firma Internet-Domäne auf einen Domänennamen Datenverkehr Manager | Microsoft Azure" description="In diesem Artikel helfen Ihnen die zeigen Sie den Namen Ihres Unternehmens zu einem Domänennamen Datenverkehr-Manager." services="traffic-manager" documentationCenter="" authors="sdwheeler" manager="carmonm" editor="" /> <tags ms.service="traffic-manager" ms.devlang="na" ms.topic="get-started-article" ms.tgt_pltfrm="na" ms.workload="infrastructure-services" ms.date="10/11/2016" ms.author="sewhee" /> # <a name="point-a-company-internet-domain-to-an-azure-traffic-manager-domain"></a>Zeigen Sie eine Firma Internet-Domäne auf eine Domäne Azure Datenverkehr Manager Beim Erstellen eines Profils Datenverkehr Manager weist Azure automatisch einen DNS-Namen für das Profil ein. Um einen Namen aus der DNS-Zone verwenden möchten, erstellen Sie einen CNAME DNS-Eintrag, der den Domänennamen Ihres Profils Datenverkehr Manager zugeordnet ist. Sie können den Domänennamen Datenverkehr Manager im Abschnitt **Allgemein** auf der Seite Konfiguration des Profils Datenverkehr Manager suchen. Um den Datenverkehr Manager DNS Namen contoso.trafficmanager.net Namen www.contoso.com verweisen erstellen Sie beispielsweise den folgenden DNS-Eintrag: www.contoso.com IN CNAME contoso.trafficmanager.net Alle Datenverkehr Anfragen mit *www.contoso.com* Abrufen an *contoso.trafficmanager.net*weitergeleitet. >[AZURE.IMPORTANT] Können nicht zeigen Sie auf die Domäne den Datenverkehr Manager eine Domäne der zweiten Ebene, wie etwa *"contoso.com"*. DNS-Protokollstandards zulassen CNAME-Einträge für die zweite Ebene Domänennamen nicht. ## <a name="next-steps"></a>Nächste Schritte - [Weiterleitung Methoden Datenverkehr-Manager](traffic-manager-routing-methods.md) - [Datenverkehr-Manager – deaktivieren, aktivieren oder Löschen eines Profils](disable-enable-or-delete-a-profile.md) - [Datenverkehr Manager – deaktivieren oder Aktivieren von außen liegenden Tabellenblättern](disable-or-enable-an-endpoint.md)
56.756757
416
0.789524
deu_Latn
0.977509
2c6dac199311aafab2642555521f1178adb9abd6
24,880
md
Markdown
articles/commerce/customer-orders-overview.md
MicrosoftDocs/Dynamics-365-Operations.pt-br
ad7f7b44fef487c4fcf846ab4b105d945f3b6554
[ "CC-BY-4.0", "MIT" ]
4
2020-04-02T09:49:16.000Z
2021-06-01T17:08:54.000Z
articles/commerce/customer-orders-overview.md
MicrosoftDocs/Dynamics-365-Operations.pt-br
ad7f7b44fef487c4fcf846ab4b105d945f3b6554
[ "CC-BY-4.0", "MIT" ]
7
2017-12-12T13:23:02.000Z
2021-07-15T11:10:45.000Z
articles/commerce/customer-orders-overview.md
MicrosoftDocs/Dynamics-365-Operations.pt-br
ad7f7b44fef487c4fcf846ab4b105d945f3b6554
[ "CC-BY-4.0", "MIT" ]
1
2021-10-13T09:28:14.000Z
2021-10-13T09:28:14.000Z
--- title: Ordens de cliente no ponto de venda (PDV) description: Este tópico fornece informações sobre ordens de cliente no ponto de venda (PDV). Ordens de cliente também são conhecidas como ordens especiais O tópico inclui uma discussão sobre parâmetros relacionados e fluxos de transação. author: josaw1 ms.date: 08/02/2021 ms.topic: article ms.prod: '' ms.technology: '' ms.search.form: RetailFunctionalityProfile audience: Application User ms.reviewer: josaw ms.custom: - "260594" - intro-internal ms.assetid: 6fc835ef-d62e-4f23-9d49-50299be642ca ms.search.region: global ms.search.industry: Retail ms.author: anpurush ms.search.validFrom: 2016-02-28 ms.dyn365.ops.version: Release 10.0.14 ms.openlocfilehash: 44beb4515bf0d2f8fc7ad75feb3164bf1c7c2d5737552b1a06ce59c2edcaf8fe ms.sourcegitcommit: 42fe9790ddf0bdad911544deaa82123a396712fb ms.translationtype: HT ms.contentlocale: pt-BR ms.lasthandoff: 08/05/2021 ms.locfileid: "6755074" --- # <a name="customer-orders-in-point-of-sale-pos"></a>Ordens de cliente no ponto de venda (PDV) [!include [banner](includes/banner.md)] Este tópico fornece informações sobre como criar e gerenciar ordens de cliente no aplicativo do ponto de venda (PDV). As ordens de cliente podem ser usadas para capturar vendas nas quais os compradores desejam retirar os produtos em uma data posterior, retirar os produtos em um local diferente ou receber os itens. Em um mundo de canal omni de comércio, muitos varejistas oferecem a opção de ordens de cliente, ou ordens especiais, para cumprir vários requisitos de produto e atendimento. Estes são alguns dos cenários típicos: - Um cliente deseja que produtos sejam entregues a um endereço específico em uma determinada data. - Um cliente deseja retirar produtos de uma loja ou local que é diferente da loja ou local no qual ele comprou esses produtos. - Um cliente em uma loja deseja encomendar os produtos hoje e retirá-los na mesma loja em uma data posterior. Os varejistas podem usar ordens de cliente para minimizar perdas de venda que, de outra forma, poderiam ser causadas por faltas de estoque, já que a mercadoria pode ser entregue ou retirada em um horário ou local diferente. ## <a name="set-up-customer-orders"></a>Configurar ordens de cliente Antes de tentar usar a funcionalidade de ordem de cliente no PDV, conclua todas as configurações necessárias na sede do Commerce. ### <a name="configure-modes-of-delivery"></a>Configurar modos de entrega Para usar ordens de cliente, você deve configurar os modos de entrega que o canal de loja pode usar. Você deve definir pelo menos um modo de entrega que possa ser usado quando as linhas de ordem forem remetidas a um cliente de uma loja. Você também deve definir pelo menos um modo de entrega de retirada que possa ser usado quando as linhas de ordem forem retiradas na loja. Os modos de entrega são definidos na página **Modos de entrega** na sede do Commerce. Para obter mais informações sobre como configurar modos de entrega para canais do Commerce, consulte [Definir modos de entrega](./configure-call-center-delivery.md#define-delivery-modes). ![Página Modos de entrega.](media/customer-order-modes-of-delivery.png) ### <a name="set-up-fulfillment-groups"></a>Configurar grupos de atendimento Algumas lojas ou locais de depósito podem não conseguir atender a ordens de cliente. Ao configurar grupos de atendimento, uma organização pode especificar quais lojas e locais de depósito são exibidos como opções para os usuários que criam ordens de cliente no PDV. Os grupos de atendimento são configurados na página **Grupos de atendimento**. As organizações podem criar grupos de atendimento de acordo com a necessidade. Após a definição de um grupo de atendimento, vincule-o a uma loja selecionando **Atribuição de grupo de atendimento** na guia **Configurar** no Painel de Ações da página **Lojas**. A partir da versão 10.0.12 do Commerce, as organizações podem definir se as combinações de depósito ou depósito e loja definidas em grupos de atendimento podem ser usadas para remessa, retirada ou ambas. Isso permite uma maior flexibilidade para a empresa a fim de determinar quais depósitos podem ser selecionados ao criar uma ordem de cliente para itens para remessa versus lojas selecionadas durante a criação de uma ordem de cliente para os itens a serem retirados. Para usar essas opções de configuração, ative o recurso **Capacidade para especificar locais como "Remessa" ou "Retirada" habilitada no Grupo de atendimento**. Se um depósito vinculado a um grupo de atendimento não for uma loja, ele poderá ser configurado somente como um local de remessa. Ele não poderá ser usado quando ordens para retirada forem configuradas no PDV. ![Página Grupos de atendimento.](media/customer-order-fulfillment-group.png) ### <a name="configure-channel-settings"></a>Definir configurações de canal Ao trabalhar com ordens de cliente no PDV, você deve considerar algumas das configurações do canal de loja. Essas configurações são encontradas na página **Lojas** na sede do Commerce. - **Depósito** – este campo indica o depósito que será usado ao decrementar o estoque para ordens de retirada de caixa e de cliente ligadas a este armazenamento. Como prática recomendada, incentivamos o uso de depósitos exclusivos para cada canal de armazenamento, a fim de evitar problemas da lógica comercial conflitantes em todos os armazenamentos. - **Depósito de Remessa** – este campo indica o depósito que será usado ao decrementar o estoque para ordens de cliente a serem remetidas do armazenamento selecionado. Se o recurso **Capacidade para especificar locais como "Remessa" ou "Retirada" no Grupo de atendimento** foi habilitado no seu ambiente, os usuários de PDV podem escolher um depósito específico a ser remetido no PDV, em vez de escolher um armazenamento de remessa. Portanto, quando esse recurso está habilitado, o depósito de remessa não é usado, pois o usuário selecionará o depósito específico para remeter a ordem quando a ordem for criada. - **Atribuição de grupos de atendimento** – Selecione este botão (na guia **Configurar** no Painel de Ações) para vincular os grupos de atendimento referenciados para mostrar opções de locais de retirada ou origens de remessa quando as ordens de cliente forem criadas no PDV. - **Usar imposto baseado no destino** – Esta opção indica se o endereço de remessa é usado para determinar o grupo de impostos que é aplicado às linhas de ordem remetidas ao endereço do cliente. - **Usar imposto baseado no cliente** – Esta opção indica se o grupo de impostos definido para o endereço de entrega do cliente é usado para taxar ordens de cliente criadas no PDV para remessa à casa do cliente. ![Configuração de canal de loja na página Lojas.](media/customer-order-all-stores.png) ### <a name="set-up-customer-order-parameters"></a>Configurar parâmetros de ordens de cliente Antes de tentar criar ordens de cliente no PDV, você deve configurar os parâmetros adequados na sede do Commerce. Esses parâmetros podem ser encontrados na guia **Ordens de cliente** da página **Parâmetros do Commerce**. - **Tipo de ordem padrão** – Você pode especificar o tipo de ordem atribuído por padrão a ordens de cliente criadas no PDV. Essas ordens de cliente podem ser ordens de venda ou ordens de cotação. Independentemente do tipo de ordem padrão, os usuários ainda podem criar ordens de venda e ordens de cliente no PDV. - **Percentual de depósito padrão** – Especifique o percentual do valor total da ordem que o cliente deve pagar como depósito antes que ela possa ser confirmada. Dependendo de seus privilégios, os associados da loja poderão substituir o valor usando a operação **Substituição de depósito** no PDV, se essa operação estiver configurada para o layout da tela de transação. - **Modo de entrega Retirada** – Especifique o modo de entrega que deve ser aplicado às linhas da ordem de venda configuradas para retirada no PDV. - **Modo de entrega Execução** – Especifique o modo de entrega que deve ser aplicado às linhas da ordem de venda que são consideradas linhas da ordem de execução quando um carrinho misto for criado, no qual algumas linhas serão retiradas ou remetidas e outras serão executadas imediatamente pelo cliente. - **Percentual de encargo de cancelamento** – Se um encargo tiver que ser aplicado quando uma ordem de cliente for cancelada, especifique o valor desse encargo. - **Código do encargo de cancelamento** – Especifique o código do encargo de Contas a receber que deve ser usado quando um encargo de cancelamento for aplicado a ordens de cliente canceladas por meio do PDV. O código do encargo define a lógica de lançamento financeiro para o encargo de cancelamento. - **Código do encargo de remessa** – Se a opção **Usar encargos automáticos avançados** estiver definida como **Sim**, essa configuração de parâmetro não terá efeito. Se essa opção estiver definida como **Não**, os usuários serão solicitados a inserir manualmente um encargo de remessa quando criarem ordens de cliente no PDV. Use esse parâmetro para mapear um código de encargo de Contas a receber que será aplicado às ordens quando os usuários inserirem um encargo de remessa. O código do encargo define a lógica de lançamento financeiro para o encargo de remessa. - **Usar encargos automáticos avançados** – Defina esta opção como **Sim** para usar encargos automáticos calculados pelo sistema quando ordens de cliente forem criadas no PDV. Esses encargos automáticos podem ser usados para calcular taxas de remessa e outros encargos específicos de ordens ou itens. Para obter mais informações sobre como configurar e usar encargos automáticos avançados, consulte [Encargos automáticos avançados de omnicanal](./omni-auto-charges.md). ![Guia Ordens de cliente na página Parâmetros do Commerce.](media/customer-order-parameters.png) ### <a name="update-transaction-screen-layouts-in-pos"></a>Atualizar layouts da tela de transação no PDV Verifique se o [layout de tela](./pos-screen-layouts.md) do PDV está configurado para oferecer suporte à criação e ao gerenciamento de ordens de cliente e se todas as operações de PDV necessárias estão configuradas. Veja a seguir algumas das operações de PDV recomendadas para oferecer suporte de forma correta à criação e ao gerenciamento de ordens de cliente: - **Remeter todos os produtos** – Esta operação é usada para especificar que todas as linhas no carrinho de transação serão remetidas a um destino. - **Remeter produtos selecionados** – Esta operação é usada para especificar que as linhas selecionadas no carrinho de transação serão remetidas a um destino. - **Retirar todos os produtos** – Esta operação é usada para especificar que todas as linhas no carrinho de transação serão retiradas em uma loja selecionada. - **Retirar produtos selecionados** – Esta operação é usada para especificar que as linhas selecionadas no carrinho de transação serão retiradas em uma loja selecionada. - **Executar todos os produtos** – Esta operação é usada para especificar que todas as linhas no carrinho de transação serão executadas. Se esta operação for usada no PDV, a ordem de cliente será convertida em uma transação cash-and-carry. - **Executar produtos selecionados** – Esta operação é usada para especificar que as linhas selecionadas no carrinho de transação estão sendo executadas pelo cliente no momento da compra. Essa operação é útil somente em um cenário de [ordem híbrida](./hybrid-customer-orders.md). - **Cancelar ordem** – Esta operação é usada para procurar e recuperar ordens de cliente de modo que os usuários do PDV possam editar, cancelar ou executar operações relacionadas ao atendimento nessas ordens, conforme necessário. - **Alterar modo de entrega** – Esta operação pode ser usada para alterar rapidamente o modo de entrega das linhas que já foram configuradas para remessa, sem exigir que os usuários passem pelo fluxo "remeter todos os produtos" ou "remeter produtos selecionados" outra vez. - **Substituição de depósito** – Esta operação pode ser usada para alterar o valor de depósito que o cliente pagará pela ordem de cliente selecionada. ![Operações na tela de transação do PDV.](media/customer-order-screen-layout.png) ## <a name="work-with-customer-orders-in-pos"></a>Trabalhar com ordens de cliente no PDV > [!NOTE] > A funcionalidade de reconhecimento de receita no momento não tem suporte para uso em canais do Commerce (comércio eletrônico, PDV, call center). Os itens configurados com o reconhecimento de receita não devem ser adicionados a ordens criadas em canais do Commerce. ### <a name="create-a-customer-order-for-products-that-will-be-shipped-to-the-customer"></a>Criar uma ordem de cliente para produtos que serão remetidos ao cliente 1. Na tela de transação do PDV, adicione um cliente à transação. 2. Adicione produtos ao carrinho. 3. Selecione **Remeter selecionado** ou **Remeter tudo** para remeter os produtos a um endereço na conta do cliente. 4. Selecione a opção para criar uma ordem de cliente. 5. Confirme ou altere o local "remeter de", confirme ou altere o endereço de remessa e selecione um método de remessa. 6. Insira a data desejada de remessa da ordem do cliente. 7. Use as funções de pagamento para pagar por valores calculados devidos ou use a operação **Substituição de depósito** para alterar os valores devidos e, em seguida, aplicar o pagamento. 8. Se o total da ordem não foi pago, insira um cartão de crédito que será capturado para o saldo devido na ordem quando ela for faturada. ### <a name="create-a-customer-order-for-products-that-the-customer-will-pick-up"></a>Criar uma ordem de cliente para produtos que o cliente retirará 1. Na tela de transação do PDV, adicione um cliente à transação. 2. Adicione produtos ao carrinho. 3. Selecione **Retirar selecionado** ou **Retirar tudo** para iniciar a configuração de retirada de ordens. 4. Selecione a loja em que o cliente retirará os produtos selecionados. 5. Selecione uma data em que o item será retirado. 6. Use as funções de pagamento para pagar por valores calculados devidos ou use a operação **Substituição de depósito** para alterar os valores devidos e, em seguida, aplicar o pagamento. 7. Se o total da ordem não foi pago, selecione se o cliente realizará o pagamento posteriormente (na retirada) ou se um cartão de crédito será indexado agora e, em seguida, usado e capturado no momento da retirada. ### <a name="edit-an-existing-customer-order"></a>Editar uma ordem de cliente existente As ordens de varejo criadas no canal de loja ou online podem ser canceladas e editadas por meio do PDV, conforme necessário. > [!IMPORTANT] > Nem todas as ordens de varejo podem ser editadas por meio do aplicativo de PDV. As ordens criadas em um canal de call center não poderão ser editadas por meio do PDV se a configuração [Habilitar conclusão de ordem](./set-up-order-processing-options.md#enable-order-completion) estiver ativada para o canal de call center. Para garantir o processamento correto dos pagamentos, as ordens originadas em um canal de call center e que usam a funcionalidade Habilitar conclusão de ordem devem ser editadas por meio do aplicativo de call center na sede do Commerce. > [!NOTE] > Recomendamos que você não edite ordens e cotações no PDV que sejam criadas por um usuário que não seja do call center no Commerce Headquarters. Essas ordens e cotações não usam o mecanismo de preço do Commerce. Portanto, se forem editadas no PDV, o mecanismo de preço do Commerce alterará o preço delas. Na versão 10.0.17 e posterior, os usuários podem editar ordens qualificadas por meio do aplicativo de PDV, mesmo que a ordem seja parcialmente preenchida. No entanto, as ordens faturadas integralmente ainda não podem ser editadas por meio do PDV. Para habilitar esse recurso, ative o recurso **Editar ordens parcialmente atendidas no Ponto de Venda** no espaço de trabalho **Gerenciamento de recursos**. Se esse recurso não estiver habilitado, ou se você estiver usando a versão 10.0.16 ou anterior, os usuários só poderão editar ordens de cliente em PDV se a ordem estiver totalmente aberta. Se o recurso estiver habilitado, você poderá limitar as lojas que podem editar ordens preenchidas parcialmente. A opção para desativar esse recurso para lojas específicas pode ser configurada por meio do **Perfil de funcionalidade** na FastTab **Geral**. 1. Selecione **Cancelar ordem**. 2. Use **Pesquisar** para inserir filtros para encontrar a ordem e, em seguida, selecione **Aplicar**. 3. Selecione a ordem na lista de resultados e, em seguida, selecione **Editar**. Se o botão **Editar** estiver indisponível, a ordem está em um estado no qual não pode ser editada. 4. No carrinho de transação, faça as alterações necessárias na ordem de cliente. Algumas alterações podem ser proibidas durante a edição. 5. Conclua o processo de edição selecionando uma operação de pagamento. 6. Para sair do processo de edição sem salvar as alterações, você pode usar a operação **Anular transação**. #### <a name="pricing-impact-when-orders-are-edited"></a>Impacto do preço quando as ordens são editadas Quando as ordens são colocadas no PDV ou em um site de comércio eletrônico do Commerce, os clientes se comprometem com um valor. Esse valor inclui um preço e também pode incluir um desconto. Um cliente que coloca uma ordem e posteriormente contata o call center para alterar essa ordem (por exemplo, para adicionar outro item), terá expectativas específicas sobre a aplicação de descontos. Mesmo que as promoções das linhas de ordem existentes tenham expirado, o cliente esperará que os descontos que foram originalmente aplicados a essas linhas permanecerão em vigor. No entanto, se nenhum desconto estivesse em vigor quando a ordem foi originalmente colocada, mas um desconto entrou em vigor posteriormente, o cliente esperará que o novo desconto seja aplicado à ordem alterada. Caso contrário, o cliente poderá apenas cancelar a ordem existente e criar uma nova ordem na qual o novo desconto seja aplicado. Como mostra este cenário, os preços e os descontos com os quais os clientes se comprometeram precisam ser preservados. Ao mesmo tempo, os usuários do PDV e do call center precisam ter a flexibilidade de recalcular os preços e os descontos para as linhas da ordem de venda, conforme necessário. Quando as ordens são canceladas e editadas no PDV, os preços e os descontos das linhas de ordem existentes são considerados "bloqueados". Em outras palavras, elas não são alterados, mesmo que algumas linhas da ordem sejam canceladas ou alteradas, ou novas linhas da ordem sejam adicionadas. Para alterar os preços e os descontos das linhas de venda existentes, o usuário do PDV precisa selecionar **Recalcular**. O bloqueio de preço é então removido das linhas de ordem existentes. No entanto, antes da versão 10.0.21 do Commerce, esse recurso não estava disponível no call center. Em vez disso, as alterações nas linhas da ordem acarretavam o recálculo dos preços e dos descontos. Na versão 10.0.21 do Commerce, um novo recurso chamado **Impedir o cálculo de preço não intencional para ordens comerciais** está disponível no espaço de trabalho **Gerenciamento de recursos**. Esse recurso está ativado por padrão. Quando ele é ativado, uma nova propriedade **Preço bloqueado** é disponibilizada para todas as ordens de comércio eletrônico. Depois da conclusão da captura de todas as ordens colocadas em qualquer canal, esta propriedade é automaticamente habilitada (ou seja, a caixa de seleção é marcada) para todas as linhas da ordem. O mecanismo de preço do Commerce então exclui essas linhas de ordem de todos os cálculos de preço e de desconto. Portanto, se a ordem for editada, as linhas da ordem serão excluídas do cálculo de preço e de descontos por padrão. No entanto, os usuários do call center podem desabilitar a propriedade (ou seja, desmarcar a caixa de seleção) para qualquer linha da ordem e, em seguida, selecionar **Recalcular** para incluir as linhas de ordem existentes nos cálculos de preço. Mesmo quando estiverem aplicando um desconto manual a uma linha de venda existente, os usuários do call center precisam desabilitar a propriedade **Preço bloqueado** da linha de venda para que possam aplicar o desconto manual. Os usuários do call center também podem desabilitar a propriedade **Preço bloqueado** para linhas de ordem em massa selecionando **Remover bloqueio de preço** no grupo **Calcular** na guia **Vender** do painel de ação da página **Ordem de venda**. Nesse caso, o bloqueio de preço é removido de todas as linhas de ordem, exceto daquelas que não podem ser editadas (em outras palavras, as linhas que têm um status de **Parcialmente faturado** ou **Faturado**). Depois de concluir e enviar as alterações à ordem, o bloqueio de preço é reaplicado a todas as linhas da ordem. > [!IMPORTANT] > Quando o recurso **Evitar cálculo de preço não intencional para ordens do Commerce** estiver ativado, a configuração da avaliação do contrato comercial será ignorada nos fluxos de trabalho de definição de preço. Em outras palavras, as caixas de diálogo de avaliação do contrato comercial não mostrarão a seção **Preço relacionado**. Esse comportamento ocorre porque a configuração da avaliação do contrato comercial e o recurso de bloqueio de preço têm uma finalidade semelhante: evitar alterações de preço não intencionais. No entanto, a experiência do usuário para a avaliação do contrato comercial não dimensiona bem para ordens grandes nas quais os usuários devem selecionar uma ou mais linhas da ordem para redefinir o preço. > [!NOTE] > A propriedade **Preço bloqueado** pode ser desabilitada para uma ou mais linhas selecionadas somente quando o módulo **Call center** é usado. O comportamento do PDV permanece inalterado. Em outras palavras, o usuário do PDV não pode desbloquear os preços das linhas de ordem selecionadas. No entanto, eles podem selecionar **Recalcular** para remover o bloqueio de preço de todas as linhas de ordem existentes. ### <a name="cancel-a-customer-order"></a>Cancelar uma ordem de cliente 1. Selecione **Cancelar ordem**. 2. Use **Pesquisar** para inserir filtros para encontrar a ordem e, em seguida, selecione **Aplicar**. 3. Selecione a ordem na lista de resultados e, em seguida, selecione **Cancelar**. Se o botão **Cancelar** estiver indisponível, a ordem está em um estado no qual não pode mais ser cancelada. 4. Se os encargos de cancelamento estiverem configurados, confirme-os. Você pode ajustar os encargos de cancelamento antes de confirmá-los, conforme necessário. 5. No carrinho de transação, conclua o processo de cancelamento selecionando uma operação de pagamento. Se os depósitos que foram pagos excederem o encargo de cancelamento, pagamentos de reembolso podem ser devidos. 6. Para sair do processo de cancelamento sem salvar as alterações, você pode usar a operação **Anular transação**. ## <a name="finalizing-the-customer-order-shipment-or-pickup-from-pos"></a>Finalizar a remessa ou retirada da ordem de cliente no PDV Após a criação de uma ordem, os itens serão retirados pelo cliente em uma loja ou remetidos, dependendo da configuração dessa ordem. Para obter mais informações sobre esse processo, consulte a documentação de [atendimento da ordem na loja](./order-fulfillment-overview.md). ## <a name="asynchronous-transaction-flow-for-customer-orders"></a>Fluxo de transações assíncronas para ordens de cliente As ordens de cliente podem ser criadas no PDV em modo síncrono ou assíncrono. Se você perceber problemas de desempenho ou atrasos de usuário ao criar ordens de cliente no PDV, considere ativar a criação assíncrona de ordens. ### <a name="enable-customer-orders-to-be-created-in-asynchronous-mode"></a>Habilitar ordens de cliente para serem criadas em modo assíncrono 1. Na sede do Commerce, na página **Perfis de funcionalidade**, selecione o perfil de funcionalidade que corresponde à loja que você deseja configurar. 2. Na Guia Rápida **Geral**, defina a opção **Criar ordem do cliente no modo assíncrono** como **Sim**. Quando a opção **Criar ordem do cliente no modo assíncrono** é definida como **Sim**, as ordens de cliente sempre são criadas no modo assíncrono, mesmo se o Retail Transaction Service (RTS) está disponível. Se você definir essa opção como **Não**, as ordens de cliente sempre serão criadas em modo síncrono por meio de RTS. Quando as ordens de cliente são criadas no modo assíncrono, elas são retiradas e criadas como transações de varejo na sede do Commerce com base nos trabalhos de pull (P) do Commerce. As ordens de venda correspondentes para as transações de varejo são criadas quando **Sincronizar ordens** é executado manualmente ou por meio de um processo em lote. ## <a name="additional-resources"></a>Recursos adicionais [Ordens híbridas de cliente](hybrid-customer-orders.md) [!INCLUDE[footer-include](../includes/footer-banner.md)]
126.294416
1,203
0.795338
por_Latn
0.999937
2c6e7c38383ce5e6de03c0205bb059e1c7289ec6
2,809
md
Markdown
README.md
lsqtzj/openGauss_master_slave
1aac5856b45b51be8221f9532fb5d93281f5efb1
[ "Apache-2.0" ]
1
2022-03-13T03:52:22.000Z
2022-03-13T03:52:22.000Z
README.md
lsqtzj/openGauss_master_slave
1aac5856b45b51be8221f9532fb5d93281f5efb1
[ "Apache-2.0" ]
null
null
null
README.md
lsqtzj/openGauss_master_slave
1aac5856b45b51be8221f9532fb5d93281f5efb1
[ "Apache-2.0" ]
null
null
null
# 单机运行 docker run -p 5432:5432 -e 'GAUSS_USER=gauss' -e 'GAUSS_PASSWORD=Gauss666' -d --name OpenGaussTest lsqtzj/openeuler_open_gauss:latest # openGauss 高可用集群说明 openGauss 极简版 基于openeuler/openeuler:20.03</br> 包括 patroni自动主备切换,haproxy 负载均衡, pgAdmin4 管理工具</br> 必须保证有两个以上的openGauss容器运行。 ## 博客地址 https://blog.csdn.net/lsqtzj/article/details/120850420 ## 使用方式 下载源码</br> git clone https://github.com/CyrusZhou-CN/openGauss_master_slave.git</br> cd openGauss_master_slave</br> ### 编译版本 docker-compose -f "docker-compose-build.yml" up -d --build</br> ### 容器版本 docker-compose -f "docker-compose.yml" up -d</br> ![image](https://user-images.githubusercontent.com/4635861/137876048-c1fd20b2-257c-40ef-8974-6b04653bf90d.png)</br> ![image](https://user-images.githubusercontent.com/4635861/137875839-794355b6-81ea-4d57-96a3-ab4600dd11e1.png) ### 系统默认密码 用户名/密码 root / root 、omm / omm ## openGauss 默认远程连接配置 管理员 / 密码:gauss / Gauss666</br> ## 集成pgAdmin4 6.0 http://localhost:9980/pgadmin4/browser/</br> 默认管理员 / 密码:[email protected] / admin</br> ![image](https://user-images.githubusercontent.com/4635861/137875941-3ad483a5-e8c8-401b-be26-fea4d90670db.png) # 添加 patroni 自动主备切换 etcd Version: 3.5.1</br> patroni Version 2.0.2 # 加入 HAProxy 数据库读写负载均衡 http://localhost:7000/ 监控 ## 数据库配置 haproxy:5000 读写</br> haproxy:5001 读</br> ![image](https://user-images.githubusercontent.com/4635861/139657547-abb4cf92-2c86-4920-9fd8-4a029a5534fd.png) ## openGauss 更新到 3.0.0 版本 docker-compose 基本配置 放到 .env 文件中。 ## 添加数据持久化 默认保存在 ./data 目录 ### 容器目录说明 /opt/software/openGauss/data/db 数据库目录 /opt/software/openGauss/data/conf 配置文件目录 /opt/software/openGauss/logs 日志目录 ## 改进新加主机功能 如:新添加 slave03 主机,打开docker-compose.yml 文件复制 slave02 节点的配置,用来创建新主机。 ### 1. 添加节点 ``` ... slave03: image: lsqtzj/openeuler_open_gauss:${OPEN_GAUSS_VERSION} restart: always container_name: slave03 hostname: slave03 networks: gauss: ipv4_address: 10.8.0.13 environment: TZ: Europe/Rome #Asia/Shanghai 时区 GAUSS_USER: ${GAUSS_USER} GAUSS_PASSWORD: ${GAUSS_PASSWORD} NODE_NAME: datanode4 RUN_MODE: "slave" HOST_NAMES: ${HOST_NAMES} volumes: - ./data/slave03/data:/opt/software/openGauss/data - ./data/slave03/logs:/opt/software/openGauss/logs depends_on: - master ... ``` ### 2.修改变量 修改 .env 文件添加新主机 ``` ... HOST_NAMES=master,slave01,slave02,slave03 HOST_IPS=10.8.0.10,10.8.0.11,10.8.0.12 HAPROXY_IPS=10.8.0.10,10.8.0.11,10.8.0.12,10.8.0.13 HAPROXY_PORTS=5432,5432,5432,5432 ... ``` ### 初始化数据 #### 只有 RUN_MODE: "master" ,首次启动容器时有效 #### GAUSS_DATABASE: test # 初始化数据库 \c 切换数据库 要输入密码,所以加这个参数用来创建数据库 ``` volumes: - ./test.sql:/docker-entrypoint-initdb.d/test.sql # 初始化数据表 ```
31.561798
135
0.695621
yue_Hant
0.413091
2c6f9baeb7cefceb7ae87812ddd564567819961f
114
md
Markdown
_posts/2018-06-05-TestPage.md
behring/behring.github.io
cc1f10ad735a805cf85e37657a7ebc2ad6e58634
[ "Apache-2.0" ]
null
null
null
_posts/2018-06-05-TestPage.md
behring/behring.github.io
cc1f10ad735a805cf85e37657a7ebc2ad6e58634
[ "Apache-2.0" ]
5
2021-05-19T10:36:13.000Z
2021-08-31T03:46:33.000Z
_posts/2018-06-05-TestPage.md
behring/behring.github.io
cc1f10ad735a805cf85e37657a7ebc2ad6e58634
[ "Apache-2.0" ]
null
null
null
--- layout: post title: TestPage date: 2018-06-05 published: false --- [启动Activity](app://thoughtworks/behring)
11.4
40
0.710526
eng_Latn
0.622097
2c6fc3f9f05bfbc9b26c8f5b6ca279b3ba763568
275
md
Markdown
domain/emxdigital.com/index.md
dmarti/smmd
f65528340e9fa3abfc88ddd672e01faf59317b5f
[ "CC-BY-4.0", "MIT" ]
2
2020-12-20T19:10:17.000Z
2021-07-18T22:32:37.000Z
domain/emxdigital.com/index.md
dmarti/smmd
f65528340e9fa3abfc88ddd672e01faf59317b5f
[ "CC-BY-4.0", "MIT" ]
8
2020-06-19T16:02:03.000Z
2021-08-24T16:49:39.000Z
domain/emxdigital.com/index.md
dmarti/smmd
f65528340e9fa3abfc88ddd672e01faf59317b5f
[ "CC-BY-4.0", "MIT" ]
1
2020-06-29T20:36:31.000Z
2020-06-29T20:36:31.000Z
--- company-name: "EMX Digital" domain: emxdigital.com email: [email protected] home: https://emxdigital.com iab-listing-name: "EMX Digital LLC" member-of: "Network Advertising Initiative" owned-by: "Engine Media" privacy-policy: https://emxdigital.com/privacy/ ---
19.642857
47
0.752727
kor_Hang
0.249594
2c707e76629e0de57be2113a6aad6332a3a23dca
3,440
md
Markdown
camera_models/distortion_readme.md
jeffreyforkfolder/lecture-demos
0a0a2eecc45fe91520c0960a76d1d39841a6f0cb
[ "BSD-3-Clause" ]
null
null
null
camera_models/distortion_readme.md
jeffreyforkfolder/lecture-demos
0a0a2eecc45fe91520c0960a76d1d39841a6f0cb
[ "BSD-3-Clause" ]
1
2019-10-28T14:26:40.000Z
2019-10-28T14:26:40.000Z
camera_models/distortion_readme.md
jeffreyforkfolder/lecture-demos
0a0a2eecc45fe91520c0960a76d1d39841a6f0cb
[ "BSD-3-Clause" ]
null
null
null
Non-linear distortion ===================== **Short description**: Illustration of non-linear lense distortion (Illustrates the effect of the distortion vector on a camera image) **Author**: Andreas Unterweger **Status**: Work in progress (internal bugs unfixed and features missing) Overview -------- ![Screenshot](../screenshots/distortion.png) Camera lenses cause non-linear distortions in the captured image. Comparing such a distorted image (right part of the *Undistorted vs. distorted* window) with that of an ideal pinhole camera (left) makes the distortions visible. For simplicity, distortions are often modeled as [polynomials with distortion coefficients](https://docs.opencv.org/3.4.0/d9/d0c/group__calib3d.html) to describe radial and tangential distortions. Usage ----- Change the distortion coefficients (see parameters below) to see the distorted image change. Observe that negative distortion coefficients change the type of distortion. ![Screenshot after setting negative p1 and p2 coefficients](../screenshots/distortion_negative_p1_p2.png) Available actions ----------------- None Interactive parameters ---------------------- * **k1** (track bar in the *Undistorted vs. distorted* window): Allows changing the quadratic radial distortion coefficient between -100 (for negative coefficients) and 100 with a scaling factor of 10^(-7). * **k2** (track bar in the *Undistorted vs. distorted* window): Allows changing the quartic (bi-quadratic) radial distortion coefficient between -100 (for negative coefficients) and 100 with a scaling factor of 10^(-10). * **p1** (track bar in the *Undistorted vs. distorted* window): Allows changing the quadratic tangential distortion coefficient between -100 (for negative coefficients) and 100 with a scaling factor of 10^(-5). * **p2** (track bar in the *Undistorted vs. distorted* window): Allows changing the linear tangential distortion coefficient between -100 (for negative coefficients) and 100 with a scaling factor of 10^(-5). * **Negative distortion coefficients** (check box): Allows setting all distortion coefficients to their negative counterparts, e.g., 10 to -10, if checked. Program parameters ------------------ * **Input image**: File path of the image to be distorted. Hard-coded parameters --------------------- None. *Note: The scaling factors for the coefficients are hard-coded, but the range of meaningful values is very limited. Thus, it is not recommended to change the scaling factors explicitly.* Known issues ------------ * **Use of `undistort`**: The `undistort` function is used instead of a `distort` function to calculate the distorted image, potentially showing incorrect results. There is a `distortPoints` function in *OpenCV's* `fisheye` namespace, but its use is unclear (see [*OpenCV* issue #10947](https://github.com/opencv/opencv/issues/10947)). Missing features ---------------- * **Scaling factors are not displayed**: The naming convention of the distortion coefficients follows that of [*OpenCV*'s model parameters](https://docs.opencv.org/3.4.0/d9/d0c/group__calib3d.html) and does not explicitly show the scaling factors. License ------- This demonstration and its documentation (this document) are provided under the 3-Clause BSD License (see [`LICENSE`](../LICENSE) file in the parent folder for details). Please provide appropriate attribution if you use any part of this demonstration or its documentation.
56.393443
425
0.748256
eng_Latn
0.988524
2c71b910fe42f1d783c8d105d28b17624c8315aa
583
md
Markdown
content/projects/ov-mission/index.md
lytchou/lab-website
d82f14de93f2b91e99601f641adeb8df89eeb304
[ "MIT" ]
null
null
null
content/projects/ov-mission/index.md
lytchou/lab-website
d82f14de93f2b91e99601f641adeb8df89eeb304
[ "MIT" ]
null
null
null
content/projects/ov-mission/index.md
lytchou/lab-website
d82f14de93f2b91e99601f641adeb8df89eeb304
[ "MIT" ]
null
null
null
--- title: Overview - Programmable molecular systems summary: Our mission is to enable precision and personalized approaches to medicine via the development of molecular and nanoscale technologies that are amenable to rational design (i.e. programmable). Our current efforts largely focus on engineering immune-based therapies to treat cancer and cellular diagnostics. We are an interdisciplinary research laboratory working at the intersection of nanotechnology, molecular engineering, immunology, and computational biology. tags: - overview date: 2022-03-01 external_link: ---
58.3
472
0.819897
eng_Latn
0.996327
2c730f5d1204c90480405f11cd5a30257dc810c8
6,817
md
Markdown
_posts/2019-06-17-Download-the-novel-a-biography.md
Ozie-Ottman/11
1005fa6184c08c4e1a3030e5423d26beae92c3c6
[ "MIT" ]
null
null
null
_posts/2019-06-17-Download-the-novel-a-biography.md
Ozie-Ottman/11
1005fa6184c08c4e1a3030e5423d26beae92c3c6
[ "MIT" ]
null
null
null
_posts/2019-06-17-Download-the-novel-a-biography.md
Ozie-Ottman/11
1005fa6184c08c4e1a3030e5423d26beae92c3c6
[ "MIT" ]
null
null
null
--- layout: post comments: true categories: Other --- ## Download The novel a biography book Curtis and the door, Waxel called together the forty-five men who "None of your business if there is, in front of the farmhouse. ii? What we have to do is turn them around our way and straighten their thinking out. " purchased in the summer of 1879 at St. Why don't you get a force. "No. it was over. " At the Prosser house, there's plenty of hay. The sound of a door the strand cliffs. Or is it that the Masters fear them, saving us from nuclear war and the embarrassment struck her, regardless of how petty. That's the Suddenly this fairy tale becomes a horror story. " I frowned at her. He was with the rest of the crew, is surrounded by a sort of moat. "A little," she the novel a biography. All the people "At least we don't give out orders for other people to take our risks for us," Nanook said, along with a stiff legal letter from a firm of attorneys. Watch closely. She put the book aside and held her aching left hand in her right. immediate neighbourhood of the place where the main spring rises of writings for and against? San's wife wept aloud up and down the street. which I had procured in Stockholm, but I'd have trouble with the breast-feeding, but was instead into his palanquin and clapped his hands. No, Starck "I answer to riddle. Bove and Hovgaard. of the _Vega_ when frozen in--The nature of the neighbouring the Governor of Kioto, because he had crafted it the frame of the tent. The tangled maze of mica! "There are eight of you. 152 of the novel a biography said the school voc counselor. It was forcefully than when they'd gone inside, she was between the capital and the interior of the country, loaded with delicacies, and contempt he remembered. " stacked by the roaster tower bringing him a memory of the work yards at home, and while the food was wonderful, by a Midshipman, over the large garage, Ms, one after another, (152)and the origin of it was other than this; to wit, and it is seldom that even a large The Hand was another matter. Together they had finally worked it out, it profited him not. On Wednesday, marvelled and said, they will probably remember that their door was closed 35, and the Songs, by all that's holy and some that's not, the bright anybody need help here?" way. A kitchen behind a half wall was on my right A hallway the novel a biography except a small number of borrowed words (chiefly names the novel a biography Of the four additional shots that Curtis fires, beginning to look intrigued, she slept, and in fact it had prevented her from hill, she might die as horribly as sweet stars, chocolate 10 ort, Russian peasant. Japanese Wrestlers "How did you learn to do that?" 39 and friendly merchant, the novel a biography advantage of the equity in her long-owned home to buy a little condo on the beach in nearby Carlsbad, his sleep wasn't half as restful as he would have wished, Herr FRANS BEIJER, the engine having long ago been put in order in expectation The old man laughed at her speech and her verses pleased him. Bartholomew?" In the process, candies not yet lit, it appeared to stand in meditation or in prayer, thumb and forefinger in a confident OK, i, Vivien do Saint Martin. the novel a biography and a paper by You need some real literature to clear your head out. Ripley usually had a big gun and a where they afterwards passed the winter 1596-97 with many question more to the point and yet even more difficult to answer: "What's To this conduced our clothing, in the neighbourhood of Cape Chelyuskin, maybe his feet, O Abou Temam, had manifestly not been such a force for whether they dropped money in the fishbowl or not, it shudders to a halt in front of cubits above the world, which had been achieved by draping the lamps with red blouses. incautiously ventured out, that is to say, for it was their spells that had protected The novel a biography so long and protected it far more closely now! Some of the bones were overgrown with moss and lay dressed as a woman had once tricked him, with one inmates. " (82) "Hearkening and obedience," answered El Abbas and accompanied the the novel a biography to the king's palace. By the time the Mountaineer coughs out the fumes from its dry tank, Hasa, and Micky's going to get a good restaurants cannot compare with them, when her sister called, the stirring in his loins became a throbbing and the pounding in his head drowned The novel a biography eventually the novel a biography lime might arrive for revelation, looked after the sick and dying of South Port. Instead, returning the purse would give him a chance to get another good-night kiss, troubling for the novel a biography that Vanadium the novel a biography entirely define, was suitable for Maybe Detweiler was a vampire, and at nightfall he bade one of the slave-girls drop a piece of henbane in the cup and give it to Aboulhusn to drink. According to the twins, "So did Hire a carter, into the sixth percentile, his namesake had fled out of the mapping of. " Lotterius, that is, and heartfelt faltered. The pin was grooved to facilitate a grip. Though my mother saved quite a been Curtis Hammond without fail, most of 'em published before the First World War. I slid them open and then shut again. Later the novel a biography it might change. What have we seen?" He looked from side to side as if to invite support, [Footnote 222: Tilesius. To the open casement window, wherein is vast wealth. " "And what is his story?" asked Azadbekht. " that younger women were the novel a biography inexperienced to know. reached from here. Can you hold the Gates open, give no ear to other than my say. The answer, your majesty, since he'd allowed his conscience to the novel a biography bays and coves were frozen over, almost a sort of realized the truth, 'Allah. colours, but nobody here returned the sign? land, and will, she slept, that there "What do I look like?" demanded the North Wind, "You're the Pie Lady. the sea becomes bright as a mirror, "You're right. And she had a talent for facing facts. [Illustration: SECTION OF INLAND-ICE. " with desire but with envy. Neddy upon them, 'O vizier, in this golden age of trust and easy relationships, who during his stay in Russia in 1686 collected a large At last Maria answered Jacob's question in a murmur. " crushed it against the rocky coast of the island. I asked myself. Then the hand withdrew, if I hear this story. It has not been published, not history. Yet she listened, and he noticed failure to get in touch with his the novel a biography primitive, but Then she saw him coming forward along the passenger's side of the car, none of these women satisfied him as profoundly as Naomi had satisfied him. indifferentism has reached even the ice-deserts of the Polar lands.
757.444444
6,722
0.782749
eng_Latn
0.999955
2c739530e80118933b4150bba4119374c743855f
1,594
md
Markdown
aspnet/web-forms/videos/aspnet-35/how-do-i/how-do-i-cascading-style-sheets-in-visual-studio-2008.md
albertocosta/Docs.pt-br
43c3b5778953091d1019a03b7371aa8f05ce8a01
[ "CC-BY-4.0", "MIT" ]
null
null
null
aspnet/web-forms/videos/aspnet-35/how-do-i/how-do-i-cascading-style-sheets-in-visual-studio-2008.md
albertocosta/Docs.pt-br
43c3b5778953091d1019a03b7371aa8f05ce8a01
[ "CC-BY-4.0", "MIT" ]
null
null
null
aspnet/web-forms/videos/aspnet-35/how-do-i/how-do-i-cascading-style-sheets-in-visual-studio-2008.md
albertocosta/Docs.pt-br
43c3b5778953091d1019a03b7371aa8f05ce8a01
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- uid: web-forms/videos/aspnet-35/how-do-i/how-do-i-cascading-style-sheets-in-visual-studio-2008 title: '[Como fazer:] Folhas de estilo em cascata no Visual Studio 2008 | Microsoft Docs' author: rick-anderson description: Neste vídeo, analisaremos as ferramentas aprimoradas para a criação de folhas de estilo em cascata externas. CSS são vitais para qualquer site de web bem projetada e 2 do Visual Studio... ms.author: riande ms.date: 02/14/2008 ms.assetid: fa9c74b0-c692-4553-805c-b89f8bf2c4da msc.legacyurl: /web-forms/videos/aspnet-35/how-do-i/how-do-i-cascading-style-sheets-in-visual-studio-2008 msc.type: video ms.openlocfilehash: 6d3566fa7267b389d0b2ac0ecd31ff368e659e5a ms.sourcegitcommit: 45ac74e400f9f2b7dbded66297730f6f14a4eb25 ms.translationtype: MT ms.contentlocale: pt-BR ms.lasthandoff: 08/16/2018 ms.locfileid: "41831726" --- <a name="how-do-i-cascading-style-sheets-in-visual-studio-2008"></a>[Como fazer:] Folhas de estilo em cascata no Visual Studio 2008 ==================== por Asli Bilgin Neste vídeo, analisaremos as ferramentas aprimoradas para a criação de folhas de estilo em cascata externas. CSS são vitais para qualquer site da web bem projetada e Visual Studio 2008 forneceu um arsenal de ferramentas de criação e gerenciamento de CSS. [&#9654;Assista ao vídeo (12 minutos)](https://channel9.msdn.com/Blogs/ASP-NET-Site-Videos/how-do-i-cascading-style-sheets-in-visual-studio-2008) > [!div class="step-by-step"] > [Anterior](how-do-i-create-nested-master-page-in-visual-studio-2008.md) > [Próximo](how-do-i-working-with-visual-studio-2008-net-framework.md)
54.965517
254
0.781054
por_Latn
0.770354
2c73cf5c6c4c2d4a19efddcde1ab7f0f48905879
5,039
md
Markdown
_posts/2021-08-19-github-profile.md
is2js/blog_raw
8f7ce450b486d8431b4ce0fb99d1ca199d40dc4b
[ "Apache-2.0" ]
null
null
null
_posts/2021-08-19-github-profile.md
is2js/blog_raw
8f7ce450b486d8431b4ce0fb99d1ca199d40dc4b
[ "Apache-2.0" ]
1
2021-08-16T12:50:38.000Z
2021-08-16T12:50:38.000Z
_posts/2021-08-19-github-profile.md
is2js/blog_raw
8f7ce450b486d8431b4ce0fb99d1ca199d40dc4b
[ "Apache-2.0" ]
null
null
null
--- toc: true layout: post description: github의 인덱스와, gitblog의 index.html을 꾸미는 법 공부하기 categories: [fastpages, github] title: 프로필) github index, badge 등 생성하여 꾸미기 --- ## 참고사이트 - 참고 사이트 - https://velog.io/@woo0_hooo/Github-github-profile-%EA%B0%84%EC%A7%80%EB%82%98%EA%B2%8C-%EA%BE%B8%EB%AF%B8%EA%B8%B0 - https://butter-shower.tistory.com/142 - https://velog.io/@colorful-stars/Github-%ED%94%84%EB%A1%9C%ED%95%84-%EA%BE%B8%EB%AF%B8%EA%B8%B0 - http://blog.cowkite.com/blog/2102241544/ ## github_id 이름으로 repo 생성 1. github ID와 동일한 이름으로 repo만들기 + add Readme - local에 clone하여 환경 세팅하자. `C:/jupyter_blog/` + `is2js` ![image-20210819202218848](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210819202218848.png) ## capsule-render로 header/footer 작성 1. typora에서 미리보기를 활용하여 header footer를 작성한다. - 각 옵션 목록 : https://github.com/kyechan99/capsule-render - default(변경하면됨) ```markdown ![header](https://capsule-render.vercel.app/api?type=waving&color=f6ebe1&height=150&section=header&text=Data Engineer and KMD&fontSize=50&fontColor=152447&desc=데이터 엔지니어를 꿈꾸는 한의사, 조재성입니다.&descAlignY=80) ![footer](https://capsule-render.vercel.app/api?type=rect&color=152447&height=20&section=footer) ``` ![image-20210819204503883](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210819204503883.png) ## sheilds.io로 기술 스택 badge작성 shields.io를 통해 기술스택, 연락처 등의 스택아이콘 가져온다. - `a태그 > img태그 ` - a태그는 링크주소를 / img는 badge를 여기를 통해서 편하게 가져온다. - 각 뱃지 목록 : https://github.com/alexandresanlim/Badges4-README.md-Profile ```markdown <p align="center"> <a href="mailto:[email protected]"><img src="https://img.shields.io/badge/Gmail-d14836?style=flat-square&logo=Gmail&logoColor=white&[email protected]"/></a>&nbsp <a href="https://www.facebook.com/tingstyle1"><img src="https://img.shields.io/badge/Facebook-1877F2?style=flat-square&logo=facebook&logoColor=white"/></a>&nbsp <a href="https://www.github.com/is2js"><img src="https://img.shields.io/badge/GitHub-100000?style=flat-square&logo=github&logoColor=white"/></a>&nbsp </p> ``` ## productive-box로 커밋시각 통계(gist) 노출(pinned)하기 - 참고 : http://blog.cowkite.com/blog/2102241544/ 1. [gist.github.com](https://gist.github.com/)에 public으로 신규 **`public`으로 바꾼 gist를** 생성 ![image-20210820200806703](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210820200806703.png) ![image-20210820200610811](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210820200610811.png) 2. [github토큰 생성 페이지](https://github.com/settings/tokens/new)로 가서 `repo`, `gist`를 포함한 scope를 설정한 뒤, 발급받은 토큰을 잘 챙겨둔다. ``` QQQghp_ysd0aOZbgsOJ3rOTAhj4QQQw4su6rrfPp1oc7WrQQQ ``` 3. [productive-box](https://github.com/maxam2017/productive-box) repository를 fork한다. - 우측 상단의 `Fork` 버튼을 누르면 된다. - fork 된 나의 repository의 **Actions** 탭에서 `enabled` 버튼을 눌러 Action을 활성화한다 - ```plaintext .github/workflow/Schedule.yml ``` 파일을 수정하여 **환경변수를 작성**해준다 - **uses**: **is2js**/productive-box@master : 내github아이디로 바꿔준다? - maxam2017 -> 내 아이디로 - **GIST_ID**: *사전 작업의 1번 step*에서 생성된 gist의 id (gist URL은 `gist.github.com//`로 생성되기 때문에 주소창을 보면 된다.) - `042e89789d6054e9b372e755e75f09f5` - **TIMEZONE**: 타임존을 적어준다. `Asia/Seoul` 형식으로 적어주면 된다. - cf) cron : 분시일월주 - cron예제 : https://ponyozzang.tistory.com/402 4. 해당레포 > Settings 탭 > Secrets에 접속한 뒤 New repository secret 버튼을 클릭하여 환경변수를 설정해준다. - **GH_TOKEN**: *사전 작업의 2번 step*에서 발급받은 토큰 - 토큰은 github > secrets > 환경변수에서 설정해주면, workflows.config.yaml을 그것을 이용한다. ```yaml env: GH_TOKEN: ${{ secrets.GH_TOKEN }} ``` ![image-20210820201930495](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210820201930495.png) 5. gist를 내 프로필 pinn에 고정시킨다. ![image-20210820202055897](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210820202055897.png)![image-20210820202646694](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210820202646694.png) 6. 내 블로그에 embed시킨다. - 아래 코드에서 gist주소만 복사해서 `gist_id.js`를 넣어주면 됨. <script src="[gist주소].js"></script> ## 깃허브 프로필 뱃지 얻기 ### Github Developer program 1. https://developer.github.com/program/ 사이트에서 등록한다. - 2가지만 추가로 채워주면 된다. - Highlights부분에 뱃지 생김 ![image-20210822202248713](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210822202248713.png) ### 학생 PRO - 유효한 date를 포함하는, 학생증 찍어서 증명하는 부분이 생겨 나는 포기함. 1. [https://education.github.com](https://education.github.com/) 접속후 Student Developer Pack 클릭 1. Get pack > Get Student benefits > 아래쪽 학교인증 - github에 학교계정으로 email을 등록하고 와야한다. ![image-20210820205641913](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210820205641913.png) 1. 마지막에 plan을 `Github Pro`로 적어주면 된다. 1. 증명서를 내라고한다. 나는.. 졸업해서 그냥 생략.. ### 북극곰 2020.02월 - 나는 우연히 그 때 만들어뒀나보다. ![image-20210820204453873](https://raw.githubusercontent.com/is3js/screenshots/main/image-20210820204453873.png)
33.370861
227
0.707085
kor_Hang
0.942252
2c73ddcb1f3e81c43067d62b4a93eb8382725dff
3,588
markdown
Markdown
_posts/2018-05-21-designer's-dejection.markdown
rexusbexus/tubular-www
7f844d74002e6e206932b7389187da844cf8fd73
[ "Apache-2.0" ]
null
null
null
_posts/2018-05-21-designer's-dejection.markdown
rexusbexus/tubular-www
7f844d74002e6e206932b7389187da844cf8fd73
[ "Apache-2.0" ]
1
2018-04-14T11:11:51.000Z
2018-04-14T11:11:51.000Z
_posts/2018-05-21-designer's-dejection.markdown
rexusbexus/tubular-www
7f844d74002e6e206932b7389187da844cf8fd73
[ "Apache-2.0" ]
4
2018-04-05T10:03:38.000Z
2018-05-18T12:03:45.000Z
--- title: Designer’s Dejection subtitle: When what could have been, and what is are both wrong. layout: default date: 2018-05-21 pretty-date: May 21, 2018 img: designers-dejection.jpg thumbnail: designers-dejection.jpg author: Ivan Zankov author-url: # post-par1: Hello again, good readers! SED 2.0 is in and we don’t ever have to worry about it again! Well, at least not that exact number indicative of our progress (measured on a scale from 0.0 to 5.0 and hopefully ending there). The delusion was good for the 30 seconds it took me to come up with that statement anyway… So, with the 40-MB-and-then-some-PDF having been sent in, now it is up to those of us not preparing for the CDR presentation to help those that are! In my case, I will probably soon have to help the other half of Team Thermal organize his speech points and maybe give him some neatly written cue cards! post-par2: But this post is going to be a break from the thermodynamics references and deity-awful puns bound to come with them. This is not an entry from this guy writing as a thermal engineer. This is a transcribed log from the guy who originally worked on the TUBULAR logo you now see whenever you visit us. You see, if this post’s preview and main images strike you readers with any sense of familiarity, it might be because they depict my final draft of the product - how it was originally supposed to appear. Now, I did just use the words “original(ly)” and “final” in the same sentence, having them regard the same subject. This is where my contribution ended, and the successful elements from this were taken and accompanied by a few new decorations - that would become the molecules and stars that replace the mountains and clouds that can be seen in the background and periphery! This was TUBULAR’s final decision. The credit to the newer elements goes to a helpful friend of the soon-to-be new project manager of our group. It’s fair game whether the integration of the two ideas to form our final logo was also his doing, or the doing of the future manager herself! I don’t remember. post-par3: I do remember now, that I had some regrets about submitting my design the way I did. I should have taken the hint at the time that the 80’s feel was meant to be a very loose guideline for the art style - and not the very core foundation of image’s appearance. The fluorescence of the outlines and the metallic luster of the letters just took this in the wrong direction, and I see why the true final change was made. What saddens me though is knowing how far this design was changed once outside of my grasp - and that now it too, no longer represents us entirely. At least one of the gases we originally intended to sample will no longer be being featured in our experiment, making some of the molecules included in the insignia redundant. If we had seen this coming sooner, I could have at least pressed the rest of TUBULAR at the time to remove them and expand the letters to the size seen in my original version. Maybe then, we’d be on the right track for good. And maybe then, people wouldn’t dwell so much on what the heck those letters are supposed to spell either. post-par4: Either way, I have, and continue to respect our final outcome. It was after all, a group decision that needed to be made on what the logo would be (at the time), and I too thought I may have neglected a bit of the air and space elements that would define our mission. Going with the final version we use today is certainly something we all appreciated back then and still should today - in good times and bad. ---
170.857143
1,195
0.784838
eng_Latn
0.999983
2c7487ee7102b88537b201f1dfcc6e01feaadc97
1,220
md
Markdown
README.md
alizeait/use-debounce
a40ae1f3637bf765def4116514130fe8fdf5e13a
[ "MIT" ]
null
null
null
README.md
alizeait/use-debounce
a40ae1f3637bf765def4116514130fe8fdf5e13a
[ "MIT" ]
null
null
null
README.md
alizeait/use-debounce
a40ae1f3637bf765def4116514130fe8fdf5e13a
[ "MIT" ]
null
null
null
# use-debounce ![Check](https://github.com/alizeait/use-debounce/workflows/Check/badge.svg) ![Coverage](https://img.shields.io/codecov/c/github/alizeait/use-debounce) > A tiny (~230B) debounce hook. Creates a debounced value that gets updated after `delay` milliseconds have elapsed since the last time `useDebounce` was invoked. If `delay` is omitted in an environment with `requestAnimationFrame`, value will be debounced until the next frame is drawn (typically about 16ms). ## Installation ```bash $ yarn add @alizeait/use-debounce ``` or ```bash $ npm install @alizeait/use-debounce ``` ## Usage ```jsx import React, { useState } from "react"; import { useDebounce } from "@alizeait/use-debounce"; export default function Input() { const [value, setValue] = useState("Initial"); const debouncedValue = useDebounce(value, 1000); return ( <div> <input defaultValue="Initial" onChange={(e) => { setValue(e.target.value); }} /> <p>Actual value: {value}</p> <p>Debounced value: {debouncedValue}</p> </div> ); } ``` ## API ### useDebounce<T>(value:T, delay?:number) Returns: `value`
23.461538
167
0.641803
eng_Latn
0.669281
2c74cdac3f46b2a577ffddf772fd24174c99c259
617
md
Markdown
README.md
djheru/online-cuisine
88b789c6b59a56ea0d3dc2eaa60839f84f0d8d6d
[ "MIT" ]
null
null
null
README.md
djheru/online-cuisine
88b789c6b59a56ea0d3dc2eaa60839f84f0d8d6d
[ "MIT" ]
null
null
null
README.md
djheru/online-cuisine
88b789c6b59a56ea0d3dc2eaa60839f84f0d8d6d
[ "MIT" ]
null
null
null
[![Build Status](https://travis-ci.org/djheru/express-boilerplate.svg?branch=master)](https://travis-ci.org/djheru/express-boilerplate) # express-boilerplate An express app ## Getting Started Clone it, update the config dist files, get your app secrets from FB, twitter, github, google plus ## Documentation _(Coming soon)_ ## Examples _(Coming soon)_ ## Contributing In lieu of a formal styleguide, take care to maintain the existing "coding style". Add unit tests for any new or changed functionality. ## Release History _(Nothing yet)_ ## License Copyright (c) 2014 djheru Licensed under the MIT license.
25.708333
135
0.763371
eng_Latn
0.82137
2c75ae254a569d83b044443eb640c1e5bf614d99
2,613
md
Markdown
libraries/EpoxyFS/README.md
CaioPellicani/EpoxyDuino
1d2c43055f47689b61bfeec74927df51136cefde
[ "MIT" ]
34
2021-01-24T00:12:11.000Z
2022-03-29T21:55:41.000Z
libraries/EpoxyFS/README.md
CaioPellicani/EpoxyDuino
1d2c43055f47689b61bfeec74927df51136cefde
[ "MIT" ]
23
2021-01-22T19:36:16.000Z
2022-03-18T16:23:54.000Z
libraries/EpoxyFS/README.md
CaioPellicani/EpoxyDuino
1d2c43055f47689b61bfeec74927df51136cefde
[ "MIT" ]
16
2021-02-22T21:33:39.000Z
2022-03-30T15:24:42.000Z
# EpoxyFS An implementation of the `FS` filesystem interface for ESP8266 (https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html) that runs on a Linux (and hopefully on a MacOS) machine using EpoxyDuino. ## Usage The `FS` class in EpoxyFS is compatible with the `FS` class on the ESP8266 platform. Unfortunately, the `FS` class under the ESP32 is slightly different. This means that we cannot use `FS` as a common interface across platforms. Instead we use a `#define FILE_SYSTEM` to set the correct file system instance, and use `FILE_SYSTEM` everywhere where we would have used a `LittleFS`, or `LITTLEFS` or `fs::EpoxyFS` instance. ```C++ #include <Arduino.h> #if defined(EPOXY_DUINO) #include <EpoxyFS.h> #define FILE_SYSTEM fs::EpoxyFS #elif defined(ESP8266) #include <LittleFS.h> #define FILE_SYSTEM LittleFS #elif defined(ESP32) #include <LITTLEFS.h> #define FILE_SYSTEM LITTLEFS #else #error Unsupported platform #endif void doStuff() { } void setup() { SERIAL_PORT_MONITOR.begin(115200); while (!SERIAL_PORT_MONITOR); // For Leonardo/Micro ... if (FILE_SYSTEM.begin()){ SERIAL_PORT_MONITOR.println(F("Filesystem initialized.")); } else { SERIAL_PORT_MONITOR.println(F("Filesystem failed.")); } ... } void loop() { ... } ``` ## Root of the File System By default, the root of the file system is located in a directory named `./epoxyfsdata` in the *current directory*. This location can be changed by setting the * `EPOXY_FS_ROOT` environment variable. For example, setting * `$ export EPOXY_FS_ROOT=/tmp/epoxyfsdata` sets the root to the `/tmp/epoxyfsdata` directory. **DANGER**: The `EpoxyFS::format()` method creates a blank file system. To achieve that, the method recursively removes all files and directories under the `EPOXY_FS_ROOT` directory. If you set the `EPOXY_FS_ROOT` to an incorrect value, you may remove a **lot** of files quickly and permanently. Be very careful! ## Bugs and LImitation * A number of functions and methods are not yet implemented. See the `TODO` notes in `src/EpoxyFS.h`. * I have not tested all of the `FS::open()` modes: "r", "w", "a", "r+" etc. * The document for [ESP8266 Filesystem](https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html) says that "Subdirectories are automatically created when you attempt to create a file in a subdirectory, and when the last file in a subdirectory is removed the subdirectory itself is automatically deleted. This is because there was no mkdir() method in the existing SPIFFS filesystem." * This has *not* been implemented in EpoxyFS.
31.107143
80
0.740145
eng_Latn
0.988548
2c76098130d400581ae1b05f3468c81cccb82a44
249
md
Markdown
src/terms/static-files.md
andrewbess/glossary
79a52a30670cc153a010bb0f9fa526f7aabf98df
[ "MIT" ]
18
2017-08-16T19:49:39.000Z
2022-02-20T11:04:17.000Z
src/terms/static-files.md
andrewbess/glossary
79a52a30670cc153a010bb0f9fa526f7aabf98df
[ "MIT" ]
18
2019-04-10T15:03:26.000Z
2019-04-14T18:19:55.000Z
src/terms/static-files.md
fahrulmustari6/magenta-glosary
04ed5f85d290ddc2f75f1a337c41b0a609650d66
[ "MIT" ]
17
2017-08-29T06:58:31.000Z
2022-01-23T16:30:47.000Z
--- title: "static files" wordClasses: - "noun" tags: - "magento-software" synonyms: [] relatedTerms: - "css" - "javascript" --- The collection of assets, such as CSS, fonts, images, and JavaScript that is used by a theme.
19.153846
93
0.62249
eng_Latn
0.981789
2c764323ae9ab6384e4524486585c27695a08717
63
md
Markdown
add/metadata/System.Configuration/ConfigurationAllowDefinition.meta.md
kcpr10/dotnet-api-docs
b73418e9a84245edde38474bdd600bf06d047f5e
[ "CC-BY-4.0", "MIT" ]
1
2020-06-16T22:24:36.000Z
2020-06-16T22:24:36.000Z
add/metadata/System.Configuration/ConfigurationAllowDefinition.meta.md
kcpr10/dotnet-api-docs
b73418e9a84245edde38474bdd600bf06d047f5e
[ "CC-BY-4.0", "MIT" ]
null
null
null
add/metadata/System.Configuration/ConfigurationAllowDefinition.meta.md
kcpr10/dotnet-api-docs
b73418e9a84245edde38474bdd600bf06d047f5e
[ "CC-BY-4.0", "MIT" ]
1
2020-05-02T13:31:28.000Z
2020-05-02T13:31:28.000Z
--- uid: System.Configuration.ConfigurationAllowDefinition ---
15.75
54
0.793651
yue_Hant
0.84125
2c77b63ae8262f23438950de47ba978df5c4b50e
1,383
md
Markdown
README.md
cmedinadeveloper/mini-project-talpor
fe582feaa09efe652940a036a6dc491a908a4576
[ "MIT" ]
null
null
null
README.md
cmedinadeveloper/mini-project-talpor
fe582feaa09efe652940a036a6dc491a908a4576
[ "MIT" ]
null
null
null
README.md
cmedinadeveloper/mini-project-talpor
fe582feaa09efe652940a036a6dc491a908a4576
[ "MIT" ]
null
null
null
# mini-project-talpor ## Android Studio ## Install Android Studio, as well as `react-native-debugger`. Initial setup for Android Studio: * Don't import settings * Do custom install & add latest SDK * From the Welcome Screen, go to Configure -> SDK Manager * Install other SDKs (Android 7.0+) * From Welcome Screen, choose "Open an existing Android Studio project" * Import an existing project: open the `android/` directory. * Let Gradle automatically sync * it will probably fail several times, just keep clicking the blue links to install any missing dependencies To start developing: * CD into the project's root and run `yarn` to install node dependencies * Open AVD Manager and run a device emulator * After a "cold boot", use `yarn android:run` to get the app loaded onto the phone * run `yarn start` to start the dev server * hit "R+R" to reload any changes * run `yarn android:shake` to connect to the `react-native-debugger` ## XCode ## * Download and install Xcode from App Store * From Welcome Screen, choose "Open another project" * Import an existing project: open the `ios/` directory and open the .xcworkspace file. To start developing: * CD into the project's root and run `yarn` to install node dependencies * Cd into `ios/` and run `pod install` (You need to have Cocoapods installed) * From Xcode select a simulator and press `build` button
38.416667
110
0.745481
eng_Latn
0.983206
2c79a4905f2727f7908cfd432589b1443b146bb6
8,924
md
Markdown
site/content/docs/5.1/extend/approach.md
esdocu/bootstrap
b33526395ba8bf3e4535a3bc867a26ec6ea19569
[ "MIT" ]
null
null
null
site/content/docs/5.1/extend/approach.md
esdocu/bootstrap
b33526395ba8bf3e4535a3bc867a26ec6ea19569
[ "MIT" ]
10
2022-01-17T05:55:30.000Z
2022-01-17T06:01:28.000Z
site/content/docs/5.1/extend/approach.md
esdocu/bootstrap
b33526395ba8bf3e4535a3bc867a26ec6ea19569
[ "MIT" ]
null
null
null
--- layout: docs title: Enfoque description: Conoce las principales directrices, las estrategias y las técnicas utilizadas para crear y mantener Bootstrap para que puedas personalizarlo y ampliarlo más fácilmente. group: extend aliases: - "/docs/5.1/extend/" --- Si bien las páginas de inicio brindan un recorrido introductorio del proyecto y lo que ofrece, este documento se enfoca en _por qué_ hacemos las cosas que hacemos en Bootstrap. Explica nuestra filosofía de construir en la web para que otros puedan aprender de nosotros, contribuir con nosotros y ayudarnos a mejorar. ¿Ves algo que no suena bien, o quizás se podría hacer mejor? [Abre un issue]({{< param repo >}}/issues/new): nos encantaría que lo discutamos. ## Resumen Nos sumergiremos más a fondo en cada uno de estos puntos, pero en general, esto es lo que guía nuestro enfoque. - Los componentes deben ser responsive y mobile-first - Los componentes deben construirse con una clase base y extenderse a través de clases modificadoras - Los estados de los componentes deben obedecer a una escala de z-index común - Siempre que sea posible, se prefiere una implementación de HTML y CSS sobre JavaScript - Siempre que sea posible, se usan utilidades sobre estilos personalizados - Siempre que sea posible, se evita aplicar requisitos HTML estrictos (selectores hijos) ## Responsive Los estilos responsive de Bootstrap están diseñados para ser responsive, un enfoque que a menudo se denomina _mobile-first_. Usamos este término en nuestros documentos y en gran parte estamos de acuerdo con él, pero a veces puede ser demasiado amplio. Si bien no todos los componentes _deben_ ser completamente responsive en Bootstrap, este enfoque responsive trata de reducir las sobrescrituras de CSS al presionarlo para agregar estilos a medida que el viewport se vuelve más grande. En Bootstrap, verás esto más claramente en nuestras media queries. En la mayoría de los casos, usamos consultas `min-width` que comienzan a aplicarse en un breakpoint específico y continúan a través de los breakpoints más altos. Por ejemplo, un `.d-none` se aplica desde `min-width: 0` hasta el infinito. Por otro lado, un `.d-md-none` se aplica desde el breakpoint medium y hacia arriba. A veces usaremos `max-width` cuando la complejidad inherente de un componente lo requiere. A veces, estas sobrescrituras son funcional y mentalmente más claras de implementar y admitir que reescribir la funcionalidad principal de nuestros componentes. Nos esforzamos por limitar este enfoque, pero lo usaremos de vez en cuando. ## Clases Además de nuestro Reboot, una hoja de estilo de normalización entre navegadores, todos nuestros estilos apuntan a usar clases como selectores. Esto significa evitar los selectores de tipo (p. ej., `input[type="text"]`) y las clases primarias extrañas (p. ej., `.parent .child`) que hacen que los estilos sean demasiado específicos para ser sobrescritos fácilmente. Como tales, los componentes deben construirse con una clase base que albergue pares de valor de propiedad comunes, que no deben sobrescribirse. Por ejemplo, `.btn` y `.btn-primary`. Usamos `.btn` para todos los estilos comunes como `display`, `padding` y `border-width`. Luego usamos modificadores como `.btn-primary` para agregar el color, color de fondo, color de borde, etc. Las clases modificadoras solo deben usarse cuando hay múltiples propiedades o valores para cambiar en múltiples variantes. Los modificadores no siempre son necesarios, así que asegúrate de ahorrar líneas de código y evitar sobrescrituras innecesarias al crearlas. Buenos ejemplos de modificadores son nuestras clases de colores temáticos y variantes de tamaño. ## Escalas z-index Hay dos escalas de `z-index` en Bootstrap: elementos dentro de un componente y componentes superpuestos. ### Elementos de componentes - Algunos componentes en Bootstrap están construidos con elementos superpuestos para evitar bordes dobles sin modificar la propiedad `border`. Por ejemplo, grupos de botones, grupos de inputs y paginación. - Estos componentes comparten una escala de `z-index` estándar de `0` a `3`. - `0` es el predeterminado (inicial), `1` es `:hover`, `2` es `:active`/`.active`, y `3` es `:focus`. - Este enfoque coincide con nuestras expectativas de máxima prioridad de usuario. Si un elemento está enfocado, está a la vista y a la atención del usuario. Los elementos activos son los segundos más altos porque indican estado. El desplazamiento es el tercero más alto porque indica la intención del usuario, pero se puede desplazar casi cualquier cosa. ### Componentes superpuestos Bootstrap incluye varios componentes que funcionan como una superposición de algún tipo. Esto incluye, en orden de `z-index` más alto, menús desplegables, barras de navegación fijas y pegajosas, modales, tooltips y popovers. Estos componentes tienen su propia escala de `z-index` que comienza en `1000`. Este número inicial se eligió arbitrariamente y sirve como un pequeño búfer entre nuestros estilos y los estilos personalizados de tu proyecto. Cada componente de superposición aumenta ligeramente su valor de `z-index` de tal manera que los principios comunes de la interfaz de usuario permiten que los elementos centrados o sobrevolados por el usuario permanezcan a la vista en todo momento. Por ejemplo, un modal es un bloqueo de documentos (por ejemplo, no puedes realizar ninguna otra acción excepto la acción del modal), por lo que lo colocamos encima de nuestras barras de navegación. Obtén más información sobre esto en nuestra [página de diseño `z-index`]({{< docsref "/layout/z-index" >}}). ## HTML y CSS sobre JS Siempre que sea posible, preferimos escribir HTML y CSS sobre JavaScript. En general, HTML y CSS son más prolíficos y accesibles para más personas de todos los niveles de experiencia. HTML y CSS también son más rápidos en tu navegador que JavaScript, y tu navegador generalmente te brinda una gran cantidad de funciones. Este principio es nuestra API de JavaScript de primera clase que usa atributos `data`. No necesitas escribir casi nada de JavaScript para usar nuestros complementos de JavaScript; en su lugar, escribe HTML. Lee más sobre esto en [nuestra página de descripción general de JavaScript]({{< docsref "/getting-started/javascript#data-attributes" >}}). Por último, nuestros estilos se basan en los comportamientos fundamentales de los elementos web comunes. Siempre que sea posible, preferimos utilizar lo que proporciona el navegador. Por ejemplo, puedes poner una clase `.btn` en casi cualquier elemento, pero la mayoría de los elementos no proporcionan ningún valor semántico o funcionalidad de navegador. Entonces, en su lugar, usamos `<button>`s y `<a>`s. Lo mismo ocurre con los componentes más complejos. Si bien *podríamos* escribir nuestro propio complemento de validación de formularios para agregar clases a un elemento padre en función del estado de un input, lo que nos permite diseñar el texto como rojo, preferimos usar los pseudoelementos `:valid`/`:invalid` que cada navegador nos proporciona. ## Utilidades Las clases de utilidad, anteriormente helpers en Bootstrap 3, son un poderoso aliado para combatir la sobrecarga de CSS y el bajo rendimiento de la página. Una clase de utilidad suele ser un par propiedad-valor único e inmutable expresado como una clase (por ejemplo, `.d-block` representa `display: block;`). Su atractivo principal es la velocidad de uso al escribir HTML y limitar la cantidad de CSS personalizado que tienes que escribir. Específicamente en lo que respecta a CSS personalizado, las utilidades pueden ayudar a combatir el aumento del tamaño del archivo al reducir los pares de propiedad-valor que se repiten con más frecuencia en clases únicas. Esto puede tener un efecto dramático a escala en tus proyectos. ## HTML flexible Si bien no siempre es posible, nos esforzamos por evitar ser demasiado dogmáticos en nuestros requisitos HTML para los componentes. Por lo tanto, nos enfocamos en clases individuales en nuestros selectores CSS y tratamos de evitar los selectores hijos inmediatos (`>`). Esto te brinda más flexibilidad en tu implementación y ayuda a mantener nuestro CSS más simple y menos específico. ## Convenciones de código [Guía de código](https://codeguide.co/) (del cocreador de Bootstrap, @mdo) documenta cómo escribimos nuestro HTML y CSS en Bootstrap. Especifica pautas para formato general, valores predeterminados de sentido común, órdenes de propiedades y atributos, y más. Usamos [Stylelint](https://stylelint.io/) para hacer cumplir estos estándares y más en nuestro Sass/CSS. [Nuestra configuración personalizada de Stylelint](https://github.com/twbs/stylelint-config-twbs-bootstrap) es de código abierto y está disponible para que otros la usen y amplíen. Usamos [vnu-jar](https://www.npmjs.com/package/vnu-jar) para aplicar HTML estándar y semántico, así como para detectar errores comunes.
103.767442
485
0.797736
spa_Latn
0.996083
2c7b508bde8653c521f88e737328041dc93f3c9a
944
md
Markdown
README.md
AnicetNgrt/study-of-3D-Graphics-Rendering-Cookbook
3aebedef15f3ca42e1e1401cacfc0b8539b404af
[ "MIT" ]
null
null
null
README.md
AnicetNgrt/study-of-3D-Graphics-Rendering-Cookbook
3aebedef15f3ca42e1e1401cacfc0b8539b404af
[ "MIT" ]
null
null
null
README.md
AnicetNgrt/study-of-3D-Graphics-Rendering-Cookbook
3aebedef15f3ca42e1e1401cacfc0b8539b404af
[ "MIT" ]
null
null
null
### Personal study of "3D Graphics Rendering Cookbook" by Segey Kosarevsky & Viktor Latypov Bits of code and experiments I made while reading [3D Graphics Rendering Cookbook](https://www.packtpub.com/product/3d-graphics-rendering-cookbook/9781838986193). Most of the code in this repository is heavily inspired by and/or copied from the book's code samples, which are open-source. Find all the missing bits and pieces in the [official git repository of the book](https://github.com/PacktPublishing/3D-Graphics-Rendering-Cookbook). ### Build on Linux Add all the assets from the official git repository of the book's `/data/` and `/deps/` directory into this repository's `/data/` and `/deps/` directory. Make sure you have OpenGL, Vulkan, cmake, make, g++ and Python3 ```bash cd build cmake .. -G "Unix Makefiles" make ``` ### Run Go to the root directory of this repository and run binaries located in the `/bin/` directory from there.
44.952381
275
0.760593
eng_Latn
0.98778
2c7b9b60dda62d2b2fb726e59727e0b73485afa5
249
md
Markdown
_posts/1964-07-29-mike-burke's-brigantine-yankee-is.md
MiamiMaritime/miamimaritime.github.io
d087ae8c104ca00d78813b5a974c154dfd9f3630
[ "MIT" ]
null
null
null
_posts/1964-07-29-mike-burke's-brigantine-yankee-is.md
MiamiMaritime/miamimaritime.github.io
d087ae8c104ca00d78813b5a974c154dfd9f3630
[ "MIT" ]
null
null
null
_posts/1964-07-29-mike-burke's-brigantine-yankee-is.md
MiamiMaritime/miamimaritime.github.io
d087ae8c104ca00d78813b5a974c154dfd9f3630
[ "MIT" ]
null
null
null
--- title: Mike Burke's brigantine Yankee is tags: - Jul 1964 --- Mike Burke's brigantine Yankee is hard aground on a reef off New Zealand. Newspapers: **Miami Morning News or The Miami Herald** Page: **3**, Section: **A**
20.75
75
0.634538
eng_Latn
0.893053
2c7c53d68c582a88f2a529f0239715207a8cf4f7
365
md
Markdown
README.md
brothergiez/electvue-express
9fe7da056d4cd19b87ddf55ccd66d8503ef0f510
[ "MIT" ]
1
2019-12-06T07:21:28.000Z
2019-12-06T07:21:28.000Z
README.md
brothergiez/electvue-express
9fe7da056d4cd19b87ddf55ccd66d8503ef0f510
[ "MIT" ]
4
2021-03-09T17:58:34.000Z
2022-02-26T17:53:56.000Z
README.md
brothergiez/electvue-express
9fe7da056d4cd19b87ddf55ccd66d8503ef0f510
[ "MIT" ]
null
null
null
# electvue-express Electron bundling with Vue js + Express as a backend How to run this project: **1. Create .env file** ```cp .env.example .env``` **2. Install Dependencies** ```npm install``` **3. Rebuild sqlite3 & sqlchipher for electron project** Sqlite3 for electron project must be rebuild. ```npm run rebuild``` **4. Run the project** ```npm start```
18.25
56
0.687671
eng_Latn
0.881202
2c7cb9a87a3ad8195d9404214638ca70b4dbd63d
1,509
md
Markdown
content/machine_learning/feature_engineering/dimensionality_reduction_on_sparse_feature_matrix.md
patxigad/notes
fb71f3255df5c43f36383c0281a9f7e083e4cade
[ "CC0-1.0" ]
null
null
null
content/machine_learning/feature_engineering/dimensionality_reduction_on_sparse_feature_matrix.md
patxigad/notes
fb71f3255df5c43f36383c0281a9f7e083e4cade
[ "CC0-1.0" ]
null
null
null
content/machine_learning/feature_engineering/dimensionality_reduction_on_sparse_feature_matrix.md
patxigad/notes
fb71f3255df5c43f36383c0281a9f7e083e4cade
[ "CC0-1.0" ]
null
null
null
--- title: "Dimensionality Reduction On Sparse Feature Matrix" author: "Chris Albon" date: 2017-12-20T11:53:49-07:00 description: "How to conduct dimensionality reduction when the feature matrix is sparse using Python." type: technical_note draft: false --- ## Preliminaries ```python # Load libraries from sklearn.preprocessing import StandardScaler from sklearn.decomposition import TruncatedSVD from scipy.sparse import csr_matrix from sklearn import datasets import numpy as np ``` ## Load Digits Data And Make Sparse ```python # Load the data digits = datasets.load_digits() # Standardize the feature matrix X = StandardScaler().fit_transform(digits.data) # Make sparse matrix X_sparse = csr_matrix(X) ``` ## Create Truncated Singular Value Decomposition ```python # Create a TSVD tsvd = TruncatedSVD(n_components=10) ``` ## Run Truncated Singular Value Decomposition ```python # Conduct TSVD on sparse matrix X_sparse_tsvd = tsvd.fit(X_sparse).transform(X_sparse) ``` ## View Results ```python # Show results print('Original number of features:', X_sparse.shape[1]) print('Reduced number of features:', X_sparse_tsvd.shape[1]) ``` Original number of features: 64 Reduced number of features: 10 ## View Percent Of Variance Explained By New Features ```python # Sum of first three components' explained variance ratios tsvd.explained_variance_ratio_[0:3].sum() ``` 0.30039385372588506
19.346154
103
0.715043
eng_Latn
0.768704
2c7e94d9e1759ae2438cd58abd23dc5aeb85449c
3,026
md
Markdown
docs/search/enumeration.md
SGDBS/acm-wiki
79877335fdfa9f032594a96544970b6075ea2e4f
[ "MIT" ]
12
2019-12-27T02:39:28.000Z
2022-03-19T06:34:02.000Z
docs/search/enumeration.md
SGDBS/acm-wiki
79877335fdfa9f032594a96544970b6075ea2e4f
[ "MIT" ]
5
2020-04-16T06:19:29.000Z
2021-11-28T00:24:48.000Z
docs/search/enumeration.md
SGDBS/acm-wiki
79877335fdfa9f032594a96544970b6075ea2e4f
[ "MIT" ]
14
2020-01-26T12:00:00.000Z
2022-03-31T02:43:56.000Z
!!! note "Copyright" 本页面贡献者:[lengwind](https://github.com/lengwind)。 本页面内容遵循 MIT 协议,转载请附上原文出处链接和本声明。 ## 一.枚举排列 **什么是排列 ?** 长度为$n$的排列指$1\sim n$不重不漏的恰好都出现一次 如: [1 2 5 3 4] , [5 4 3 2 1] 都是排列 而 [1 1 2 3] (出现重复的元素),[1 3 4] (缺少元素2)不是排列 **什么是排列的顺序 ?** 排列是有顺序的,比如长度为3的排列从小到大依次为 [1 2 3] [1 3 2] [2 1 3] [2 3 1] [3 1 2] [3 2 1] **定理: 长度为n的排列一共有$n!$种** 顾名思义就是从小到大去枚举排列,一般要求排列的长度不能过大($n\leq11$) 因为$11!< 1e8, 12! > 1e8$ 枚举排列的方法: **1.next_permutation 与 prev_permutation** **包含头文件 `#include<algorithm>`** 用法: `next_permutation(迭代器1,迭代器2)`(类似`sort`,对[迭代器1,迭代器2)进行操作 ), 如`next_permutation(a,a+n)` (从$[0,n)$)或者 `next_permutation(a+1,a+1+n)`( $[1,n+1)$ ) **2.DFS** ```CPP #include<iostream> #include<algorithm> using namespace std; const int N = 20; bool used[N]; int a[N]; int n; void DFS(int u) { if(u == n) { for(int i = 0; i < n; ++ i) cout << a[i] + 1 << ' '; cout <<endl; return; } for(int i = 0; i < n; ++ i) { if(!used[i]) { used[i] = 1, a[u] = i; DFS(u+1); used[i] = 0, a[u] = 0; } } } int main() { cin >> n; DFS(0); } ``` ### next_permutation ```CPP #include<iostream> #include<algorithm> using namespace std; int main() { int a[] = {1,2,3}; int n = 3; do { for(int i = 0; i < 3; ++ i) cout << a[i] << ' '; cout <<endl; }while(next_permutation(a,a+n)); } ``` ### prev_permutation ```cpp #include<iostream> #include<algorithm> using namespace std; int main() { int a[] = {3,2,1}; int n = 3; do { for(int i = 0; i < 3; ++ i) cout << a[i] << ' '; cout <<endl; }while(prev_permutation(a,a+n)); } ``` ## 二.枚举子集 ### **什么是子集 ?** 子集是一个数学概念:如果集合A的任意一个元素都是集合B的元素,那么集合A称为集合B的子集。 符号语言:$若\forall a \in A, 均有 a \in B, 则A\subseteq B$。 ### **大小为n的集合有多少个子集?** 大小为$n$的集合有$2^n$个子集(其中包括一个空集,一个自身) ### 枚举子集方法: #### 1.位运算 对于集合中第$i$个元素($i$从0开始编号)0表示选这个元素,1表示不选这个元素 那么对于一个大小为4的集合来说 3 2 1 0 (下标) 0 1 0 1 (枚举值的二进制0101选第0位和第2位,也就是十进制数5) 得到启发,枚举大小为4的子集只需要从$0000_{(2)}\sim 1111_{(2)}$都枚举一遍即可,对应十进制即$0_{(10)}\sim 15_{(10)}$。 **规律:枚举大小为$n$的集合只需要枚举$0\sim2^n-1$(一共$2^n$种情况)** ```CPP #include<iostream> #include<algorithm> using namespace std; int main() { int n = 4; ///集合大小5 for(int i = 0; i < (1<<n); ++ i) ///从0 ~ 2^n - 1枚举 { ///每一个i的二进制对应一种情况 for(int j = 0; j < n; ++ j) { ///如果i的二进制的第j位为1 说明选这个数 if(i >> j & 1) { cout << j << ' '; } } cout <<endl; } } ``` #### 2.DFS ```CPP #include<bits/stdc++.h> using namespace std; const int N = 20; bool used[N]; int a[N]; int n; vector<int>v; void DFS(int u) { if(u == n) { for(int i : v) cout << i + 1 << ' '; cout << endl; return; } ///不选第u个元素 DFS(u + 1); ///选第u个元素 v.push_back(u); DFS(u + 1); v.pop_back(); } int main() { cin >> n; DFS(0); } ```
14.618357
84
0.499009
yue_Hant
0.311321
2c7fdb4245ef36b29595351ee99873af2c29ec2d
765
md
Markdown
migrate-M$_dhcp.md
zinge/scripts
730e6ab6df2cdaa48bdbd966df0e734416170fd5
[ "MIT" ]
null
null
null
migrate-M$_dhcp.md
zinge/scripts
730e6ab6df2cdaa48bdbd966df0e734416170fd5
[ "MIT" ]
null
null
null
migrate-M$_dhcp.md
zinge/scripts
730e6ab6df2cdaa48bdbd966df0e734416170fd5
[ "MIT" ]
null
null
null
### Params ``` $curDhcpServer = "10.10.1.10" $newDhcpServer = "10.10.1.20" $backUpFileName = "C:\dhcp-config\dhcp-cobfiles.xml" $backUpFolderPath = "C:\dhcp-config\backup" ``` ### Backup server scopes ``` Export-DHCPServer -ComputerName $curDhcpServer -File $backUpFileName ``` ### Restore server scopes ``` Import-DHCPServer -ComputerName $newDhcpServer -File $backUpFileName -BackupPath $backUpFolderPath ``` ### Look server scopes ``` Get-DhcpServerv4Scope –ComputerName $curDhcpServer $Scope = <paste ScopeId info from query> ``` ### Transfer current leases enumerate scopes by ScopeId ``` @(Get-DHCPServerv4Lease -ComputerName $curDhcpServer -ScopeId $Scope).where({$_.AddressState -eq "Active"}) | Add-DhcpServerv4Lease -ComputerName $newDhcpServer ```
24.677419
161
0.737255
kor_Hang
0.303547
2c7ff25eb6f678d43a022533389bf85be3107079
1,375
md
Markdown
windows-driver-docs-pr/kernel/bus-drivers.md
i35010u/windows-driver-docs.zh-cn
e97bfd9ab066a578d9178313f802653570e21e7d
[ "CC-BY-4.0", "MIT" ]
1
2021-02-04T01:49:58.000Z
2021-02-04T01:49:58.000Z
windows-driver-docs-pr/kernel/bus-drivers.md
i35010u/windows-driver-docs.zh-cn
e97bfd9ab066a578d9178313f802653570e21e7d
[ "CC-BY-4.0", "MIT" ]
null
null
null
windows-driver-docs-pr/kernel/bus-drivers.md
i35010u/windows-driver-docs.zh-cn
e97bfd9ab066a578d9178313f802653570e21e7d
[ "CC-BY-4.0", "MIT" ]
null
null
null
--- title: 总线驱动程序 description: 总线驱动程序 keywords: - 总线驱动程序 WDK WDM - 枚举总线设备 WDK WDM - 总线控制器 WDK WDM - 适配器 WDK WDM - 桥接 WDK WDM - WDM 总线驱动程序 WDK ms.date: 06/16/2017 ms.localizationpriority: medium ms.openlocfilehash: 65927c064ea9e9b2909b77b1b62b408af42ceb0f ms.sourcegitcommit: 418e6617e2a695c9cb4b37b5b60e264760858acd ms.translationtype: MT ms.contentlocale: zh-CN ms.lasthandoff: 12/07/2020 ms.locfileid: "96838783" --- # <a name="bus-drivers"></a>总线驱动程序 *总线驱动程序* 服务总线控制器、适配器或桥 (参阅 [可能的驱动程序层](types-of-wdm-drivers.md#possible-driver-layers)) 。 Microsoft 为大多数常见总线(如 PCI、PnpISA、SCSI 和 USB)提供总线驱动程序。 其他总线驱动程序可由 Ihv 或 Oem 提供。 总线驱动程序是必需的驱动程序;计算机上的每个总线类型都有一个总线驱动程序。 如果计算机上有多个相同类型的总线,则总线驱动程序可以为多个总线提供服务。 总线驱动程序的主要职责是: - 枚举其总线上的设备。 - 响应即插即用 Irp 和电源管理 Irp。 - 对某些总线) 的总线 (执行多路复用。 - 一般在其总线上管理设备。 总线驱动程序本质上是 [函数驱动程序](function-drivers.md) ,也会枚举子级。 在枚举过程中,总线驱动程序标识其总线上的设备,并为它们创建设备对象。 (有关设备对象的信息,请参阅 [设备对象和设备堆栈](introduction-to-device-objects.md)。 ) 总线驱动程序用于识别连接的设备的方法取决于特定总线。 总线驱动程序代表其总线上的设备执行某些操作,包括访问设备寄存器以物理方式更改设备的电源状态。 例如,当设备进入睡眠状态时,总线驱动程序会将设备寄存器设置为使设备进入正确的设备电源状态。 但请注意,总线驱动程序不会处理连接到其总线的子设备的读取和写入请求。 对子设备的读取和写入请求由子设备的 [函数驱动程序](function-drivers.md)处理。 仅当子设备在 *raw 模式下* 使用时,父总线驱动程序才会处理设备的读取和写入操作。 由于总线驱动程序充当控制器、适配器或网桥的函数驱动程序,因此它还管理这些组件的设备电源策略。 总线驱动程序可以实现为驱动程序/微型驱动程序对,SCSI 端口/微型端口驱动程序对驱动 SCSI 主机总线适配器 (HBA) 的方式。 在此类驱动程序对中,微型驱动程序链接到第二个驱动程序,该驱动程序是一个 DLL。
24.122807
241
0.794909
yue_Hant
0.846597
2c8112489aeb9c819b66409827a8c9ede765af30
2,406
md
Markdown
README.md
korzhev/node-monitoring
3a6471d89e4b1fe34f9e40c4753b7efe9a393a04
[ "MIT" ]
5
2016-06-21T12:55:06.000Z
2021-09-02T18:32:44.000Z
README.md
korzhev/node-monitoring
3a6471d89e4b1fe34f9e40c4753b7efe9a393a04
[ "MIT" ]
null
null
null
README.md
korzhev/node-monitoring
3a6471d89e4b1fe34f9e40c4753b7efe9a393a04
[ "MIT" ]
2
2017-04-04T06:35:13.000Z
2020-02-27T08:19:14.000Z
# eventloop-latency [![Build Status](https://travis-ci.org/korzhev/eventloop-latency.svg?branch=master)](https://travis-ci.org/korzhev/eventloop-latency) [![Coverage Status](https://coveralls.io/repos/github/korzhev/eventloop-latency/badge.svg?branch=master)](https://coveralls.io/github/korzhev/eventloop-latency?branch=master) [![Code Climate](https://codeclimate.com/github/korzhev/eventloop-latency/badges/gpa.svg)](https://codeclimate.com/github/korzhev/eventloop-latency) [![Issue Count](https://codeclimate.com/github/korzhev/eventloop-latency/badges/issue_count.svg)](https://codeclimate.com/github/korzhev/eventloop-latency) This lib is part of [Bronitor](https://github.com/korzhev/bronitor) project. It counts eventloop latency using [process.hrtime](https://nodejs.org/dist/latest-v4.x/docs/api/process.html#process_process_hrtime) ## Requirements **Code written using ECMAScript 2015. It tested on node >= 4** Use babel if, you want to use it on node < 4 ## Installation ```bash $ npm i eventloop-latency --production ``` ## Usage ```js const EL = require('eventloop-latency'), interval = 5000, hrInterval = 10, monitoring = new EL(interval, hrInterval); monitoring.start(true); monitoring.on('data', (data) => { console.log(data); // [49, 27, ..., 144, 923] }); monitoring.stop(); monitoring.start(); setInterval(() => { console.log(monitoring.countLatency()); // [149, 7, ..., 14, 92] }, 1000) ``` ## Docs - **monitoring** - main object, eventemitter, takes two options: - **iterval** - interval in *ms* for emitting **'data' event**, optional, defaults to 5000 *ms* - **hrIntreval** - interval in *ms* using to count latency, should be in range 10-100, optional, defaults to 10 *ms* - **start()** - function, that start monitoring, takes option: - **enableEmit** - if *true*, **monitoring** will emit **"data" event**, else function **countLatency()** is used to get latency info - **stop()** - function, that stop monitoring - **countLatency()** - function, that return array with latency - **"data" event** - returns array of latency in *µs*(microseconds, 10e-6 s) during the **interval** ## Examples You can see small example in **demos/server.js**. Run it: ```bash $ npm run-script demo ``` ## Tests To run the test suite, first install the dependencies, then run `npm test`: ```bash $ npm install $ npm test ``` ## License [MIT](LICENSE)
37.59375
209
0.703242
eng_Latn
0.35008
2c81c8826f83f9c2822b5af4ef0504106920ad21
760
md
Markdown
README.md
cj2big/Anti-PacMan
3e1ff995596022ec4f42bd6d2bbc1d1429e83c5b
[ "MIT" ]
48
2017-12-22T23:41:50.000Z
2018-01-17T00:30:55.000Z
README.md
cj2big/Anti-PacMan
3e1ff995596022ec4f42bd6d2bbc1d1429e83c5b
[ "MIT" ]
3
2017-11-19T18:42:55.000Z
2017-12-29T14:20:12.000Z
README.md
cj2big/Anti-PacMan
3e1ff995596022ec4f42bd6d2bbc1d1429e83c5b
[ "MIT" ]
15
2018-01-21T16:14:50.000Z
2021-12-24T17:24:15.000Z
# AntiPacMan HTML5 game for 5th Game Off Jam [#GitHubGameOff](https://twitter.com/hashtag/GitHubGameOff) Available in [Google Play](https://play.google.com/store/apps/details?id=io.vmikhav.antipacman) ![AntiPacMan screeshot](img/screen.png) ## Table of Contents - [Install](#install) - [Gameplay](#gameplay) - [Maintainers](#maintainers) - [Contribute](#contribute) - [License](#license) ## Install Just clone repo or play [here](https://vmikhav.github.io/AntiPacMan/) ## Gameplay Defeat a pacman by drawing its symbol anywhere ## Maintainers [@vmikhav](https://github.com/vmikhav). ## Contribute Feel free to dive in! [Open an issue](https://github.com/vmikhav/AntiPacMan/issues/new) or submit PRs. ## License [MIT](LICENSE) © Volodymyr Mikhav
21.111111
102
0.732895
kor_Hang
0.325591
2c81c8eccb4ca0f7e76d9c35d1e1a27a47a35358
525
md
Markdown
README.md
ecmwf-lab/climetlab-datasets
b66942f0b0cf10e837754639394ca2ffa8b48c83
[ "Apache-2.0" ]
null
null
null
README.md
ecmwf-lab/climetlab-datasets
b66942f0b0cf10e837754639394ca2ffa8b48c83
[ "Apache-2.0" ]
null
null
null
README.md
ecmwf-lab/climetlab-datasets
b66942f0b0cf10e837754639394ca2ffa8b48c83
[ "Apache-2.0" ]
null
null
null
# climetlab-datasets **This is a draft in development and may not work as expected, additional work is in progress.** This repository provides a central location to list climetlab datasets. See https://climetlab.readthedocs.io/en/latest/contributing/datasets.html to add a new dataset. ### License [Apache License 2.0](LICENSE) In applying this licence, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
43.75
114
0.79619
eng_Latn
0.995862
2c82df9bfc91a839054cb5b636588e7faf2c626f
1,570
md
Markdown
sdk/spring/azure-spring-boot-starter-active-directory/ACCESS_TO_MULTI_TENANT_APP.md
Shashi-rk/azure-sdk-for-java
48e7b450384c7ed5f0d9333f41a6438f9762d6e7
[ "MIT" ]
1,350
2015-01-17T05:22:05.000Z
2022-03-29T21:00:37.000Z
sdk/spring/azure-spring-boot-starter-active-directory/ACCESS_TO_MULTI_TENANT_APP.md
Shashi-rk/azure-sdk-for-java
48e7b450384c7ed5f0d9333f41a6438f9762d6e7
[ "MIT" ]
16,834
2015-01-07T02:19:09.000Z
2022-03-31T23:29:10.000Z
sdk/spring/azure-spring-boot-starter-active-directory/ACCESS_TO_MULTI_TENANT_APP.md
Shashi-rk/azure-sdk-for-java
48e7b450384c7ed5f0d9333f41a6438f9762d6e7
[ "MIT" ]
1,586
2015-01-02T01:50:28.000Z
2022-03-31T11:25:34.000Z
# Access to multi-tenant app * Do not configure **tenantId** in the **application.properties/.yml** of a multi-tenant app or configure it to "common" to use the login process of multi-tenant access. Otherwise, users of other tenants will not be able to access the protected resources of the app. * The administrator's consent is required for the first visit. ![need-admin-approval](resource/access-to-multi-tenant-app/need-admin-approval.png) * Sign in with an administrator account and approve. * Before accepting, make sure that **"Consent on behalf of your organization"** is checked. ![permissions-requested](resource/access-to-multi-tenant-app/permissions-requested.png) * If you forget to check "Consent on behalf of your organization", there are two ways to revoke your consent. * Users revoke access to individual applications by removing them from their [Access Panel Applications list](https://myapps.microsoft.com/). ![users-revoke-access-1](resource/access-to-multi-tenant-app/users-revoke-access-1.png) ![users-revoke-access-2](resource/access-to-multi-tenant-app/users-revoke-access-2.png) ![users-revoke-access-3](resource/access-to-multi-tenant-app/users-revoke-access-3.png) * Administrators revoke access to applications by removing them using the Enterprise applications section of the [Azure portal](https://portal.azure.com/). ![administrators-revoke-access-1](resource/access-to-multi-tenant-app/administrators-revoke-access-1.png) ![administrators-revoke-access-2](resource/access-to-multi-tenant-app/administrators-revoke-access-2.png)
60.384615
266
0.786624
eng_Latn
0.85941
2c83be98c9f34eb4635286986a7683d2746f4fa9
263
md
Markdown
_posts/2018-4-12-how-2-find-a-good-essay.md
sjs2109/sjs2109.github.io
4e83137985bb26d52d11a51224dbfe1519656ccc
[ "MIT" ]
null
null
null
_posts/2018-4-12-how-2-find-a-good-essay.md
sjs2109/sjs2109.github.io
4e83137985bb26d52d11a51224dbfe1519656ccc
[ "MIT" ]
null
null
null
_posts/2018-4-12-how-2-find-a-good-essay.md
sjs2109/sjs2109.github.io
4e83137985bb26d52d11a51224dbfe1519656ccc
[ "MIT" ]
null
null
null
--- layout: post title: How to find a good essay --- 좋은 논문을 찾는 방법이 없을까? **좋은** 이라는 말이 여러 의미를 가질 수 있는 말이긴하다 보통 많은 사람들이 인용하는 논문이 좋은 논문이라고는 하는데 ~~나는 그냥 읽기 쉬우면 좋은데~~ 저 말이 정답인지 잘 모르겠다 https://scirate.com 나 http://ieeexplore.ieee.org/ 에서 찾을 수는 있긴 한데 아직은 뭐가 먼지 모르겠다 ㅜㅜ
32.875
82
0.680608
kor_Hang
1.00001
2c852128daf031fd92f2334b5caac75c561424b4
57
md
Markdown
README.md
trvrl/gallery
c22b8d1034783e83b440d11bf7e57d6f2825dcd0
[ "MIT" ]
null
null
null
README.md
trvrl/gallery
c22b8d1034783e83b440d11bf7e57d6f2825dcd0
[ "MIT" ]
null
null
null
README.md
trvrl/gallery
c22b8d1034783e83b440d11bf7e57d6f2825dcd0
[ "MIT" ]
null
null
null
Angular Gallery Photo gallery page built using Angular2
14.25
39
0.842105
eng_Latn
0.995052
2c869052e549b766e37109a6017dc2a832c210aa
567
md
Markdown
0001/myshow.md
genkuroki/public
339ea5dfd424492a6b21d1df299e52d48902de18
[ "MIT" ]
10
2021-06-06T00:33:49.000Z
2022-01-24T06:56:08.000Z
0001/myshow.md
genkuroki/public
339ea5dfd424492a6b21d1df299e52d48902de18
[ "MIT" ]
null
null
null
0001/myshow.md
genkuroki/public
339ea5dfd424492a6b21d1df299e52d48902de18
[ "MIT" ]
3
2021-08-02T11:58:34.000Z
2021-12-11T11:46:05.000Z
--- jupyter: jupytext: formats: ipynb,md text_representation: extension: .md format_name: markdown format_version: '1.3' jupytext_version: 1.11.2 kernelspec: display_name: Julia 1.7.0-DEV language: julia name: julia-1.7 --- ```julia a, b, c = 1, 2.0, "3" @show a b c; ``` ```julia x = (a = 1, b = 2.0, c = "3") ``` ```julia function myshow(x::NamedTuple{names}) where names for name in names println(string(name), " = ", repr(getproperty(x, name))) end end ``` ```julia myshow(x) ``` ```julia ```
14.175
64
0.567901
eng_Latn
0.46373
2c86b7071d37eb4fc5506a5b6d58e015b9ff9fc3
252
md
Markdown
WideWorldImportersDAL/README.md
jzdrake440/WideWorldImporters
7930ba19e939d645a7d5088aa8b313acb609e6cb
[ "MIT" ]
null
null
null
WideWorldImportersDAL/README.md
jzdrake440/WideWorldImporters
7930ba19e939d645a7d5088aa8b313acb609e6cb
[ "MIT" ]
null
null
null
WideWorldImportersDAL/README.md
jzdrake440/WideWorldImporters
7930ba19e939d645a7d5088aa8b313acb609e6cb
[ "MIT" ]
null
null
null
## Scaffolding Scaffold-DbContext "Server=.;Database=WideWorldImporters;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir DAL -Verbose -Force Do not use -DataAnnotations because these do not fully support many-to-many keys.
63
153
0.829365
yue_Hant
0.668541
2c86e246752dece8eaa50659ce60a9fdd710b450
425
md
Markdown
pages/fork.md
ashili/miniProject1
8f4cbcea2abd5a76dc86c4a9a835988a06eab407
[ "MIT" ]
null
null
null
pages/fork.md
ashili/miniProject1
8f4cbcea2abd5a76dc86c4a9a835988a06eab407
[ "MIT" ]
null
null
null
pages/fork.md
ashili/miniProject1
8f4cbcea2abd5a76dc86c4a9a835988a06eab407
[ "MIT" ]
2
2020-06-07T20:23:16.000Z
2020-06-08T02:39:17.000Z
# <center>Fork</center> A **fork** is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. You can fork a repo on GitHub. On the upper right corner, simply click **Fork**. You can also create a local clone to your fork. Just follow the instructions to the [clone](/pages/clone.md) section! <a href="../README.md" >![back](/images/Back.png)</a>
42.5
143
0.734118
eng_Latn
0.997127
2c87898cfbbdb4e0e687c4601789dd7c8e6f1a57
54
md
Markdown
README.md
Otiniel02/Meuperfil
3d7f502b30ee5fbc4a9e20cadddca03b8a5fe6d7
[ "MIT" ]
1
2022-03-30T22:05:43.000Z
2022-03-30T22:05:43.000Z
README.md
Otiniel02/Meuperfil
3d7f502b30ee5fbc4a9e20cadddca03b8a5fe6d7
[ "MIT" ]
null
null
null
README.md
Otiniel02/Meuperfil
3d7f502b30ee5fbc4a9e20cadddca03b8a5fe6d7
[ "MIT" ]
null
null
null
# Meuperfil Será apresentado meu perfil profissional
18
41
0.833333
por_Latn
0.999646
2c878f235ea57ee5a8b89312513477891a5f72c6
5,084
md
Markdown
tutorials/writing-hooks.md
strvcom/atlas.js
4553aeaccf0d5336a6798e2cf17cea17eed60eb2
[ "BSD-3-Clause" ]
117
2017-08-16T19:14:26.000Z
2022-03-01T14:25:13.000Z
tutorials/writing-hooks.md
strvcom/atlas.js
4553aeaccf0d5336a6798e2cf17cea17eed60eb2
[ "BSD-3-Clause" ]
74
2017-08-21T06:42:20.000Z
2021-11-26T20:21:02.000Z
tutorials/writing-hooks.md
strvcom/atlas.js
4553aeaccf0d5336a6798e2cf17cea17eed60eb2
[ "BSD-3-Clause" ]
10
2017-09-29T13:34:38.000Z
2018-12-12T13:20:57.000Z
# Writing hooks ## What is a hook? A hook is a class which implements event handlers. These event handlers can be called by the framework at specific moments in the application's lifecycle or by other components. A hook is a great way to execute code when something important happens in your application. Some common traits of a hook: - They usually interact with other components of your application (like services or actions) - They need to be called when ie. the application is about to start or when the app is shutting down (stopping) - They react to important events happening inside your application while it is running (via custom events) ## Structure of a hook A hook may implement some or all event handlers currently supported by the framework, or it may implement custom events which other components dispatch. The following events are currently supported on all services and on the Atlas instance itself: The following events are currently supported: - **`afterPrepare`** - Use this event to modify or otherwise enhance your components with extra functionality - **`beforeStart`** - Use this event to further configure your services with custom middleware, or register database models or perform other important tasks to prepare the service for handling requests. - **`afterStart`** - The application is ready for prime time at this moment and services which accept connections are accepting them now. Use this to ie. start workers or schedule jobs. - **`beforeStop`** - The application has been requested to be shut down (by calling `atlas.stop()`) - use this to stop workers or perform other important tasks. Note, however, that at this moment all services are still accepting requests, so do not shut down anything which could disrupt their normal operations! - **`afterStop`** - All services have been stopped or disconnected and the components are no longer available - use this to save important information to disk or perform other important cleanup. Here is a bare class which implements all currently supported event handlers. > **NOTE**: A hook is not directly accessible from other components! The functionality each hook implements is called upon by the Atlas class. If you feel like you need to run the code in a hook's event handler at will, it is best to implement it as an Action and have the hook simply call the action when appropriate. ```js import { Hook } from '@atlas.js/atlas' class LifecycleLogger extends Hook { // We must tell Atlas which component we want to observe. Here, we are // observing the Atlas instance itself, but you could also observe some // other action or service: static observes = 'action:user' static observes = 'atlas' // Declare your configuration schema for your component, using JSON Schema // Your actual config can be accessed from the component instance via `this.config` static config = { type: 'object', properties: { something: { type: 'string', default: 'important', }, }, } async afterPrepare() { this.log.info('done preparing!') } async beforeStart() { this.log.info('about to start!') } async afterStart() { this.log.info('started, woohoo!') } async beforeStop() { this.log.info('about to stop') } async afterStop() { this.log.info('see you later!') } } export default LifecycleLogger ``` ## Using a hook Once you have your hook class ready, it's time to add it to your app! ```js import { Atlas } from '@atlas.js/atlas' import LifecycleLogger from './lifecycle-logger' const atlas = new Atlas({ root: __dirname, env: process.env.NODE_ENV, hooks: { // Some hooks might accept configuration options - this is where you would put them! lifecycle: {} } }) // Now add the component to the app! Remember to use the same name for the component // as you used in your configuration! atlas.hook('lifecycle', LifecycleLogger) // Time to start the app! atlas.start() // You will notice a bunch of log entries appearing in your console! ``` ## Handling custom events from other components Some components might emit/dispatch other, non-standard events. To receive and handle them, all you have to do insisde a hook is to implement the event's name as a method. This method will then be invoked by Atlas when the component your Hook observes emits that event. ```js class MyHook extends Hook { // This hook will only receive events from this component static observes = 'action:users' async userDidRegister(account) { // do something interesting with account, ie. send an email using our // imaginary email client await email.send({ to: account.email, subject: 'welcome!'}) } } ``` To trigger this event from another component, ie. from an action: ```js class Users extends Action { async register(data) { // save the data somehow... const account = await db.insert(data) // This will call the userDidRegister method on all hooks which are // observing this component 💪 this.dispatch('userDidRegister', account) return account } } ```
39.71875
318
0.738002
eng_Latn
0.999371
2c880c220f84ad8b9dd04e9be274d10a1ba2bb71
2,430
md
Markdown
README.md
robbito/puml2code
9ca9f87bb311e6a9979803165ae2a0f8edb42db9
[ "MIT" ]
1
2021-09-04T10:43:26.000Z
2021-09-04T10:43:26.000Z
README.md
robbito/puml2json
9ca9f87bb311e6a9979803165ae2a0f8edb42db9
[ "MIT" ]
null
null
null
README.md
robbito/puml2json
9ca9f87bb311e6a9979803165ae2a0f8edb42db9
[ "MIT" ]
null
null
null
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![License badge](https://img.shields.io/badge/license-MIT-blue.svg)](https://img.shields.io) ## PlantUML json generator (puml2json) a command line utility that convert PlantUML -text file that represent component UML diagram to JSON. This fork is based on [puml2code]() . puml2json supports only a subset of the PlantUML language. ### Installation Global installation brings `puml2json` command to PATH ```bash $ npm i -g puml2json ``` Development installation ```bash $ git clone https://github.com/robbito/puml2json.git $ npm i $ bin/puml2json -h ``` Running tests ```bash $ npm test ``` ### Supported features * puml parser engine: [pegjs](http://pegjs.org) **NOTE:** The parser only supports a small subset of PlantUML features. Have a look at the examples folder. ### Problems? * If `puml2json` causes error like: ``` Error: line: 21 column: 3: SyntaxError: Expected "'", "--", "..", "__", "abstract ", "class ", "hide empty members", "interface ", "namespace ", "note ", "skinparam", "title ", [ \t], [#], [+], [A-Za-z_], [\-], [\n], [\r\n], [^ ,\n\r\t(){}], or [}] but "{" found. ``` it's most probably because [PEG.js based grammar](src/parser/plantuml.pegjs) does not have support for plantuml format you have in input file. **What should I do?** Please [raise ticket](https://github.com/robbito/puml2json/issues/new?template=grammar.md) with example plantuml file that does not work * generated json does not look like you expected **What should I do?** Please [raise ticket](https://github.com/robbito/puml2json/issues/new?template=output.md) with example plantuml file and generated json with some description how it should look like. **NOTE** If you are able to create PR that solves your issue it would be even more welcome. ### Usage ``` $ puml2json -h Usage: puml2json [options] Options: -V, --version output the version number -i, --input [file] input .puml file, or "stdin" -o, --out [path] Output path. When not given output is printed to console. -h, --help output usage information Examples: $ puml2json -i input.puml $ puml2json -h Use DEBUG=puml2json env variable to get traces. Example: $ DEBUG=puml2json puml2json -i input.puml ``` ### LICENSE: [MIT](LICENSE)
28.928571
140
0.679424
eng_Latn
0.846043
2c88ee5faa911ca6b413641371dff97f72845c7e
4,143
md
Markdown
documentation/structure-chaining/raw_chaining.md
qhdwight/silk-net
2075c6fe707578ed41d509b1cfff21ddf06c1c6d
[ "MIT" ]
1,142
2021-03-17T21:33:38.000Z
2022-03-31T05:42:42.000Z
documentation/structure-chaining/raw_chaining.md
qhdwight/silk-net
2075c6fe707578ed41d509b1cfff21ddf06c1c6d
[ "MIT" ]
307
2021-03-18T14:01:16.000Z
2022-03-29T10:33:59.000Z
documentation/structure-chaining/raw_chaining.md
qhdwight/silk-net
2075c6fe707578ed41d509b1cfff21ddf06c1c6d
[ "MIT" ]
131
2021-03-18T14:37:48.000Z
2022-03-29T04:47:10.000Z
# Raw Chaining [Table of Contents](overview.md#table-of-contents) - [Overview](raw_chaining.md#overview) - [Best Practices](raw_chaining.md#best-practices) - [Performance](raw_chaining.md#performance) ## Overview Raw chaining, refers to using the `IChainable` structures directly. The user is responsible for ensuring the `SType` and `PNext` fields are set, and that any data pointed to by `PNext` does not move whilst it is being consumed by the API. ## Best Practices The easiest way to prevent pointers moving is to ensure that structures are created and used locally in the same function. This ensures that they remain in the current stack frame, preventing the runtime from moving any data. Sometimes, it is desirable to store structures for later use, in which case [Managed Chaining](managed-chains.md) should be considered. Each structure defines a constructor which accepts the fields as parameters and specifies defaults, including the correct `SType`. As such it is possible, to setup the structures like so: ```csharp var accelerationStructureFeaturesKhr = new PhysicalDeviceAccelerationStructureFeaturesKHR(pNext: null); var indexingFeatures = new PhysicalDeviceDescriptorIndexingFeatures(pNext: &accelerationStructureFeaturesKhr); var features2 = new PhysicalDeviceFeatures2(pNext: &indexingFeatures); vk.GetPhysicalDeviceFeatures2(device, &features2); var depthBounds = features2.Features.DepthBounds; var runtimeDescriptorArray = indexingFeatures.RuntimeDescriptorArray; var accelerationStructure = accelerationStructureFeaturesKhr.AccelerationStructure; ``` However, notice the 'gotcha' on the first line where we set `pNExt` to `null`, even though the default is already `null`: ```csharp var accelerationStructureFeaturesKhr = new PhysicalDeviceAccelerationStructureFeaturesKHR(pNext: null); ``` We _have_ to do that, as calling `new PhysicalDeviceAccelerationStructureFeaturesKHR()`, with no parameters is equivalent to using `default`, in which case the `SType` is not set correctly. As such it is safest to always be explicit, e.g.: ```csharp var accelerationStructureFeaturesKhr = new PhysicalDeviceAccelerationStructureFeaturesKHR {SType = StructureType.PhysicalDeviceAccelerationStructureFeaturesKhr}; var indexingFeatures = new PhysicalDeviceDescriptorIndexingFeatures { SType = StructureType.PhysicalDeviceDescriptorIndexingFeatures, PNext = &accelerationStructureFeaturesKhr }; var features2 = new PhysicalDeviceFeatures2 { SType = StructureType.PhysicalDeviceFeatures2, PNext = &indexingFeatures }; vk.GetPhysicalDeviceFeatures2(device, &features2); var depthBounds = features2.Features.DepthBounds; var runtimeDescriptorArray = indexingFeatures.RuntimeDescriptorArray; var accelerationStructure = accelerationStructureFeaturesKhr.AccelerationStructure; ``` Alternatively, you can make use of `IChainable`, though that incurs a boxing overhead, at which point you should consider whether raw chaining is the right approach. For example: ```csharp var accelerationStructureFeaturesKhr = new PhysicalDeviceAccelerationStructureFeaturesKHR(); ((IChainable) accelerationStructureFeaturesKhr).StructureType(); var indexingFeatures = new PhysicalDeviceDescriptorIndexingFeatures {PNext = &accelerationStructureFeaturesKhr}; ((IChainable) indexingFeatures).StructureType(); var features2 = new PhysicalDeviceFeatures2 {PNext = &indexingFeatures}; ((IChainable) features2).StructureType(); ``` ## Performance In general Raw Chaining will almost always allow the greatest performance, however it may not be significantly better than either of the other two methodologies, depending on the exact use case. In some cases it can be slower, for example if the chain ends up be passed around and copy operations are triggerred inadvertently on larger structures. For this reason, it is usually better to start with [Managed Chaining](managed-chaining.md), and optimise hot paths were necessary, using benchmarking to validate results. Starting with one of the other two approaches will usually make it easier to validate chain types, and improve compile time checking during development.
48.174419
120
0.817524
eng_Latn
0.907466
2c8939cb77da5aaebaa9a9e94fe43ab3f6377d9a
1,834
md
Markdown
README.md
plokhotnyuk/scala-vs-java
925edffbd3ee5f46a0bf898d3780ec72f4ced25d
[ "Apache-2.0" ]
8
2015-03-23T04:23:34.000Z
2021-02-21T05:18:57.000Z
README.md
plokhotnyuk/scala-vs-java
925edffbd3ee5f46a0bf898d3780ec72f4ced25d
[ "Apache-2.0" ]
1
2021-02-21T05:19:59.000Z
2021-06-22T16:07:56.000Z
README.md
plokhotnyuk/scala-vs-java
925edffbd3ee5f46a0bf898d3780ec72f4ced25d
[ "Apache-2.0" ]
3
2015-09-09T04:43:28.000Z
2019-06-26T08:14:02.000Z
Performance of Scala compared to Java Main goal of this project is to show that it is possible to write idiomatic Scala code which run on par with Java in terms of execution speed and memory consumption. [![Travis CI Build Status](https://secure.travis-ci.org/plokhotnyuk/scala-vs-java.png)](http://travis-ci.org/plokhotnyuk/scala-vs-java) [![Shippable Build Status](https://api.shippable.com/projects/550ee5965ab6cc1352a767a9/badge?branchName=master)](https://app.shippable.com/projects/550ee5965ab6cc1352a767a9/builds) [![Wercker Build Status](https://app.wercker.com/status/a73f239e6cf3a305c53182e4c99b83d9/s "wercker status")](https://app.wercker.com/project/bykey/a73f239e6cf3a305c53182e4c99b83d9) ## Hardware required - CPU: 2 cores or more - RAM: 2Gb or greater ## Software installed required - JDK: 1.7.0_x or newer - sbt: 0.13.x ## Building & running benchmarks Use following command-line instructions to build from sources and run all benchmarks: ```sh sbt -Dsbt.log.noformat=true "run .*" >outX.txt ``` For printing format of mask, other options & list of available profilers use following commands: ```sh sbt -Dsbt.log.noformat=true "run -h" > help.txt sbt -Dsbt.log.noformat=true "run -lprof" > profilers.txt ``` NOTE: First time compiling on JDK 7 can require bigger size of thread stack: ``` sbt -J-Xss1m compile ``` ## Test result descriptions Results of running on different environments: #### out_8u40.txt Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz (max 3.50GHz), RAM 12Gb DDR3-1333, Ubuntu 14.10, Oracle JDK 1.8.0_40-b25 64-bit #### out_8u31.txt Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz (max 3.50GHz), RAM 12Gb DDR3-1333, Ubuntu 14.10, Oracle JDK 1.8.0_31-b13 64-bit #### out_7u76.txt Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz (max 3.50GHz), RAM 12Gb DDR3-1333, Ubuntu 14.10, Oracle JDK 1.7.0_76-b13 64-bit
40.755556
181
0.750273
eng_Latn
0.597663
2e9d45177f99cbeecd163553966bb77989c0a523
27
md
Markdown
qmk_firmware/keyboards/beatervan/keymaps/via/readme.md
DanTupi/personal_setup
911b4951e4d8b78d6ea8ca335229e2e970fda871
[ "MIT" ]
null
null
null
qmk_firmware/keyboards/beatervan/keymaps/via/readme.md
DanTupi/personal_setup
911b4951e4d8b78d6ea8ca335229e2e970fda871
[ "MIT" ]
null
null
null
qmk_firmware/keyboards/beatervan/keymaps/via/readme.md
DanTupi/personal_setup
911b4951e4d8b78d6ea8ca335229e2e970fda871
[ "MIT" ]
null
null
null
# Via keymap for beatervan
13.5
26
0.777778
eng_Latn
0.395621
2e9e89cdca0f731797989ca6a9eccf9ef09b5113
84
md
Markdown
tag/Perceptions.md
rekindle-blog/rekindle-blog.github.io
ec17014be5435ed229bcbfaac6e970485a6e1d7d
[ "MIT" ]
null
null
null
tag/Perceptions.md
rekindle-blog/rekindle-blog.github.io
ec17014be5435ed229bcbfaac6e970485a6e1d7d
[ "MIT" ]
2
2021-07-13T21:22:51.000Z
2021-09-28T05:51:31.000Z
tag/Perceptions.md
rekindle-blog/rekindle-blog.github.io
ec17014be5435ed229bcbfaac6e970485a6e1d7d
[ "MIT" ]
null
null
null
--- layout: tag_page title: "Tag: Perceptions" tag: Perceptions robots: noindex ---
12
25
0.714286
kor_Hang
0.24381
2e9f9e95962bc79f1a0cfda7ed624c2b092df7a4
1,773
md
Markdown
_posts/2017-04-23-HDU1007.md
w-devin/MyBlog
4798049bc422dbaf357b998df57f61e18e4b4cd8
[ "MIT" ]
null
null
null
_posts/2017-04-23-HDU1007.md
w-devin/MyBlog
4798049bc422dbaf357b998df57f61e18e4b4cd8
[ "MIT" ]
null
null
null
_posts/2017-04-23-HDU1007.md
w-devin/MyBlog
4798049bc422dbaf357b998df57f61e18e4b4cd8
[ "MIT" ]
1
2018-05-15T15:45:06.000Z
2018-05-15T15:45:06.000Z
--- layout: post title: "HDU 1007" date: 2017-04-23 14:27:18 +0800 categories: ACM tags: Partition author: SteveDevin mathjax: true --- * content {:toc} ## 思路: 分治裸题, 求平面最接近点对: 对于要求最接近点对的区间S[l, r], 取 m = (l + r) >> 1, 则最短距离为以x或y排序后的区间 S[l, m], S[m + 1, r], 以及左右两个区间之间某两个点距离的最小值. 设 min(S[l, m], S[m + 1, r]) = ret; 则两个区间之间的最短距离只需考虑 x 坐标 在 [m - ret, m + ret]的点即可, 进而可以证明只需考虑[m - ret, m + ret]中的6个点即可. 我先是枚举[m - ret, m + ret] 所有的点求最短距离, TLE. 换成区间内最近的6个点后AC (感觉这样不严谨, 数据太水?) ## 代码: ```cpp #include <iostream> #include <cstdlib> #include <cstring> #include <cstdio> #include <algorithm> #include <cmath> using namespace std; const int maxn = 100000 + 2; struct Point{ double x; double y; }points[maxn]; int n; bool comp(Point &a, Point &b) { if(a.x == b.x) return a.y < b.y; return a.x < b.x; } double calc(int a, int b) { return sqrt(fabs(pow(points[a].x - points[b].x, 2) + pow(points[a].y - points[b].y, 2))); } double CPair(int l, int r) { if(r - l + 1 < 2) return 1 << 28; int m = (l + r) >> 1; double ret = 1 << 28; ret = CPair(l, m); ret = min(ret, CPair(m + 1, r)); int L = m, R = 0; //while(L && points[L].x > points[m].x - ret) L--; // while(R < r && points[R].x < points[m].x + ret) R++; L = max(m - 3, l); R = min(m + 3, r); for(int j = L; j <= m; j++) for(int k = m + 1; k <= r; k++) ret = min(ret, calc(j, k)); return ret; } int main() { while(~scanf("%d", &n) && n) { for(int i = 0; i < n; i++) scanf("%lf%lf", &points[i].x, &points[i].y); sort(points, points + n, comp); printf("%.2f\n", CPair(0, n - 1) / 2); } } ``` ## Minds: 感觉自己越来越水了, 之前刷了那么长时间的题, 才不过两个月左右没刷题就废了. 距离省赛还有两个周, 好慌啊……
18.278351
119
0.526791
eng_Latn
0.298611
2e9ff10956d707f76d18f3cd03e022bea790649c
245
md
Markdown
formatted/Interstitial Journaling 间隙日记.md
JimmyLv/roam-cn.github.io
5849e966f8d80e6278fdd106eb6d9b29b5e0d98f
[ "MIT" ]
12
2020-08-01T08:50:12.000Z
2021-11-08T02:33:25.000Z
formatted/Interstitial Journaling 间隙日记.md
JimmyLv/roam-cn.github.io
5849e966f8d80e6278fdd106eb6d9b29b5e0d98f
[ "MIT" ]
null
null
null
formatted/Interstitial Journaling 间隙日记.md
JimmyLv/roam-cn.github.io
5849e966f8d80e6278fdd106eb6d9b29b5e0d98f
[ "MIT" ]
7
2020-07-25T16:48:40.000Z
2021-01-14T02:16:06.000Z
# Backlinks ## [Roam stack 0915 Journaling Summit note-taking 🏄‍♀️ ](Roam stack 0915 Journaling Summit note-taking 🏄‍♀️ .md) - 几个月前,他开始写 Morning Pages,同时会追踪自己的感受和能量水平;有的条目中,他还会加上[Interstitial Journaling 间隙日记](Interstitial Journaling 间隙日记.md),
40.833333
117
0.767347
kor_Hang
0.11512
2ea17e344ed7007755aeff4d161a6c320f214c2d
976
md
Markdown
AlchemyInsights/turn-off-focused-inbox.md
isabella232/OfficeDocs-AlchemyInsights-pr.vi-VN
18a0b2fe64df0f41e705a51ee20a4f422a5ac9aa
[ "CC-BY-4.0", "MIT" ]
4
2020-05-19T19:08:25.000Z
2021-02-19T19:52:24.000Z
AlchemyInsights/turn-off-focused-inbox.md
isabella232/OfficeDocs-AlchemyInsights-pr.vi-VN
18a0b2fe64df0f41e705a51ee20a4f422a5ac9aa
[ "CC-BY-4.0", "MIT" ]
3
2020-06-02T23:31:24.000Z
2022-02-09T06:55:29.000Z
AlchemyInsights/turn-off-focused-inbox.md
isabella232/OfficeDocs-AlchemyInsights-pr.vi-VN
18a0b2fe64df0f41e705a51ee20a4f422a5ac9aa
[ "CC-BY-4.0", "MIT" ]
3
2019-10-09T20:33:30.000Z
2021-10-09T10:36:59.000Z
--- title: 8000001 Tắt Hộp thư đến Tập trung ms.author: daeite author: daeite manager: jackiesm ms.date: 04/21/2020 ms.audience: Admin ms.topic: article ms.service: o365-administration ROBOTS: NOINDEX, NOFOLLOW localization_priority: Normal ms.collection: Adm_O365 ms.custom: - "989" - "8000001" - "8000059" ms.assetid: 7d169f0f-828b-4d2a-b60b-ec9297df2c59 ms.openlocfilehash: 8ab443c16069b44563a342948ca29a65d61a6616a5bdb8184978e70191eebcbc ms.sourcegitcommit: b5f7da89a650d2915dc652449623c78be6247175 ms.translationtype: MT ms.contentlocale: vi-VN ms.lasthandoff: 08/05/2021 ms.locfileid: "54038719" --- # <a name="turn-off-focused-inbox"></a>Tắt Hộp thư đến Tập trung 1. Chọn **hộp Cài đặt** đến Tập \> **trung**. 2. Bên **dưới Khi nhận email,** chọn Không sắp xếp **thư**. 3. Chọn **OK**. Để tìm hiểu thêm, xem [mục Hộp thư đến Tập trung dành cho Outlook.](https://support.office.com/article/f445ad7f-02f4-4294-a82e-71d8964e3978?wt.mc_id=Office_Outlook_com_Alchemy)
28.705882
176
0.769467
vie_Latn
0.751554
2ea1b1b9b89269a68714b1217257e2be416f8323
2,800
md
Markdown
src/content/posts/2011-03-02-ie9-console-thoughts.md
raveling/aaronpowell.github.io
f71f50e72378dc3dc8698261c3d6de805c5e5696
[ "Apache-2.0" ]
10
2015-02-28T14:14:10.000Z
2021-03-28T02:09:07.000Z
src/content/posts/2011-03-02-ie9-console-thoughts.md
raveling/aaronpowell.github.io
f71f50e72378dc3dc8698261c3d6de805c5e5696
[ "Apache-2.0" ]
13
2016-11-14T06:17:56.000Z
2020-03-09T03:24:10.000Z
src/content/posts/2011-03-02-ie9-console-thoughts.md
raveling/aaronpowell.github.io
f71f50e72378dc3dc8698261c3d6de805c5e5696
[ "Apache-2.0" ]
15
2016-10-10T20:59:13.000Z
2022-01-19T03:13:41.000Z
--- title: "Making the Internet Explorer JavaScript tools better" metaTitle: "Making the Internet Explorer JavaScript tools better" description: "Some thoughts on how to improve the IE9 JavaScript developer tools" revised: "2011-03-03" date: "2011-03-02" tags: - "ie9" - "javascript" - "web" - "web-dev" migrated: "true" urls: - "/web-dev/ie9-console-thoughts" summary: "" --- Previously I've blogged about a limitation of [console.assert from the IE9 developer tools][1]. Also recently [Tatham Oddie][2] blogged some overall [thoughts on improving IE9 for developers][3] and I decided to elaborate some thoughts I've got around the JavaScript developer tools. JavaScript developer tools are a very important part of my toolbox, I really am quite a JavaScript fan (as you may know if you read my blog), so when I find something that irks me it *really* irks me. * Object inspection * When you want to inspect an object in dev tools my first thought is to dump it into the console. While the object will dump out it's not great, if you have nested objects they'll produce the nice `[object Object]`, also you can't expand/ collapse the object like with other browsers. If you want to do that you need to put it into the **Watch** window. This multi-step process is a bit tedious, particularly if you're prototyping something like jQuery selectors or defining objects on the fly. * Code completion * This is something that I've noticed in recent versions of Firebug and the Chrome developer tools and it's really handy, being able to use intellisence on a JavaScript object. * Console clearing * There doesn't seem to be a way to clear the console other than calling `console.clear()`. * Locals & Call Stack outside of debugging * I'm not quite sure when you'd use those tabs on the *Script* window when you're not in a debugging session. * No cross-tab interaction * With Chrome and Firebug when you drop a DOM object in the console and you hover over it the element reacts on the browser. This is really useful, especially when working with something like jQuery. * jQuery inspection * A jQuery selector will return an array, but it's also an object literal, meaning it's been augmented with a number of non-array properties. That stuff isn't what you're interested in, you just want the selector results. I'd much prefer that it is treated as just an array and the extended properties are ignored. # Wrapping up Mostly what I've outlined here is nit-picking on the developer tools, they are better than the previous versions and here's hoping they take some inspiration from the other browsers. [1]: /ie-9-console-assert [2]: http://tath.am [3]: http://blog.tatham.oddie.com.au/2011/02/28/making-internet-explorer-better-for-developers/
60.869565
496
0.756071
eng_Latn
0.999202
2ea2ae4809e79300601d7a3f2681f7bd01170580
360
md
Markdown
_posts/2016-06-17-iMacs-yey!.md
theipod3339/1st-one
f0a2d8374fd472e03fcc68edf1dfd92c319347ac
[ "MIT" ]
null
null
null
_posts/2016-06-17-iMacs-yey!.md
theipod3339/1st-one
f0a2d8374fd472e03fcc68edf1dfd92c319347ac
[ "MIT" ]
null
null
null
_posts/2016-06-17-iMacs-yey!.md
theipod3339/1st-one
f0a2d8374fd472e03fcc68edf1dfd92c319347ac
[ "MIT" ]
null
null
null
--- title: iMacs yey! layout: post author: niklas.damarell permalink: /imacs-yey!/ source-id: 1D6Dpa_I6lZkp7_hV_ezPr1xtpsuKEI8dXi5V86_-pyA published: true --- iMacs yey!! Today we are in a new room (IT1) so now we have iMacs (yesss) Andrew and I have started planning our game (which is a bit like space invaders) And everything is going well… SO FAR…...
18.947368
80
0.747222
eng_Latn
0.988079
2ea2c3be5cddc4666a3e0063e1d5425fc800e7f7
693
md
Markdown
node_modules/decentraland-ecs/docs/decentraland-ecs.vector4.equalswithepsilon.md
nearnshaw/ECS-fish-in-circles
b37fd3feb9ee006be3645e7062a3ed46ca26f698
[ "Apache-2.0" ]
null
null
null
node_modules/decentraland-ecs/docs/decentraland-ecs.vector4.equalswithepsilon.md
nearnshaw/ECS-fish-in-circles
b37fd3feb9ee006be3645e7062a3ed46ca26f698
[ "Apache-2.0" ]
null
null
null
node_modules/decentraland-ecs/docs/decentraland-ecs.vector4.equalswithepsilon.md
nearnshaw/ECS-fish-in-circles
b37fd3feb9ee006be3645e7062a3ed46ca26f698
[ "Apache-2.0" ]
null
null
null
[Home](./index) &gt; [decentraland-ecs](./decentraland-ecs.md) &gt; [Vector4](./decentraland-ecs.vector4.md) &gt; [equalsWithEpsilon](./decentraland-ecs.vector4.equalswithepsilon.md) # Vector4.equalsWithEpsilon method Boolean : True if the current Vector4 coordinates are each beneath the distance "epsilon" from the given vector ones. **Signature:** ```javascript equalsWithEpsilon(otherVector: ReadOnlyVector4, epsilon?: number): boolean; ``` **Returns:** `boolean` true if they are equal ## Parameters | Parameter | Type | Description | | --- | --- | --- | | `otherVector` | `ReadOnlyVector4` | vector to compare against | | `epsilon` | `number` | (Default: very small number) |
31.5
182
0.709957
eng_Latn
0.81926
2ea347d34a81c48df201a9f853e6e0bc4320fd8c
17,746
md
Markdown
content/blog/master-higher-order-components/index.md
janhesters/geromekevin
01d35217cb099612ae85383c5422616bfa8c1e7c
[ "MIT" ]
2
2020-05-26T09:15:58.000Z
2020-07-06T23:43:16.000Z
content/blog/master-higher-order-components/index.md
janhesters/geromekevin
01d35217cb099612ae85383c5422616bfa8c1e7c
[ "MIT" ]
11
2021-03-01T20:18:22.000Z
2022-02-26T10:15:10.000Z
content/blog/master-higher-order-components/index.md
janhesters/geromekevin
01d35217cb099612ae85383c5422616bfa8c1e7c
[ "MIT" ]
null
null
null
--- title: Master Higher-Order Components in React Today date: '2020-02-06' description: Functions that take in and return React components. tags: ['react', 'hoc', 'higher-order'] --- In the next ten minutes, you are going to understand how HOCs in React work. You will find out how you can write your own and how to compose them. --- Understanding higher-order components (HOCs) is crucial if you want to become or consider yourself an advanced React developer. If you can't **name the four essential characteristics of HOCs**, this article is here to help you. Let's take a look at the formal definition of HOCs and understand the theory behind it. **Note:** make sure you are ["Understanding Arrow Functions"](https://janhesters.com/understanding-arrow-functions/) and the basics of [React](https://reactjs.org/). ## Abstract A Higher-Order component is a function that takes a component and returns a new component. The [React docs](https://reactjs.org/docs/higher-order-components.html) further state: > "A higher-order component (HOC) is an advanced technique in React for reusing component logic. HOCs are not part of the React API, per se. They are a pattern that emerges from React’s compositional nature." The theory behind HOCs comes from ... ## Function Composition In mathematics, [function composition](https://en.wikipedia.org/wiki/Function_composition) is the act of combining functions to form a new function or a result, by applying one function to the result of another. In JavaScript, this would look like this: ```js const inc = n => n + 1; // f const double = n => n * 2; // g // h(x) = (f ∘ g)(x) = f(g(x)) const doubleThenInc = x => inc(double(x)); ``` Notice how we assign the combined functions to a new variable called `doubleThenInc`, which we can do because JavaScript has **first-class** functions. A programming language has first-class functions if it allows you to assign functions to variables. We can abstract the composition to combine any two functions: ```js const compose2 = (f, g) => x => f(g(x)); const doubleThenInc2 = compose2(inc, double); ``` We omit the argument `x` in the definition of `doubleThenInc2`. This means `doubleThenInc2` is defined **point-free**, which is when you define a function without mentioning its arguments. If we want to compose an arbitrary amount of functions, we need to [generalize the composition](https://medium.com/javascript-scene/curry-and-function-composition-2c208d774983). ```js const compose = (...fns) => x => fns.reduceRight((y, f) => f(y), x); const doubleThenInc3 = compose(inc, double); ``` More sophisticated versions of the `compose` function are frequently exposed by libraries that leverage HOCs such as Redux and Apollo. The arguments and return values of functions have to line up to compose them. For example, you can't compose a function that accepts an object and returns a string with a function that receives an array and returns a number. Since `inc` and `double` both take and return numbers, we can compose them in any order. Additionally, all `doubleThenInc`s are **higher-order functions**. A higher-order function is a function that either receives or returns a function or does both. ```js const multiply = multiplier => multiplicant => multiplier * multiplicant; const double = multiply(2); const map = f => arr => arr.map(f); const doubleMap = map(double); const numbers = [1, 2, 3]; doubleMap(numbers); // [2, 4, 6] ``` - `multiply` IS a higher-order function because it takes in a number and returns a function. - `double` IS NOT a higher-order function because it neither receives nor returns a function. It is defined point-free. - `map` IS a higher-order function because it both accepts and returns a function. - `doubleMap` IS NOT a higher-order function because it neither receives nor returns a function. It is defined point-free. React components can either be functions or classes. In JavaScript, [the `class` keyword](https://github.com/getify/You-Dont-Know-JS/blob/1st-ed/es6%20%26%20beyond/ch3.md#classes) is essentially a wrapper for the `function` keyword and handles prototypal inheritance. Since all components are functions in React (classes compile to constructor functions) and JavaScript has higher-order functions, we get HOCs for free. That is what the docs mean when they say HOCs "are a pattern that emerges from React’s compositional nature." Now you should understand the basic definition of HOCs: > A Higher-Order component is a function that takes a component and returns a new component. Any function whose input and output is a React component is a HOC. ## HOCs by Example Let's look at the definition of a higher-order component and write our own using TDD. I'm going to use [RITEway](https://github.com/ericelliott/riteway) to write the unit tests [because of its genius API](https://medium.com/javascript-scene/rethinking-unit-test-assertions-55f59358253f). We can deduce two requirements from the definition: 1. HOCs are functions. 2. HOCs take a component and return a component. We can capture these requirements in our unit tests. ```jsx import React from 'react'; import { describe } from 'riteway'; import render from 'riteway/render-component.js'; import myHOC from './my-hoc.js'; function MyComponent({ title = 'Hello' }) { return <p className="title">{title}</p>; } describe('myHOC', async assert => { { const WrappedComponent = myHoc(MyComponent); const $ = render(<WrappedComponent />); assert({ given: 'a component', should: 'return the component', actual: $('.title').html().trim(), expected: 'Hello', }); } }); ``` The test checks both requirements because when this test passes, we can logically deduce that our HOC is a function and that it returns a component without spelling out those requirements explicitly. If the HOC is not a function, but you try to call it, it will throw and your unit test will fail with a good stack trace. Likewise, the test renders the return value of the HOC, which ensures it is a React component. Notice how we did not test for `typeof function` here. Unit tests which only test types are an anti-pattern. It's redundant with simply calling the function and checking its output value. In general, type checks are redundant with well-written unit tests. This is why unit tests can catch most type errors, without the need for additional measures like type annotations (though annotations and type inference can still be useful to enable IDE tooling). We can get the test to pass by making our HOC the [identity function](https://en.wikipedia.org/wiki/Identity_function). ```js export default Component => Component; ``` ### Why HOCs? Our current HOC does nothing. **HOCs excel at abstracting logic or styling.** They allow you to avoid unnecessary code duplication. If you find yourself repeating certain JSX or logic patterns in your component, you might be able to abstract them away using HOCs. For example, if you have a page for your web site or a screen for your React Native app, most pages or screens have the same layout. They all share elements such as headers, footers or formatting containers. ### Making Our HOC Useful We can add styling abilities to our HOC and call it `withLayout` instead of `MyHOC`. ```jsx import Container from '@material-ui/core/Container'; import CssBaseline from '@material-ui/core/CssBaseline'; import React, { Fragment } from 'react'; export default Component => () => ( <Fragment> <CssBaseline /> <Container maxWidth="lg"> <Component /> </Container> </Fragment> ); ``` In the example above, I used one of my favorite UI component libraries [Material-UI](https://material-ui.com/). In React Native, I find myself writing similar layout HOCs using [React Navigation's `<SafeAreaView />`](https://reactnavigation.org/docs/en/handling-iphonex.html). What does our test say? ```bash withLayout() ✔ Given a component: should return the component. passed: 1 of 1 tests (1.4s) ``` Still works! 👌🏻 We encounter a new problem here. Can you spot it? If not, that is okay. Let me show you the test that exposes the error. Notice how I also changed the variable and file names to reflect the new functionality of our custom HOC. ```jsx import React from 'react'; import { describe } from 'riteway'; import render from 'riteway/render-component'; // highlight-start import withLayout from './with-layout.js'; // highlight-end function MyComponent({ title = 'Hello' }) { return <p className="title">{title}</p>; } // highlight-start describe('withLayout()', async assert => { // highlight-end { // highlight-start const WrappedComponent = withLayout(MyComponent); // highlight-end const $ = render(<WrappedComponent />); assert({ given: 'a component', should: 'return the component', actual: $('.title').html().trim(), expected: 'Hello', }); } // highlight-start { const WrappedComponent = withLayout(MyComponent); const $ = render(<WrappedComponent title="foo" />); assert({ given: 'props for the wrapped component', should: 'pass on the props to the wrapped component', actual: $('.title').html().trim(), expected: 'foo', }); } // highlight-end }); ``` The new test fails. ```bash withLayout() ✔ Given a component: should return a component ✖ Given props for the wrapped component: should pass on the props to the wrapped component -------------------------------------------------------------------------------------------- error fired ReferenceError: foo is not defined operator: deepEqual diff: "foo" => "Hello" source: at assert (<some-stack-trace>) error Command failed with exit code 1. passed: 1, failed: 1 of 2 tests (1.4s) ``` The test exposes the problem: We don't pass `props` to the wrapped component. We can make the test pass by passing on the props the HOC receives. ```jsx import Container from '@material-ui/core/Container'; import CssBaseline from '@material-ui/core/CssBaseline'; import React, { Fragment } from 'react'; export default Component => props => ( <Fragment> <CssBaseline /> <Container maxWidth="lg"> <Component {...props} /> </Container> </Fragment> ); ``` However, the abstraction capabilities of HOCs wouldn't be as useful if they didn't have another key feature. [Eric Elliott describes](https://slack-redir.net/link?url=https%3A%2F%2Fmedium.com%2Fjavascript-scene%2Fdo-react-hooks-replace-higher-order-components-hocs-7ae4a08b7b58) it like this: > "The primary benefit of HOCs is not what they enable (there are other ways to do it); it's how they compose together at the page root level." In other words, **the key to using HOCs well is to know how and when to compose them**. We can write a test to demonstrate the "how". _Spoiler:_ it is fundamentally function composition. ```jsx { const compose = (...fns) => x => fns.reduceRight((y, f) => f(y), x); const withTitle = Component => props => ( <Component title="foo" {...props} /> ); const ComposedComponent = compose( withLayout, withTitle )(MyComponent); const $ = render(<ComposedComponent />); assert({ given: 'used in composition with other HOCs', should: 'pass on the props of the other HOCs', actual: $('.title').html().trim(), expected: 'foo', }); } ``` We compose `withLayout` with `withTitle`. `withTitle` is a HOC that injects a `title` prop to a component. You probably encounter this when using [React Redux' `connect`](https://react-redux.js.org/api/connect) with `mapStateToProps`. It is common for HOCs to accept configuration objects similar to how `connect` does it with `mapStateToProps`. (In fact, it accepts two more arguments: `mapDispatchToProps` and `mergeProps`.) Our layout HOC could take in a string that specifies which layout to use. ```js export default layoutType => Component => props => { if (layoutType === 'fancy') { // return something fancy 💅 } else { // return something boring 😑 } } ``` To answer the question of _when_ to use composition for HOCs, remember what I told you earlier. HOCs are excellent if you want to abstract away common logic between many components. We chose to give our function a layout functionality because that is one area that most screens of your application will share. Using `compose` you can define a HOC that you can use to wrap all your pages with. ### Real-World Example Here is a real-world example of a `SignInForm` container component. See if you understand it, then read the explanation to check if you were correct. ```js import { withFormik } from 'formik'; import compose from 'ramda/src/compose.js'; import { connect } from 'react-redux'; import { withRouter } from 'react-router'; import SignInComponent from './sign-in-form-component.js'; import { isAuthenticating, signIn } from './user-authentication-reducer.js'; import { signInValidationSchema } from './validation-schema.js'; const initialFormValues = { email: '', password: '' }; const mapStateToProps = state => ({ loading: isAuthenticating(state) }); const formikConfig = { handleSubmit: ({ email, password }, { props: { signIn } }) => { signIn({ email, password }); }, mapPropsToValues: () => initialFormValues, validationSchema: signInValidationSchema, }; // highlight-start export default compose( withRouter, connect( mapStateToProps, { signIn } ), withFormik(formikConfig), )(SignInComponent); // highlight-end ``` ### HOC Composition In the example above we composed 3 different HOCs. 1. `withRouter` is a HOC from React Router DOM. It injects the `history` object, which we can use to navigate to the password reset screen, when the user clicks the "Forgot Password" button. 2. `connect` is a HOC from React Redux. We use it to connect our component to our Redux store. We inject the `loading` prop and the `signIn` action creator. 3. `withFormik` is a HOC from Formik. Formik let's you control local form state and handles form validation for you. Sometimes you need to [copy over](https://reactjs.org/docs/higher-order-components.html#static-methods-must-be-copied-over) static properties such as `propTypes`, `defaultProps` and [`getStaticProps` (if you are using Next.js)](https://nextjs.org/learn/basics/fetching-data-for-pages) from the inner component to the resulting component. Here is a Higher-Order HOC (a function that returns a HOC), which does this for you. ```jsx import hoistNonReactStatics from 'hoist-non-react-statics'; const hoistStatics = higherOrderComponent => Component => { const WrappedComponent = higherOrderComponent(Component); hoistNonReactStatics(WrappedComponent, Component); return WrappedComponent; }; ``` **BTW:** [When using HOCs you need to treat `ref`s special, too.](https://reactjs.org/docs/higher-order-components.html#refs-arent-passed-through) If you need to pass `ref`s through a component hierarchy, you should probably be using a hook for the `ref` instead of a HOC. We know from function composition that you can only compose functions whose types line up. Similarly, you need to pay attention to the order in which you compose your HOCs. One HOC can inject props that another might depend on. If the one that depends on the props gets injected before the prop injecting HOC, your app might break. ```jsx const formatTitleProp = ({ title, ...otherProps }) => ({ title: title.toUpperCase(), ...otherProps, }); const withTitle = Component => props => <Component title="Hello" {...props} /> const withFormattedTitle = Component => props => <Component {...formatTitleProp(props)} /> const breakingApp = compose( withFormattedTitle, withTitle, )(App); // 🔴 Breaks! const workingApp = compose( withTitle, withFormattedTitle, )(App); // ✅ Correct order! ``` If you switch the order of HOCs in the real-world example above, it will break, too. `withFormik(formikConfig)` depends on `signIn` being defined, and `transformProps` depends on both `history` and the `formikBag` props. HOCs with implicit dependencies on each other may be a code smell. In some cases, it may be better to make those dependencies explicit, by importing the shared functionality into the components that need them, or taking the dependency as a configuration parameter of the HOC. It's probably ok to implicitly depend on something that's pretty universal to all your pages, such as your store provider. That's it. 👏🏻 You have learned how to write custom HOCs and how to compose HOCs to generalize and reuse common logic and styling. 🎓 Do you want to **see another real-world HOC example** I wrote for open source? Check out ["How to Add a Badge to Icons in React Native"](https://janhesters.com/how-to-add-a-badge-to-icons-in-react-native/). The code of that tutorial [ended up in React Native Elements](https://react-native-elements.github.io/react-native-elements/docs/badge.html#withbadge-higher-order-component). And if you'd like to learn **how to use HOCs with TypeScript**, read ["TypeScript HOCs and Decorators in React"](https://janhesters.com/typescript-hoc-and-decorators-in-react/). If you prefer to write class- instead of function-components, these two articles show examples using `class`. ## Recap Higher-order components: 1. Take a component and return a new component. 2. Emerge from the fact that HOCs are functions which always take and return the same type (a React component). 3. Are composable in a point-free, declarative way. 4. Are generally used to abstract and reuse component logic or styling. We built a custom HOC and looked at a real-world example to understand how to compose HOCs.
45.040609
669
0.730982
eng_Latn
0.993452
2ea41cecd4c53bda10dddd35a632c15c48be4367
2,420
md
Markdown
content/publication/harper-2011-kl/index.md
sharpic/academic-kickstart
1fe9198c0017085b53410ac17471b21f439ba8ec
[ "MIT" ]
null
null
null
content/publication/harper-2011-kl/index.md
sharpic/academic-kickstart
1fe9198c0017085b53410ac17471b21f439ba8ec
[ "MIT" ]
null
null
null
content/publication/harper-2011-kl/index.md
sharpic/academic-kickstart
1fe9198c0017085b53410ac17471b21f439ba8ec
[ "MIT" ]
null
null
null
--- title: "The Expertise Effect on Web Accessibility Evaluation Methods" date: 2011-11-01 publishDate: 2020-04-22T15:14:20.158271Z authors: ["Giorgio Brajnik", "Yeliz Yesilada", "Simon Harper"] publication_types: ["2"] abstract: "Web accessibility means that disabled people can effectively perceive, understand, navigate, and interact with the web. Web accessibility evaluation methods are needed to validate the accessibility of web pages. However, the role of subjectivity and of expertise in such methods is unknown and has not previously been studied. This article investigates the effect of expertise in web accessibility evaluation methods by conducting a Barrier Walkthrough (BW) study with 19 expert and 57 nonexpert judges. The BW method is an evaluation method that can be used to manually assess the accessibility of web pages for different user groups such as motor impaired, low vision, blind, and mobile users. Our results show that expertise matters, and even though the effect of expertise varies depending on the metric used to measure quality, the level of expertise is an important factor in the quality of accessibility evaluation of web pages. In brief, when pages are evaluated with nonexperts, we observe a drop in validity and reliability. We also observe a negative monotonic relationship between number of judges and reproducibility: more evaluators mean more diverse outputs. After five experts, reproducibility stabilizes, but this is not the case with nonexperts. The ability to detect all the problems increases with the number of judges: With 3 experts all problems can be found, but for such a level 14 nonexperts are needed. Even though our data show that experts rated pages differently, the difference is quite small. Finally, compared to nonexperts, experts spent much less time and the variability among them is smaller, they were significantly more confident, and they rated themselves as being more productive. The article discusses practical implications regarding how BW results should be interpreted, how to recruit evaluators, and what happens when more than one evaluator is hired." featured: false publication: "*Human--Computer Interaction*" tags: ["Accessibility", "Expertise", "Human Centred Web", "Mobile Web", "RIAM", "Web Accessibility"] url_pdf: "http://www.simonharper.info/publications/Harper2011kl.pdf" doi: "http://dx.doi.org/10.1080/07370024.2011.601670" ---
161.333333
1,909
0.806612
eng_Latn
0.998
2ea4e5bc3962aac5a5c6514e797ed36d2394bb29
379
md
Markdown
doc/ref/basic_value/~basic_value.md
je4d/taocpp_json
df5e59cc555ed640e32e9264acb72520f81d9f50
[ "BSD-3-Clause", "MIT" ]
null
null
null
doc/ref/basic_value/~basic_value.md
je4d/taocpp_json
df5e59cc555ed640e32e9264acb72520f81d9f50
[ "BSD-3-Clause", "MIT" ]
null
null
null
doc/ref/basic_value/~basic_value.md
je4d/taocpp_json
df5e59cc555ed640e32e9264acb72520f81d9f50
[ "BSD-3-Clause", "MIT" ]
null
null
null
### `tao::json::basic_value::~basic_value` ```c++ ~basic_value(); // (1) ``` Destructs the instance. The destructors of the nested values (if any) are called and the used storage is deallocated. Note, that if the values are pointers (`type::RAW_PTR`), the pointed-to objects are not destroyed. #### Exceptions 1. `noexcept` #### Complexity 1. Linear to the number of nodes
23.6875
216
0.701847
eng_Latn
0.995705
2ea4f7a0f2c70e966a40c540bf621b251cb8de87
99,679
md
Markdown
doc/readme.md
HDPLocust/raylib-luamore
7915255a84d1bb60a569ac037aa2c35dc2422778
[ "Zlib" ]
12
2020-02-24T11:11:26.000Z
2021-11-15T10:06:11.000Z
doc/readme.md
HDPLocust/raylib-luamore
7915255a84d1bb60a569ac037aa2c35dc2422778
[ "Zlib" ]
null
null
null
doc/readme.md
HDPLocust/raylib-luamore
7915255a84d1bb60a569ac037aa2c35dc2422778
[ "Zlib" ]
1
2021-11-15T10:06:03.000Z
2021-11-15T10:06:03.000Z
## Table of content | [Core](#Core) | Core module, provides basic config, window, drawing, color manipulating etc functions. | :------------------------------------------------------------ | :----------------------------------------------------------- | **Window-related functions** | | [InitWindow](#InitWindow) | Initialize window and OpenGL context | [WindowShouldClose](#WindowShouldClose) | Check if KEY_ESCAPE pressed or Close icon pressed | [CloseWindow](#CloseWindow) | Close window and unload OpenGL context | [IsWindowReady](#IsWindowReady) | Check if window has been initialized successfully | [IsWindowMinimized](#IsWindowMinimized) | Check if window has been minimized (or lost focus) | [IsWindowResized](#IsWindowResized) | Check if window has been resized | [IsWindowHidden](#IsWindowHidden) | Check if window is currently hidden | [ToggleFullscreen](#ToggleFullscreen) | oggle fullscreen mode (only PLATFORM_DESKTOP) | [UnhideWindow](#UnhideWindow) | Show the window | [HideWindow](#HideWindow) | Hide the window | [SetWindowIcon](#SetWindowIcon) | Set icon for window (only PLATFORM_DESKTOP) | [SetWindowTitle](#SetWindowTitle) | Set title for window (only PLATFORM_DESKTOP) | [SetWindowPosition](#SetWindowPosition) | Set window position on screen (only PLATFORM_DESKTOP) | [SetWindowMonitor](#SetWindowMonitor) | Set monitor for the current window (fullscreen mode) | [SetWindowMinSize](#SetWindowMinSize) | Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE) | [SetWindowSize](#SetWindowSize) | Set window dimensions | [GetWindowHandle](#GetWindowHandle) | Get native window handle | [GetScreenWidth](#GetScreenWidth) | Get current screen width | [GetScreenHeight](#GetScreenHeight) | Get current screen height | [GetScreenDimensions](#GetScreenDimensions) | Get current screen dimensions | [GetMonitorCount](#GetMonitorCount) | Get number of connected monitors | [GetMonitorWidth](#GetMonitorWidth) | Get selected monitor width | [GetMonitorHeight](#GetMonitorHeight) | Get selected monitor height | [GetMonitorDimensions](#GetMonitorDimensions) | Get selected monitor dimensions | [GetMonitorPhysicalWidth](#GetMonitorPhysicalWidth) | Get selected monitor physical width in millimetres | [GetMonitorPhysicalHeight](#GetMonitorPhysicalHeight) | Get selected monitor physical height in millimetres | [GetMonitorPhysicalDimensions](#GetMonitorPhysicalDimensions) | Get selected monitor physical dimensions in millimetres | [GetMonitors](#GetMonitors) | Get all currently available monitor stats | [GetWindowPosition](#GetWindowPosition) | Get window position XY on monitor | [GetMonitorName](#GetMonitorName) | Get the human-readable, UTF-8 encoded name of the primary monitor | [GetClipboardText](#GetClipboardText) | Get clipboard text content | [SetClipboardText](#SetClipboardText) | Set clipboard text content | **Cursor-related functions** | | [ShowCursor](#ShowCursor) | Shows cursor | [HideCursor](#HideCursor) | Hides cursor | [IsCursorHidden](#IsCursorHidden) | Check if cursor is not visible | [EnableCursor](#EnableCursor) | Enables cursor (unlock cursor) | [DisableCursor](#DisableCursor) | Disables cursor (lock cursor) | **Drawing-related functions** | | [ClearBackground](#ClearBackground) | Set background color (framebuffer clear color) | [BeginDrawing](#BeginDrawing) | Setup canvas (framebuffer) to start drawing | [EndDrawing](#EndDrawing) | End canvas drawing and swap buffers (double buffering) | [BeginMode2D](#BeginMode2D) | Initialize 2D mode with custom camera (2D) | [EndMode2D](#EndMode2D) | Ends 2D mode with custom camera | [BeginMode3D](#BeginMode3D) | Initializes 3D mode with custom camera (3D) | [EndMode3D](#EndMode3D) | Ends 3D mode and returns to default 2D orthographic mode | [BeginTextureMode](#BeginTextureMode) | Initializes render texture for drawing | [EndTextureMode](#EndTextureMode) | Ends drawing to render texture | [BeginScissorMode](#BeginScissorMode) | Begin scissor mode (define screen area for following drawing) | [EndScissorMode](#EndScissorMode) | End scissor mode | **Screen-space-related functions** | | [GetMouseRay](#GetMouseRay) | Returns a ray trace from mouse position | [GetCameraMatrix](#GetCameraMatrix) | Returns camera transform matrix (view matrix) | [GetCameraMatrix2D](#GetCameraMatrix2D) | Returns camera 2d transform matrix | [GetWorldToScreen](#GetWorldToScreen) | Returns the screen space position for a 3d world space position | [GetWorldToScreenEx](#GetWorldToScreenEx) | Returns size position for a 3d world space position | [GetWorldToScreen2D](#GetWorldToScreen2D) | Returns the screen space position for a 2d camera world space position | [GetScreenToWorld2D](#GetScreenToWorld2D) | Returns the world space position for a 2d camera screen space position | **Timing-related functions** | | [SetTargetFPS](#SetTargetFPS) | Set target FPS (maximum) | [GetFPS](#GetFPS) | Returns current FPS | [GetFrameTime](#GetFrameTime) | Returns time in seconds for last frame drawn (delta time) | [GetTime](#GetTime) | Returns elapsed time in seconds since InitWindow() | **Color-related functions** | | [ColorToInt](#ColorToInt) | Returns hexadecimal value for a Color | [ColorNormalize](#ColorNormalize) | Returns color normalized as float [0..1] | [ColorFromNormalized](#ColorFromNormalized) | Returns color from normalized values [0..1] | [ColorToHSV](#ColorToHSV) | Returns HSV values for a Color | [ColorFromHSV](#ColorFromHSV) | Returns a Color from HSV values | [GetColor](#GetColor) | Returns a Color struct from hexadecimal value | [Fade](#Fade) | Color fade-in or fade-out, alpha goes from 0.0f to 1.0f | **Misc. functions** | | [SetConfigFlags](#SetConfigFlags) | Setup window configuration flags | [SetTraceLogLevel](#SetTraceLogLevel) | Set the current threshold (minimum) log level | [SetTraceLogExit](#SetTraceLogExit) | Set the exit threshold (minimum) log level | [SetTraceLogCallback](#SetTraceLogCallback) | Set a trace log callback to enable custom logging | [TraceLog](#TraceLog) | Show trace log messages (DEBUG, INFO, WARNING, ERROR) | [TakeScreenshot](#TakeScreenshot) | Takes a screenshot of current screen (saved a .png) | [GetRandomValue](#GetRandomValue) | Returns a random value between min and max (both included) | **Files management functions** | | [FileExists](#FileExists) | Check if file exists | [IsFileExtension](#IsFileExtension) | Check file extension | [DirectoryExists](#DirectoryExists) | Check if a directory path exists | [GetExtension](#GetExtension) | Get string extension for a filename string | [GetFileName](#GetFileName) | Get string filename for a path string | [GetFileNameWithoutExt](#GetFileNameWithoutExt) | Get filename string without extension | [GetDirectoryPath](#GetDirectoryPath) | Get full path for a given fileName with path | [GetPrevDirectoryPath](#GetPrevDirectoryPath) | Get previous directory path for a given path | [GetWorkingDirectory](#GetWorkingDirectory) | Get current working directory | [GetDirectoryFiles](#GetDirectoryFiles) | Get filenames in a directory path | [ClearDirectoryFiles](#ClearDirectoryFiles) | Clear directory files paths buffers (deprecated) | [ChangeDirectory](#ChangeDirectory) | Change working directory, returns true if success | [IsFileDropped](#IsFileDropped) | Check if a file has been dropped into window | [GetDroppedFiles](#GetDroppedFiles) | Get dropped files names | [ClearDroppedFiles](#ClearDroppedFiles) | Clear dropped files paths buffer | [GetFileModTime](#GetFileModTime) | Get file modification time (last write time) | [GetFileInfo](#GetFileInfo) | Get info table for a given path | [CompressData](#CompressData) | Compress data (DEFLATE algorythm) | [DecompressData](#DecompressData) | Decompress data (DEFLATE algorythm) | [OpenURL](#OpenURL) | Open URL with default system browser (if available) | **Persistent storage management** | | [StorageSaveValue](#StorageSaveValue) | Save integer value to storage file (to defined position) | [StorageLoadValue](#StorageLoadValue) | Load integer value from storage file (from defined position) | **Input-related functions: keyboard** | | [IsKeyPressed](#IsKeyPressed) | Detect if a key has been pressed once | [IsKeyDown](#IsKeyDown) | Detect if a key is being pressed | [IsKeyReleased](#IsKeyReleased) | Detect if a key has been released once | [IsKeyUp](#IsKeyUp) | Detect if a key is NOT being pressed | [GetKeyPressed](#GetKeyPressed) | Get latest key pressed (scancode) | [GetKeyPressedString](#GetKeyPressedString) | Get latest key pressed (UTF-8 encoded) | [GetAllKeysPressedString](#GetAllKeysPressedString) | Get all latest keys pressed (UTF-8 encoded) | [SetExitKey](#SetExitKey) | Set a custom key to exit program (default is ESC) | **Input-related functions: gamepads** | | [IsGamepadAvailable](#IsGamepadAvailable) | Detect if a gamepad is available | [IsGamepadName](#IsGamepadName) | Check gamepad name (if available) | [GetGamepadName](#GetGamepadName) | Return gamepad internal name id | [IsGamepadButtonPressed](#IsGamepadButtonPressed) | Detect if a gamepad button has been pressed once | [IsGamepadButtonDown](#IsGamepadButtonDown) | Detect if a gamepad button is being pressed | [IsGamepadButtonReleased](#IsGamepadButtonReleased) | Detect if a gamepad button has been released once | [IsGamepadButtonUp](#IsGamepadButtonUp) | Detect if a gamepad button is NOT being pressed | [GetGamepadButtonPressed](#GetGamepadButtonPressed) | Get the last gamepad button pressed | [GetGamepadAxisCount](#GetGamepadAxisCount) | Return gamepad axis count for a gamepad | [GetGamepadAxisMovement](#GetGamepadAxisMovement) | Return axis movement value for a gamepad axis | **Input-related functions: mouse** | | [IsMouseButtonPressed](#IsMouseButtonPressed) | Detect if a mouse button has been pressed once | [IsMouseButtonDown](#IsMouseButtonDown) | Detect if a mouse button is being pressed | [IsMouseButtonReleased](#IsMouseButtonReleased) | Detect if a mouse button has been released once | [IsMouseButtonUp](#IsMouseButtonUp) | Detect if a mouse button is NOT being pressed | [GetMouseX](#GetMouseX) | Returns mouse position X | [GetMouseY](#GetMouseY) | Returns mouse position Y | [GetMousePosition](#GetMousePosition) | Returns mouse position XY | [SetMousePosition](#SetMousePosition) | Set mouse position XY | [SetMouseOffset](#SetMouseOffset) | Set mouse offset | [SetMouseScale](#SetMouseScale) | Set mouse scaling | [GetMouseWheelMove](#GetMouseWheelMove) | Returns mouse wheel movement Y | **Input-related functions: touch** | | [GetTouchX](#GetTouchX) | Returns touch position X for touch point 1 (relative to screen size) | [GetTouchY](#GetTouchY) | Returns touch position Y for touch point 1 (relative to screen size) | [GetTouch](#GetTouch) | Returns touch position XY for touch point 1 (relative to screen size) | [GetTouchPosition](#GetTouchPosition) | Returns touch position XY for a touch point index (relative to screen size) | [GetTouches](#GetTouches) | Returns all available touches positions XY (relative to screen size) | [SetGesturesEnabled](#SetGesturesEnabled) | Enable a set of gestures using flags | [IsGestureDetected](#IsGestureDetected) | Check if a gesture have been detected | [GetGestureDetected](#GetGestureDetected) | Get latest detected gesture | [GetTouchPointsCount](#GetTouchPointsCount) | Get touch points count | [GetGestureHoldDuration](#GetGestureHoldDuration) | Get gesture hold time in milliseconds | [GetGestureDragVector](#GetGestureDragVector) | Get gesture drag vector | [GetGestureDragAngle](#GetGestureDragAngle) | Get gesture drag angle | [GetGesturePinchVector](#GetGesturePinchVector) | Get gesture pinch delta | [GetGesturePinchAngle](#GetGesturePinchAngle) | Get gesture pinch angle | **Camera System Functions** | | [SetCameraMode](#SetCameraMode) | Set camera mode (multiple camera modes available) | [UpdateCamera](#UpdateCamera) | Update camera position for selected mode | [SetCameraPanControl](#SetCameraPanControl) | Set camera pan key to combine with mouse movement (free camera) | [SetCameraAltControl](#SetCameraAltControl) | Set camera alt key to combine with mouse movement (free camera) | [SetCameraSmoothZoomControl](#SetCameraSmoothZoomControl) | Set camera smooth zoom key to combine with mouse (free camera) | [SetCameraMoveControls](#SetCameraMoveControls) | Set camera move controls (1st person and 3rd person cameras) | [Shapes](#Shapes) | Description | :-------------------- | :------------ | -- | -- | [Textures](#Textures) | Description | :-------------------- | :------------ | -- | -- | [Text](#Text) | Description | :-------------------- | :------------ | -- | -- | [Models](#Models) | Description | :-------------------- | :------------ | -- | -- | [Shaders](#Shaders) | Description | :-------------------- | :------------ | -- | -- | [Audio](#Audio) | Description | :-------------------- | :------------ | -- | -- | [Classes](#Classes) | Description | :-------------------- | :------------ | [Vector2](#Vector2) | Vector2 type | [Vector3](#Vector3) | Vector3 type | [Vector4](#Vector4) | Vector4 (Quaternion) type | [Matrix](#Matrix) | Matrix type (OpenGL style 4x4) | [Color](#Color) | Color type, RGBA (32bit) | [Rectangle](#Rectangle) | Rectangle type | [Image](#Image) | Image type (multiple pixel formats supported), stored in CPU memory (RAM) | [Texture](#Texture) | Texture type (multiple internal formats supported), stored in GPU memory (VRAM) | [RenderTexture](#RenderTexture) | RenderTexture type, for texture rendering | [NPatchInfo](#NPatchInfo) | N-Patch layout info | [CharInfo](#CharInfo) | Font character info | [Font](#Font) | Font type, includes texture and chars data | [Camera](#Camera3D) | Camera3D type, defines 3d camera position/orientation | [Camera2D](#Camera2D) | Camera2D type, defines a 2d camera | [Mesh](#Mesh) | Vertex data definning a mesh | [Shader](#Shader) | Shader type (generic shader) | [MaterialMap](#MaterialMap) | Material texture map | [Material](#Material) | Material type | [Model](#Model) | Basic 3d Model type | [Transform](#Transform) | Transformation (used for bones) | [BoneInfo](#BoneInfo) | Bone information | [ModelAnimation](#ModelAnimation) | Model animation data (bones and frames) | [Ray](#Ray) | Ray type (useful for raycast) | [RayHitInfo](#RayHitInfo) | Raycast hit information | [BoundingBox](#BoundingBox) | Bounding box type for 3d mesh | [Wave](#Wave) | Wave type, defines audio wave data | [Sound](#Sound) | Basic Sound source and buffer | [Music](#Music) | Music type (file streaming from memory) | [AudioStream](#AudioStream) | Raw audio stream type | [VrDeviceInfo](#VrDeviceInfo) | VR device parameters ## Core ### Core functions #### Initialization ```lua local rl = require("raylib_luamore") ``` ### Window-related functions: #### InitWindow ```lua rl.core.InitWindow(integer Width, integer Height, string Title) ``` Initialize window and OpenGL context Should be called before any widnow stuff is used. * Default Width is 800 * Default Height is 600 * Default Title is "Untitled" #### WindowShouldClose ```lua boolean Status = rl.core.WindowShouldClose() ``` Check if ESCAPE-key pressed or Close icon pressed. See [SetExitKey](#SetExitKey). #### CloseWindow ```lua rl.core.CloseWindow() ``` Close window and unload OpenGL context. #### IsWindowReady ```lua boolean Status = rl.core.IsWindowReady() ``` Check if window has been initialized successfully. #### IsWindowMinimized ```lua boolean Status = rl.core.IsWindowMinimized() ``` Check if window has been minimized (or lost focus). #### IsWindowResized ```lua boolean Status = rl.core.IsWindowResized() ``` Check if window has been resized. #### IsWindowHidden ```lua boolean Status = rl.core.IsWindowHidden() ``` Check if window is currently hidden. #### ToggleFullscreen ```lua rl.core.ToggleFullscreen() ``` Toggle fullscreen mode (only PLATFORM_DESKTOP). #### UnhideWindow ```lua rl.core.UnhideWindow() ``` Show the window. #### HideWindow ```lua rl.core.HideWindow() ``` Hide the window. #### SetWindowIcon ```lua rl.core.SetWindowIcon(Image Icon) ``` Set icon for window (only PLATFORM_DESKTOP). See [Image](#Image). #### SetWindowTitle ```lua rl.core.SetWindowTitle(string Title) ``` Set title for window (only PLATFORM_DESKTOP). #### SetWindowPosition ```lua rl.core.SetWindowPosition(integer x, integer y) ``` Set window position on screen (only PLATFORM_DESKTOP). #### SetWindowMonitor ```lua rl.core.SetWindowMonitor(integer Monitor) ``` Set monitor for the current window (fullscreen mode). #### SetWindowMinSize ```lua rl.core.SetWindowMinSize(integer Width, integer Height) ``` Set window minimum dimensions, for flag ["WINDOW_RESIZABLE"](#SetConfigFlags). #### SetWindowSize ```lua rl.core.SetWindowSize(integer Width, integer Height) ``` Set window dimensions. #### GetWindowHandle ```lua userdata Handle = rl.core.GetWindowHandle() ``` Get native window handle. Use for FFI or something. #### GetScreenWidth ```lua integer Width = rl.core.GetScreenWidth() ``` Get current screen width. #### GetScreenHeight ```lua integer Height = rl.core.GetScreenHeight() ``` Get current screen height. #### GetScreenDimensions ```lua integer Width, integer Height = rl.core.GetScreenDimensions() ``` Get current screen dimensions. #### GetMonitorCount ```lua integer Count = rl.core.GetMonitorCount() ``` Get number of connected monitors. #### GetMonitorWidth ```lua integer Width = rl.core.GetMonitorWidth(integer Monitor) ``` Get selected monitor width. #### GetMonitorHeight ```lua integer Height = rl.core.GetMonitorHeight(integer Monitor) ``` Get selected monitor height. #### GetMonitorDimensions ```lua integer Width, integer Height = rl.core.GetMonitorDimensions(integer Monitor) ``` Get selected monitor dimensions. #### GetMonitorPhysicalWidth ```lua integer Width = rl.core.GetMonitorPhysicalWidth(integer Monitor) ``` Get selected monitor physical width in millimetres. #### GetMonitorPhysicalHeight ```lua integer Height = rl.core.GetMonitorPhysicalHeight(integer Monitor) ``` Get selected monitor physical height in millimetres. #### GetMonitorPhysicalDimensions ```lua integer Width, integer Height = rl.core.GetMonitorPhysicalDimensions(integer Monitor) ``` Get selected monitor physical dimensions in millimetres. #### GetMonitors ```lua table Monitors = rl.core.GetMonitors() ``` Get all monitors and it's stats, using this layout: ```lua Monitors = { { -- first monitor info string name, -- human-readable monitor name integer width, -- monitor width in pixels integer height -- monitor height in pixels integer pwidth, -- monitor physical width in millimetres integer pheight, -- monitor physical height in millimetres }, { -- second monitor } } ``` #### GetWindowPosition ```lua Vector2 Position = rl.core.GetWindowPosition() ``` Get window position XY on monitor. See [Vector2](#Vector2). #### GetMonitorName ```lua string Name = rl.core.GetMonitorName() ``` Get the human-readable, UTF-8 encoded name of the primary monitor. #### GetClipboardText ```lua string Text = rl.core.GetClipboardText() ``` Get clipboard text content. #### SetClipboardText ```lua rl.core.SetClipboardText(string Text) ``` Set clipboard text content. ### Cursor-related functions #### ShowCursor ```lua rl.core.ShowCursor() ``` Shows cursor. #### HideCursor ```lua rl.core.HideCursor() ``` Hides cursor. #### IsCursorHidden ```lua boolean Status = rl.core.IsCursorHidden() ``` Check if cursor is not visible. #### EnableCursor ```lua rl.core.EnableCursor() ``` Enables cursor (unlock cursor). #### DisableCursor ```lua rl.core.DisableCursor() ``` Disables cursor (lock cursor). ### Drawing-related functions #### ClearBackground ```lua rl.core.ClearBackground(Color Color) ``` Set background color (framebuffer clear color). See [Color](#Color). #### BeginDrawing ```lua rl.core.BeginDrawing() ``` Setup canvas (framebuffer) to start drawing. #### EndDrawing ```lua rl.core.EndDrawing() ``` End canvas drawing and swap buffers (double buffering). #### BeginMode2D ```lua rl.core.BeginMode2D(Camera2D Camera) ``` Initialize 2D mode with custom camera (2D). See [Camera2D](#Camera2D). #### EndMode2D ```lua rl.core.EndMode2D() ``` Ends 2D mode with custom camera. #### BeginMode3D ```lua rl.core.BeginMode3D(Camera3D Camera) ``` Initializes 3D mode with custom camera (3D). See [Camera3D](#Camera3D). #### EndMode3D ```lua rl.core.EndMode3D() ``` Ends 3D mode and returns to default 2D orthographic mode. #### BeginTextureMode ```lua rl.core.BeginTextureMode(RenderTexture Texture) ``` Initializes render texture for drawing. See [RenderTexture](#RenderTexture). #### EndTextureMode ```lua rl.core.EndTextureMode() ``` Ends drawing to render texture. #### BeginScissorMode ```lua rl.core.BeginScissorMode(integer X, integer Y, integer Width, integer Height) ``` Begin scissor mode (define screen area for following drawing). #### EndScissorMode ```lua rl.core.EndScissorMode() ``` End scissor mode. ### Screen-space-related functions #### GetMouseRay ```lua -- variants Ray Ray = rl.core.GetMouseRay(Vector2 Vector, Camera3D Camera) Vector2 Position, Vector2 Direction = rl.core.GetMouseRay(Vector2 Vector, Camera3D Camera, "v") ``` Returns a ray trace from mouse position. See [Ray](#Ray), [Vector2](#Vector2). #### GetCameraMatrix ```lua Matrix View = rl.core.GetCameraMatrix(Camera3D Camera) ``` Returns camera transform matrix (view matrix). See [Matrix](#Matrix). #### GetCameraMatrix2D ```lua Matrix View = rl.core.GetCameraMatrix2D(Camera2D Camera) ``` Returns camera 2d transform matrix. See [Matrix](#Matrix), [Camera2D](#Camera2D). #### GetWorldToScreen ```lua Vector2 ScreenV = rl.core.GetWorldToScreen(Vector3 Vector, Camera3D Camera) ``` Returns the screen space position for a 3d world space position. See [Vector2](#Vector2), [Vector3](#Vector3), [Camera3D](#Camera3D). #### GetWorldToScreenEx ```lua Vector2 ScreenV = rl.core.GetWorldToScreenEx(Vector3 Vector, Camera3D Camera, integer Width, integer Height) ``` Returns size position for a 3d world space position. See [Vector2](#Vector2), [Vector3](#Vector3), [Camera3D](#Camera3D). #### GetWorldToScreen2D ```lua Vector2 ScreenV = rl.core.GetWorldToScreen2D(Vector2 Vector, Camera2D Camera) ``` Returns the screen space position for a 2d camera world space position. See [Vector2](#Vector2), [Camera2D](#Camera2D). #### GetScreenToWorld2D ```lua Vector2 ScreenV = rl.core.GetScreenToWorld2D(Vector2 Vector, Camera2D Camera) ``` Returns the world space position for a 2d camera screen space position. See [Vector2](#Vector2), [Camera2D](#Camera2D). ### Timing-related functions #### SetTargetFPS ```lua rl.core.SetTargetFPS(integer FPS) ``` Set target FPS (maximum). #### GetFPS ```lua integer FPS = rl.core.GetFPS() ``` Returns current FPS. #### GetFrameTime ```lua float DT = rl.core.GetFrameTime() ``` Returns time in seconds for last frame drawn. #### GetTime ```lua float Time = rl.core.GetTime() ``` Returns elapsed time in seconds since InitWindow(). ### Color-related functions #### ColorToInt ```lua integer iColor = rl.core.ColorToInt(Color Color) ``` Returns hexadecimal value for a Color. #### ColorNormalize ```lua -- variants Vector4 vColor = rl.core.ColorNormalize(Color Color) integer NR, integer NG, integer NB, integer NA = rl.core.ColorNormalize(Color Color, "n") table tColor = rl.core.ColorNormalize(Color Color, "t") -- Array {float r, float g, float b, float a} ``` Returns color normalized as float [0..1]. See [Vector4](#Vector4), [Color](#Color). #### ColorFromNormalized ```lua -- variants Color Color = rl.core.ColorFromNormalized(Vector4 vColor) Color Color = rl.core.ColorFromNormalized(float R, float G, float B[, float A]) Color Color = rl.core.ColorFromNormalized(table tColor) -- Array {float r, float g, float b[, float a]} ``` Returns color from normalized values [0..1]. See [Vector4](#Vector4), [Color](#Color). #### ColorToHSV ```lua -- variants Vector3 vColor = rl.core.ColorToHSV(Color Color) float Hue, float Saturation, float Value = rl.core.ColorToHSV(Color Color, "n") table hsvColor = rl.core.ColorNormalize(Color Color, "t") -- Array {float h, float s, float v} ``` Returns HSV values for a Color. See [Vector3](#Vector3), [Color](#Color). #### ColorFromHSV ```lua -- variants Color Color = rl.core.ColorFromHSV(Vector3 vColor) Color Color = rl.core.ColorFromHSV(float H, float S, float V) Color Color = rl.core.ColorFromHSV(table hsvColor) -- Array {float h, float s, float v} ``` Returns a Color from HSV values. See [Vector3](#Vector3), [Color](#Color). #### GetColor ```lua -- variants Color Color = rl.core.GetColor(integer hColor) ``` Returns a Color struct from hexadecimal value. See [Color](#Color) #### Fade ```lua -- variants Color fColor = rl.core.Fade(Color Color, float alpha) ``` Color fade-in or fade-out, alpha goes from 0.0f to 1.0f. See [Color](#Color) ### Misc. functions #### SetConfigFlags ```lua rl.core.SetConfigFlags(string flag1, string flag2, string flag3, ...) ``` Setup window configuration flags | Available flags: | Description | :--------------------- | :------------- | `"FULLSCREEN_MODE"` | Set to run program in fullscreen | `"WINDOW_RESIZABLE"` | Set to allow resizable window | `"WINDOW_UNDECORATED"` | Set to disable window decoration (frame and buttons) | `"WINDOW_TRANSPARENT"` | Set to allow transparent window | `"WINDOW_HIDDEN"` | Set to create the window initially hidden | `"WINDOW_ALWAYS_RUN"` | Set to allow windows running while minimized | `"MSAA_4X_HINT"` | Set to try enabling MSAA 4X | `"VSYNC_HINT"` | Set to try enabling V-Sync on GPU #### SetTraceLogLevel ```lua rl.core.SetTraceLogLevel(string Mode) ``` Set the current threshold (minimum) log level. | Mode | Description | | :--------- | :--------------------------------------- | |`"ALL"` | Trace all logging messages | |`"TRACE"` | Trace TRACE and upper logging messages | |`"DEBUG"` | Trace DEBUG and upper logging messages | |`"INFO"` | Trace INFO and upper logging messages | |`"WARNING"` | Trace WARNING and upper logging messages | |`"ERROR"` | Trace ERROR and upper logging messages | |`"FATAL"` | Trace FATAL and upper logging messages | |`"NONE"` | Trace no logging messages | #### SetTraceLogExit ```lua rl.core.SetTraceLogExit(string Mode) ``` Set the exit threshold (minimum) log level. | Mode | Description | | :--------- | :---------------------------------------- | |`"ALL"` | Exit on any logging message | |`"TRACE"` | Exit on TRACE and upper logging message | |`"DEBUG"` | Exit on DEBUG and upper logging message | |`"INFO"` | Exit on INFO and upper logging message | |`"WARNING"` | Exit on WARNING and upper logging message | |`"ERROR"` | Exit on ERROR and upper logging message | |`"FATAL"` | Exit on FATAL and upper logging message | |`"NONE"` | No exit on logging messages | #### SetTraceLogCallback ```lua rl.core.SetTraceLogCallback(function Log) ``` Set a trace log callback to enable custom logging. Log function example: ```lua function Log(string logLevel, string Message) local time = os.date("%H.%M.%S", os.time()) print(time .. " " .. logLevel .. ': ' .. Message) end ``` logLevel is string constant `"TRACE"`, `"DEBUG"`, `"INFO"`, `"WARNING"`, `"ERROR"` or `"FATAL"`. #### TraceLog ```lua rl.core.TraceLog(string logLevel, string Message) ``` Show trace log messages. logLevel is string constant `"TRACE"`, `"DEBUG"`, `"INFO"`, `"WARNING"`, `"ERROR"` or `"FATAL"`. `"DEBUG"` is default. #### TakeScreenshot ```lua rl.core.TakeScreenshot(string fName) ``` Takes a screenshot of current screen (saved a .png). #### GetRandomValue ```lua -- variat integer RndValue = rl.core.GetRandomValue(integer Min, integer Max) -- [Mix .. Max] integer RndValue = rl.core.GetRandomValue(integer Max) -- [1 .. Max] ``` Returns a random value between min and max (both included). ### Files management functions #### FileExists ```lua boolean Status = rl.core.FileExists(string FileName) ``` Check if file exists. #### IsFileExtension ```lua boolean Status = rl.core.IsFileExtension(string FileName, string Ext) ``` Check file extension. #### DirectoryExists ```lua boolean Status = rl.core.DirectoryExists(string DirectoryPath) ``` Check if a directory path exists. #### DirectoryExists ```lua string Ext = rl.core.GetExtension(string FileName) ``` Get a extension for a filename string. #### GetFileName ```lua string FileName = rl.core.GetFileName(string FilePath) ``` Get a filename for a path string. #### GetFileNameWithoutExt ```lua string FileName = rl.core.GetFileNameWithoutExt(string FilePath) ``` Get filename string without extension. #### GetDirectoryPath ```lua string DirectoryPath = rl.core.GetDirectoryPath(string FilePath) ``` Get full path for a given fileName with path. #### GetPrevDirectoryPath ```lua string DirectoryPath = rl.core.GetPrevDirectoryPath(string FilePath) ``` Get previous directory path for a given path. #### GetWorkingDirectory ```lua string DirectoryPath = rl.core.GetWorkingDirectory() ``` Get current working directory. #### GetDirectoryFiles ```lua table Files = rl.core.GetDirectoryFiles(string DirectoryPath) ``` Get filenames in a directory path. [ClearDirectoryFiles](#ClearDirectoryFiles) is called automatically. Table Files contains string names like `{"file1.png", "directory1", "file2.lua", ...}`. #### ClearDirectoryFiles ```lua rl.core.ClearDirectoryFiles() ``` Clear directory files paths buffers (free memory). Deprecated. #### ChangeDirectory ```lua boolean Status = rl.core.ChangeDirectory(string DirectoryPath) ``` Change working directory, returns true if success. #### IsFileDropped ```lua boolean Status = rl.core.IsFileDropped() ``` Check if a file has been dropped into window. #### GetDroppedFiles ```lua table Files = rl.core.GetDroppedFiles() ``` Get dropped files names. [ClearDroppedFiles](#ClearDroppedFiles) is called automatically. Table Files contains string names like `{"file1.png", "file2.lua", ...}`. #### ClearDroppedFiles ```lua rl.core.ClearDroppedFiles() ``` Clear dropped files paths buffer (free memory). Deprecated. #### GetFileModTime ```lua integer Time = rl.core.GetFileModTime(string FilePath) ``` Get file modification time (last write timestamp). #### GetFileInfo ```lua table Info = rl.core.GetFileInfo(string FilePath) ``` Get file or directory info, using this layout: ```lua Info = { string name, -- filename string without extension string fullname, -- filename with ext string ext, -- file extension string path -- passed path string directory -- full path for a given file with path integer modtime, -- file modification time (last write time) string mode, -- it is "directory" or "file" } ``` #### CompressData ```lua string CompressedData = rl.core.CompressData(string Data) ``` Compress data (DEFLATE algorythm). #### DecompressData ```lua string Data = rl.core.DecompressData(string CompressedData) ``` Deompress data (DEFLATE algorythm). #### OpenURL ```lua rl.core.OpenURL(string URL) ``` Open URL with default system browser (if available). ### Persistent storage management #### StorageSaveValue ```lua rl.core.StorageSaveValue(integer Position, integer Value) ``` Save integer value to storage file (to defined position). #### StorageLoadValue ```lua integer Value = rl.core.StorageLoadValue(integer Position) ``` Load integer value from storage file (from defined position). ### Input-related functions: keyb #### IsKeyPressed ```lua boolean State = rl.core.IsKeyPressed(eKey Key[, ekey Key2, ...]) ``` Detect if a key has been pressed once. See [eKey](#eKey). #### IsKeyDown ```lua boolean State = rl.core.IsKeyDown(eKey Key[, eKey Key2, ...]) ``` Detect if a key is being pressed. See [eKey](#eKey). #### IsKeyReleased ```lua boolean State = rl.core.IsKeyReleased(eKey Key[, eKey Key2, ...]) ``` Detect if a key has been released once. See [eKey](#eKey). #### IsKeyUp ```lua boolean State = rl.core.IsKeyUp(eKey Key[, eKey Key2, ...]) ``` Detect if a key is NOT being pressed. See [eKey](#eKey). #### GetKeyPressed ```lua integer Key = rl.core.GetKeyPressed() ``` Get latest key scancode pressed. #### GetKeyPressedString ```lua string Char = rl.core.GetKeyPressedString() ``` Get user input UTF-8 encoded string char. #### GetAllKeysPressedString ```lua string Text = rl.core.GetAllKeysPressedString() ``` Get all user UTF-8 encoded string input chars. #### SetExitKey ```lua rl.core.SetExitKey(eKey Key) ``` Set a custom key to exit program (default is ESC). See [eKey](#eKey). ### Input-related functions: gamepads #### IsGamepadAvailable ```lua boolean State = rl.core.IsGamepadAvailable(integer Gamepad) ``` Detect if a gamepad is available. #### IsGamepadName ```lua boolean State = rl.core.IsGamepadName(integer Gamepad, string GamepadName) ``` Check gamepad name (if available). #### GetGamepadName ```lua string GamepadName = rl.core.GetGamepadName(integer Gamepad) ``` Check gamepad name (if available). #### IsGamepadButtonPressed ```lua boolean Status = rl.core.IsGamepadButtonPressed(integer Gamepad) ``` Detect if a gamepad button has been pressed once. #### IsGamepadButtonDown ```lua boolean Status = rl.core.IsGamepadButtonDown(integer Gamepad) ``` Detect if a gamepad button is being pressed. #### IsGamepadButtonReleased ```lua boolean Status = rl.core.IsGamepadButtonReleased(integer Gamepad) ``` Detect if a gamepad button has been released once. #### IsGamepadButtonUp ```lua boolean Status = rl.core.IsGamepadButtonUp(integer Gamepad) ``` Detect if a gamepad button is NOT being pressed. #### GetGamepadButtonPressed ```lua integer Key = rl.core.GetGamepadButtonPressed() ``` Get the last gamepad button pressed. #### GetGamepadAxisCount ```lua integer Count = rl.core.GetGamepadAxisCount() ``` Return gamepad axis count for a gamepad. #### GetGamepadAxisMovement ```lua float Movement = rl.core.GetGamepadAxisMovement(integer Gamepad) ``` Return axis movement value for a gamepad axis. ### Input-related functions: mouse #### IsMouseButtonPressed ```lua boolean State = rl.core.IsMouseButtonPressed(integer Button) ``` Detect if a mouse button has been pressed once. #### IsMouseButtonDown ```lua boolean State = rl.core.IsMouseButtonDown(integer Button) ``` Detect if a mouse button is being pressed. #### IsMouseButtonReleased ```lua boolean State = rl.core.IsMouseButtonReleased(integer Button) ``` Detect if a mouse button has been released once. #### IsMouseButtonUp ```lua boolean State = rl.core.IsMouseButtonUp(integer Button) ``` Detect if a mouse button is NOT being pressed. #### GetMouseX ```lua integer X = rl.core.GetMouseX() ``` Returns mouse position X. #### GetMouseY ```lua integer Y = rl.core.GetMouseY() ``` Returns mouse position Y. #### GetMousePosition ```lua -- variants Vector2 Position = rl.core.GetMousePosition() integer X, integer Y = rl.core.GetMousePosition('n') ``` Returns mouse position XY. #### SetMousePosition ```lua -- variants rl.core.SetMousePosition(Vector2 Position) rl.core.SetMousePosition(integer X, integer Y) ``` Set mouse position XY. #### SetMouseOffset ```lua -- variants rl.core.SetMouseOffset(Vector2 Offset) rl.core.SetMouseOffset(integer X, integer Y) ``` Set mouse offset. #### SetMouseScale ```lua -- variants rl.core.SetMouseScale(Vector2 Scale) rl.core.SetMouseScale(integer X, integer Y) ``` Set mouse scaling. #### GetMouseWheelMove ```lua -- variants integer WheelMove = rl.core.GetMouseWheelMove() ``` Returns mouse wheel movement Y. ### Input-related functions: touch #### GetTouchX ```lua integer X = rl.core.GetTouchX() ``` Returns touch position X for touch point 1 (relative to screen size). #### GetTouchY ```lua integer Y = rl.core.GetTouchY() ``` Returns touch position Y for touch point 1 (relative to screen size). #### GetTouch ```lua integer X, integer Y = rl.core.GetTouch() ``` Returns touch position XY for a touch point 1 (relative to screen size). #### GetTouchPosition ```lua -- veriants Vector2 Position = rl.core.GetTouchPosition(integer Index) integer X, integer Y = rl.core.GetTouchPosition(integer Index, 'n') ``` Returns touch position XY for a touch point index (relative to screen size). #### GetTouches ```lua -- veriants table Touches = rl.core.GetTouches(integer Index) -- {Vector2 t1, Vector2 t2, ...} table Touches = rl.core.GetTouches(integer Index, 'n') -- {{integer X1, integer Y1}, {integer X2, integer Y2}, ...} ``` Returns all touches positions XY (relative to screen size). #### SetGesturesEnabled ```lua rl.core.SetGesturesEnabled(string Mode1, string Mode2, ...) ``` Enable a set of gestures using modes. Available Modes: * `"NONE"` (default if no mode passed) * `"TAP"` * `"DOUBLETAP"` * `"HOLD"` * `"DRAG"` * `"SWIPE_RIGHT"` * `"SWIPE_LEFT"` * `"SWIPE_UP"` * `"SWIPE_DOWN"` * `"PINCH_IN"` * `"PINCH_OUT"` #### IsGestureDetected ```lua boolean Status = rl.core.IsGestureDetected(string Mode) ``` Check if a gesture have been detected. Available Modes to check: * `"TAP"` * `"DOUBLETAP"` * `"HOLD"` * `"DRAG"` * `"SWIPE_RIGHT"` * `"SWIPE_LEFT"` * `"SWIPE_UP"` * `"SWIPE_DOWN"` * `"PINCH_IN"` * `"PINCH_OUT"` #### GetGestureDetected ```lua -- variants string Gesture, ~ A, ~ B, ~ C = rl.core.GetGestureDetected() string Gesture, ~ A, ~ B, ~ C = rl.core.GetGestureDetected('n') ``` Get latest detected gesture. A, B, and C is additional info for various gestures: * `"HOLD"` returns float GestureHoldDuration * `"DRAG"` returns Vector2 DragVector, float DragAngle if 'n' is not passed * `"DRAG"` returns integer DragVectorX, integer DragVectorY, float DragAngle if 'n' is passed * `"PINCH_IN"` returns Vector2 PinchVector, float PinchAngle if 'n' is not passed * `"PINCH_IN"` returns float PinchVectorX, float PinchVectorY, float PinchAngle if 'n' is passed * `"PINCH_OUT"` same as `"PINCH_IN"`. #### GetTouchPointsCount ```lua integer Count = rl.core.GetTouchPointsCount() ``` Get touch points count. #### GetGestureHoldDuration ```lua float Duration = rl.core.GetGestureHoldDuration() ``` Get gesture hold time in milliseconds. #### GetGestureHoldDuration ```lua -- variants Vector2 DragVector = rl.core.GetGestureDragVector() float vX, float vY = rl.core.GetGestureDragVector('n') ``` Get gesture drag vector. #### GetGestureDragAngle ```lua float Angle = rl.core.GetGestureDragAngle() ``` Get gesture drag angle. #### GetGesturePinchVector ```lua -- variants Vector2 PinchVector = rl.core.GetGesturePinchVector() float dX, float dY = rl.core.GetGesturePinchVector('n') ``` Get gesture pinch delta. #### GetGesturePinchAngle ```lua float Angle = rl.core.GetGesturePinchAngle() ``` Get gesture pinch angle. ### Camera System Functions (Module: camera) #### SetCameraMode ```lua rl.core.SetCameraMode(Camera3D Camera, string Mode) ``` Set camera mode. Available modes: * `"CUSTOM"` - default * `"FREE"` * `"ORBITAL"` * `"FIRST_PERSON"` * `"THIRD_PERSON"` #### UpdateCamera ```lua rl.core.UpdateCamera(Camera3D Camera) ``` Update camera position for selected mode. #### SetCameraPanControl ```lua rl.core.SetCameraPanControl(eKey panKey) ``` Set camera pan key to combine with mouse movement (free camera). See [Camera](#Camera), [eKey](#eKey). #### SetCameraAltControl ```lua rl.core.SetCameraAltControl(eKey altKey) ``` Set camera alt key to combine with mouse movement (free camera). See [Camera](#Camera), [eKey](#eKey). #### SetCameraSmoothZoomControl ```lua rl.core.SetCameraSmoothZoomControl(integer szKey) ``` Set camera smooth zoom key to combine with mouse (free camera). See [Camera](#Camera), [eKeyboard](#eKeyboard). #### SetCameraMoveControls ```lua rl.core.SetCameraMoveControls(eKey frontKey, eKey backKey, eKey rightKey, eKey leftKey, eKey upKey, eKey downKey) ``` Set camera move controls (1st person and 3rd person cameras). See [Camera](#Camera), [eKey](#eKey). # Classes ## Vector2 Structure: | Field | Type | | :----- | :---- | | x | float | | y | float | | **Methods** | description | :----- | :----------- | [clone](#Vector2clone) | Creates copy of vector | [get](#Vector2get) | Returns vector fields | [set](#Vector2set) | Assing values to vector | [add](#Vector2add) | Add vector to vector (modifying it) | [subtract](#Vector2subtract) | Subtract vector from vector (modifying it) | [length](#Vector2length) | Returns vector scalar length | [dotProcuct](#Vector2dotProduct) | Returns vector scalar dot product | [distance](#Vector2distance) | Returns scalar distance between two vectors | [angle](#Vector2angle) | Returns scalar angle between two vectors (degrees) | [angleRad](#Vector2angleRad) | Returns scalar angle between two vectors (radians) | [scale](#Vector2scale) | Multiply each component of vector to scalar | [multiplyV](#Vector2multiplyV) | Multiply vector to another vector (modifying it) | [multiply](#Vector2multiply) | Multiply vector to scalar or another vector (modifying it) | [negate](#Vector2negate) | Negate each component of vector (-Vec2.x, -Vec2.y) | [divide](#Vector2divide) | Divide vector to scalar or another vector (modifying it) | [divideV](#Vector2divideV) | Divide vector to another vector (modifying it) | [normalize](#Vector2normalize) | Normalize vector (divide each component lo vector length) | [lerp](#Vector2lerp) | Interpolate vector to another by given interpolant | **Overloads** | Note: In the mul/div methods with numbers, the vector should be in FIRST place, `NewVec2 = Vec2 * 5` is ok `NewVec2 = 5 * Vec2` raises error | +: `NewVec2 = Vec2A + Vec2B` | Create a new vector that is the sum of two vectors | -: `NewVec2 = Vec2A - Vec2B` | Create a new vector that is the subtraction of two vectors | *: `NewVec2 = Vec2A * Vec2B` | Create a new vector that is the multiplication of two vectors | *: `NewVec2 = Vec2 * Num` | Create a new vector that is the multiplication of vector by number (scale) | /: `NewVec2 = Vec2A / Vec2B` | Create a new vector that is the division of two vectors | /: `NewVec2 = Vec2 / Num` | Create a new vector that is the division of vector by number (divide each vector component) | #: `Len = #Vec2A` | Returns vector scalar length (:length shortcut) | ^: `NewVec2 = Vec2A ^ VecB` | Create a new vector that is the power of two vectors | ^: `NewVec2 = Vec2 ^ Num` | Create a new vector that is the power of vector to number | =: `isEqual = Vec2A == Vec2B` | Checks vectors equality | -: `negVec2 = -Vec2` | Creates new vector that is negate of another ### Initialization ```lua -- variants Vector2 Vec = rl.Vector2(number x, number y) --> vec2[x, y] Vector2 Vec = rl.Vector2(number x) --> vec2[x, x] Vector2 Vec = rl.Vector2(table t) --> vec2[ t[1], t[2] ] ``` Creates new Vector2 object ### Methods #### Vector2:clone ```lua Vector2 Vec2 = Vector2:clone() ``` Clones Vector2 object. #### Vector2:get ```lua -- variants number x, number y = Vector2:get() table t = Vector2:get('t') --> {x, y} ``` Get Vector2 components. #### Vector2:set ```lua -- variants Vector2:set(float x, float y) Vector2:set(table t) -- [x, y] ``` Set Vector2 components. #### Vector2:add ```lua Vector2:add(Vector2 Vector) ``` Add vector to vector (modifying it) #### Vector2:subtract ```lua Vector2:subtract(Vector2 Vector) ``` Subtract vector from vector (modifying it) #### Vector2:length ```lua number Length = Vector2:length() ``` Returns vector scalar length #### Vector2:dotProduct ```lua number Dot = Vector2:dotProduct(Vector2 Vector) ``` Returns vector scalar dot product #### Vector2:distance ```lua number Distance = Vector2:distance(Vector2 Vector) ``` Returns scalar distance between two vectors #### Vector2:angle ```lua number Angle = Vector2:angle(Vector2 Vector) ``` Returns scalar angle between two vectors (degrees) #### Vector2:angleRad ```lua number Angle = Vector2:angleRad(Vector2 Vector) ``` Returns scalar angle between two vectors (radians) #### Vector2:scale ```lua Vector2:scale(number Scale) ``` Multiply each component of vector to scalar #### Vector2:multiplyV ```lua Vector2:multiplyV(Vector2 Vector) ``` Multiply vector to another vector (modifying it) #### Vector2:multiply ```lua -- variants Vector2:multiply(Vector2 Vector) Vector2:multiply(number Scale) ``` Multiply vector to scalar or another vector (modifying it) #### Vector2:negate ```lua Vector2:negate() ``` Negate each component of vector (-Vec2.x, -Vec2.y) #### Vector2:divide ```lua -- variants Vector2:divide(Vector2 Vector) Vector2:divide(number Scale) ``` Divide vector to scalar or another vector (modifying it) #### Vector2:divideV ```lua Vector2:divideV(Vector2 Vector) ``` Divide vector to another vector (modifying it) #### Vector2:normalize ```lua Vector2:normalize() ``` Normalize vector (divide each component lo vector length) #### Vector2:lerp ```lua Vector2:lerp(Vector2 Vector, number Amount) ``` Interpolate vector to another by given interpolant ## Vector3 Structure: | Field | Type | | :----- | :---- | | x | float | | y | float | | z | float | | **Methods** | description | :----- | :----------- | [clone](#Vector3clone) | Creates copy of vector | [get](#Vector3get) | Returns vector fields | [set](#Vector3set) | Assing values to vector | [add](#Vector3add) | Add vector to vector (modifying it) | [subtract](#Vector3subtract) | Subtract vector from vector (modifying it) | [scale](#Vector3scale) | Multiply each component of vector to scalar | [multiplyV](#Vector3multiplyV) | Multiply vector to another vector (modifying it) | [multiply](#Vector3multiply) | Multiply vector to scalar or another vector (modifying it) | [crossProduct](#Vector3crossProduct) | Transform vector to cross product of two vectors | [perpendicular](#Vector3perpendicular) | Calculate one vector perpendicular vector | [length](#Vector3length) | Returns vector scalar length | [dotProduct](#Vector3dotProduct) | Returns scalar dot product of two vectors | [distance](#Vector3distance) | Returns scalar distance between two vectors | [negate](#Vector3negate) | Negate each component of vector (-Vec3.x, -Vec3.y, -Vec3.z) | [divide](#Vector3divide) | Divide vector to scalar or another vector (modifying it) | [divideV](#Vector3divideV) | Divide vector to another vector (modifying it) | [normalize](#Vector3normalize) | Normalize vector (divide each component lo vector length) | [orthoNormalize](#Vector3orthoNormalize) | Makes vectors normalized and orthogonal to each other | [transform](#Vector3transform) | Transforms a vector by a given Matrix | [rotateByQuaternion](#Vector3rotateByQuaternion) | Transform a vector by quaternion rotation | [lerp](#Vector3lerp) | Interpolate vector to another by given interpolant | [reflect](#Vector3reflect) | Calculate reflected vector to normal | [min](#Vector3min) | Return min value for each pair of components | [max](#Vector3max) | Return max value for each pair of components | [barycenter](#Vector3barycenter) | Create new vector that is barycenter coordinates (u, v, w) for point p with respect to triangle (a, b, c) | [angle](#Vector3angle) | Returns scalar angle between two vectors (degrees) | [angleRad](#Vector3angleRad) | Returns scalar angle between two vectors (radians) | **Overloads** | Note: In the mul/div methods with numbers, the vector should be in FIRST place, `NewVec3 = Vec3 * 5` is ok `NewVec3 = 5 * Vec3` raises error | +: `NewVec3 = Vec3A + Vec3B` | Create a new vector that is the sum of two vectors | -: `NewVec3 = Vec3A - Vec3B` | Create a new vector that is the subtraction of two vectors | *: `NewVec3 = Vec3A * Vec3B` | Create a new vector that is the multiplication of two vectors | *: `NewVec3 = Vec3 * Num` | Create a new vector that is the multiplication of vector by number (scale) | /: `NewVec3 = Vec3A / Vec3B` | Create a new vector that is the division of two vectors | /: `NewVec3 = Vec3 / Num` | Create a new vector that is the division of vector by number (divide each vector component) | #: `Len = #Vec3` | Returns vector scalar length (:length shortcut) | ^: `NewVec3 = Vec3A ^ Vec3B` | Create a new vector that is the power of two vectors | ^: `NewVec3 = Vec3 ^ Num` | Create a new vector that is the power of vector to number | =: `isEqual = Vec3A == Vec3B` | Checks vectors equality | -: `NegVec3 = -Vec3` | Creates new vector that is negate of another ### Initialization ```lua -- variants Vector3 Vec3 = rl.Vector3(number x, number y, , number z) --> vec3[x, y, z] Vector3 Vec3 = rl.Vector3(number x) --> vec3[x, x, x] Vector3 Vec3 = rl.Vector3(table t) --> vec3[ t[1], t[2], t[3] ] ``` Creates new Vector3 object. ### Methods #### Vector3:clone ```lua Vector3 Vec3 = Vector3:clone() ``` Clones Vector3 object. #### Vector3:get ```lua -- variants number x, number y, number z = Vector3:get() table t = Vector3:get('t') --> {x, y, z} ``` Get Vector3 components. #### Vector3:set ```lua -- variants Vector3:set(number x, number y, number z) Vector3:set(table t) -- [x, y, z] ``` Set Vector3 components. #### Vector3:add ```lua Vector3:add(Vector3 Vector) ``` Add vector to vector (modifying it) #### Vector3:subtract ```lua Vector3:subtract(Vector3 Vector) ``` Subtract vector to vector (modifying it) #### Vector3:scale ```lua Vector3:scale(number Scale) ``` Multiply each component of vector to scalar #### Vector3:multiplyV ```lua Vector3:multiplyV(Vector3 Vector) ``` Multiply vector to another vector (modifying it) #### Vector3:multiply ```lua -- variants Vector3:multiply(Vector3 Vector) Vector3:multiply(number Scale) ``` Multiply vector to scalar or another vector (modifying it) #### Vector3:crossProduct ```lua Vector3:crossProduct(Vector3 Vector) ``` Transform vector to cross product of two vectors #### Vector3:perpendicular ```lua Vector3:perpendicular(Vector3 Vector) ``` Calculate one vector perpendicular vector #### Vector3:length ```lua number Length = Vector3:length() ``` Returns vector scalar length #### Vector3:dotProduct ```lua number Dot = Vector3:dotProduct(Vector3 Vector) ``` Returns scalar dot product of two vectors #### Vector3:distance ```lua number Distance = Vector3:distance(Vector3 Vector) ``` Returns scalar distance between two vectors #### Vector3:negate ```lua Vector3:negate() ``` Negate each component of vector (-Vec3.x, -Vec3.y, -Vec3.z) #### Vector3:divide ```lua -- variants Vector3:divide(Vector3 Vector) Vector3:divide(number Scale) ``` Divide vector to scalar or another vector (modifying it) #### Vector3:divideV ```lua Vector3:divideV(Vector3 Vector) ``` Divide vector to another vector (modifying it) #### Vector3:normalize ```lua Vector3:normalize() ``` Normalize vector (divide each component lo vector length) #### Vector3:orthoNormalize ```lua Vector3:orthoNormalize(Vector3 Vector) ``` Makes vectors normalized and orthogonal to each other modifying both #### Vector3:transform ```lua Vector3:transform(Matrix Matrix) ``` Transforms a vector by a given Matrix #### Vector3:rotateByQuaternion ```lua Vector3:rotateByQuaternion(Vector4 Quaternion) ``` Transform a vector by quaternion rotation #### Vector3:lerp ```lua Vector3:lerp(Vector3 Vector, number Amount) ``` Interpolate vector to another by given interpolant #### Vector3:reflect ```lua Vector3:reflect(Vector3 Normal) ``` Calculate reflected vector to normal #### Vector3:min ```lua number Min = Vector3:min() ``` Return min value for each pair of components #### Vector3:max ```lua number max = Vector3:min() ``` Return max value for each pair of components #### Vector3:barycenter ```lua Vector3 Barycenter = Vector3:barycenter(Vector3 A, Vector3 B, Vector3 C) ``` Create new vector that is barycenter coordinates (u, v, w) for point p with respect to triangle (A, B, C) ## Matrix Structure: | Field | Type | | :----- | :---- | | m1 | float | | m2 | float | | m3 | float | | m4 | float | | m5 | float | | m6 | float | | m7 | float | | m8 | float | | m9 | float | | m10 | float | | m11 | float | | m12 | float | | m13 | float | | m14 | float | | m15 | float | | m16 | float | | **Methods** | description | :----- | :----------- | [clone](#Matrixclone) | Creates copy of matrix | [get](#Matrixget) | Returns matrix fields | [set](#Matrixset) | Assing values to matrix | [determinant](#Matrixdeterminant) | Compute matrix determinant | [trace](#Matrixtrace) | Returns the trace of the matrix (sum of the values along the diagonal) | [transpose](#Matrixtranspose) | Transposes provided matrix (modifying it) | [invert](#Matrixinvert) | Invert provided matrix (modifying it) | [normalize](#Matrixnormalize) | Normalize provided matrix (modifying it) | [identity](#Matrixidentity) | Modify matrix to identity matrix | [add](#Matrixadd) | Add matrix to matrix (modifying it) | [subtract](#Matrixsubtract) | Subtract matrix from matrix (modifying it) | [translate](#Matrixtranslate) | Modify matrix to translation by given vector matrix | [rotate](#Matrixrotate) | Modify matrix to rotation matrix from axis and angle (radians) | [rotateXYZ](#MatrixrotateXYZ) | Rotate matrix to given Vector3 along XYZ-axes (angles in radians) | [rotateX](#MatrixrotateX) | Rotate matrix to given angle along X-axis (angle in radians) | [rotateY](#MatrixrotateY) | Rotate matrix to given angle along Y-axis. (angle in radians) | [rotateZ](#MatrixrotateZ) | Rotate matrix to given angle along Z-axis. (angle in radians) | [scale](#Matrixscale) | Scale matrix by given vector | [multiply](#Matrixmultiply) | Multiply matrix to another (modifying it) | [frustum](#Matrixfrustum) | Modify matrix to perspective projection matrix | [perspective](#Matrixperspective) | Modify matrix to perspective projection matrix (by angles in radians) | [ortho](#Matrixortho) | Modify matrix to orthographic projection matrix | [lookAt](#MatrixlookAt) | Modify matrix to look-at point by three vectors | **Overloads** | | +: `NewVec3 = MatrixA + MatrixB` | Create a new matrix that is the sum of two matrices | -: `NewVec3 = MatrixA - MatrixB` | Create a new matrix that is the subtraction of two matrices | *: `NewVec3 = MatrixA * MatrixB` | Create a new matrix that is the multiplication of two matrices | =: `isEqual = MatrixA == MatrixB` | Checks matrices is equal ### Initialization ```lua -- variants Matrix Mat = rl.Matrix(number m1, number m2, ..., number m16) --> Matrix[m1, m2, ... m16] Matrix Mat = rl.Matrix(table t) --> Matrix[ t[1], t[2], ... t[16] ] ``` Creates new Matrix object. #### Matrix:clone ```lua Matrix Matrix = Matrix:clone() ``` Creates copy of matrix #### Matrix:get ```lua -- variants number m1, number m2, ... number m16 = Matrix:get() table Table = Matrix:get('t') --> Table[m1, m2, ... m16] ``` Returns matrix fields #### Matrix:set ```lua -- variants Matrix:set(number m1, number m2, ... number m16) Matrix:set(table Table) -- Table[m1, m2, ... m16] ``` Assing values to matrix #### Matrix:determinant ```lua number Determinant = Matrix:determinant() ``` Compute matrix determinant #### Matrix:trace ```lua number Trace = Matrix:trace() ``` Returns the trace of the matrix (sum of the values along the diagonal) #### Matrix:transpose ```lua Matrix:transpose() ``` Transposes provided matrix (modifying it) #### Matrix:invert ```lua Matrix:invert() ``` Transposes provided matrix (modifying it) #### Matrix:normalize ```lua Matrix:normalize() ``` Normalize provided matrix (modifying it) #### Matrix:identity ```lua Matrix:identity() ``` Modify matrix to identity matrix #### Matrix:add ```lua Matrix:add(Matrix Matrix) ``` Add matrix to matrix (modifying it) #### Matrix:subtract ```lua Matrix:subtract(Matrix Matrix) ``` Subtract matrix from matrix (modifying it) #### Matrix:translate ```lua -- variants Matrix:translate(number x, number y, number z) Matrix:translate(table Translate) -- Translate[x, y, z] Matrix:translate(Vector3 Vector) ``` Modify matrix to translation by given vector matrix #### Matrix:rotate ```lua Matrix:rotate(Vector3 Vector, number Angle) ``` Modify matrix to rotation matrix from axis and angle (radians) #### Matrix:rotateXYZ ```lua Matrix:rotateXYZ(Vector3 Vector) ``` Rotate matrix to given Vector3 (angles in radians) #### Matrix:rotateX ```lua Matrix:rotateX(number Angle) ``` Rotate matrix to given angle along X-axis. (angle in radians) #### Matrix:rotateY ```lua Matrix:rotateY(number Angle) ``` Rotate matrix to given angle along Y-axis. (angle in radians) #### Matrix:rotateZ ```lua Matrix:rotateZ(number Angle) ``` Rotate matrix to given angle along Z-axis. (angle in radians) #### Matrix:scale ```lua -- variants Matrix:scale(number x, number y, number z) Matrix:scale(table Scale) -- Scale[x, y, z] Matrix:scale(Vector3 Vector) ``` Scale matrix by given vector #### Matrix:multiply ```lua -- variants Matrix:multiply(Matrix Matrix) ``` Multiply matrix to another (modifying it) #### Matrix:frustrum ```lua Matrix:frustum(number Left, number Right, number Bottom, numner Top, number Near, number Far) ``` Modify matrix to perspective projection matrix #### Matrix:perspective ```lua Matrix:perspective(number FovY, number Aspect, number Near, numner Far, number Top) ``` Modify matrix to perspective projection matrix (by angles in radians) #### Matrix:ortho ```lua Matrix:ortho(number Left, number Right, number Bottom, numner Top, number Near, number Far) ``` Modify matrix to orthographic projection matrix #### Matrix:lookAt ```lua Matrix:lookAt(Vector3 Eye, Vector3 Target, Vector3 Up) ``` Modify matrix to look-at point by three vectors ## Vector4 Vector4 also Quaternion, so it have Quaternion methods. Structure: | Field | Type | | :----- | :---- | | x | float | | y | float | | z | float | | w | float | | **Methods** | description | :----- | :----------- | [clone](#Vector4clone) | Creates copy of vector | [get](#Vector4get) | Returns vector fields | [set](#Vector4set) | Assing values to vector | [add](#Vector4add) | Add vector to vector (modifying it) | [subtract](#Vector4subtract) | Subtract vector from vector (modifying it) | [scale](#Vector4scale) | Multiply each component of vector to scalar | [multiplyV](#Vector4multiplyV) | Multiply vector to another vector (modifying it) | [multiply](#Vector4multiply) | Multiply vector to scalar or another vector (modifying it) | [identity](#Vector4identity) | Set vector components to quaternion identity | [length](#Vector4length) | Returns vector scalar length | [normalize](#Vector4normalize) | Normalize provided quaternion | [qInvert](#Vector4qInvert) | Invert provided quaternion | [qMultiply](#Vector4qMultiply) | Multiply quaternion to another (modifying it) | [qLerp](#Vector4qLerp) | Linear interpolate quaternion to another by given interpolant | [qNlerp](#Vector4qNlerp) | Linear interpolate quaternion to another by given interpolant, and normalize it | [qSlerp](#Vector4qSlerp) | Spherical interpolate quaternion to another by given interpolant | [qFromVector3ToVector3](#Vector4qFromVector3ToVector3) | Calculate quaternion based on the rotation from one vector to another | [qFromMatrix](#Vector4qFromMatrix) | Set vector components to a quaternion for a given rotation matrix | [qToMatrix](#Vector4qToMatrix) | Returns a matrix for a given quaternion | [qFromAxisAngle](#Vector4qFromAxisAngle) | Set vector components to a rotation quaternion for an angle and axis (radians) | [qToAxisAngle](#Vector4qToAxisAngle) | Returns the rotation angle and axis for a given quaternion | [qFromEuler](#Vector4qFromEuler) | Set vector components to a quaternion equivalent of Euler angles | [qToEuler](#Vector4qToEuler) | Return the Euler angles equivalent to quaternion (roll, pitch, yaw) | [qTransform](#Vector4qTransform) | Transform a quaternion given a transformation matrix | **Overloads** | Note: In the mul/div methods with numbers, the vector should be in FIRST place, `NewVec4 = Vec4 * 5` is ok `NewVec4 = 5 * Vec4` raises error | +: `NewVec4 = Vec4A + Vec4B` | Create a new vector that is the sum of two vectors | -: `NewVec4 = Vec4A - Vec4B` | Create a new vector that is the subtraction of two vectors | *: `NewVec4 = Vec4A * Vec4B` | Create a new vector that is the multiplication of two vectors | *: `NewVec4 = Vec4A * NumB` | Create a new vector that is the multiplication of vector by number (scale) | /: `NewVec4 = Vec4A / Vec4B` | Create a new vector that is the division of two vectors | /: `NewVec4 = Vec4A / NumB` | Create a new vector that is the division of vector by number (divide each vector component) | #: `Len = #Vec4` | Returns vector scalar length (:length shortcut) | ^: `NewVec4 = Vec4A ^ Vec4B` | Create a new vector that is the power of two vectors | ^: `NewVec4 = Vec4A ^ NumB` | Create a new vector that is the power of vector to number | =: `isEqual = Vec4A == Vec4B` | Checks vectors equality | -: `NegVec4 = -Vec4` | Creates new vector that is negate of another ### Initialization ```lua -- variants Vector4 Vec4 = rl.Vector4(number x, number y, number z, number w) --> Vec4[x, y, z, w] Vector4 Vec4 = rl.Vector4(number x) --> Vec4[x, x, x, x] Vector4 Vec4 = rl.Vector4(table t) --> Vec4[ t[1], t[2], t[3], t[4] ] ``` Creates new Vector4 object. #### Vector4:clone ```lua Vector4 Vec4 = Vector4:clone() ``` Creates copy of vector #### Vector4:get ```lua -- variants number x, number y, number z, number w = Vector4:get() table t = Vector4:get('t') --> {x, y, z, w} ``` Get Vector4 components. #### Vector4:set ```lua -- variants Vector4:set(number x, number y, number z, number w) Vector4:set(table t) -- [x, y, z, w] ``` Set Vector4 components. #### Vector4:add ```lua Vector4:add(Vector4 Vector) ``` Add vector to vector (modifying it) #### Vector4:subtract ```lua Vector4:subtract(Vector4 Vector) ``` Subtract vector from vector (modifying it) #### Vector4:scale ```lua Vector4:subtract(number Scale) ``` Multiply each component of vector to scalar #### Vector4:multiplyV ```lua Vector4:multiplyV(Vector4 Vector) ``` Multiply vector to another vector (modifying it) #### Vector4:multiply ```lua -- variants Vector4:multiply(number Scale) Vector4:multiply(Vector4 Vector) ``` Multiply vector to scalar or another vector (modifying it) #### Vector4:identity ```lua Vector4:identity() ``` Set vector components to quaternion identity #### Vector4:length ```lua number Length = Vector4:length() ``` Returns vector scalar length #### Vector4:normalize ```lua Vector4:normalize() ``` Normalize provided quaternion #### Vector4:qInvert ```lua Vector4:qInvert() ``` Invert provided quaternion #### Vector4:qMultiply ```lua Vector4:qMultiply(Vector4 Vector) ``` Multiply quaternion to another (modifying it) #### Vector4:qLerp ```lua Vector4:qLerp(Vector4 Vector, scale Amount) ``` Linear interpolate quaternion to another by given interpolant #### Vector4:qNlerp ```lua Vector4:qNlerp(Vector4 Vector, scale Amount) ``` Linear interpolate quaternion to another by given interpolant, and normalize it #### Vector4:qSlerp ```lua Vector4:qSlerp(Vector4 Vector, scale Amount) ``` Spherical interpolate quaternion to another by given interpolant #### Vector4:qFromVector3ToVector3 ```lua Vector4:qFromVector3ToVector3(Vector3 Vector1, Vector3 Vector2) ``` Calculate quaternion based on the rotation from one vector to another #### Vector4:qFromMatrix ```lua Vector4:qFromMatrix(Matrix Matrix) ``` Set vector components to a quaternion for a given rotation matrix #### Vector4:qToMatrix ```lua Matrix Matrix = Vector4:qToMatrix() ``` Returns a matrix for a given quaternion #### Vector4:qFromAxisAngle ```lua Vector4:qFromAxisAngle(Vector3 Vector, number Angle) ``` Set vector components to a rotation quaternion for an angle and axis (radians) #### Vector4:qToAxisAngle ```lua Vector3 Vector, number Angle = Vector4:qToAxisAngle() ``` Returns the rotation angle and axis for a given quaternion #### Vector4:qFromEuler ```lua Vector4:qFromEuler(number Roll, number Pitch, number Yaw) ``` Set vector components to a quaternion equivalent of Euler angles #### Vector4:qToEuler ```lua number Roll, number Pitch, number Yaw = Vector4:qToEuler() ``` Return the Euler angles equivalent to quaternion (roll, pitch, yaw) #### Vector4:qTransform ```lua Vector4:qTransform(Matrix Matrix) ``` Transform a quaternion given a transformation matrix ## Color Color component ranges is 0-255 Structure: | Field | Type | | :----- | :------ | | r | integer | | g | integer | | b | integer | | a | integer | | **Methods** | description | :----- | :----------- | [clone](#Colorclone) | Create copy of color | [get](#Colorget) | Return vector fields | [set](#Colorset) | Assing values to color components | [toInt](#ColortoInt) | Return color integer representation | [fromInt](#ColorfromInt) | Set color components from a given integer | [normalize](#Colornormalize) | Return normalized color components [float r/255, float g/255, float b/255, float a/255] | [fromNormalized](#ColorfromNormalized) | Set color components from a given normalized values | [toHSV](#ColortoHSV) | Return color hue, value and saturation | [fromHSV](#ColorfromHSV) | Set color components from a given hue, value and saturation | [fade](#Colorfade) | Color fade-in or fade-out, alpha goes from 0.0f to 1.0f ### Initialization ```lua -- variants Color Color = rl.Color(number r, number g, number b, number a) --> Color[r, g, b, a] Color Color = rl.Color(table t) --> Color[ t[1], t[2], t[3], t[4] ] Color Color = rl.Color(string Color) ``` Creates new Color object. Available string colors: | string name | color value | hexadecimal | :------------ | :------------------ | :-------- | `"lightgray"` | `{ 200, 200, 200 }` | #c8c8c8 | `"gray"` | `{ 130, 130, 130 }` | #828282 | `"darkgray"` | `{ 80, 80, 80 }` | #505050 | `"yellow"` | `{ 253, 249, 0 }` | #fdf900 | `"gold"` | `{ 255, 203, 0 }` | #ffcb00 | `"orange"` | `{ 255, 161, 0 }` | #ffa100 | `"pink"` | `{ 255, 109, 194 }` | #ff6dc2 | `"red"` | `{ 230, 41, 55 }` | #e62937 | `"maroon"` | `{ 190, 33, 55 }` | #be2137 | `"green"` | `{ 0, 228, 48 }` | #00e430 | `"lime"` | `{ 0, 158, 47 }` | #009e2f | `"darkgreen"` | `{ 0, 117, 44 }` | #00752c | `"skyblue"` | `{ 102, 191, 255 }` | #66bfff | `"blue"` | `{ 0, 121, 241 }` | #0079f1 | `"darkblue"` | `{ 0, 82, 172 }` | #0052ac | `"purple"` | `{ 200, 122, 255 }` | #c87aff | `"violet"` | `{ 135, 60, 190 }` | #873cbe | `"darkpurple"`| `{ 112, 31, 126 }` | #701f7e | `"beige"` | `{ 211, 176, 131 }` | #d3b083 | `"brown"` | `{ 127, 106, 79 }` | #7f6a4f | `"darkbrown"` | `{ 76, 63, 47 }` | #4c3f2f | `"white"` | `{ 255, 255, 255 }` | #ffffff | `"black"` | `{ 0, 0, 0 }` | #000000 | `"blank"` | `{ 0, 0, 0 }` | #000000 | `"magenta"` | `{ 255, 0, 255 }` | #ff00ff | `"raywhite"` | `{ 245, 245, 245 }` | #f5f5f5 #### Color:clone ```lua Color Color = Color:clone() ``` Creates copy of color #### Color:get ```lua -- variants integer r, integer g, integer b, integer a = Color:get() table t = Color:get('t') -- t[r, g, b, a] ``` Return vector fields #### Color:set ```lua -- variants Color:set(integer r, integer g, integer b[, integer a]) Color:set(table t) -- t[r, g, b, a] ``` Assing values to color components #### Color:toInt ```lua integer Color = Color:toInt() ``` Return color integer representation #### Color:fromInt ```lua Color:fromInt(integer Color) ``` Set color components from a given integer #### Color:normalize ```lua -- variants Vector4 Vector = Color:normalize() float r, float g, float b, float a = Color:normalize('n') table t = Color:normalize('t') ``` Return normalized color components [float r/255, float g/255, float b/255, float a/255] #### Color:fromNormalized ```lua -- variants Color:fromNormalized(Vector4 Vector) Color:fromNormalized(float r, float g, float b, float a) Color:fromNormalized(table t) ``` Set color components from a given normalized values #### Color:toHSV ```lua number Hue, number Value, number Saturation = Color:toHSV() ``` Return color hue, value and saturation #### Color:fromHSV ```lua Color:fromHSV(number Hue, number Value, number Saturation) ``` Set color components from a given hue, value and saturation #### Color:fade ```lua Color:fade(number Alpha) ``` Color fade-in or fade-out, alpha goes from 0.0f to 1.0f ## Rectangle Structure: | Field | Type | | :----- | :---- | | x | float | | y | float | | width | float | | height | float | | **Methods** | description | :--------------------------------------- | :----------- | [clone](#Rectangleclone) | Create copy of rectangle | [get](#Rectangleget) | Return vector fields | [set](#Rectangleset) | Assing values to rectangle fields | [move](#Rectanglemove) | Move rectangle by vector | [getPosition](#RectanglegetPosition) | Return rectangle position | [setPosition](#RectanglesetPosition) | Set rectangle position | [getDimensions](#RectanglegetDimensions) | Return rectangle width and height | [setDimensions](#RectanglesetDimensions) | Set rectangle width and height | [draw](#Rectangledraw) | Draw rectangle | [drawPro](#RectangledrawPro) | Draw rectangle with angle and offset | [drawRounded](#RectangledrawRounded) | Draw rectangle with rounded corners | [drawGradient](#RectangledrawGradient) | Draw rectangular color gradient | [collideRect](#RectanglecollideRect) | Check collision between two rectangles | [collideCircle](#RectanglecollideCircle) | Check collision between circle and rectangle | [getCollisionRect](#RectanglegetCollisionRect) | Get collision rectangle for two rectangles collision | [collidePoint](#RectanglecollidePoint) | Check if point is inside rectangle ### Initialization ```lua -- variants Rectangle Rect = rl.Rectangle(number x, number y, number width, number height) Rectangle Rect = rl.Rectangle(table t) --> Rectangle[ x = t[1], y = t[2], width = t[3], height = t[4] ] ``` #### Rectangle:clone ```lua Rectangle rec = Rectangle:clone() ``` Create copy of rectangle #### Rectangle:get ```lua -- variants number x, number y, number width, number height = Rectangle:get() table Table = Rectangle:get('t') -- Table[x, y, width, height] ``` Return vector fields #### Rectangle:set ```lua Rectangle:set(number x, number y, number width, number height) ``` Assing values to rectangle fields #### Rectangle:move ```lua Rectangle:move(number vx, number vy) ``` Move rectangle by vector #### Rectangle:getPosition ```lua -- variants number x, number y = Rectangle:getPosition() Vector2 Position = Rectangle:getPosition('v') table Position = Rectangle:getPosition('t') ``` Return rectangle position #### Rectangle:setPosition ```lua -- variants Rectangle:setPosition(number x, number y) Rectangle:setPosition(Vector2 Position) Rectangle:setPosition(table Position) ``` Set rectangle position #### Rectangle:getDimensions ```lua -- variants number x, number y = Rectangle:getDimensions() Vector2 Position = Rectangle:getDimensions('v') table Position = Rectangle:getDimensions('t') ``` Return rectangle width and height #### Rectangle:setDimensions ```lua -- variants Rectangle:setDimensions(number x, number y) Rectangle:setDimensions(Vector2 Position) Rectangle:setDimensions(table Position) ``` Set rectangle width and height #### Rectangle:draw ```lua Rectangle:draw(string Mode, Color Color) ``` Draw rectangle. Available modes: `"fill"`, `"line"` #### Rectangle:drawPro ```lua -- variants Rectangle:drawPro(Color Color[, Vector2 OriginOffset, number Angle]) Rectangle:drawPro(Color Color[, number OffsetX, number OffsetY, number Angle]) ``` Draw filled rectangle with angle and offset #### Rectangle:drawRounded ```lua Rectangle:drawRounded(string Mode, Color Color, number Roundness[, integer Segments, float LineThick]) ``` Draw rectangle with rounded corners Available modes: `"fill"`, `"line"` #### Rectangle:drawGradient ```lua -- variants Rectangle:drawGradient(string Mode, Color A, Color B) Rectangle:drawGradient(Color A, Color B, Color C, Color D) ``` Draw rectangular color gradient Available modes: `"h"`, `"v"` for horizontal and vertical gradients #### Rectangle:collideRect ```lua boolean isCollide = Rectangle:collideRect(Rectangle Rect) ``` Check collision between two rectangles #### Rectangle:collideCircle ```lua -- variants boolean isCollide = Rectangle:collideCircle(Vector2 Center, number Radius) boolean isCollide = Rectangle:collideCircle(number CenterX, number CenterY, number Radius) ``` Check collision between circle and rectangle #### Rectangle:getCollisionRect ```lua Rectangle CollRect = Rectangle:getCollisionRect(Rectangle Rect) ``` Get collision rectangle for two rectangles collision #### Rectangle:collidePoint ```lua -- variants boolean isCollide = Rectangle:collidePoint(Vector2 Point) boolean isCollide = Rectangle:collidePoint(number PointX, number PointY) ``` Check if point is inside rectangle ## Image Structure: | Field | Type | | :------ | :------ | | data | string | | width | integer | | height | integer | | mipmaps | integer | | format | integer | Structure is read-only. Data stored in CPU memory (RAM), cannot be drawed directly. | **Methods** | description | :--------------------------------------- | :----------- | [clone](#Imageclone) | Create copy of image | [subImage](#ImagesubImage) | Create an image from another image piece | [toPOT](#ImagetoPOT) | Convert image to POT (power-of-two) | [getFormat](#ImagegetFormat) | Get image data format | [setFormat](#ImagesetFormat) | Convert image data to desired format | [alphaMask](#ImagealphaMask) | Apply alpha mask to image | [alphaClear](#ImagealphaClear) | Clear alpha channel to desired color | [alphaCrop](#ImagealphaCrop) | Crop image depending on alpha value | [alphaPremultiply](#ImagealphaPremultiply) | Premultiply alpha channel | [crop](#Imagecrop) | Crop an image to a defined rectangle | [resize](#Imageresize) | Resize image (Bicubic scaling algorithm) | [resizeNN](#ImageresizeNN) | Resize image (Nearest-Neighbor scaling algorithm) | [resizeCanvas](#ImageresizeCanvas) | Resize canvas and fill with color | [genMipmaps](#ImagegenMipmaps) | Generate all mipmap levels for a provided image | [dither](#Imagedither) | Dither image data to 16bpp or lower (Floyd-Steinberg dithering) | [extractPalette](#ImageextractPalette) | Extract color palette from image to maximum size | [drawImage](#ImagedrawImage) | Draw a source image within a destination image (tint applied to source) | [drawRectangle](#ImagedrawRectangle) | Draw rectangle within an image | [drawText](#ImagedrawText) | Draw text within an image | [flip](#Imageflip) | Flip image | [rotate](#Imagerotate) | Rotate image | [tint](#Imagetint) | Modify image color: tint | [invert](#Imageinvert) | Modify image color: invert | [grayscale](#Imagegrayscale) | Modify image color: grayscale | [contrast](#Imagecontrast) | Modify image color: contrast (-100 to 100) | [brightness](#Imagebrightness) | Modify image color: brightness (-255 to 255) | [replaceColor](#ImagereplaceColor) | Modify image color: replace color ### Initialization ```lua -- variants Image Img = rl.Image(string Filename) Image Img = rl.Image(integer Width, integer Height, eTexture Format[, Color FillColor]) ``` Creates new Image object. See [eTexture](eTexture). #### Image:clone ```lua Image Img = Image:clone() ``` Create copy of image #### Image:subImage ```lua -- variants Image subImage = Image:subImage(integer X, integer Y, integer Width, integer Height) Image subImage = Image:subImage(Rectangle Rect) ``` Create an image from another image piece See [Rectangle](Rectangle). #### Image:toPOT ```lua Image subImgage = Image:toPOT(Color Color) ``` Convert image to POT (power-of-two). See [Color](Color). #### Image:getFormat ```lua eTexture ImageFormat = Image:getFormat() ``` Get image data format See [eTexture](eTexture) #### Image:setFormat ```lua Image:setFormat(eTexture ImageFormat) ``` Convert image data to desired format See [eTexture](eTexture) #### Image:alphaMask ```lua Image Image = Image:alphaMask(Image Mask) ``` Apply alpha mask to image, returns modified image for chaining. #### Image:alphaClear ```lua Image Image = Image:alphaClear(number Treshold, Color Color) ``` Clear alpha channel to desired color, returns modified image for chaining. See [Color](Color). #### Image:alphaCrop ```lua Image Image = Image:alphaCrop(number Treshold) ``` Crop image depending on alpha value, returns modified image for chaining. #### Image:alphaPremultiply ```lua Image Image = Image:alphaPremultiply(number Treshold) ``` Premultiply alpha channel, returns modified image for chaining. #### Image:crop ```lua -- variants Image croppedImage = Image:crop(integer X, integer Y, integer Width, integer Height) Image croppedImage = Image:crop(Rectangle Rect) ``` Crop an image to a defined rectangle. See [Rectangle](Rectangle). #### Image:resize ```lua Image Image = Image:resize(integer Width, integer Height) ``` Resize image (Bicubic scaling algorithm), returns modified image for chaining. #### Image:resizeNN ```lua Image Image = Image:resizeNN(integer Width, integer Height) ``` Resize image (Bicubic scaling algorithm), returns modified image for chaining. #### Image:resizeCanvas ```lua Image Image = Image:resizeCanvas(integer Width, integer Height[, integer OffsetX, integer OffsetY, Color FillColor]) ``` Resize canvas and fill with color, returns modified image for chaining. See [Color](Color). #### Image:genMipmaps ```lua Image Image = Image:genMipmaps() ``` Generate all mipmap levels for a provided image, returns modified image for chaining. #### Image:dither ```lua Image Image = Image:dither(integer rBpp, integer gBpp, integer bBpp, integer aBpp) ``` Dither image data to 16bpp or lower (Floyd-Steinberg dithering), returns modified image for chaining. #### Image:extractPalette ```lua table Colors = Image:extractPalette([integer MaxColorCount = 256]) ``` Extract color palette from image to maximum size. See [Color](Color). #### Image:drawImage ```lua Image Image = Image:drawImage(Image Src, Rectangle SrcRect, Rectangle DstRect[, Color Tint]) ``` Draw a source image within a destination image (tint applied to source), returns modified image for chaining. See [Rectangle](Rectangle), [Color](Color). #### Image:drawRectangle ```lua Image Image = Image:drawRectangle(string Mode, Rectangle Rect[, Color Color[, Integer LineThick]) ``` Draw a source image within a destination image (tint applied to source), returns modified image for chaining. See [Rectangle](Rectangle), [Color](Color). Available modes: `"fill"`, `"line"`. #### Image:drawText ```lua -- variants Image Image = Image:drawText(integer X, integer Y, string Text, Color Color, number FontSize) -- defaut font Image Image = Image:drawText(integer X, integer Y, string Text, Font Font, number FontSize, number Spacing, Color Color) Image Image = Image:drawText(Vector2 Position, string Text, Color Color, number FontSize) -- defaut font Image Image = Image:drawText(Vector2 Position, string Text, Font Font, number FontSize, number Spacing, Color Color) ``` Draw text within an image, returns modified image for chaining. See [Vector2](Vector2), [Color](Color), [Font](Font). #### Image:flip ```lua Image Image = Image:flip(string Mode) ``` Flip image, returns modified image for chaining. Available modes: `"horizontal"`, `"vertical"`. #### Image:rotate ```lua Image Image = Image:rotate(string Mode) ``` Rotate image, returns modified image for chaining. Available modes: `"right"`, `"left"` (clockwise 90deg and counter-clockwise 90deg). #### Image:tint ```lua Image Image = Image:tint(Color Color) ``` Modify image color: tint, returns modified image for chaining. See [Color](Color). #### Image:invert ```lua Image Image = Image:invert() ``` Modify image color: invert, returns modified image for chaining. #### Image:grayscale ```lua Image Image = Image:grayscale() ``` Modify image color: grayscale, returns modified image for chaining. #### Image:contrast ```lua Image Image = Image:contrast(number Contrast) ``` Modify image color: contrast (-100 to 100), returns modified image for chaining. #### Image:brightness ```lua Image Image = Image:brightness(integer Brightness) ``` Modify image color: brightness (-255 to 255), returns modified image for chaining. #### Image:replaceColor ```lua Image Image = Image:replaceColor(Color Src, Color Dst) ``` Modify image color: replace color, returns modified image for chaining. See [Color](Color). ## Texture ### Initialization ```lua -- ``` ## RenderTexture ### Initialization ```lua -- ``` ## NPatchInfo ### Initialization ```lua -- ``` ## CharInfo ### Initialization ```lua -- ``` ## Font ### Initialization ```lua -- ``` ## Camera3D ### Initialization ```lua -- ``` ## Camera2D ### Initialization ```lua -- ``` ## Mesh ### Initialization ```lua -- ``` ## Shader ### Initialization ```lua -- ``` ## MaterialMap ### Initialization ```lua -- ``` ## Material ### Initialization ```lua -- ``` ## Model ### Initialization ```lua -- ``` ## Transform ### Initialization ```lua -- ``` ## BoneInfo ### Initialization ```lua -- ``` ## ModelAnimation ### Initialization ```lua -- ``` ## Ray ### Initialization ```lua -- ``` ## RayHitInfo ### Initialization ```lua -- ``` ## BoundingBox ### Initialization ```lua -- ``` ## Wave ### Initialization ```lua -- ``` ## Sound ### Initialization ```lua -- ``` ## Music ### Initialization ```lua -- ``` ## AudioStream ### Initialization ```lua -- ``` ## VrDeviceInfo ### Initialization ```lua -- ``` ## Enums ### eKey eKey is the string or integer representation of keyboard scancode in American layout. Any keyboard function accepts strings and integers both. Representation layout: | integer | string | description | :------ | :--------- | :----------- | **Character keys** | | | -1 | unknown | The pressed key is unknown (used if user tries to use unknown string as key) | 32 | space | Space key | 39 | ' | Single quote key | 44 | , | Comma key | 45 | - | Hyphen-minus key | 46 | . | Full stop key | 47 | / | Slash key | 48 | 0 | The zero key | 49 | 1 | The one key | 50 | 2 | The two key | 51 | 3 | The three key | 52 | 4 | The four key | 53 | 5 | The five key | 54 | 6 | The six key | 55 | 7 | The seven key | 56 | 8 | The eight key | 57 | 9 | The nine key | 59 | ; | Semicolon key | 61 | = | Equal key | 65 | a | The A key | 66 | b | The B key | 67 | c | The C key | 68 | d | The D key | 69 | e | The E key | 70 | f | The F key | 71 | g | The G key | 72 | h | The H key | 73 | i | The I key | 74 | j | The J key | 75 | k | The K key | 76 | l | The L key | 77 | m | The M key | 78 | n | The N key | 79 | o | The O key | 80 | p | The P key | 81 | q | The Q key | 82 | r | The R key | 83 | s | The S key | 84 | t | The T key | 85 | u | The U key | 86 | v | The V key | 87 | w | The W key | 88 | x | The X key | 89 | y | The Y key | 90 | z | The Z key | 91 | \[ | Left square bracket key | 92 | \\ | Backslash key | 93 | \] | Right square bracket key | 96 | \` | Grave accent key, also known as the "Back tick" key | **Editing keys** | | | 258 | tab | Tab key | 259 | backspace | Backspace key | 260 | insert | Insert key | 261 | delete | Delete key | **Navigation keys** | | | 256 | escape | Escape key | 257 | enter | Enter key, also known as the Return key | 257 | return | Return key, also known as the Enter key | 262 | right | Right arrow key | 263 | left | Left arrow key | 264 | down | Down arrow key | 265 | up | Up arrow key | 266 | pageup | Page up key | 267 | pagedown | Page down key | 268 | home | Home key | 269 | end | End key | **Miscellaneous keys** | | | 280 | capslock | Caps-lock key, caps-on is a key press. Caps-off is a key release. | 281 | scrolllock | Scroll-lock key | 282 | numlock | Num-lock key, clear on Mac keyboards. | 283 | prtscr | Printscreen key | 284 | pause | Pause key | 348 | menu | Menu key | **Function keys** | | | 290 | f1 | The 1st function key | 291 | f2 | The 2nd function key | 292 | f3 | The 3rd function key | 293 | f4 | The 4th function key | 294 | f5 | The 5th function key | 295 | f6 | The 6th function key | 296 | f7 | The 7th function key | 297 | f8 | The 8th function key | 298 | f9 | The 9th function key | 299 | f10 | The 10th function key | 300 | f11 | The 11th function key | 301 | f12 | The 12th function key | **Modifier keys** | | | 340 | lshift | Left shift key | 341 | lctrl | Left control key | 342 | lalt | Left alt key | 343 | lsuper | Left command key in OS X, Windows key in Windows. | 344 | rshift | Right shift key | 345 | rctrl | Right control key | 346 | ralt | Right alt key | 347 | rsuper | Right command key in OS X, Windows key in Windows. | **Numpad keys** | | | 320 | kp0 | The numpad zero key | 321 | kp1 | The numpad one key | 322 | kp2 | The numpad two key | 323 | kp3 | The numpad three key | 324 | kp4 | The numpad four key | 325 | kp5 | The numpad five key | 326 | kp6 | The numpad six key | 327 | kp7 | The numpad seven key | 328 | kp8 | The numpad eight key | 329 | kp9 | The numpad nine key | 330 | kp. | The numpad decimal point key | 331 | kp/ | The numpad division key | 332 | kp* | The numpad multiplication key | 333 | kp- | The numpad substraction key | 334 | kp+ | The numpad addition key | 335 | kpenter | The numpad enter key | 336 | kp= | The numpad equals key Translating of representations provides by `rl.ekey` table: ```lua key = "space" ikey = rl.ekey[key] --> 32 skey = rl.ekey[ikey] --> "space" ``` This table is used internally in the library, so do not modify it if you don't know what is happens. ### eTexture eTexture is the string or integer representation of different texture formats. Any image or texture function with eTexture accepts strings and integers both. Representation layout: | integer | string | descriptions | :------ | :------------ | :----------- | 1 | grayscale | 8 bit per pixel, no alpha, uncompressed | 2 | grayalpha | 8*2 bpp, 2 channels, uncompressed | 3 | r5g6b5 | 16 bpp, uncompressed | 4 | r8g8b8 | 24 bpp, uncompressed | 5 | r5g5b5a1 | 16 bpp (1 bit alpha), uncompressed | 6 | r4g4b4a4 | 16 bpp (4 bit alpha), uncompressed | 7 | r8g8b8a8 | 32 bpp, default, uncompressed | 8 | r32 | 32 bpp (1 channel - float), uncompressed | 9 | r32g32b32 | 32*3 bpp (3 channels - float), uncompressed | 10 | r32g32b32a32 | 32*4 bpp (4 channels - float), uncompressed | 11 | dxt1_rgb | 4 bpp (no alpha), compressed | 12 | dxt1_rgba | 4 bpp (1 bit alpha), compressed | 13 | dxt3_rgba | 8 bpp, compressed | 14 | dxt5_rgba | 8 bpp, compressed | 15 | etc1_rgb | 4 bpp, compressed | 16 | etc2_rgb | 4 bpp, compressed | 17 | etc2_eac_rgba | 8 bpp, compressed | 18 | pvrt_rgb | 4 bpp, compressed | 19 | pvrt_rgba | 4 bpp, compressed | 20 | astc_4x4_rgba | 8 bpp, compressed | 21 | astc_8x8_rgba | 2 bpp, compressed Translation of representations is provided by `rl.etexture` table: ```lua key = "r8g8b8" ikey = rl.etexture[key] --> 4 skey = rl.etexture[ikey] --> "r8g8b8" ``` This table is used internally in the library, so do not modify it if you don't know what is happens.
30.689347
199
0.618495
eng_Latn
0.668927
2ea6420e264a34791358185082b292faea5a384c
2,010
md
Markdown
AlchemyInsights/buy-a-subscription-to-office-365-for-business.md
AdrianaMusic/OfficeDocs-AlchemyInsights-pr.cs-CZ
1eeb3a75180d9d8bf791c4554db66c7bebd4f0b6
[ "CC-BY-4.0", "MIT" ]
null
null
null
AlchemyInsights/buy-a-subscription-to-office-365-for-business.md
AdrianaMusic/OfficeDocs-AlchemyInsights-pr.cs-CZ
1eeb3a75180d9d8bf791c4554db66c7bebd4f0b6
[ "CC-BY-4.0", "MIT" ]
null
null
null
AlchemyInsights/buy-a-subscription-to-office-365-for-business.md
AdrianaMusic/OfficeDocs-AlchemyInsights-pr.cs-CZ
1eeb3a75180d9d8bf791c4554db66c7bebd4f0b6
[ "CC-BY-4.0", "MIT" ]
1
2021-06-10T18:23:48.000Z
2021-06-10T18:23:48.000Z
--- title: Zakoupení předplatného Microsoft 365 pro firmy z bezplatné zkušební verze ms.author: cmcatee author: cmcatee-MSFT manager: scotv ms.audience: Admin ms.topic: article ms.service: o365-administration ROBOTS: NOINDEX, NOFOLLOW localization_priority: Normal ms.collection: Adm_O365 ms.custom: - "257" - "1400007" ms.assetid: ed072510-d4b6-44ad-b24a-f99b9892eaa8 ms.openlocfilehash: e4e2024031ea539ae5107569481eb30e20649067 ms.sourcegitcommit: beb9715ac0c8e8333fef6764ecd346b7401a2612 ms.translationtype: MT ms.contentlocale: cs-CZ ms.lasthandoff: 10/10/2020 ms.locfileid: "48416200" --- # <a name="buy-a-subscription-to-microsoft-365-from-your-free-trial"></a>Zakoupení předplatného Microsoft 365 z bezplatné zkušební verze Vyzkoušeli jste Microsoft 365 a teď jste připraveni koupit. Při nákupu Microsoft 365 ze zkušební verze máte dvě možnosti: **Zakoupení plánu stejného, jako je zkušební verze** 1. V centru pro správu přejděte na stránku **fakturace** \> [vašich produktů](https://go.microsoft.com/fwlink/p/?linkid=842054) . 2. Na kartě **Products (produkty** ) vyberte předplatné, které chcete koupit. 3. Na stránce Podrobnosti předplatného vyberte v části **licence** možnost **koupit placené předplatné nyní**a postupujte podle pokynů. **Zakoupení jiného předplatného** 1. V centru pro správu přejděte na **Billing** \> stránku [služby pro nákupy](https://go.microsoft.com/fwlink/p/?linkid=868433) fakturace. 2. Najděte předplatné, které chcete koupit, vyberte **koupit**a postupujte podle pokynů. Další informace najdete v tématu [zakoupení předplatného z bezplatného zkušebního období](https://docs.microsoft.com/microsoft-365/commerce/try-or-buy-microsoft-365#buy-a-subscription-from-your-free-trial). **Řešení potíží** Pokud narazíte na problémy s načítáním webové stránky, zkuste ji otevřít v jiném prohlížeči nebo ji zkuste otevřít v anonymním okně prohlížeče – například v okně se službou procházení InPrivate v Microsoft Edge nebo v okně anonymního režimu v Google Chromu.
47.857143
257
0.795025
ces_Latn
0.999194
2ea6713b1c8f20c6eeb5a4b9f604ac3c497cf640
1,848
md
Markdown
_posts/2020-04-10-algo-boj2110.md
heesooooooooo/heesooooooooo.github.io
3d7c59b112282225fa915d8845385c9bdbf5386b
[ "MIT" ]
null
null
null
_posts/2020-04-10-algo-boj2110.md
heesooooooooo/heesooooooooo.github.io
3d7c59b112282225fa915d8845385c9bdbf5386b
[ "MIT" ]
3
2019-12-18T17:01:24.000Z
2021-03-10T15:49:55.000Z
_posts/2020-04-10-algo-boj2110.md
heesooooooooo/heesooooooooo.github.io
3d7c59b112282225fa915d8845385c9bdbf5386b
[ "MIT" ]
null
null
null
--- layout: post cover: 'assets/images/cover4.jpg' navigation: True title: "[JAVA/백준] 이분 탐색: 공유기 설치" date: 2020-04-10 00:00:00 tags: boj subclass: 'post tag-boj' logo: 'assets/images/ghost.png' author: heesoo categories: boj --- ## <span style="color:navy">👀 문제</span> <https://www.acmicpc.net/problem/2110> ## <span style="color:navy">👊 도전</span> ### 1. 설계 1. 두 공유기 사이의 거리를 mid로 하여 이분 탐색으로 구한다. ### 2. 구현 (성공 코드) {% highlight java linenos %} import java.util.Arrays; import java.util.Scanner; /** * @author HEESOO * */ public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner scan = new Scanner(System.in); int n=scan.nextInt(); int c=scan.nextInt(); int[] array=new int[n]; for(int i=0;i<n;i++) array[i]=scan.nextInt(); Arrays.sort(array); int left=1; int right=array[n-1]-array[0]; int mid=0; int max=0; while(left<=right) { mid=(left+right)/2; int cnt=1; int install=array[0]; for(int i=1;i<n;i++) { if(install+mid<=array[i]) { cnt++; install=array[i]; } } if(cnt>=c) { max=Math.max(max, mid); left=mid+1; } else right=mid-1; } System.out.println(max); } } {% endhighlight %} ### 3. 결과 ![실행결과](./assets/images/200410_6.PNG) 🤟 성공 🤟 ### 4. 설명 1. **<span style="color:navy">이분 탐색을 사용한다</span>** - 두 공유기 사이의 거리를 mid로 놓고 이분 탐색으로 구한다. - 첫 번째 집에는 무조건 설치한다고 하고, 현재 마지막 설치 집+mid가 현재 순회 중인 array[i]에 설치할 수 있다면 설치한다. ## <span style="color:navy">👏 해결 완료!</span> 문제 이해하는 것이 어려웠다. 예시에서 1 4 9 설치하면 최댓값은 5라고 생각했는데, 그게 아니라 mid=3일때 1 4에 설치하면 8 9에 설치할 수 있으므로 mid는 3개가 되는 것이었다. ### 참고 - 백준 2110 공유기 설치 Java <https://dundung.tistory.com/54> - 백준 2110 문제. 공유기 설치 <https://romanceboong.tistory.com/entry/%EB%B0%B1%EC%A4%80-2110%EB%B2%88-%EB%AC%B8%EC%A0%9C-%EA%B3%B5%EC%9C%A0%EA%B8%B0-%EC%84%A4%EC%B9%98>
21.488372
160
0.62013
kor_Hang
0.984856
2ea73b3bb665e802514c657ac927a565505fcc3a
1,543
md
Markdown
_posts/2021-06-01-anyone-who-donated-to-beartaria-can-now-camp-there.md
digitaljonestown/digitaljonestown.github.io
7f77452c600cb620ba2df51f6300645c6bdff00b
[ "MIT" ]
null
null
null
_posts/2021-06-01-anyone-who-donated-to-beartaria-can-now-camp-there.md
digitaljonestown/digitaljonestown.github.io
7f77452c600cb620ba2df51f6300645c6bdff00b
[ "MIT" ]
null
null
null
_posts/2021-06-01-anyone-who-donated-to-beartaria-can-now-camp-there.md
digitaljonestown/digitaljonestown.github.io
7f77452c600cb620ba2df51f6300645c6bdff00b
[ "MIT" ]
null
null
null
--- title: "Anyone who 'donated' to Beartaria can now camp there!" author: Pastor Jim date: 2021-06-01 02:55:00 +0800 categories: [Scams, Beartaria] tags: [idaho, cult] --- <iframe width="640" height="360" src="https://www.youtube-nocookie.com/embed/lIFX-Hy5IDQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> This is the video referenced in a presentation to Boundary County Commissioners by concerned residents and reported on by [the Daily Beast](https://www.thedailybeast.com/neighbors-fear-bear-themed-compound-will-be-next-ruby-ridge){:target="_blank"} and other news outlets recently. Owen's response has been to lie and claim he was impersonated, when in fact he was just paraphrased. At [0:18](https://www.youtube.com/watch?v=lIFX-Hy5IDQ&t=18s){:target="_blank"} he says very clearly "as soon as we secure land, everyone who contributed is allowed to camp there". Owen later [claimed](https://youtu.be/k06pOaDqkMc){:target="_blank"} only people who donated over $400 could camp, of which there were 700, so the plan is 70 bears at a time for 5 months a year. It appears much of what Owen promised is actually illegal, according to the neighbors who are lobbying to have this all shut down. The story was also picked up by [the Daily Mail](https://www.dailymail.co.uk/news/article-9640211/Disgraced-alt-right-comedian-Owen-Benjamin-planning-Idaho-refuge-online-pals.html){:target="_blank"} today (6/1/2021).
81.210526
562
0.769281
eng_Latn
0.990831
2ea7aed50a2dd0c03200f825ffccda7d7725e838
1,574
md
Markdown
CHANGELOG.md
swiftcarrot/dashi
f50a5ffa43cec9f431d0efe6e2753025944b5c23
[ "Apache-2.0" ]
13
2020-06-07T15:49:43.000Z
2021-12-29T08:49:36.000Z
CHANGELOG.md
swiftcarrot/dashi
f50a5ffa43cec9f431d0efe6e2753025944b5c23
[ "Apache-2.0" ]
64
2020-07-15T11:29:09.000Z
2022-01-02T08:24:32.000Z
CHANGELOG.md
swiftcarrot/dashi
f50a5ffa43cec9f431d0efe6e2753025944b5c23
[ "Apache-2.0" ]
2
2020-06-09T08:05:36.000Z
2020-06-09T10:24:33.000Z
# CHANGELOG ## Unreleased - config with env support ## 0.6.0 - scaffold generation with file based router - empty encoding in model by default ## 0.5.6 - move stories to packages/storybook, remove packages/storybook-preset - remove `postcss-normalize` ## 0.5.5 - use prettier default config - rm `READEME.md` from templates - add `.prettierignore` ## 0.5.4 - add install.sh - add `arm64` build in goreleaser ## 0.5.3 - update goreleaser filename ## 0.5.2 - switch to `github.com/swiftcarrot/gqlgen` ## 0.5.1 - fix `defer` in database template - rm `cmd/pack` - replace `packr` with go embed - add server generator - no more ignoring `DS_Store` - switch to `github.com/swiftcarrot/gqlgen` internally ## 0.5.0 - remove Pagination & items in scaffold - js `export default function()` one liner - use go embed for project migration files, add database package ## 0.4.2 - fix gqlgen model plugin missing ## 0.4.1 - remove `g webpacker:install` - move webpacker generator to packages generator - add `packages/app` by default ## 0.4.0 - remove `g storybook:install` - add `g packages` - default storybook integration - storybook v6 - add `storybook-preset` package - fix html minify options in webpacker ## 0.3.0 - add `g webpacker:install` for custom webpack & babel configs ## 0.2.1 - improve error handling in handler - generating a `GET /_health` endpoint - add `dashi/server` package ## 0.2.0 - add `g storybook:install` - add config package - upgrade to apollo client v3 - improve pluralization in [flect](https://github.com/swiftcarrot/flect)
18.302326
72
0.717916
eng_Latn
0.773757
2ea9192540c7036b1374f47efbad1308adf9a9f9
100
md
Markdown
README.md
ArthurWalraven/ResourcesMonitor
7643a401fbdd2d6dbad2be27b6c8b542f517e57b
[ "MIT" ]
null
null
null
README.md
ArthurWalraven/ResourcesMonitor
7643a401fbdd2d6dbad2be27b6c8b542f517e57b
[ "MIT" ]
null
null
null
README.md
ArthurWalraven/ResourcesMonitor
7643a401fbdd2d6dbad2be27b6c8b542f517e57b
[ "MIT" ]
null
null
null
# ResourcesMonitor A simple resources monitor. Made as a way of trying a few unix terminal features
33.333333
80
0.81
eng_Latn
0.955269
2ea94b2625a7ba718334232745fc6d4089a0c9e2
2,195
md
Markdown
blog/budgeting-for-a-rainy-day.md
simpixelated/kohlifornia
d773f94ade70e1e720ca54767c494eba4929f02a
[ "MIT" ]
null
null
null
blog/budgeting-for-a-rainy-day.md
simpixelated/kohlifornia
d773f94ade70e1e720ca54767c494eba4929f02a
[ "MIT" ]
39
2018-05-06T22:27:21.000Z
2018-07-18T14:21:20.000Z
blog/budgeting-for-a-rainy-day.md
simpixelated/kohlifornia
d773f94ade70e1e720ca54767c494eba4929f02a
[ "MIT" ]
null
null
null
--- path: budget for rainy day date: '2018-05-12' title: Budgeting for a Rainy Day --- Okay I know most of us don’t like that word budget. Heck, I used to fear the word. Or better yet, pretend I didn’t need to hear it. Thankfully [Jordan](https://simpixelated.com) is a software nerd and turned us on to the most amazing software that has changed our cash flow. [YNAB (You Need a Budget)](https://ynab.com/referral/?ref=LZ_JUlWk3nnnAwmX&utm_source=customer_referral) is an application that allows you to not only track all of your spending, but put it into neat categories and track EVERY SINGLE DOLLAR. Yes, every single dollar. Every dollar you earn is assigned a task. Whether it’s for craft beer, savings goals, retirement, groceries, toothbrushes, car insurance, you name it. You just make your own budget category. The best part is that it forces you to live off of what you HAVE, not what you will EARN. It prevents you from overspending, if used correctly. I recommend this software to you not as a boring task to groan about, but a way to free you from financial worries. YNAB has given us the ability to not fear bills or financial obligations. One of my favorite features is setting up budget categories for rainy day funds. Basically I can save up all the money needed to pay every single bill. I calculate how much I need when that bill comes due, divide it out into a monthly amount and save that up every single month. Then when it comes due - BOOM - I already have the money sitting there waiting. This includes everything from insurance payments, property taxes, clothing, electronics, vacations, gifts, memberships, charitable donations, and on and on. I can’t even begin to tell you just how life changing it is to have those rainy day funds. No more worrying, or overspending on our credit cards. Not only does YNAB makes you earn the money before you spend it, but it helps you be prepared for almost every financial situation life throws your way. - - - _Here's a handy infographic for all those rainy day funds you should be saving towards every month. What other rainy day funds do you budget for every month?_ ![null](/assets/rainydaysavings.png)
115.526316
885
0.775399
eng_Latn
0.999739
2ea9db5da69e21caadb882c0977f544202a6ddd5
3,281
md
Markdown
_posts/2019-03-22-Download-n3-electrical-trade-theory-2014-paper.md
Ozie-Ottman/11
1005fa6184c08c4e1a3030e5423d26beae92c3c6
[ "MIT" ]
null
null
null
_posts/2019-03-22-Download-n3-electrical-trade-theory-2014-paper.md
Ozie-Ottman/11
1005fa6184c08c4e1a3030e5423d26beae92c3c6
[ "MIT" ]
null
null
null
_posts/2019-03-22-Download-n3-electrical-trade-theory-2014-paper.md
Ozie-Ottman/11
1005fa6184c08c4e1a3030e5423d26beae92c3c6
[ "MIT" ]
null
null
null
--- layout: post comments: true categories: Other --- ## Download N3 electrical trade theory 2014 paper book spadefuls of raw earth cast into his eternally surprise-filled eyes, 'Sing upon this pomegranate-flower, O desire of hearts!' And he bestowed on her that which was n3 electrical trade theory 2014 paper him. "The fishing in the eastern lagoon takes place mainly in During the course of the winter Lieutenant Nordquist endeavoured to In other words, spilled out of the can. For I supposed that the specks " в but a bunch of hooey that maybe has a second and more serious purpose," Micky suggested. " justice by torturing his conscience, each of which deserves a place in the splintered, or one of n3 electrical trade theory 2014 paper The modulated electronic brrrrr was similar to the sound of the telephone in bare hands. She'll have no Zemlya, when Celestina began to wonder if. " Her heart began to go at a carthorse gallop. Appointed Term, an important development that Celestina mentioned on the phone but that she declined to discuss, dangerous mutants. "I n3 electrical trade theory 2014 paper chores for her and eventually became a sort of assistant, he would cross Bartholomew's path when he least expected. She will remain unshakably convinced of this even if she lives to be a centenarian and her child has been harrowed by eight hard decades of gravity and experience. The following morning, visible from the doorway. It was in no tongue of man that he said, however, but Edom knew he was right this time. " you've been reading about. resort to violence so immediately if they weren't certain that these Bureau "Not really," he said, please?" she said, Junior lay waiting to go under the knife. what if Junior eventually located the right Bartholomew and eliminated the tail-fins each, riveted by the impending disaster, i. ' Anieb kept a better pace than seemed possible in a woman so famished and destroyed, but "May God keep us," Nolly said, Celia's earlier nervousness had given way to a stoic resignation to the fact that she was now committed, to gawk. 451 Most of the natives who have come into close contact with the that of any other country, but in Norway again for the most part of rocks of Ethnography. " "Oh, L. She shot me. She n3 electrical trade theory 2014 paper still, a television. I drew picket duty again this morning. " covered with stones and washed by foaming breakers, women know the Old Powers. Stoop to snatch them up. practice magic puts the Kargs at a disadvantage with the Archipelagans in almost every respect, and sure enough a rainbow looped above them to the far horizons. "That's part of it," Pernak replied, the day is come. Nothing sticky. She "Who are you?" Hinda asked again. from farther in the east. She looked back at him. " cover his tracks, Driscoll," Sirocco called n3 electrical trade theory 2014 paper as the party came into sight around a bend in the wall, As Sklent so insightfully put it: Some of us live on after death. " "Shape-taking?" "Of yourself and of others. the command of Captain AMEZAGA. King Bihkerd, a small crowd was listening appreciatively to a string quartet playing a piece that Bernard recognized 'as Beethoven, anyway. Junior intended to pack only a single bag, but thanks to Bylaw 9(c)!
364.555556
3,170
0.788174
eng_Latn
0.999927
2eaace9f957db360fcc42e042c77df42cd688552
23,120
md
Markdown
repos/mongo/remote/4.2.md
NeilHanlon/repo-info
c513545202b9690e12fe679317a79e0fffa81765
[ "Apache-2.0" ]
null
null
null
repos/mongo/remote/4.2.md
NeilHanlon/repo-info
c513545202b9690e12fe679317a79e0fffa81765
[ "Apache-2.0" ]
null
null
null
repos/mongo/remote/4.2.md
NeilHanlon/repo-info
c513545202b9690e12fe679317a79e0fffa81765
[ "Apache-2.0" ]
1
2022-01-26T17:51:39.000Z
2022-01-26T17:51:39.000Z
## `mongo:4.2` ```console $ docker pull mongo@sha256:282a20474a5369f469474ef57f1f33758549ec1a7acb363798e912aed6d11329 ``` - Manifest MIME: `application/vnd.docker.distribution.manifest.list.v2+json` - Platforms: 4 - linux; amd64 - linux; arm64 variant v8 - windows version 10.0.20348.473; amd64 - windows version 10.0.17763.2458; amd64 ### `mongo:4.2` - linux; amd64 ```console $ docker pull mongo@sha256:b5c8d443187ad232a0e7e1c078d2f156f1d09cb01cef62cc03cd381dc69d565f ``` - Docker Version: 20.10.7 - Manifest MIME: `application/vnd.docker.distribution.manifest.v2+json` - Total Size: **165.4 MB (165360890 bytes)** (compressed transfer size, not on-disk size) - Image ID: `sha256:552267902cf3633add5873bc141eb863fb3aa32f52e7bc6df9975e51ce3cf88b` - Entrypoint: `["docker-entrypoint.sh"]` - Default Command: `["mongod"]` ```dockerfile # Fri, 07 Jan 2022 02:25:21 GMT ADD file:2aa3e79e3cff3c048612744ac310cf86bc27de3433d420711bafc6612445befc in / # Fri, 07 Jan 2022 02:25:21 GMT CMD ["bash"] # Fri, 07 Jan 2022 03:41:05 GMT RUN groupadd -r mongodb && useradd -r -g mongodb mongodb # Fri, 07 Jan 2022 03:41:14 GMT RUN set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl ; if ! command -v ps > /dev/null; then apt-get install -y --no-install-recommends procps; fi; rm -rf /var/lib/apt/lists/* # Fri, 07 Jan 2022 03:41:15 GMT ENV GOSU_VERSION=1.12 # Fri, 07 Jan 2022 03:41:15 GMT ENV JSYAML_VERSION=3.13.1 # Fri, 07 Jan 2022 03:41:28 GMT RUN set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; if ! command -v gpg > /dev/null; then apt-get install -y --no-install-recommends gnupg dirmngr; savedAptMark="$savedAptMark gnupg dirmngr"; elif gpg --version | grep -q '^gpg (GnuPG) 1\.'; then apt-get install -y --no-install-recommends gnupg-curl; fi; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc; wget -O /js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # Fri, 07 Jan 2022 03:41:28 GMT RUN mkdir /docker-entrypoint-initdb.d # Fri, 07 Jan 2022 03:41:33 GMT RUN set -ex; export GNUPGHOME="$(mktemp -d)"; set -- 'E162F504A20CDF15827F718D4B7C549A058F8B6B'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --export "$@" > /etc/apt/trusted.gpg.d/mongodb.gpg; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"; apt-key list # Fri, 07 Jan 2022 03:41:33 GMT ARG MONGO_PACKAGE=mongodb-org # Fri, 07 Jan 2022 03:41:33 GMT ARG MONGO_REPO=repo.mongodb.org # Fri, 07 Jan 2022 03:41:33 GMT ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org # Fri, 07 Jan 2022 03:41:34 GMT ENV MONGO_MAJOR=4.2 # Fri, 07 Jan 2022 03:41:34 GMT RUN echo "deb http://$MONGO_REPO/apt/ubuntu bionic/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # Fri, 07 Jan 2022 03:41:34 GMT ENV MONGO_VERSION=4.2.18 # Fri, 07 Jan 2022 03:41:52 GMT RUN set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && ln -s /bin/true /usr/local/bin/systemctl && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -f /usr/local/bin/systemctl && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # Fri, 07 Jan 2022 03:41:53 GMT RUN mkdir -p /data/db /data/configdb && chown -R mongodb:mongodb /data/db /data/configdb # Fri, 07 Jan 2022 03:41:53 GMT VOLUME [/data/db /data/configdb] # Fri, 07 Jan 2022 03:41:53 GMT COPY file:ff519c7454e20e6f14c42932b8d6eaee066ed739bfbbd2a6e884d0a7ffeead38 in /usr/local/bin/ # Fri, 07 Jan 2022 03:41:54 GMT ENTRYPOINT ["docker-entrypoint.sh"] # Fri, 07 Jan 2022 03:41:54 GMT EXPOSE 27017 # Fri, 07 Jan 2022 03:41:54 GMT CMD ["mongod"] ``` - Layers: - `sha256:2f94e549220aea96f00cae7eb95f401e61b41a16cc5eb0b4ea592d0ce871930a` Last Modified: Thu, 06 Jan 2022 23:50:21 GMT Size: 26.7 MB (26705027 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:48f51a6dc3f8c220b586932cdf37a5fcf4da95c2facbd474b0988aaad184da2c` Last Modified: Fri, 07 Jan 2022 03:44:20 GMT Size: 1.9 KB (1881 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:7861598e4e27574c5867702789560a92318b8e8ca80f58ed78dc07777439a858` Last Modified: Fri, 07 Jan 2022 03:44:20 GMT Size: 3.0 MB (2978673 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:890b75ab853670e3e8e9e54189bba60192b0b8e503f2b13f95edb973ec591fa1` Last Modified: Fri, 07 Jan 2022 03:44:21 GMT Size: 5.8 MB (5829208 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:605a108a2cf652a8a4878121fdf2f6bd22e975c8423470bb8cb31f76385274ae` Last Modified: Fri, 07 Jan 2022 03:44:20 GMT Size: 149.0 B MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:355c96e6e0ea01b31396512791f70b3a8af494c3c8eb6321a889a8ad2bd88195` Last Modified: Fri, 07 Jan 2022 03:44:17 GMT Size: 1.4 KB (1432 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:2fd24da2061f11ade52df392b1f7637f504ccb836ffea928e893e9f48295b7bc` Last Modified: Fri, 07 Jan 2022 03:44:17 GMT Size: 235.0 B MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:826e930c4dd3fda51c13be6d8948c9cb76e6e3eb9a224fc25f00827978455d50` Last Modified: Fri, 07 Jan 2022 03:44:33 GMT Size: 129.8 MB (129839170 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:ec282d0db6ab2ac8fd03d68598efc46d07a95a683f832fd12495e07b09a83ac6` Last Modified: Fri, 07 Jan 2022 03:44:17 GMT Size: 170.0 B MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:2056d8311ba6cfe7ebf14685d7bd0e29ac77440ac9860a46e0129561fac3142f` Last Modified: Fri, 07 Jan 2022 03:44:17 GMT Size: 4.9 KB (4945 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip ### `mongo:4.2` - linux; arm64 variant v8 ```console $ docker pull mongo@sha256:e1eaa274fd8c17943de0e35986ad78f4654e5a48dc65bb6e5916ac5a11e0bfdd ``` - Docker Version: 20.10.7 - Manifest MIME: `application/vnd.docker.distribution.manifest.v2+json` - Total Size: **155.6 MB (155553677 bytes)** (compressed transfer size, not on-disk size) - Image ID: `sha256:b1be5b2ddab9e630b293cad848e91417cd6d609c8179604f310542c317f9e8c6` - Entrypoint: `["docker-entrypoint.sh"]` - Default Command: `["mongod"]` ```dockerfile # Fri, 07 Jan 2022 01:53:37 GMT ADD file:def71737de83b2ed2d5ddb5520331ef14ccd496fc11b4f830b79318dd65164a3 in / # Fri, 07 Jan 2022 01:53:38 GMT CMD ["bash"] # Fri, 07 Jan 2022 02:57:41 GMT RUN groupadd -r mongodb && useradd -r -g mongodb mongodb # Fri, 07 Jan 2022 02:57:52 GMT RUN set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl ; if ! command -v ps > /dev/null; then apt-get install -y --no-install-recommends procps; fi; rm -rf /var/lib/apt/lists/* # Fri, 07 Jan 2022 02:57:53 GMT ENV GOSU_VERSION=1.12 # Fri, 07 Jan 2022 02:57:54 GMT ENV JSYAML_VERSION=3.13.1 # Fri, 07 Jan 2022 02:58:10 GMT RUN set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget ; if ! command -v gpg > /dev/null; then apt-get install -y --no-install-recommends gnupg dirmngr; savedAptMark="$savedAptMark gnupg dirmngr"; elif gpg --version | grep -q '^gpg (GnuPG) 1\.'; then apt-get install -y --no-install-recommends gnupg-curl; fi; rm -rf /var/lib/apt/lists/*; dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc; wget -O /js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # Fri, 07 Jan 2022 02:58:11 GMT RUN mkdir /docker-entrypoint-initdb.d # Fri, 07 Jan 2022 02:58:13 GMT RUN set -ex; export GNUPGHOME="$(mktemp -d)"; set -- 'E162F504A20CDF15827F718D4B7C549A058F8B6B'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --export "$@" > /etc/apt/trusted.gpg.d/mongodb.gpg; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"; apt-key list # Fri, 07 Jan 2022 02:58:13 GMT ARG MONGO_PACKAGE=mongodb-org # Fri, 07 Jan 2022 02:58:14 GMT ARG MONGO_REPO=repo.mongodb.org # Fri, 07 Jan 2022 02:58:15 GMT ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org # Fri, 07 Jan 2022 02:58:16 GMT ENV MONGO_MAJOR=4.2 # Fri, 07 Jan 2022 02:58:17 GMT RUN echo "deb http://$MONGO_REPO/apt/ubuntu bionic/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # Fri, 07 Jan 2022 02:58:18 GMT ENV MONGO_VERSION=4.2.18 # Fri, 07 Jan 2022 02:58:36 GMT RUN set -x && export DEBIAN_FRONTEND=noninteractive && apt-get update && ln -s /bin/true /usr/local/bin/systemctl && apt-get install -y ${MONGO_PACKAGE}=$MONGO_VERSION ${MONGO_PACKAGE}-server=$MONGO_VERSION ${MONGO_PACKAGE}-shell=$MONGO_VERSION ${MONGO_PACKAGE}-mongos=$MONGO_VERSION ${MONGO_PACKAGE}-tools=$MONGO_VERSION && rm -f /usr/local/bin/systemctl && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # Fri, 07 Jan 2022 02:58:36 GMT RUN mkdir -p /data/db /data/configdb && chown -R mongodb:mongodb /data/db /data/configdb # Fri, 07 Jan 2022 02:58:37 GMT VOLUME [/data/db /data/configdb] # Fri, 07 Jan 2022 02:58:39 GMT COPY file:ff519c7454e20e6f14c42932b8d6eaee066ed739bfbbd2a6e884d0a7ffeead38 in /usr/local/bin/ # Fri, 07 Jan 2022 02:58:39 GMT ENTRYPOINT ["docker-entrypoint.sh"] # Fri, 07 Jan 2022 02:58:40 GMT EXPOSE 27017 # Fri, 07 Jan 2022 02:58:41 GMT CMD ["mongod"] ``` - Layers: - `sha256:976e4515cbe3bb05d3eaff6aa830f00c2593211ff7600840d5e9a030c803bbee` Last Modified: Fri, 07 Jan 2022 01:55:15 GMT Size: 23.7 MB (23726915 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:5394b8aa3ce6542203e95545172cf26782e068022bd3a152ec23041bcdcf8340` Last Modified: Fri, 07 Jan 2022 03:01:42 GMT Size: 1.9 KB (1856 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:484235a843b80c23c26e4a1ace8f4bac79c4d1c92884cdc530a8f159af35400f` Last Modified: Fri, 07 Jan 2022 03:01:42 GMT Size: 2.7 MB (2668888 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:4d82d900335ef7cca694af8924c174220b5afc24f7e525ce6a30a404c88cdcb2` Last Modified: Fri, 07 Jan 2022 03:01:42 GMT Size: 5.2 MB (5190345 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:9622a07972f70332992233f6445ed2639bf29970c1644aa044be68b2dff41455` Last Modified: Fri, 07 Jan 2022 03:01:41 GMT Size: 115.0 B MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:e02b47dfd048506db8309c0ffebe2985f1d70b51bd0ff8063355e2299eef86eb` Last Modified: Fri, 07 Jan 2022 03:01:39 GMT Size: 1.4 KB (1407 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:681bc06db3c91220e730f5b7e489d9d057d28d7e00543e4755430ec1d3365262` Last Modified: Fri, 07 Jan 2022 03:01:39 GMT Size: 236.0 B MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:337237b0745a4d7b01a167a8ef35e26753da042098ca67e77f744be11cc70798` Last Modified: Fri, 07 Jan 2022 03:01:55 GMT Size: 124.0 MB (123958830 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:16b36263e13642bed1e44f8c47339606aa46da9e318011758b40cda721305b65` Last Modified: Fri, 07 Jan 2022 03:01:39 GMT Size: 139.0 B MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:2ba218fef72fcf45872337ef34959ff53452c3311e11783cf1a1f62ccaa485c2` Last Modified: Fri, 07 Jan 2022 03:01:39 GMT Size: 4.9 KB (4946 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip ### `mongo:4.2` - windows version 10.0.20348.473; amd64 ```console $ docker pull mongo@sha256:e2b9e80e66b01155d48aff6087ffc7be3489bf0c77e1c38c2289c729c188f12f ``` - Docker Version: 20.10.8 - Manifest MIME: `application/vnd.docker.distribution.manifest.v2+json` - Total Size: **2.5 GB (2492362271 bytes)** (compressed transfer size, not on-disk size) - Image ID: `sha256:6e9a8835d0a6dc684528e45add20eaa7ec780915910dcc1d5ed318b2e893a688` - Default Command: `["mongod","--bind_ip_all"]` - `SHELL`: `["powershell","-Command","$ErrorActionPreference = 'Stop';"]` ```dockerfile # Sat, 08 May 2021 09:40:24 GMT RUN Apply image 2022-RTM-amd64 # Sun, 16 Jan 2022 05:17:24 GMT RUN Install update ltsc2022-amd64 # Mon, 24 Jan 2022 23:14:57 GMT SHELL [powershell -Command $ErrorActionPreference = 'Stop';] # Mon, 24 Jan 2022 23:35:15 GMT ENV MONGO_VERSION=4.2.18 # Mon, 24 Jan 2022 23:35:16 GMT ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.18-signed.msi # Mon, 24 Jan 2022 23:35:17 GMT ENV MONGO_DOWNLOAD_SHA256=b10879892c9729e55bd347f6084d2783e295d3bd041167e62a5d1da6538dd6ef # Mon, 24 Jan 2022 23:37:57 GMT RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.'; # Mon, 24 Jan 2022 23:37:58 GMT VOLUME [C:\data\db C:\data\configdb] # Mon, 24 Jan 2022 23:37:59 GMT EXPOSE 27017 # Mon, 24 Jan 2022 23:38:00 GMT CMD ["mongod" "--bind_ip_all"] ``` - Layers: - `sha256:8f616e6e9eec767c425fd9346648807d1b658d20ff6097be1d955aac69c26642` Size: 1.3 GB (1251699055 bytes) MIME: application/vnd.docker.image.rootfs.foreign.diff.tar.gzip - `sha256:0e02c12b1310e6c76c29fcd6f81905400fdb6a01caac9dc825939ad004baffef` Size: 955.8 MB (955800778 bytes) MIME: application/vnd.docker.image.rootfs.foreign.diff.tar.gzip - `sha256:8c23346c84162bdf06f85b57d55396916bb13e6a631f65a1e6ee317bfe8a7f8a` Last Modified: Tue, 25 Jan 2022 00:06:08 GMT Size: 1.4 KB (1419 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:800dbf4e6c74ae3111c79f48d2ba47d932ebcfb843bc86d0b743f05cde3f1b04` Last Modified: Tue, 25 Jan 2022 00:37:58 GMT Size: 1.4 KB (1395 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:662286917c5da305a90f2f12c1dbd4861126bd4a1e19583df1416c9993d4ad70` Last Modified: Tue, 25 Jan 2022 00:37:58 GMT Size: 1.4 KB (1414 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:5e470b2e7ab7a05041308dc9378dce9668e5163f583112b2c5505e337363b71c` Last Modified: Tue, 25 Jan 2022 00:37:55 GMT Size: 1.4 KB (1397 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:823e541e589d1b254a6fba7f24463a46d9fa9af4e34722c8f0e7a8d612b6706a` Last Modified: Tue, 25 Jan 2022 00:43:31 GMT Size: 284.9 MB (284852571 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:c6789677eaa6905a747da4862b8f68ca978b647396fe2498c7bb3c366b723c9e` Last Modified: Tue, 25 Jan 2022 00:37:56 GMT Size: 1.4 KB (1422 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:6f85b4090e5bdf8ea0c9e86fd46e778b0d967f461cee43d5fff05b7f4eba10c9` Last Modified: Tue, 25 Jan 2022 00:37:56 GMT Size: 1.4 KB (1396 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:b71e0f932bd5d68ff0b90060354fa6834907344fcf1e885d590b1832153e9092` Last Modified: Tue, 25 Jan 2022 00:37:55 GMT Size: 1.4 KB (1424 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip ### `mongo:4.2` - windows version 10.0.17763.2458; amd64 ```console $ docker pull mongo@sha256:a5e67e0845b32d43d448fde5f34192223aa9bbbba6bffa5f9df4d7070ff9d2d9 ``` - Docker Version: 20.10.8 - Manifest MIME: `application/vnd.docker.distribution.manifest.v2+json` - Total Size: **3.0 GB (2997966388 bytes)** (compressed transfer size, not on-disk size) - Image ID: `sha256:d60e394996e853ccf80c752c5a48a3eaf33839ba813024cac0cee3fde8bd3756` - Default Command: `["mongod","--bind_ip_all"]` - `SHELL`: `["powershell","-Command","$ErrorActionPreference = 'Stop';"]` ```dockerfile # Thu, 07 May 2020 05:09:25 GMT RUN Apply image 1809-RTM-amd64 # Tue, 18 Jan 2022 01:52:23 GMT RUN Install update 1809-amd64 # Mon, 24 Jan 2022 23:18:10 GMT SHELL [powershell -Command $ErrorActionPreference = 'Stop';] # Mon, 24 Jan 2022 23:38:12 GMT ENV MONGO_VERSION=4.2.18 # Mon, 24 Jan 2022 23:38:13 GMT ENV MONGO_DOWNLOAD_URL=https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.18-signed.msi # Mon, 24 Jan 2022 23:38:15 GMT ENV MONGO_DOWNLOAD_SHA256=b10879892c9729e55bd347f6084d2783e295d3bd041167e62a5d1da6538dd6ef # Mon, 24 Jan 2022 23:41:38 GMT RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); if ($env:MONGO_DOWNLOAD_SHA256) { Write-Host ('Verifying sha256 ({0}) ...' -f $env:MONGO_DOWNLOAD_SHA256); if ((Get-FileHash mongo.msi -Algorithm sha256).Hash -ne $env:MONGO_DOWNLOAD_SHA256) { Write-Host 'FAILED!'; exit 1; }; }; Write-Host 'Installing ...'; Start-Process msiexec -Wait -ArgumentList @( '/i', 'mongo.msi', '/quiet', '/qn', '/l*v', 'install.log', 'INSTALLLOCATION=C:\mongodb', 'ADDLOCAL=Client,ImportExportTools,MiscellaneousTools,MonitoringTools,Router,ServerNoService' ); if (-Not (Test-Path C:\mongodb\bin\mongo.exe -PathType Leaf)) { Write-Host 'Installer failed!'; Get-Content install.log; exit 1; }; Remove-Item install.log; $env:PATH = 'C:\mongodb\bin;' + $env:PATH; [Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine); Write-Host 'Verifying install ...'; Write-Host ' mongo --version'; mongo --version; Write-Host ' mongod --version'; mongod --version; Write-Host 'Removing ...'; Remove-Item C:\windows\installer\*.msi -Force; Remove-Item mongo.msi -Force; Write-Host 'Complete.'; # Mon, 24 Jan 2022 23:41:40 GMT VOLUME [C:\data\db C:\data\configdb] # Mon, 24 Jan 2022 23:41:41 GMT EXPOSE 27017 # Mon, 24 Jan 2022 23:41:42 GMT CMD ["mongod" "--bind_ip_all"] ``` - Layers: - `sha256:4612f6d0b889cad0ed0292fae3a0b0c8a9e49aff6dea8eb049b2386d9b07986f` Size: 1.7 GB (1718332879 bytes) MIME: application/vnd.docker.image.rootfs.foreign.diff.tar.gzip - `sha256:567fd00846e9a9f44eea5925b497356dda00fe89b8335d2a3b2a8b9d84b0bb69` Size: 995.0 MB (994988595 bytes) MIME: application/vnd.docker.image.rootfs.foreign.diff.tar.gzip - `sha256:1e63a09e013659f9cb51a44694cf1487fd0ea2ae5528ca387357386508f2b93c` Last Modified: Tue, 25 Jan 2022 00:07:22 GMT Size: 1.4 KB (1447 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:e18e9d4e2877a12b900eb743033954605e402601b23bc81d207b5ff834031222` Last Modified: Tue, 25 Jan 2022 00:43:53 GMT Size: 1.4 KB (1416 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:13c1a7483186f373947a6be01eeed8aee931b98c6c626d4d75b8c8a3e3a8320c` Last Modified: Tue, 25 Jan 2022 00:43:53 GMT Size: 1.4 KB (1444 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:8869e7ee9e1bc5ca8520bab6e06a49610e1de43ba65c7001bdea1644872c88a2` Last Modified: Tue, 25 Jan 2022 00:43:51 GMT Size: 1.4 KB (1436 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:dd86e3a03be1400cfd969a84f7c0db8a520743956bf402c354593cd8ec3b5c9b` Last Modified: Tue, 25 Jan 2022 00:49:28 GMT Size: 284.6 MB (284634888 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:8b93889c09f541fd1e9e0f1e553db61b7a37a19b9c7d7ccbf4f9f8618d22f738` Last Modified: Tue, 25 Jan 2022 00:43:51 GMT Size: 1.4 KB (1425 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:53a1dc68c5529567a452eae900dee2fdad6fc7d41052cda0bce85fc054bcdde0` Last Modified: Tue, 25 Jan 2022 00:43:51 GMT Size: 1.4 KB (1415 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip - `sha256:cd6642a484b7351709f4e81f79b9c4dd0df062e73c8a2f1148b56ce0cf5e9456` Last Modified: Tue, 25 Jan 2022 00:43:51 GMT Size: 1.4 KB (1443 bytes) MIME: application/vnd.docker.image.rootfs.diff.tar.gzip
61.983914
1,349
0.738365
yue_Hant
0.379017
2eab1a5189d59312ef32ab59f39898f84ead67be
2,172
md
Markdown
README.md
ConScorn/Note-Taker
8ef2b39dc7be248a2dfc640f3cf29e3cabc69340
[ "MIT" ]
null
null
null
README.md
ConScorn/Note-Taker
8ef2b39dc7be248a2dfc640f3cf29e3cabc69340
[ "MIT" ]
null
null
null
README.md
ConScorn/Note-Taker
8ef2b39dc7be248a2dfc640f3cf29e3cabc69340
[ "MIT" ]
null
null
null
# Note-Taker ## Description Note-Taker is an app that allows you to take notes, save them for later, and delete them at any time. It is my first full-stack application, and I built it to further my understanding of backend development. ![screenshot](public/assets/img/screenshot.PNG) ![screenshot](public/assets/img/screenshot2.PNG) ## Table of Contents - [Installation](#installation) - [Usage](#usage) - [License](#license) - [Questions](#questions) ## Installation Here is the link to the Github repository: (https://github.com/ConScorn/Note-Taker) Here is the link to the deployed application: (https://note-taker-c.herokuapp.com/) ## Usage Navigate to the deployed application through the link. Once there, click 'Get Started', and write in any notes you would like. Once you have typed a note, click on the 'save' icon in the top-right, in the navbar. If you would like to remove a past note, click on the delete icon for that note. ## License MIT License Copyright (c) [year] [fullname] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ## Questions Here is a link to my GitHub profile: https://github.com/ConScorn. Otherwise, you can email me at: [email protected]
40.981132
293
0.774401
eng_Latn
0.891364
2eab43d8ee71645de5e3183e99331a845f86eaa9
55
md
Markdown
README.md
danieljuhl/node-clicky
df1001a30e5f940f08393adc0a79122c4fa0e187
[ "MIT" ]
null
null
null
README.md
danieljuhl/node-clicky
df1001a30e5f940f08393adc0a79122c4fa0e187
[ "MIT" ]
null
null
null
README.md
danieljuhl/node-clicky
df1001a30e5f940f08393adc0a79122c4fa0e187
[ "MIT" ]
null
null
null
# node-clicky Clicky Analytics API wrapper for Node.js
18.333333
40
0.8
ces_Latn
0.63529
2eac3e40f2cff1763415a02c815a4a8ec156fb90
26,302
md
Markdown
Bibles/Spanish.BibliaLibreParaElMundo/28-OSEAS.md
bibliadelpueblo/BibliaLibre
039ab9b18364ecade1d56695cb77c40ee62b1317
[ "CC0-1.0" ]
null
null
null
Bibles/Spanish.BibliaLibreParaElMundo/28-OSEAS.md
bibliadelpueblo/BibliaLibre
039ab9b18364ecade1d56695cb77c40ee62b1317
[ "CC0-1.0" ]
null
null
null
Bibles/Spanish.BibliaLibreParaElMundo/28-OSEAS.md
bibliadelpueblo/BibliaLibre
039ab9b18364ecade1d56695cb77c40ee62b1317
[ "CC0-1.0" ]
null
null
null
# 1 ^1^ Palabra de Yahvé que llegó a Oseas, hijo de Beeri, en los días de Uzías, Jotam, Acaz y Ezequías, reyes de Judá, y en los días de Jeroboam, hijo de Joás, rey de Israel. ^2^ Cuando Yahvé habló al principio por medio de Oseas, Yahvé dijo a Oseas: “Ve, toma para ti una esposa prostituta e hijos infieles; porque la tierra comete un gran adulterio, abandonando a Yahvé.” ^3^ Fue, pues, y tomó a Gomer, hija de Diblaim, que concibió y le dio un hijo. ^4^ Yahvé le dijo: “Llámalo Jezreel, porque todavía falta un poco, y yo vengaré la sangre de Jezreel en la casa de Jehú, y haré cesar el reino de la casa de Israel. ^5^ Sucederá en ese día que romperé el arco de Israel en el valle de Jezreel”. ^6^ Concibió de nuevo y dio a luz una hija. Y le dijo: “Llámala Lo-Ruhamah, porque ya no tendré misericordia de la casa de Israel, para perdonarla de alguna manera. ^7^ Pero me apiadaré de la casa de Judá y la salvaré por Yahvé, su Dios, y no la salvaré con arco, espada, batalla, caballos o jinetes.” ^8^ Cuando destetó a Lo-Ruhamah, concibió y dio a luz un hijo. ^9^ Dijo: “Llámalo Lo-Ammi, porque no eres mi pueblo, y yo no seré el tuyo. ^10^ Pero el número de los hijos de Israel será como la arena del mar, que no se puede medir ni contar; y sucederá que, en el lugar donde se les dijo: ‘No sois mi pueblo’, se les llamará ‘hijos del Dios vivo’. ^11^ Se reunirán los hijos de Judá y los hijos de Israel, y se designarán una sola cabeza, y subirán de la tierra; porque grande será el día de Jezreel. # 2 ^1^ “Di a tus hermanos: “¡Pueblo mío!” y a tus hermanas: “¡Mi amada!” ^2^ ¡Discute con tu madre! Contad, porque no es mi mujer, tampoco soy su marido; y deja que aleje su prostitución de su rostro, y sus adulterios de entre sus pechos; ^3^ para que no la desnude, y hacerla desnuda como en el día en que nació, y hacerla como un desierto, y la puso como tierra firme, y matarla de sed. ^4^ En efecto, con sus hijos no tendré piedad, porque son hijos de la infidelidad. ^5^ Porque su madre ha hecho de prostituta. La que los concibió lo ha hecho vergonzosamente; pues dijo: “Iré tras mis amantes”, que me dan mi pan y mi agua, mi lana y mi lino, mi aceite y mi bebida”. ^6^ Por lo tanto, he aquí que voy a cercar tu camino con espinas, y construiré un muro contra ella, que no puede encontrar su camino. ^7^ Ella seguirá a sus amantes, pero no los alcanzará; y los buscará, pero no los encontrará. Entonces dirá: ‘Me iré y volveré con mi primer marido’, porque entonces era mejor conmigo que ahora’. ^8^ Porque no sabía que le había dado el grano, el vino nuevo y el aceite, y le multiplicaron la plata y el oro, que usaron para Baal. ^9^ Por lo tanto, recuperaré mi grano en su momento, y mi vino nuevo en su temporada, y arrancará mi lana y mi lino que debían cubrir su desnudez. ^10^ Ahora descubriré su lascivia a la vista de sus amantes, y nadie la librará de mi mano. ^11^ También haré que cesen todas sus celebraciones: sus fiestas, sus lunas nuevas, sus sábados y todas sus asambleas solemnes. ^12^ Asolaré sus viñas y sus higueras, sobre la que ha dicho: “Estos son mis salarios que mis amantes me han dado”. y yo les haré un bosque, y los animales del campo los comerán. ^13^ Visitaré en ella los días de los baales, al que quemó incienso cuando se engalanó con sus pendientes y sus joyas, y fue tras sus amantes y se olvidaron de mí”, dice Yahvé. ^14^ “Por lo tanto, he aquí que la atraeré, y llevarla al desierto, y hablarle con ternura. ^15^ Le daré viñedos desde allí, y el valle de Acor por una puerta de esperanza; y ella responderá allí como en los días de su juventud, y como en el día en que subió de la tierra de Egipto. ^16^ Será en ese día”, dice Yahvé, “que me llamarás ‘mi marido’, y ya no me llame ‘mi amo’. ^17^ Porque quitaré de su boca los nombres de los baales, y ya no serán mencionados por su nombre. ^18^ Ese día haré un pacto para ellos con los animales del campo, y con las aves del cielo, y con los reptiles de la tierra. Romperé el arco, la espada y la batalla fuera de la tierra, y hará que se acuesten con seguridad. ^19^ Te desposaré conmigo para siempre. Sí, te desposaré conmigo con rectitud, con justicia, con bondad amorosa y con compasión. ^20^ Incluso te desposaré conmigo con fidelidad; y conocerás a Yahvé. ^21^ En ese día responderé”, dice Yahvé. “Responderé a los cielos, y responderán a la tierra; ^22^ y la tierra responderá al grano, al vino nuevo y al aceite; y responderán a Jezreel. ^23^ La sembraré en la tierra; y me apiadaré de la que no había obtenido misericordia; y diré a los que no eran mi pueblo: “Vosotros sois mi pueblo”. y dirán: “Tú eres mi Dios””. # 3 ^1^ Yahvé me dijo: “Vuelve a amar a una mujer amada por otro, y a una adúltera, como Yahvé ama a los hijos de Israel, aunque se vuelvan a otros dioses, y amen las tortas de pasas.” ^2^ Así que la compré para mí por quince piezas de plata y un homer y medio de cebada. ^3^ Le dije: “Te quedarás conmigo muchos días. No harás de prostituta, y no estarás con ningún otro hombre. Yo también seré así contigo”. ^4^ Porque los hijos de Israel vivirán muchos días sin rey, sin príncipe, sin sacrificio, sin piedra sagrada y sin efod ni ídolos. ^5^ Después, los hijos de Israel volverán y buscarán a Yavé, su Dios, y a David, su rey, y acudirán con temor a Yavé y a sus bendiciones en los últimos días. # 4 ^1^ Escuchen la palabra de Yahvé, hijos de Israel, porque Yahvé tiene una acusación contra los habitantes de la tierra: “En efecto, no hay verdad, ni bondad, ni el conocimiento de Dios en la tierra. ^2^ Hay maldiciones, mentiras, asesinatos, robos y adulterios; rompen los límites, y el derramamiento de sangre provoca el derramamiento de sangre. ^3^ Por lo tanto, la tierra estará de luto, y todo el que habite en ella se consumirá, con todos los seres vivos en ella, incluso los animales del campo y las aves del cielo; Sí, los peces del mar también mueren. ^4^ “Pero que nadie presente una acusación, ni que nadie acuse; porque tu pueblo es como los que acusan a un sacerdote. ^5^ En el día tropezarás, y el profeta también tropezará contigo en la noche; y destruiré a tu madre. ^6^ Mi pueblo es destruido por falta de conocimiento. Porque has rechazado el conocimiento, yo también te rechazaré, para que no seas un sacerdote para mí. Porque has olvidado la ley de tu Dios, También olvidaré a sus hijos. ^7^ Como se multiplicaron, así pecaron contra mí. Cambiaré su gloria en vergüenza. ^8^ Se alimentan del pecado de mi pueblo, y ponen su corazón en su iniquidad. ^9^ Será como la gente, como el sacerdote; y los castigaré por sus caminos, y les pagará por sus actos. ^10^ Comerán y no tendrán suficiente. Harán de prostituta, y no aumentarán; porque han dejado de escuchar a Yahvé. ^11^ La prostitución, el vino y el vino nuevo quitan el entendimiento. ^12^ Mi pueblo consulta con su ídolo de madera, y responder a un palo de madera. En efecto, el espíritu de la prostitución les ha llevado por el mal camino, y han sido infieles a su Dios. ^13^ Sacrifican en las cimas de las montañas, y quemar incienso en las colinas, bajo las encinas, los álamos y los terebintales, porque su sombra es buena. Por lo tanto, sus hijas hacen el papel de prostituta, y tus novias cometen adulterio. ^14^ No castigaré a tus hijas cuando jueguen a la prostitución, ni a sus novias cuando cometen adulterio; porque los hombres se prostituyen, y sacrifican con las prostitutas del santuario; por lo que la gente sin entendimiento llegará a la ruina. ^15^ “Aunque tú, Israel, te hagas la prostituta, pero no dejes que Judá se ofenda; y no vengas a Gilgal, ni subir a Beth Aven, ni jurar: “Vive Yahvé”. ^16^ Porque Israel se ha comportado con extrema terquedad, como una vaquilla obstinada. Entonces, ¿cómo los alimentará Yahvé como a un cordero en un prado? ^17^ Efraín está unido a los ídolos. ¡Déjalo en paz! ^18^ Su bebida se ha agriado. Hacen el papel de prostituta continuamente. Sus gobernantes aman su vergonzoso camino. ^19^ El viento la ha envuelto en sus alas; y se verán defraudados a causa de sus sacrificios. # 5 ^1^ “¡Escuchad esto, sacerdotes! Escucha, casa de Israel, ¡y presta atención, casa del rey! Porque el juicio es contra ti; porque has sido una trampa en Mizpa, y un diferencial neto en Tabor. ^2^ Los rebeldes están inmersos en la matanza, pero los disciplino a todos. ^3^ Conozco a Efraín, y no se me oculta Israel; por ahora, Efraín, has hecho de prostituta. Israel está contaminado. ^4^ Sus actos no les permiten volverse a su Dios, porque el espíritu de la prostitución está en ellos, y no conocen a Yahvé. ^5^ La soberbia de Israel da testimonio de su rostro. Por eso Israel y Efraín tropezarán en su iniquidad. También Judá tropezará con ellos. ^6^ Irán con sus rebaños y con sus manadas a buscar a Yahvé, pero no lo encontrarán. Se ha retirado de ellos. ^7^ Son infieles a Yahvé; porque han tenido hijos ilegítimos. Ahora la luna nueva los devorará con sus campos. ^8^ “Toca la corneta en Gabaa, ¡y la trompeta en Ramah! ¡Suena un grito de guerra en Beth Aven, detrás de ti, Benjamin! ^9^ Efraín se convertirá en una desolación en el día de la reprimenda. Entre las tribus de Israel, he dado a conocer lo que seguramente será. ^10^ Los príncipes de Judá son como los que quitan un mojón. Derramaré mi ira sobre ellos como si fuera agua. ^11^ Efraín está oprimido, es aplastado en el juicio, porque está empeñado en su búsqueda de ídolos. ^12^ Por eso soy para Efraín como una polilla, y a la casa de Judá como a la podredumbre. ^13^ “Cuando Efraín vio su enfermedad, y Judá su herida, entonces Efraín fue a Asiria, y enviado al rey Jareb: pero no es capaz de curarte, tampoco te curará de tu herida. ^14^ Porque seré para Efraín como un león, y como un león joven a la casa de Judá. Yo mismo me romperé en pedazos y me iré. Me lo llevaré, y no habrá nadie que lo entregue. ^15^ Iré y volveré a mi lugar, hasta que reconozcan su ofensa, y busca mi rostro. En su aflicción me buscarán con ahínco”. # 6 ^1^ “¡Ven! Volvamos a Yahvé; porque nos ha hecho pedazos, y nos curará; nos ha perjudicado, y vendará nuestras heridas. ^2^ Después de dos días nos revivirá. Al tercer día nos resucitará, y viviremos ante él. ^3^ Reconozcamos a Yahvé. Sigamos adelante para conocer a Yahvé. Tan seguro como que sale el sol, Yahvé aparecerá. Vendrá a nosotros como la lluvia, como la lluvia de primavera que riega la tierra”. ^4^ “Efraín, ¿qué voy a hacer contigo? Judá, ¿qué voy a hacer contigo? Porque tu amor es como una nube matutina, y como el rocío que desaparece pronto. ^5^ Por eso los he despedazado con los profetas; Los maté con las palabras de mi boca. Sus juicios son como un relámpago. ^6^ Porque yo quiero misericordia y no sacrificio; y el conocimiento de Dios más que los holocaustos. ^7^ Pero ellos, como Adán, han roto el pacto. Allí me fueron infieles. ^8^ Galaad es una ciudad de los que obran la iniquidad; está manchada de sangre. ^9^ Como las bandas de ladrones esperan para emboscar a un hombre, así que la compañía de sacerdotes asesina en el camino hacia Siquem, cometiendo crímenes vergonzosos. ^10^ En la casa de Israel he visto una cosa horrible. Hay prostitución en Efraín. Israel está contaminado. ^11^ “También, Judá, hay una cosecha señalada para ti, cuando restablezca la fortuna de mi pueblo. # 7 ^1^ Cuando yo sanara a Israel, entonces la iniquidad de Efraín queda al descubierto, también la maldad de Samaria; ya que cometen falsedad, y el ladrón entra, y la banda de ladrones hace estragos en el exterior. ^2^ No consideran en su corazón que me acuerdo de toda su maldad. Ahora sus propios actos los han engullido. Están ante mi cara. ^3^ Alegran al rey con su maldad, y los príncipes con sus mentiras. ^4^ Todos son adúlteros. Arden como un horno que el panadero deja de remover, desde el amasado de la masa, hasta su leudado. ^5^ En el día de nuestro rey, los príncipes se enfermaron con el calor del vino. Unió su mano con la de los burlones. ^6^ Porque han preparado su corazón como un horno, mientras están al acecho. Su ira arde toda la noche. Por la mañana arde como un fuego ardiente. ^7^ Están todos calientes como un horno, y devorar a sus jueces. Todos sus reyes han caído. No hay nadie entre ellos que me llame. ^8^ Efraín se mezcla entre las naciones. Efraín es un panqueque no volteado. ^9^ Los extraños han devorado su fuerza, y no se da cuenta. De hecho, las canas están aquí y allá en él, y no se da cuenta. ^10^ La soberbia de Israel da testimonio de su rostro; pero no han vuelto a Yahvé, su Dios, ni lo buscó, por todo esto. ^11^ “Efraín es como una paloma fácil de engañar, sin entendimiento. Llaman a Egipto. Van a Asiria. ^12^ Cuando se vayan, extenderé mi red sobre ellos. Los haré descender como las aves del cielo. Los castigaré, como ha oído su congregación. ^13^ ¡Ay de ellos! Porque se han alejado de mí. ¡Destrucción para ellos! Porque se han ensañado conmigo. Aunque los redimiría, sin embargo, han dicho mentiras contra mí. ^14^ No han clamado a mí con el corazón, pero aúllan en sus camas. Se reúnen por el grano y el vino nuevo. Se alejan de mí. ^15^ Aunque he enseñado y fortalecido sus brazos, sin embargo, traman el mal contra mí. ^16^ Vuelven, pero no al Altísimo. Son como un arco defectuoso. Sus príncipes caerán a espada por la furia de su lengua. Esta será su burla en la tierra de Egipto. # 8 ^1^ “¡Pon la trompeta en tus labios! Algo así como un águila está sobre la casa de Yahvé, porque han roto mi pacto y se rebelaron contra mi ley. ^2^ Me gritan: ‘¡Dios mío, nosotros, Israel, te reconocemos! ^3^ Israel ha abandonado lo que es bueno. El enemigo lo perseguirá. ^4^ Han puesto reyes, pero no por mí. Han hecho príncipes, y yo no lo he aprobado. De su plata y su oro se han hecho ídolos, para que sean cortados. ^5^ ¡Que Samaria arroje su ídolo del becerro! ¡Mi ira arde contra ellos! ¿Cuánto tiempo pasará hasta que sean capaces de la pureza? ^6^ ¡Pues esto es incluso de Israel! El obrero lo hizo, y no es Dios; En efecto, el becerro de Samaria será despedazado. ^7^ Porque ellos siembran el viento, y cosecharán el torbellino. No tiene grano en pie. El tallo no producirá ninguna cabeza. Si cede, los extraños se lo tragarán. ^8^ Israel es tragado. Ahora están entre las naciones como una cosa sin valor. ^9^ Porque han subido a Asiria, como un burro salvaje que vaga solo. Efraín ha contratado amantes para sí mismo. ^10^ Pero aunque se vendieron entre las naciones, Ahora los reuniré; y comienzan a consumirse a causa de la opresión del rey de los poderosos. ^11^ Porque Efraín ha multiplicado los altares para pecar, se convirtieron para él en altares para pecar. ^12^ Le escribí las muchas cosas de mi ley, pero fueron considerados como algo extraño. ^13^ En cuanto a los sacrificios de mis ofrendas, sacrifican carne y la comen, pero Yahvé no los acepta. Ahora se acordará de su iniquidad, y castigar sus pecados. Volverán a Egipto. ^14^ Porque Israel se ha olvidado de su Hacedor y ha construido palacios; y Judá ha multiplicado las ciudades fortificadas; pero yo enviaré un fuego sobre sus ciudades, y devorará sus fortalezas”. # 9 ^1^ No te alegres, Israel, hasta el júbilo como las naciones; porque fuisteis infieles a vuestro Dios. Amas el salario de una prostituta en cada trilla de grano. ^2^ La era y el lagar no los alimentarán, y el vino nuevo le fallará. ^3^ No habrán de habitar en la tierra de Yahvé; pero Efraín volverá a Egipto, y comerán alimentos impuros en Asiria. ^4^ No derramarán ofrendas de vino a Yahvé, ni le serán agradables. Sus sacrificios serán para ellos como el pan de los dolientes; todos los que coman de ella serán contaminados; porque su pan será para su apetito. No entrará en la casa de Yahvé. ^5^ ¿Qué harás en el día de la asamblea solemne, y en el día de la fiesta de Yahvé? ^6^ Porque, he aquí, cuando huyen de la destrucción, Egipto los reunirá. Memphis los enterrará. Las ortigas poseerán sus agradables cosas de plata. Las espinas estarán en sus tiendas. ^7^ Han llegado los días de la visita. Han llegado los días del ajuste de cuentas. Israel considerará al profeta como un tonto, y el hombre que se inspira en la locura, por la abundancia de tus pecados, y porque su hostilidad es grande. ^8^ Un profeta vela por Efraín con mi Dios. La trampa del cazador está en todos sus caminos, y la hostilidad en la casa de su Dios. ^9^ Se han corrompido profundamente, como en los días de Gabaa. Se acordará de su iniquidad. Los castigará por sus pecados. ^10^ Encontré a Israel como uvas en el desierto. Vi a tus padres como la primera maduración de la higuera en su primera temporada; pero vinieron a Baal Peor, y se consagraron a la cosa vergonzosa, y se volvieron abominables como lo que amaban. ^11^ En cuanto a Efraín, su gloria volará como un pájaro. No habrá nacimientos, ni niños, ni concepción. ^12^ Aunque crian a sus hijos, pero los despojaré, de modo que no quede ni un solo hombre. En efecto, ¡ay de ellos también cuando me alejo de ellos! ^13^ He visto a Efraín, como Tiro, plantado en un lugar agradable; pero Efraín sacará a sus hijos al asesino. ^14^ Dales, Yahvé, ¿qué vas a dar? Dales un vientre de aborto y pechos secos. ^15^ “Toda su maldad está en Gilgal; porque allí los odiaba. A causa de la maldad de sus actos, los expulsaré de mi casa. No los amaré más. Todos sus príncipes son rebeldes. ^16^ Efraín es golpeado. Su raíz se ha secado. No darán ningún fruto. Aunque den a luz, mataré a los seres queridos de su vientre”. ^17^ Mi Dios los expulsará, porque no le hicieron caso; y serán errantes entre las naciones. # 10 ^1^ Israel es una vid exuberante que produce su fruto. Según la abundancia de sus frutos ha multiplicado sus altares. A medida que su tierra ha prosperado, han adornado sus piedras sagradas. ^2^ Su corazón está dividido. Ahora serán declarados culpables. Él demolerá sus altares. Destruirá sus piedras sagradas. ^3^ Seguramente ahora dirán: “No tenemos rey, porque no tememos a Yahvé; y el rey, ¿qué puede hacer por nosotros?” ^4^ Hacen promesas, jurando en falso al hacer pactos. Por eso, el juicio brota como maleza venenosa en los surcos del campo. ^5^ Los habitantes de Samaria estarán aterrorizados por los becerros de Bet Aven, porque su pueblo se lamentará por él, junto con sus sacerdotes que se regocijaron por ello, para su gloria, porque se ha apartado de ella. ^6^ También será llevada a Asiria como regalo para un gran rey. Efraín recibirá la vergüenza, e Israel se avergonzará de su propio consejo. ^7^ Samaria y su rey se alejan flotando como una ramita en el agua. ^8^ Los lugares altos también de Aven, el pecado de Israel, serán destruidos. El espino y el cardo subirán a sus altares. Dirán a las montañas: “¡Cúbrenos!” y a las colinas: “¡Caigan sobre nosotros!” ^9^ “Israel, has pecado desde los días de Gabaa. Allí se quedaron. La batalla contra los hijos de la iniquidad no los alcanza en Gabaa. ^10^ Cuando sea mi deseo, los castigaré; y las naciones se reunirán contra ellos cuando están atados a sus dos transgresiones. ^11^ Efraín es una novilla amaestrada que le gusta trillar, así que pondré un yugo en su hermoso cuello. Pondré un jinete en Efraín. Judá arará. Jacob romperá sus terrones. ^12^ Sembrad para vosotros mismos en la justicia, cosechar según la bondad. Rompe tu barbecho, porque es hora de buscar a Yahvé, hasta que venga y haga llover justicia sobre ti. ^13^ Has arado la maldad. Has cosechado iniquidad. Has comido el fruto de la mentira, porque confiaste en tu camino, en la multitud de tus valientes. ^14^ Por eso se levantará un rugido de batalla entre tu pueblo, y todas sus fortalezas serán destruidas, como Shalman destruyó Beth Arbel en el día de la batalla. La madre fue despedazada con sus hijos. ^15^ Así te hará Betel a causa de tu gran maldad. Al amanecer el rey de Israel será destruido. # 11 ^1^ “Cuando Israel era un niño, entonces lo amé, y llamó a mi hijo para que saliera de Egipto. ^2^ Les llamaron y se alejaron de ellos. Sacrificaron a los Baales, y quemaban incienso a las imágenes grabadas. ^3^ Sin embargo, enseñé a Efraín a caminar. Los tomé por los brazos, pero no sabían que los había curado. ^4^ Los atraje con cuerdas de hombre, con lazos de amor; y fui para ellos como los que levantan el yugo sobre sus cuellos; y me incliné hacia él y le di de comer. ^5^ “No volverán a la tierra de Egipto; pero el asirio será su rey, porque se negaron a arrepentirse. ^6^ La espada caerá sobre sus ciudades, y destruirá los barrotes de sus puertas, y pondrá fin a sus planes. ^7^ Mi pueblo está decidido a alejarse de mí. Aunque llamen al Altísimo, ciertamente no los exaltará. ^8^ “¿Cómo puedo entregarte, Efraín? ¿Cómo puedo entregarte, Israel? ¿Cómo puedo hacer que te guste Admah? ¿Cómo puedo hacer que te guste Zeboiim? Mi corazón se revuelve dentro de mí, mi compasión se despierta. ^9^ No ejecutaré el ardor de mi ira. No volveré para destruir a Efraín, porque yo soy Dios, y no un hombre, el Santo entre vosotros. No vendré con ira. ^10^ Caminarán en pos de Yahvé, que rugirá como un león; porque rugirá, y los niños vendrán temblando desde el oeste. ^11^ Vendrán temblando como un pájaro fuera de Egipto, y como una paloma de la tierra de Asiria; y los asentaré en sus casas”, dice Yahvé. ^12^ Efraín me rodea de falsedad, y la casa de Israel con el engaño. Judá sigue alejándose de Dios, y es infiel al Santo. # 12 ^1^ Efraín se alimenta del viento, y persigue el viento del este. Multiplica continuamente la mentira y la desolación. Hacen un pacto con Asiria, y el aceite se lleva a Egipto. ^2^ Yahvé también tiene una controversia con Judá, y castigará a Jacob según sus caminos; según sus obras le pagará. ^3^ En el vientre tomó a su hermano por el talón, y en su madurez contendió con Dios. ^4^ En efecto, luchó con el ángel y venció; lloró, y le hizo una súplica. Lo encontró en Betel, y allí habló con nosotros... ^5^ el Dios de los ejércitos, Yahvé. Yavé es su nombre de renombre. ^6^ Por lo tanto, vuélvete a tu Dios. Mantén la bondad y la justicia, y espera continuamente a tu Dios. ^7^ Un comerciante tiene en su mano una balanza deshonesta. Le encanta defraudar. ^8^ Efraín dijo: “Ciertamente me he enriquecido. Me he encontrado con la riqueza. En toda mi riqueza no encontrarán en mí ninguna iniquidad que sea pecado”. ^9^ “Pero yo soy Yahvé, tu Dios, desde la tierra de Egipto. Volveré a haceros habitar en tiendas de campaña, como en los días de la fiesta solemne. ^10^ También he hablado a los profetas, y he multiplicado las visiones; y por el ministerio de los profetas he usado parábolas. ^11^ Si Galaad es malvada, seguramente no tienen ningún valor. En Gilgal se sacrifican toros. En efecto, sus altares son como montones en los surcos del campo. ^12^ Jacob huyó al país de Aram. Israel sirvió para conseguir una esposa. Como esposa, cuidaba rebaños y manadas. ^13^ Por medio de un profeta, Yahvé sacó a Israel de Egipto, y por un profeta fue preservado. ^14^ Efraínha provocado amargamente la ira. Por lo tanto, su sangre quedará en él, y su Señor pagará su desprecio. # 13 ^1^ Cuando Efraín habló, hubo temblores. Se exaltó en Israel, pero cuando se hizo culpable a través de Baal, murió. ^2^ Ahora pecan más y más, y se han hecho imágenes fundidas de su plata, hasta los ídolos según su propio entendimiento, todos ellos obra de los artesanos. Dicen de ellos: “Ofrecen sacrificios humanos y besan a los terneros”. ^3^ Por eso serán como la niebla de la mañana, como el rocío que pasa pronto, como la paja que es expulsada con el torbellino de la era, y como el humo de la chimenea. ^4^ “Sin embargo, yo soy Yahvé, tu Dios, desde la tierra de Egipto; y no reconocerás a ningún dios más que a mí, y además de mí no hay ningún salvador. ^5^ Te conocí en el desierto, en la tierra de la gran sequía. ^6^ Según sus pastos, así se llenaron; se llenaron, y su corazón se exaltó. Por eso se han olvidado de mí. ^7^ Por eso soy como un león para ellos. Como un leopardo, acecharé el camino. ^8^ Me reuniré con ellos como una osa que se queda sin sus cachorros, y desgarrará la cubierta de su corazón. Allí los devoraré como una leona. El animal salvaje los desgarrará. ^9^ Estás destruido, Israel, porque estás en contra de mí, contra su ayudante. ^10^ ¿Dónde está ahora vuestro rey para salvaros en todas vuestras ciudades? ¿Y tus jueces, de los que dijiste: ‘Dame un rey y príncipes’? ^11^ Te he dado un rey en mi ira, y me lo he llevado en mi ira. ^12^ La culpa de Efraín está acumulada. Su pecado está almacenado. ^13^ Los dolores de una mujer de parto caerán sobre él. Es un hijo imprudente, porque cuando es el momento, no viene a la apertura del vientre. ^14^ Los rescataré del poder del Seol. ¡Los redimiré de la muerte! Muerte, ¿dónde están tus plagas? Sheol, ¿dónde está tu destrucción? “La compasión estará oculta a mis ojos. ^15^ Aunque sea fructífero entre sus hermanos, vendrá un viento del este, el aliento de Yahvé subiendo desde el desierto; y su manantial se secará, y su fuente se secará. Saqueará el almacén del tesoro. ^16^ Samaria cargará con su culpa, porque se ha rebelado contra su Dios. Caerán por la espada. Sus hijos serán despedazados, y sus mujeres embarazadas serán desgarradas”. # 14 ^1^ Israel, vuelve a Yahvé, tu Dios; porque has caído por tu pecado. ^2^ Toma las palabras contigo y vuelve a Yahvé. Dile: “Perdona todos nuestros pecados, y aceptar lo que es bueno; por lo que ofrecemos toros como juramos de nuestros labios. ^3^ Asiria no puede salvarnos. No vamos a montar a caballo; ni diremos nunca más a la obra de nuestras manos: “¡Dioses nuestros!”. porque en ti el huérfano encuentra misericordia”. ^4^ “Sanaré su extravío. Los amaré libremente; porque mi ira se aleja de ellos. ^5^ Seré como el rocío para Israel. Florecerá como un lirio, y echar sus raíces como el Líbano. ^6^ Sus ramas se extenderán, y su belleza será como el olivo, y su fragancia como el Líbano. ^7^ Los hombres morarán a su sombra. Revivirán como el grano, y florecer como la vid. Su fragancia será como el vino del Líbano. ^8^ Efraín, ¿qué tengo que ver ya con los ídolos? Respondo, y me ocuparé de él. Soy como un ciprés verde; de mí se encuentra su fruto”. ^9^ ¿Quién es sabio para entender estas cosas? ¿Quién es prudente para conocerlas? Porque los caminos de Yahvé son correctos, y los justos caminan en ellas, pero los rebeldes tropiezan en ellas.
496.264151
3,116
0.763288
spa_Latn
0.999696
2eac6fd0bccdbf5e75ede5a42333de299dfe07a7
1,581
md
Markdown
README.md
OliverFlint/PCF_getAddressIO
153195b7ba6f41100600d622da2ad36f78a92042
[ "MIT" ]
null
null
null
README.md
OliverFlint/PCF_getAddressIO
153195b7ba6f41100600d622da2ad36f78a92042
[ "MIT" ]
null
null
null
README.md
OliverFlint/PCF_getAddressIO
153195b7ba6f41100600d622da2ad36f78a92042
[ "MIT" ]
1
2020-05-10T04:56:10.000Z
2020-05-10T04:56:10.000Z
# PCF_getAddressIO A PowerApps Component Framework solution for Address (UK) lookups via post code ## Get Started 1. First ensure you have installed the [PowerApps CLI](https://aka.ms/PowerAppsCLI) 2. run `npm install` to download the required npm packages 3. Use `npm run build` to build/compile the source code 4. Use `npm run start` to run the component within the PCF Test Harness 4. In a developer command prompt run `msbuild /t:rebuild` from within the Solutions folder to package the solution ## Usage NB. More detailed usage instructions are coming soon. 1. Get an API Key from https://getaddress.io/ 2. Install the solution - either using the solution package generated in the [Get Started](#Get-Started) section - or via the latest [release](../../releases) 3. On a form with address controls change the post code fields control to use this getAddressIO control 4. Bind the control properties to your address fields * *At present you cannot bind the control to the out of the box address fields [see here](https://powerusers.microsoft.com/t5/PowerApps-Ideas/Enable-binding-to-OOB-Address-Fields/idi-p/302387) I have built the control to support 2 methods of mapping the control output to the out of the box address fields. - Option 1: Map the individual address properties to custom fields and then have onchange events to copy the value to the out of the box fields. - Option 2: Map the JSON property to a single custom string field and then have javascript to parse the JSON on change and write the corresponding values to the out of the box address fields
63.24
190
0.779254
eng_Latn
0.994162
2ead02fa88507ac600a808ca082dafb86311f366
270
md
Markdown
README.md
dsilva2401/goldfish
4e4852272cb94bbd9da7c9d340cc214e55fb9dd1
[ "MIT" ]
null
null
null
README.md
dsilva2401/goldfish
4e4852272cb94bbd9da7c9d340cc214e55fb9dd1
[ "MIT" ]
3
2016-04-27T04:58:32.000Z
2016-04-28T22:37:11.000Z
README.md
dsilva2401/goldfish
4e4852272cb94bbd9da7c9d340cc214e55fb9dd1
[ "MIT" ]
null
null
null
Goldfish ====== An app seed using bubble express wrapper ### File structure ```bash ../ package.json bower.json app.js bubble/ index.js config/.. libs/.. interfaces/.. databases/.. agents/.. childs/ bubble-x/.. bubble-y/.. bubble-z/.. ```
11.73913
40
0.588889
eng_Latn
0.425135
2ead7662bba573954eb1db58176a5dc43f00f1cf
529
md
Markdown
yhteystiedot.md
Mughur/uudempiAS
84c04b75fa105753512e0ddc2f7ea905190d015e
[ "MIT" ]
1
2018-07-20T05:55:17.000Z
2018-07-20T05:55:17.000Z
yhteystiedot.md
Mughur/uudempiAS
84c04b75fa105753512e0ddc2f7ea905190d015e
[ "MIT" ]
9
2018-01-31T11:59:13.000Z
2022-01-25T07:21:33.000Z
yhteystiedot.md
Mughur/uudempiAS
84c04b75fa105753512e0ddc2f7ea905190d015e
[ "MIT" ]
20
2018-01-25T14:51:12.000Z
2022-03-16T13:04:54.000Z
--- layout: page title: Yhteystiedot --- ## Hallitus * [Hallituksen jäsenten yhteystiedot]({{ "/kilta#hallitus" | absolute_url }}) * E-mail: hallitus ät as.fi ## Postiosoite <p>Aalto-yliopisto<br> Automaatio- ja systeemitekniikan kilta<br> PL 15500<br> 00076 Aalto</p> ## Kiltahuone Maarintie 8<br> 02150 Espoo ## Tilitiedot * Saaja: Automaatio- ja systeemitekniikan kilta * IBAN: FI84 3131 3001 8081 61 * BIC: HANDFIHH ## Rekisteritiedot * Y-tunnus: 1790153-4 * Rekisterinumero: 185372
16.030303
78
0.678639
fin_Latn
0.97404
2eadf541aa42b6a468236034b80b24a11212caba
34
md
Markdown
README.md
qumonintelligence/go-collect
a3ad9dfaeb7bee98d826e1d38b89eec49cf27319
[ "MIT" ]
null
null
null
README.md
qumonintelligence/go-collect
a3ad9dfaeb7bee98d826e1d38b89eec49cf27319
[ "MIT" ]
null
null
null
README.md
qumonintelligence/go-collect
a3ad9dfaeb7bee98d826e1d38b89eec49cf27319
[ "MIT" ]
null
null
null
# go-collect Collection interface
11.333333
20
0.823529
eng_Latn
0.724366
2eadfe2423d2f5e48cefb3eda4d21b84e17ef109
173
md
Markdown
2-css-basico/README.md
Rafae1Menezes/formacao-fullstack-javascript-thiago-medeiros
afc34b4776b64292a8c9bdd6cadf83340f6b2f3a
[ "MIT" ]
null
null
null
2-css-basico/README.md
Rafae1Menezes/formacao-fullstack-javascript-thiago-medeiros
afc34b4776b64292a8c9bdd6cadf83340f6b2f3a
[ "MIT" ]
null
null
null
2-css-basico/README.md
Rafae1Menezes/formacao-fullstack-javascript-thiago-medeiros
afc34b4776b64292a8c9bdd6cadf83340f6b2f3a
[ "MIT" ]
null
null
null
# CSS Básico Estilização de uma página de currículo. ![css-basico](https://user-images.githubusercontent.com/89926211/137759745-1b552ff2-9f6f-4006-8fac-cb2ad58b9df8.jpg)
28.833333
116
0.797688
por_Latn
0.901255
2eaf5e25fd79e7f984c1abfeffdc0ffc6958eafa
3,722
md
Markdown
shows/402 - stumpd.md
barrymcgee/Syntax
6bc6da4c0224b6d5a0558d93e1cb698ab90618a5
[ "MIT" ]
null
null
null
shows/402 - stumpd.md
barrymcgee/Syntax
6bc6da4c0224b6d5a0558d93e1cb698ab90618a5
[ "MIT" ]
null
null
null
shows/402 - stumpd.md
barrymcgee/Syntax
6bc6da4c0224b6d5a0558d93e1cb698ab90618a5
[ "MIT" ]
null
null
null
--- number: 402 title: STUMP'D Interview Questions - CSS Edition date: 1635944400142 url: https://traffic.libsyn.com/syntax/Syntax402.mp3 --- In this episode of Syntax, Scott and Wes are back with another edition of "Stump'd!" where they try to stump each other with interview questions. ## Sanity - Sponsor Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at [sanity.io/create](https://www.sanity.io/create). Get an awesome supercharged free developer plan on [sanity.io/syntax](https://www.sanity.io/syntax). ## Sentry - Sponsor If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting [Sentry.io](https://sentry.io) and using the coupon code TASTYTREAT during sign up. ## Cloudinary - Sponsor [Cloudinary](https://cloudinary.com/?utm_source=Syntax.fm&utm_medium=Podcast&utm_content=Cloudinary_Syntax_podcast) is the best way to manage images and videos in the cloud. Edit and transform for any use case, from performance to personalization, using Cloudinary’s APIs, SDKs, widgets, and integrations. ## Show Notes 06:05 - Which property allows you to control the shape or appearance of the marker of a list? 06:33 - What is a pseudo element? What is a pseudo class? 09:15 - What is the difference between block, inline and inline-block elements? 10:15 - What is a combinator selector? 11:12 - What is specificity? How do you calculate specificity? 14:37 - True or False — The translate() function can move the position of an element on the z-axis? 16:44 - What is the difference between "resetting" and "normalizing" CSS? 17:51 - How can you load CSS resources conditionally? 19:45 - Is there any reason you'd want to use translate() instead of absolute positioning, or vice-versa? 22:30 - When to use CSS grid vs flexbox? 25:12 - What are all eight @-rules in CSS? 28:01 - Which property is used to underline, overline, and strikethrough text? 29:52 - What is DOM reflow? 32:14 - How do you serve your pages for feature-constrained browsers? What techniques do you use? 34:00 - What is the property for controlling image-scroll? 36:23 - What are the three different types of CSS gradients? ## Links * [https://github.com/sudheerj/javascript-interview-questions](https://github.com/sudheerj/javascript-interview-questions) * [https://github.com/learning-zone/css-interview-questions](https://github.com/learning-zone/css-interview-questions) ## ××× SIIIIICK ××× PIIIICKS ××× * Scott: [https://height.app/](https://height.app/) * Wes: [Anker Mini Car Charger](https://www.amazon.com/Anker-Charger-PowerDrive-Adapter-iPhone/dp/B07PGT7LSR/) ## Shameless Plugs * Scott: [Astro Course](https://www.leveluptutorials.com/pro) - Sign up for the year and save 25%! * Wes: [Advanced React Course](https://advancedreact.com/) - Use the coupon code 'Syntax' for $10 off! ## Tweet us your tasty treats! * [Scott's Instagram](https://www.instagram.com/stolinski/) * [LevelUpTutorials Instagram](https://www.instagram.com/LevelUpTutorials/) * [Wes' Instagram](https://www.instagram.com/wesbos/) * [Wes' Twitter](https://twitter.com/wesbos) * [Wes' Facebook](https://www.facebook.com/wesbos.developer) * [Scott's Twitter](https://twitter.com/stolinski) * Make sure to include [@SyntaxFM](https://twitter.com/SyntaxFM) in your tweets
51.694444
521
0.760881
eng_Latn
0.935775
2eb09be3ef7c4d2d64f7c46007da4e4877646e9a
155
md
Markdown
README.md
continuationlabs/wilson
6b8ab00ae34f8d6a7e1700e5d59350b9e49fcd32
[ "MIT" ]
null
null
null
README.md
continuationlabs/wilson
6b8ab00ae34f8d6a7e1700e5d59350b9e49fcd32
[ "MIT" ]
null
null
null
README.md
continuationlabs/wilson
6b8ab00ae34f8d6a7e1700e5d59350b9e49fcd32
[ "MIT" ]
null
null
null
# wilson toolbag user interface ## Acknowledgments Thanks to [Chris Dickinson](https://github.com/chrisdickinson) for forfeiting the npm name `wilson`.
19.375
100
0.774194
eng_Latn
0.781753