This file contains 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace MDI_Escola.Entidades | |
{ | |
/// <summary> | |
/// Entidade Aluno | |
/// </summary> |
This file contains 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
<pre data-bind="text: ko.toJSON($data, null, 2)"></pre> |
This file contains 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
<script type="text/javascript"> | |
var viewModel = { | |
students: ko.observableArray([ | |
{ id: 1, name: 'Jake' }, | |
{ id: 2, name: 'Kate' }, | |
{ id: 3, name: 'Mari' } | |
]), | |
selected: ko.observable() | |
}; | |
This file contains 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
$(function () { | |
// Get Json ViewModel | |
var json_response = @Html.Raw(Json.Encode(Model)); | |
}); |
This file contains 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
explorer . |
This file contains 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
SET SESSION old_passwords=0; | |
SET PASSWORD FOR my_user=PASSWORD('my_password'); |
This file contains 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
maxcnunes@Max-Mint-Office-VM ~/Development/bravi-ideas $ git push heroku master | |
Counting objects: 218, done. | |
Compressing objects: 100% (189/189), done. | |
Writing objects: 100% (218/218), 108.27 KiB, done. | |
Total 218 (delta 66), reused 0 (delta 0) | |
-----> Ruby/NoLockfile app detected | |
! | |
! Gemfile.lock required. Please check it in. | |
! |
This file contains 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
private string Capitalise(string str) | |
{ | |
if(String.IsNullOrEmpty(str)) | |
return string.Empty; | |
var firstLetter = string.Empty; | |
if(str.Length > 0) | |
firstLetter = Char.ToUpper(str[0]); | |
return (str.Length == 1) ? firstLetter : firstLetter + str.Substring(1).ToLower(); |
This file contains 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
#Instalar ZSH: | |
sudo apt-get update && sudo apt-get install zsh | |
#Configurar oh-my-zsh: | |
wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh | |
#Tornar ZSH terminal padrão | |
chsh -s /bin/zsh | |
#Reinicie o ubuntu. |
OlderNewer