This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| foreach ( var it in someCollection.Select((x,i) => new { Value = x, Index=i }) ) | |
| { | |
| if ( it.Index > SomeNumber) {// } | |
| } | |
| //or | |
| public static void Each<T>( this IEnumerable<T> ie, Action<T, int> action ) | |
| { | |
| var i = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| senior é quem tem cicatriz | |
| Experiência | |
| - estudos | |
| - Orientação a Objetos | |
| - Padrões | |
| - Design Patterns | |
| - Padrões de arquitetura de aplicações | |
| - Design de código |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os/exec" | |
| "regexp" | |
| "github.com/gocolly/colly/v2" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| nome: itens[0].receita.nome, | |
| ... | |
| ingredientes: //aquele map vai aqui | |
| ... | |
| } as ReceitaCompleta |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| items.map((item) => { | |
| return { | |
| nome: item.nome, | |
| quantidade: item.quantidade, | |
| unidade: item.unidade | |
| } as Ingrediente | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <vector> | |
| #include <string> | |
| using namespace std; | |
| void foo(string meu_array[], int size) | |
| { | |
| for(int i = 0; i < size; i++){ | |
| cout << " " << meu_array[i]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| from: http://www.red-team-design.com/css-ribbons | |
| */ | |
| h1{ | |
| text-align: center; | |
| position: relative; | |
| color: #fff; | |
| margin: 0 -30px 30px -30px; | |
| padding: 10px 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //VIEW THE ORIGINAL IN: HTTP://via7solucoes.com.br/curriculos/cadastro.asp | |
| if (document.getElementById("cpff").value != "") { | |
| if ("024.683.681-42|922.480.201-04|041.478.491-05|023.783.799-43|981.918.021-04|027.457.339-31|011.672.181-24|002.103.331-54|062.806.499-38|025.818.191-54|859.227.301-34|032.044.441-47|889.651.631-53|041.383.129-94|203.379.149-15|011.356.831-23|001.735.480-32|046.078.089-11|032.963.821-19|000.200.191-81|892.546.431-49|708.577.921-72|007.426.349-81|013.019.741-61|014.861.641-02|924.510.809-06|396.296.431-20|029.623.411-79|600.809.221-04|035.036.771-00|761.546.531-15|408.995.359-68|007.290.370-88|848.703.891-34|009.376.861-31|950.705.401-49|024.313.891-11|040.704.951-77|880.506.021-68|651.733.761-04|024.710.931-24|058.720.126-67|006.154.761-12|283.730.318-63|423.054.629-72|033.293.281-85|967.446.851-04|029.033.781-00|372.529.091-15|036.206.831-31|019.258.291-70|020.193.161-37|993.860.621-00|014.472.001-95|022.062.551-46|066.174.159-14|996.782.091-87|003.892.131-60|029.764.421-18|731.9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #add this to your gemfile | |
| gem 'mongoid' | |
| gem 'devise' | |
| gem "omniauth-facebook" |
NewerOlder