ssh-keygen -t rsa -b 4096 -C "email"
- ``eval `ssh-agent -s```
ssh-add "C:/Users/Fagner/.ssh/id_rsa"- use the 'Add SSH key' option in Github and copy and paste the content from
id_rsa.pub
| Testing out. |
| function getColumnValues(columnNumber) { | |
| $("table tr td:nth-child(" + columnNumber + ")").each(function() { | |
| console.log($(this).text()); | |
| }); | |
| } | |
| // usage | |
| getColumnValues(1) |
| using System; | |
| using System.IO; | |
| var directory = @"C:\directory\"; | |
| var shift = 3; | |
| foreach(var file in Directory.GetFiles(directory)) { | |
| var fileName = Path.GetFileName(file); | |
| var currentNumber = Int64.Parse(fileName.Substring(0, 2)); |
| public class SessionIdGenerator { | |
| public string static GenerateSessionId() { | |
| var httpClient = new HttpClient(); | |
| var content = new StringContent("email=YOUR_EMAIL&token=YOUR_TOKEN", Encoding.GetEncoding("ISO-8859-1"), "application/x-www-form-urlencoded"); | |
| var response = await httpClient.PostAsync("https://ws.sandbox.pagseguro.uol.com.br/v2/sessions", content); | |
| string sessionId = string.Empty; | |
| if (response.IsSuccessStatusCode) | |
| { | |
| var xmlContent = await response.Content.ReadAsStreamAsync(); |
git config --global core.editor "'C:/Program Files (x86)/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin"
| System.Console.WriteLine("Type your name.") | |
| let name = System.Console.ReadLine() | |
| printfn "Hello World %s!" name | |
| ignore(System.Console.Read()) |
Snippets for http://fagner.co/2014/10/07/CORS-vs-JSONP/