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.Net; | |
using System.Threading.Tasks; | |
namespace ConsoleApplication6 | |
{ | |
class Program | |
{ |
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; | |
namespace ConsoleApplication3 | |
{ | |
public class Comprehension | |
{ | |
public Comprehension() | |
{ |
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; | |
using System.Collections.Generic; | |
using System.Reflection; | |
namespace Nash.Core | |
{ | |
public class NHibernateProxyRemover | |
{ | |
public static T From<T>(T objeto) |
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.Windows.Forms; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
[STAThread] | |
static void Main(string[] args) | |
{ |
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
window.onload = function () { | |
document.querySelector("#abc").onclick = function() { | |
window.location = 'javascript:window.open("http://www.google.com.br", null, "scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,left=685,top=0");void(0);' | |
}; | |
}; |
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.Diagnostics; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using FluentIL; | |
namespace ConsoleApplication1 | |
{ |
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.Diagnostics; | |
using System.Linq; | |
using System.Reflection; | |
using FluentIL.Cecil; | |
using Mono.Cecil; | |
using Mono.Cecil.Cil; | |
using MethodAttributes = Mono.Cecil.MethodAttributes; |
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
Abra as propriedades e adicione isso ao caminho: --enable-aero-peek-tabs | |
(não esqueça de deixar um espaço entre o caminho do programa e o código) | |
Se você usa o atalho do Chrome na barra de tarefas do Windows 7, abra o explorer e vá aqui: | |
"%appdata%/Microsoft/Internet Explorer/Quick Launch/User Pinned/Taskbar " |
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.Windows; | |
using System.Windows.Controls; | |
using System.Windows.Interactivity; | |
namespace Custom.Behaviors | |
{ | |
public class ScrollPositionBehavior : Behavior<ScrollViewer> | |
{ | |
public double Position |
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
#Com git instalado, via powershell: | |
Set-ExecutionPolicy Unrestricted | |
if(!$env:path.Contains("C:\Program Files (x86)\Git\cmd")) | |
{ | |
$env:path += ";C:\Program Files (x86)\Git\cmd" | |
} | |
if(!$env:path.Contains("C:\Program Files (x86)\Git\bin")) | |
{ |