Commit Graph

6095 Commits

Author SHA1 Message Date
alberto
d03c71b990 Improved Spanish List Guide (#31432)
Added a lot more of information and code examples
2019-08-20 14:13:12 -07:00
Alperen Turkoz
9d30fe7027 feat(guide): Add a new solution using reduce (#36629) 2019-08-20 09:39:25 -07:00
Willy David Jr
a9fb8ac1c3 Corrected access on constant variable and access on attribute properties. (#36586)
First on constant variable issue:

This will not compile:

[Plugin(MyPluginName)] // Won't compile because MyPluginName isn't const
[Plugin(MyConstPluginName)] // OK
[Plugin("My Cool Plugin")] // OK

In order to access properties on the static class, it must specify the name of the class before the properties name as proposed on this change:

[Plugin(Variables.MyPluginName)] // Won't compile because MyPluginName isn't const
[Plugin(Variables.MyConstPluginName)] // OK
[Plugin("My Cool Plugin")] // OK

Second on access on attribute properties:

In order to access plugin.Name on this code:

var type = typeof(MyPlugin); // Returns a Type object representing our MyPlugin class
	var attributes = System.Attribute.GetCustomAttributes(type); // Returns an Attribute[]

	foreach (var a in attributes)
	{
		if (a is PluginAttribute plugin)
			Console.WriteLine($"Plugin Name: {plugin.Name}");
	}

You need to cast if first to the right class, then access the properties, as the above code will generate a compile-time error:

var type = typeof(PluginAttribute); // Returns a Type object representing our PluginAttribute class
	var attributes = System.Attribute.GetCustomAttributes(type); // Returns an Attribute[]

	foreach (var a in attributes)
	{
		if (a is PluginAttribute)
                    {
                        PluginAttribute plug = (PluginAttribute)a; //Cast it first to PluginAttribute class before you can access all accessible properties
                        Console.WriteLine($"Plugin Name: {plug.Name}");
                    }
	}
2019-08-20 09:32:05 -07:00
Cleo Aguiar
ad5b99ed09 update translation greedy-algorithms (#36388)
* update translation greedy-algorithms

* updated translation after review
2019-08-20 09:26:25 -07:00
Lipis
b6ffe92a84 Typescript -> TypeScript (spanish) (#35204)
* Typescript -> TypeScript (spanish)

* Update index.md
2019-08-20 08:41:15 -07:00
shreyas1599
24eaec6e44 [Update] Added guide for unordered_map (#36608)
* [Update] Added guide for unordered_map

* fix: removed unsecure links
2019-08-20 08:01:07 -07:00
SayanKar
662ea9235a Added Diamond Printing Example.md (#36637)
Added Example of a Diamond Printing code
2019-08-20 07:40:54 -07:00
Lauren Van Sloun
4507a6b254 Minor grammar fixes (#36643)
* Minor grammar fix
2019-08-20 14:36:22 +01:00
Rajiv Ranjan Singh
38badd6259 typo fixed (#36642) 2019-08-20 06:28:56 -07:00
TylerGlenski
7c293b523e added solution 2 to the article (#36639) 2019-08-20 06:26:41 -07:00
Cleo Aguiar
b08f260dd3 Changed exhibition title (#27450)
guide/portuguese/r/data-types
2019-08-19 07:00:58 -07:00
Adriano
d864326d97 finished translation, (#27125)
corrected bad translation of css properties, corrected code indentation,
2019-08-18 09:49:27 -07:00
Mengeroshi
fb3809a19c errores de dedo en la traducción (#28433) 2019-08-18 10:28:23 +05:30
Jefferson Oliveira
fe8cf1a469 translate: fix translation and grammar on vim's guide index.md (#28551)
* translate: fix translation and grammar on vim's guide index.md

* fix: changed estao to estão
2019-08-18 10:22:22 +05:30
shreyas1599
443ad21b9a [Update-guide] Improved article (#36613)
* [Update-guide] Added link of a hands-on tutorial

Added link of a hands-on tutorial which is a great way to learn more about Haskell.

* [Update] Added more content about Haskell

Added reasons for learning Haskell and link with project ideas.

* fix: removed non-secure links
2019-08-17 06:37:07 -07:00
alan1001110
b4ef20d716 replaced stub with solution to large sum (#36618)
replaced stub with solution to large sum, explanation, links
2019-08-17 05:40:54 -07:00
Lipis
ce87cbf659 Typescript -> TypeScript (portuguese) (#35203) 2019-08-16 13:59:59 -07:00
Paulo Henrique Junior
72d0525d5f Small adjustments in translation (#32213)
* Small adjustments in translation

Small adjustments in translation

* Update index.md
2019-08-16 12:40:09 -07:00
DanielMartinsAlves
24b8cb14d0 Fix sentences (#33602)
Fix sentences
2019-08-16 12:04:05 -07:00
Gustavo Cavalieri Fernandes
a049713c25 add "sapply function" portuguese translation to guide (#36391)
* add "sapply function" portuguese translation to guide

* fixing locale title at pt/sapply-function
2019-08-16 12:02:43 -07:00
jonniebigodes
7efe319e1c portuguese translation of the redux/middleware article in the guide (#35119) 2019-08-16 12:00:56 -07:00
delubio de paula
c4cd8afa35 Update index.md (#34295) 2019-08-16 11:59:50 -07:00
Luan
38fd48fe02 Translated some english content and layout fix (#33924)
Translated some english content, and layout fix
2019-08-16 11:59:27 -07:00
jean-ajala
2461fa3ba7 Adicionado informação para ajudar explicação (#33871) 2019-08-16 11:58:58 -07:00
jean-ajala
048348d19a Melhorando a explicação (#33866) 2019-08-16 11:57:14 -07:00
Ana
67843a1827 Agile/index.md - correct spelling of Português (#33615)
Correct the word "Português" in the link to the Agile Manifest in Portuguese. It was missing a "u".
2019-08-16 11:56:53 -07:00
SubaruSama
1c4a2cbe9b Adding more information (#33610) 2019-08-16 11:56:11 -07:00
SubaruSama
2e28893931 Full translation (#33592) 2019-08-16 11:55:18 -07:00
Gabriel Silva Tosetti
88dfb6bc53 Adding missing description inside inline code CSS (#33580) 2019-08-16 11:54:51 -07:00
Dhruv Singh
88e49f6f87 [Portugese] Fix gitter href for official chat rooms link (#33237) 2019-08-16 11:53:41 -07:00
Martin Jham
768123612e add folder react-hooks (#33133)
* add folder react-hooks

introduction of react hooks

* Update index.md

* Update index.md
2019-08-16 11:52:44 -07:00
Rodrigo Araujo
bcdf8dad94 Adicionei palavras descrevendo a quantidade dos dados processado (#33107) 2019-08-16 11:51:48 -07:00
Rodrigo Araujo
d01de67498 Adicionei uma frase explicando APIs (#33104) 2019-08-16 11:51:26 -07:00
Rodrigo Araujo
1ca5848a28 Mudei a frase para ser mais simples para ler. (#33096) 2019-08-16 11:50:59 -07:00
Luan
55b515839f Update index.md (#32994)
Removed some strange information about area, and added simbol of pi.
2019-08-16 11:50:33 -07:00
LeoGuilherme
8a67fa8cd0 Fix localeTitle and line 5 (#32787) 2019-08-16 11:50:08 -07:00
LeoGuilherme
a8115b1181 Change titles on lines 51 and 77 (#32746)
The translation of the titles on lines 51 and 77 in portuguese is wrong. It should be changed for this version to help people to better understand the guide.
2019-08-16 11:49:34 -07:00
Luciano Zago
b46b154de9 Fix non translated text and add more commands (#32704)
Fix translation of Docker-compose guide in Portuguese
2019-08-16 11:48:08 -07:00
yoimbert
1abd07cc2e Update index.md (#32701) 2019-08-16 11:47:41 -07:00
Luciano Zago
34093dc3c3 Fix terms and add installation commands (#32694)
Updating Apache guide in Portuguese translation
2019-08-16 11:47:14 -07:00
SubaruSama
ab415a9aa7 Adicionando mais informações (#32684)
Adicionando mais informações e corrigindo eventuais erros de grafia.
2019-08-16 11:46:26 -07:00
Jefferson Oliveira
d240ac67d9 guide:correct grammar/translation on let's encrypt (#32477) 2019-08-16 11:45:47 -07:00
Allyson Maciel
196bb860cc Changed punctuation and some words. (#32442) 2019-08-16 11:45:15 -07:00
Allyson Maciel
0b8a82c8e1 Capital letters. (#32440) 2019-08-16 11:44:04 -07:00
Paranoid17
9a9cad0f76 Minor changes to index.md (#32311)
Changed the "A" tag titles, in portuguese it was mostly wrong, in a certain point it was translated to "onde day" due to the similarities to german.
2019-08-16 11:42:53 -07:00
Paranoid17
fd7b6da39a Minor changes for better comprehension in index.md (#32309)
I've changed only the names of the variables and the comments to portuguese, plus other minor issues.
2019-08-16 11:42:29 -07:00
Jonathan Martins
f1e6fad974 Update ruby symbols portuguese guide (#32295)
Translation based on english guide:
`https://github.com/freeCodeCamp/freeCodeCamp/blob/master/guide/english/ruby/ruby-symbols/index.md`
2019-08-16 11:41:57 -07:00
Jean Silva
bff9327059 Update text about Components in React. (#32281) 2019-08-16 11:40:22 -07:00
Jean Silva
f1fc7872f4 Update text about Actions - Redux (#32269) 2019-08-16 11:39:53 -07:00
Jonathan Martins
1c857e7751 Update ruby string operations portuguese guide (#32298)
Translation based on english guide:
`https://github.com/freeCodeCamp/freeCodeCamp/edit/master/guide/english/ruby/ruby-string-operations/index.md`
2019-08-16 11:39:34 -07:00