I hereby claim:
- I am txusko on github.
- I am txusko (https://keybase.io/txusko) on keybase.
- I have a public key ASC_Znds2riay8oX9oZsI6v49JaQG3OU-KC4GziZqKj5qAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Command Line
pry -r ./config/app_init_file.rb
- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb
- load your rails into a pry sessionDebugger
document.querySelectorAll('.chartlist-delete-button').forEach(function(elemento) { | |
elemento.click(); | |
}); |
//¿Como saber que programa te esta abriendo un puerto? | |
c:\>netstat -ano |find /i ":PUERTO" | |
c:\>tasklist |find /i "PID" | |
//¿Como matar un proceso con el PID? | |
c:\>taskkill /PID "PID" | |
//¿Como matar un proceso con el nombre del proceso? | |
c:\>taskill /IM algo.exe //(con -F fuerzas) |
/// <summary> | |
/// Incrementa el string tcCodigo | |
/// Ej. string lastCodigo = IncrementXLColumn("AA"); -> Devolvera lastCodigo = "AB"; | |
/// </summary> | |
/// <param name="tcCodigo"></param> | |
/// <returns></returns> | |
protected static string IncrementXLColumn(string tcCodigo) | |
{ | |
//var parts = System.Text.RegularExpressions.Regex.Matches(Address, @"([A-Z]+)|(\d+)"); | |
var lParts = System.Text.RegularExpressions.Regex.Matches(tcCodigo, @"([A-Z])|([A-Z])"); |
bool IsAnAdministrator () | |
{ | |
WindowsIdentity identity = WindowsIdentity.GetCurrent(); | |
WindowsPrincipal principal = new WindowsPrincipal (identity); | |
return principal.IsInRole(WindowsBuiltInRole.Administrator); | |
} |