File -> New -> Java Project
Uncheck Use default location.
Use location /root/MoocHomeworks/HadoopWordCount
| <div id="checkout-adf"> | |
| <h5> | |
| {{fund.Name}} | |
| </h5> | |
| <p> | |
| {{fund.Description}} | |
| </p> | |
| <hr /> | |
| Year,CPI | |
| 1925,17.5 | |
| 1926,17.7 | |
| 1927,17.4 | |
| 1928,17.1 | |
| 1929,17.1 | |
| 1930,16.7 | |
| 1931,15.2 | |
| 1932,13.7 | |
| 1933,13.0 |
| \begin{wrapfigure}{r}{0.5\textwidth} | |
| \centering | |
| \caption{Adjacency List} | |
| \begin{tikzpicture}[>=stealth] | |
| \matrix (M) [matrix of nodes,% | |
| column sep=-\pgflinewidth,% | |
| row sep=1mm,% | |
| nodes in empty cells, | |
| nodes={draw, fill=gray!20,% | |
| minimum width=.5cm, outer sep=0pt,% |
| # | |
| # Copy a whole directory to another with progress indications | |
| # https://blogs.technet.microsoft.com/heyscriptingguy/2015/12/20/build-a-better-copy-item-cmdlet-2/ | |
| # | |
| Function Copy-WithProgress { | |
| [CmdletBinding()] | |
| Param ( | |
| [Parameter(Mandatory=$true, ValueFromPipelineByPropertyName=$true, Position=0)] $source, | |
| [Parameter(Mandatory=$true, ValueFromPipelineByPropertyName=$true, Position=0)] $destination | |
| ) |
| $file = "E:\numbers.txt" | |
| for ($i=0; $i -le 10000000; $i++) { | |
| $a = Get-Random -Minimum 0.0 -Maximum 1.0 | |
| Add-Content $file $a.ToString("0.00") | |
| } |
| ################################################################################################################ | |
| # | |
| # Example of XML being parsed. Each column in the CSV has one of these in its `Submission` field. | |
| # | |
| # <root> | |
| # <FormField FieldID="FULL_NAME" Caption="Name" Value="Some Person"/> | |
| # <FormField FieldID="ID" Caption="University ID" Value="0001234567"/> | |
| # <FormField FieldID="EMAIL" Caption="Preferred Email" Value="SomePerson@gmail.com"/> | |
| # <FormField FieldID="PHONE_CELL" Caption="Cell Phone" Value="5555659632"/> | |
| # </root> |
| string emailHash; | |
| using (var md5 = MD5.Create()) | |
| { | |
| var sb = new StringBuilder(); | |
| var data = md5.ComputeHash(Encoding.UTF8.GetBytes("myemail@email.com")); | |
| foreach (byte t in data) | |
| { | |
| sb.Append(t.ToString("x2")); | |
| } |
| ## | |
| # If the clipboard contains a directory path or a file path, | |
| # default the cwd to that path. Otherwise, default to `D:\`. | |
| # | |
| # Requires PowerShell 5 | |
| ## | |
| $clip = Get-Clipboard | |
| $location = "D:\" | |
| if (-not ( [string]::IsNullOrEmpty($clip) ) ) |
These are the items used to generate new projects and specs.
You will find a ProjectTemplates and ItemTemplates folders in the SDK directory.
C:\<username>\Documents\Visual Studio 2015\Templates\ProjectTemplates folder.Blackbaud AppFx folder here.BlackbaudSDK\ProjectTemplates to your new Blackbaud AppFx folder.