From 7a4e92af226d44e6c275efe65a5fa4d52067ff6f Mon Sep 17 00:00:00 2001 From: plane000 Date: Sun, 6 May 2018 12:46:21 +0100 Subject: [PATCH 1/4] Soapi.cpp --- .../Countdown Numbers Game/Program.cs | 29 +++++++++++++++---- C++/Soph/classes.h | 8 +++++ C++/Soph/soapi.cpp | 13 +++++++++ 3 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 C++/Soph/classes.h create mode 100644 C++/Soph/soapi.cpp diff --git a/C#/Countdown Numbers Game/Countdown Numbers Game/Program.cs b/C#/Countdown Numbers Game/Countdown Numbers Game/Program.cs index 5335b0d..7c9d623 100644 --- a/C#/Countdown Numbers Game/Countdown Numbers Game/Program.cs +++ b/C#/Countdown Numbers Game/Countdown Numbers Game/Program.cs @@ -7,6 +7,19 @@ using System.Threading.Tasks; namespace Countdown_Numbers_Game { class Program { static void Main(string[] args) { + + Console.ForegroundColor = ConsoleColor.Cyan; + Console.WriteLine(" 888 888 "); + Console.WriteLine(" 888 888 "); + Console.WriteLine(" 888 888 "); + Console.WriteLine(" .d8888b .d88b. 888 88888888b. 888888 .d88888 .d88b. 888 888 88888888b. "); + Console.WriteLine("d88P\" d88\"\"88b888 888888 \"88b888 d88\" 888d88\"\"88b888 888 888888 \"88b "); + Console.WriteLine("888 888 888888 888888 888888 888 888888 888888 888 888888 888 "); + Console.WriteLine("Y88b. Y88..88PY88b 888888 888Y88b. Y88b 888Y88..88PY88b 888 d88P888 888 "); + Console.WriteLine(" \"Y8888P \"Y88P\" \"Y88888888 888 \"Y888 \"Y88888 \"Y88P\" \"Y8888888P\" 888 888 "); + Console.WriteLine(""); + Console.ForegroundColor = ConsoleColor.White; + Program p = new Program(); p.getInput(); } @@ -46,33 +59,34 @@ namespace Countdown_Numbers_Game { string output = solve.getSolution(target, inputArray); if (output == "false") { - + Console.WriteLine("A soulution could not be found... \nPress any key to exit..."); } else { - + Console.WriteLine("Solution found: " + output); + Console.WriteLine("Press any key to exit..."); } Console.ReadKey(); } class Solver { - public string getSolution(int target, int[] inputArray) { inputArray = SortArray(inputArray); + Console.Write("Sorted Array: "); for (int i = 0; i < inputArray.Length; i++) { Console.Write(inputArray[i] + " "); } + Console.WriteLine(); if (!isPossible(target, inputArray)) { return "false"; } - return findMethod(target, inputArray); } private bool isPossible(int target, int[] inputArray) { for (int i = 1; i < inputArray.Length; i++) { - if (inputArray[i] + inputArray[i-1] == target { + if (inputArray[i] + inputArray[i-1] == target) { return true; } } @@ -81,6 +95,11 @@ namespace Countdown_Numbers_Game { } private string findMethod(int target, int[] inputArray) { + for (int i = 1; i < inputArray.Length; i++) { + if (inputArray[i] + inputArray[i - 1] == target) { + return inputArray[i] + " + " + inputArray[i-1] + " = " + target; + } + } return " "; } diff --git a/C++/Soph/classes.h b/C++/Soph/classes.h new file mode 100644 index 0000000..b901ebf --- /dev/null +++ b/C++/Soph/classes.h @@ -0,0 +1,8 @@ +#include +using namespace std; +class Person { + public: + string cute() { + return "true"; + }; +}; diff --git a/C++/Soph/soapi.cpp b/C++/Soph/soapi.cpp new file mode 100644 index 0000000..f0ed9fa --- /dev/null +++ b/C++/Soph/soapi.cpp @@ -0,0 +1,13 @@ +#include "classes.h" +#include +#include + +using namespace std; + +int main() { + Person Soapi; + string s; + cout << "Soapi.cute() = " << Soapi.cute() << "\n"; + cin >> s; + return 0; +} \ No newline at end of file From 8a06a1f9a1fd25af37991ecba58fd64b16fe04b5 Mon Sep 17 00:00:00 2001 From: plane000 Date: Fri, 11 May 2018 19:50:25 +0100 Subject: [PATCH 2/4] Added some stuff --- .../Countdown Numbers Game.csproj | 1 + .../Countdown Numbers Game/Program.cs | 104 +- C#/IRC/IRCServer/IRCServer.sln | 25 + C#/IRC/IRCServer/IRCServer/App.config | 6 + C#/IRC/IRCServer/IRCServer/IRCServer.csproj | 52 + C#/IRC/IRCServer/IRCServer/Program.cs | 12 + .../IRCServer/Properties/AssemblyInfo.cs | 36 + C#/Just Testing/IRCClient/IRCClient.sln | 25 + .../IRCClient/IRCClient/App.config | 6 + .../IRCClient/IRCClient/Form1.Designer.cs | 35 + C#/Just Testing/IRCClient/IRCClient/Form1.cs | 17 + .../IRCClient/IRCClient/IRCClient.csproj | 79 ++ .../IRCClient/IRCClient/Program.cs | 19 + .../IRCClient/Properties/AssemblyInfo.cs | 36 + .../Properties/Resources.Designer.cs | 62 + .../IRCClient/Properties/Resources.resx | 117 ++ .../IRCClient/Properties/Settings.Designer.cs | 26 + .../IRCClient/Properties/Settings.settings | 7 + C#/Owl Project/Owl Project.sln | 25 + C#/Owl Project/Owl Project/App.config | 6 + .../Owl Project/Database/dbo.Table.sql | 5 + C#/Owl Project/Owl Project/Form1.Designer.cs | 71 ++ C#/Owl Project/Owl Project/Form1.cs | 33 + C#/Owl Project/Owl Project/Form1.resx | 120 ++ C#/Owl Project/Owl Project/Owl Project.csproj | 118 ++ C#/Owl Project/Owl Project/Program.cs | 19 + .../Owl Project/Properties/AssemblyInfo.cs | 36 + .../Properties/Resources.Designer.cs | 62 + .../Owl Project/Properties/Resources.resx | 117 ++ .../Properties/Settings.Designer.cs | 26 + .../Owl Project/Properties/Settings.settings | 7 + C++/FirstProgram/.vscode/settings.json | 3 + NodeJS/TestingElectron/index.js | 0 NodeJS/TestingElectron/package-lock.json | 1128 +++++++++++++++++ 34 files changed, 2419 insertions(+), 22 deletions(-) create mode 100644 C#/IRC/IRCServer/IRCServer.sln create mode 100644 C#/IRC/IRCServer/IRCServer/App.config create mode 100644 C#/IRC/IRCServer/IRCServer/IRCServer.csproj create mode 100644 C#/IRC/IRCServer/IRCServer/Program.cs create mode 100644 C#/IRC/IRCServer/IRCServer/Properties/AssemblyInfo.cs create mode 100644 C#/Just Testing/IRCClient/IRCClient.sln create mode 100644 C#/Just Testing/IRCClient/IRCClient/App.config create mode 100644 C#/Just Testing/IRCClient/IRCClient/Form1.Designer.cs create mode 100644 C#/Just Testing/IRCClient/IRCClient/Form1.cs create mode 100644 C#/Just Testing/IRCClient/IRCClient/IRCClient.csproj create mode 100644 C#/Just Testing/IRCClient/IRCClient/Program.cs create mode 100644 C#/Just Testing/IRCClient/IRCClient/Properties/AssemblyInfo.cs create mode 100644 C#/Just Testing/IRCClient/IRCClient/Properties/Resources.Designer.cs create mode 100644 C#/Just Testing/IRCClient/IRCClient/Properties/Resources.resx create mode 100644 C#/Just Testing/IRCClient/IRCClient/Properties/Settings.Designer.cs create mode 100644 C#/Just Testing/IRCClient/IRCClient/Properties/Settings.settings create mode 100644 C#/Owl Project/Owl Project.sln create mode 100644 C#/Owl Project/Owl Project/App.config create mode 100644 C#/Owl Project/Owl Project/Database/dbo.Table.sql create mode 100644 C#/Owl Project/Owl Project/Form1.Designer.cs create mode 100644 C#/Owl Project/Owl Project/Form1.cs create mode 100644 C#/Owl Project/Owl Project/Form1.resx create mode 100644 C#/Owl Project/Owl Project/Owl Project.csproj create mode 100644 C#/Owl Project/Owl Project/Program.cs create mode 100644 C#/Owl Project/Owl Project/Properties/AssemblyInfo.cs create mode 100644 C#/Owl Project/Owl Project/Properties/Resources.Designer.cs create mode 100644 C#/Owl Project/Owl Project/Properties/Resources.resx create mode 100644 C#/Owl Project/Owl Project/Properties/Settings.Designer.cs create mode 100644 C#/Owl Project/Owl Project/Properties/Settings.settings create mode 100644 C++/FirstProgram/.vscode/settings.json create mode 100644 NodeJS/TestingElectron/index.js create mode 100644 NodeJS/TestingElectron/package-lock.json diff --git a/C#/Countdown Numbers Game/Countdown Numbers Game/Countdown Numbers Game.csproj b/C#/Countdown Numbers Game/Countdown Numbers Game/Countdown Numbers Game.csproj index cb303a1..bd5a443 100644 --- a/C#/Countdown Numbers Game/Countdown Numbers Game/Countdown Numbers Game.csproj +++ b/C#/Countdown Numbers Game/Countdown Numbers Game/Countdown Numbers Game.csproj @@ -34,6 +34,7 @@ + diff --git a/C#/Countdown Numbers Game/Countdown Numbers Game/Program.cs b/C#/Countdown Numbers Game/Countdown Numbers Game/Program.cs index 7c9d623..6bb42e8 100644 --- a/C#/Countdown Numbers Game/Countdown Numbers Game/Program.cs +++ b/C#/Countdown Numbers Game/Countdown Numbers Game/Program.cs @@ -1,8 +1,5 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Diagnostics; namespace Countdown_Numbers_Game { class Program { @@ -43,15 +40,20 @@ namespace Countdown_Numbers_Game { while (!inputValid) { try { Console.Write("Enter an array of whole numbers sepperated by spaces: "); - string inputString = Console.ReadLine(); - string[] inputStringArray = inputString.Split(' '); + string[] inputStringArray = Console.ReadLine().Trim().Split(' '); + inputArray = new int[inputStringArray.Length]; + for (int i = 0; i < inputStringArray.Length; i++) { inputArray[i] = int.Parse(inputStringArray[i]); } + if (inputArray.Length > 11) { + throw new Exception(); + } + inputValid = true; } catch { - Console.WriteLine("An error occured, you may not have formated the array correctly or diddnt use intigers"); + Console.WriteLine("An error occured, you may not have formated the array correctly or diddnt use intigers or you had more than 11 indexes."); } } @@ -67,6 +69,8 @@ namespace Countdown_Numbers_Game { Console.ReadKey(); } + + class Solver { public string getSolution(int target, int[] inputArray) { inputArray = SortArray(inputArray); @@ -77,31 +81,63 @@ namespace Countdown_Numbers_Game { } Console.WriteLine(); - if (!isPossible(target, inputArray)) { - return "false"; - } - return findMethod(target, inputArray); + + return makeAllPermutations(inputArray).ToString(); } - private bool isPossible(int target, int[] inputArray) { - for (int i = 1; i < inputArray.Length; i++) { - if (inputArray[i] + inputArray[i-1] == target) { - return true; + private int[,] makeAllPermutations(int[] inputArray) { + Stopwatch s = new Stopwatch(); + s.Start(); + int[,] allPermutations = new int[Factorial(inputArray.Length) - 1, inputArray.Length]; + + for (int i = 0; !NextPermutation(inputArray); i++) { + for (int j = 0; j < inputArray.Length; j++) { + allPermutations[i, j] = inputArray[j]; } } - return false; + s.Stop(); + Console.WriteLine("All permutations found in: " + s.Elapsed.Milliseconds + "ms"); + + PrintArray(allPermutations); + + return allPermutations; } - private string findMethod(int target, int[] inputArray) { - for (int i = 1; i < inputArray.Length; i++) { - if (inputArray[i] + inputArray[i - 1] == target) { - return inputArray[i] + " + " + inputArray[i-1] + " = " + target; + private bool NextPermutation(T[] elements) where T : IComparable { + var count = elements.Length; + var done = true; + for (var i = count - 1; i > 0; i--) { + var curr = elements[i]; + + if (curr.CompareTo(elements[i - 1]) < 0) { + continue; } + done = false; + var prev = elements[i - 1]; + var currIndex = i; + + for (var j = i + 1; j < count; j++) { + var tmp = elements[j]; + if (tmp.CompareTo(curr) < 0 && tmp.CompareTo(prev) > 0) { + curr = tmp; + currIndex = j; + } + } + elements[currIndex] = prev; + elements[i - 1] = curr; + + for (var j = count - 1; j > i; j--, i++) { + var tmp = elements[j]; + elements[j] = elements[i]; + elements[i] = tmp; + } + + break; } - return " "; - } + return done; + } private int[] SortArray(int[] array) { int length = array.Length; @@ -117,6 +153,30 @@ namespace Countdown_Numbers_Game { } return array; } + + private long Factorial(int arg) { + long value = 1; + for (int i = 2; i <= arg; i++) { + value *= i; + } + return value; + } + + private void PrintArray(int[] arr) { + for (int i = 0; i < arr.Length; i++) { + Console.Write(arr[i] + " "); + } + Console.WriteLine(); + } + + private void PrintArray(int[,] arr) { + for (int i = 0; i < arr.GetLength(0); i++) { + for (int j = 0; j < arr.GetLength(1); j++) { + Console.Write(arr[i, j] + " "); + } + Console.WriteLine(); + } + } } } } diff --git a/C#/IRC/IRCServer/IRCServer.sln b/C#/IRC/IRCServer/IRCServer.sln new file mode 100644 index 0000000..0d23377 --- /dev/null +++ b/C#/IRC/IRCServer/IRCServer.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27703.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IRCServer", "IRCServer\IRCServer.csproj", "{00670ECE-7E5D-4A26-BF43-ECBABCF4D5FD}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {00670ECE-7E5D-4A26-BF43-ECBABCF4D5FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {00670ECE-7E5D-4A26-BF43-ECBABCF4D5FD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00670ECE-7E5D-4A26-BF43-ECBABCF4D5FD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {00670ECE-7E5D-4A26-BF43-ECBABCF4D5FD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {6E17E5F6-A03A-4856-89F7-36485277CF60} + EndGlobalSection +EndGlobal diff --git a/C#/IRC/IRCServer/IRCServer/App.config b/C#/IRC/IRCServer/IRCServer/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/C#/IRC/IRCServer/IRCServer/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/C#/IRC/IRCServer/IRCServer/IRCServer.csproj b/C#/IRC/IRCServer/IRCServer/IRCServer.csproj new file mode 100644 index 0000000..9945e34 --- /dev/null +++ b/C#/IRC/IRCServer/IRCServer/IRCServer.csproj @@ -0,0 +1,52 @@ + + + + + Debug + AnyCPU + {00670ECE-7E5D-4A26-BF43-ECBABCF4D5FD} + Exe + IRCServer + IRCServer + v4.6.1 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/C#/IRC/IRCServer/IRCServer/Program.cs b/C#/IRC/IRCServer/IRCServer/Program.cs new file mode 100644 index 0000000..90347ab --- /dev/null +++ b/C#/IRC/IRCServer/IRCServer/Program.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace IRCServer { + class Program { + static void Main(string[] args) { + } + } +} diff --git a/C#/IRC/IRCServer/IRCServer/Properties/AssemblyInfo.cs b/C#/IRC/IRCServer/IRCServer/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ca12826 --- /dev/null +++ b/C#/IRC/IRCServer/IRCServer/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("IRCServer")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("IRCServer")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("00670ece-7e5d-4a26-bf43-ecbabcf4d5fd")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/C#/Just Testing/IRCClient/IRCClient.sln b/C#/Just Testing/IRCClient/IRCClient.sln new file mode 100644 index 0000000..c9719f0 --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27703.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IRCClient", "IRCClient\IRCClient.csproj", "{9FE89153-F858-4661-B6FA-AE0CC840D39B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9FE89153-F858-4661-B6FA-AE0CC840D39B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9FE89153-F858-4661-B6FA-AE0CC840D39B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9FE89153-F858-4661-B6FA-AE0CC840D39B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9FE89153-F858-4661-B6FA-AE0CC840D39B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D9BAE03D-2BFF-4B90-9A51-7C0DD33FE602} + EndGlobalSection +EndGlobal diff --git a/C#/Just Testing/IRCClient/IRCClient/App.config b/C#/Just Testing/IRCClient/IRCClient/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/C#/Just Testing/IRCClient/IRCClient/Form1.Designer.cs b/C#/Just Testing/IRCClient/IRCClient/Form1.Designer.cs new file mode 100644 index 0000000..af53653 --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/Form1.Designer.cs @@ -0,0 +1,35 @@ +namespace IRCClient { + partial class Form1 { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) { + if (disposing && (components != null)) { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "Form1"; + } + + #endregion + } +} + diff --git a/C#/Just Testing/IRCClient/IRCClient/Form1.cs b/C#/Just Testing/IRCClient/IRCClient/Form1.cs new file mode 100644 index 0000000..f74fd32 --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/Form1.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace IRCClient { + public partial class Form1 : Form { + public Form1() { + InitializeComponent(); + } + } +} diff --git a/C#/Just Testing/IRCClient/IRCClient/IRCClient.csproj b/C#/Just Testing/IRCClient/IRCClient/IRCClient.csproj new file mode 100644 index 0000000..e13773b --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/IRCClient.csproj @@ -0,0 +1,79 @@ + + + + + Debug + AnyCPU + {9FE89153-F858-4661-B6FA-AE0CC840D39B} + WinExe + IRCClient + IRCClient + v4.6.1 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + \ No newline at end of file diff --git a/C#/Just Testing/IRCClient/IRCClient/Program.cs b/C#/Just Testing/IRCClient/IRCClient/Program.cs new file mode 100644 index 0000000..ad8b9a3 --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/Program.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace IRCClient { + static class Program { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/C#/Just Testing/IRCClient/IRCClient/Properties/AssemblyInfo.cs b/C#/Just Testing/IRCClient/IRCClient/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..030ba6a --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("IRCClient")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("IRCClient")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("9fe89153-f858-4661-b6fa-ae0cc840d39b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/C#/Just Testing/IRCClient/IRCClient/Properties/Resources.Designer.cs b/C#/Just Testing/IRCClient/IRCClient/Properties/Resources.Designer.cs new file mode 100644 index 0000000..1221365 --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/Properties/Resources.Designer.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace IRCClient.Properties { + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if ((resourceMan == null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("IRCClient.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/C#/Just Testing/IRCClient/IRCClient/Properties/Resources.resx b/C#/Just Testing/IRCClient/IRCClient/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/C#/Just Testing/IRCClient/IRCClient/Properties/Settings.Designer.cs b/C#/Just Testing/IRCClient/IRCClient/Properties/Settings.Designer.cs new file mode 100644 index 0000000..305c5f1 --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace IRCClient.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/C#/Just Testing/IRCClient/IRCClient/Properties/Settings.settings b/C#/Just Testing/IRCClient/IRCClient/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/C#/Just Testing/IRCClient/IRCClient/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/C#/Owl Project/Owl Project.sln b/C#/Owl Project/Owl Project.sln new file mode 100644 index 0000000..f992144 --- /dev/null +++ b/C#/Owl Project/Owl Project.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27703.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Owl Project", "Owl Project\Owl Project.csproj", "{9AD3FFFB-C6E7-473A-B052-AE469ABB6A75}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9AD3FFFB-C6E7-473A-B052-AE469ABB6A75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9AD3FFFB-C6E7-473A-B052-AE469ABB6A75}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9AD3FFFB-C6E7-473A-B052-AE469ABB6A75}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9AD3FFFB-C6E7-473A-B052-AE469ABB6A75}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C5653571-AB23-4542-8683-66265D375F54} + EndGlobalSection +EndGlobal diff --git a/C#/Owl Project/Owl Project/App.config b/C#/Owl Project/Owl Project/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/C#/Owl Project/Owl Project/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/C#/Owl Project/Owl Project/Database/dbo.Table.sql b/C#/Owl Project/Owl Project/Database/dbo.Table.sql new file mode 100644 index 0000000..5d7cac7 --- /dev/null +++ b/C#/Owl Project/Owl Project/Database/dbo.Table.sql @@ -0,0 +1,5 @@ +CREATE TABLE [dbo].[Table] +( + [Id] INT NOT NULL PRIMARY KEY, + [Username] NVARCHAR(50) NOT NULL +) diff --git a/C#/Owl Project/Owl Project/Form1.Designer.cs b/C#/Owl Project/Owl Project/Form1.Designer.cs new file mode 100644 index 0000000..3841cac --- /dev/null +++ b/C#/Owl Project/Owl Project/Form1.Designer.cs @@ -0,0 +1,71 @@ +namespace Owl_Project { + partial class Form1 { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) { + if (disposing && (components != null)) { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() { + this.textBox1 = new System.Windows.Forms.TextBox(); + this.button1 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(208, 163); + this.textBox1.Margin = new System.Windows.Forms.Padding(4); + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(337, 22); + this.textBox1.TabIndex = 1; + this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); + // + // button1 + // + this.button1.Location = new System.Drawing.Point(346, 193); + this.button1.Margin = new System.Windows.Forms.Padding(4); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(72, 23); + this.button1.TabIndex = 2; + this.button1.Text = "Submit"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // Form1 + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(759, 349); + this.Controls.Add(this.button1); + this.Controls.Add(this.textBox1); + this.Margin = new System.Windows.Forms.Padding(4); + this.Name = "Form1"; + this.Text = "Form1"; + this.Load += new System.EventHandler(this.Form1_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Button button1; + } +} + diff --git a/C#/Owl Project/Owl Project/Form1.cs b/C#/Owl Project/Owl Project/Form1.cs new file mode 100644 index 0000000..94bf8ed --- /dev/null +++ b/C#/Owl Project/Owl Project/Form1.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Diagnostics; +using System.Windows.Forms; + +namespace Owl_Project { + public partial class Form1 : Form { + public Form1() { + InitializeComponent(); + } + + string box; + + private void textBox1_TextChanged(object sender, EventArgs e) { + + } + + private void button1_Click(object sender, EventArgs e) { + box = textBox1.Text; + Debug.WriteLine(box); + } + + private void Form1_Load(object sender, EventArgs e) { + + } + } +} diff --git a/C#/Owl Project/Owl Project/Form1.resx b/C#/Owl Project/Owl Project/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/C#/Owl Project/Owl Project/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/C#/Owl Project/Owl Project/Owl Project.csproj b/C#/Owl Project/Owl Project/Owl Project.csproj new file mode 100644 index 0000000..04cbc90 --- /dev/null +++ b/C#/Owl Project/Owl Project/Owl Project.csproj @@ -0,0 +1,118 @@ + + + + + Debug + AnyCPU + {9AD3FFFB-C6E7-473A-B052-AE469ABB6A75} + WinExe + Owl_Project + Owl Project + v4.6.1 + 512 + true + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + Always + + + Always + Database1.mdf + + + + + False + Microsoft .NET Framework 4.6.1 %28x86 and x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + + + \ No newline at end of file diff --git a/C#/Owl Project/Owl Project/Program.cs b/C#/Owl Project/Owl Project/Program.cs new file mode 100644 index 0000000..02d422f --- /dev/null +++ b/C#/Owl Project/Owl Project/Program.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Owl_Project { + static class Program { + /// + /// The main entry point for the application. + /// + [STAThread] + static void Main() { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form1()); + } + } +} diff --git a/C#/Owl Project/Owl Project/Properties/AssemblyInfo.cs b/C#/Owl Project/Owl Project/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b0be138 --- /dev/null +++ b/C#/Owl Project/Owl Project/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Owl Project")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Owl Project")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("9ad3fffb-c6e7-473a-b052-ae469abb6a75")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/C#/Owl Project/Owl Project/Properties/Resources.Designer.cs b/C#/Owl Project/Owl Project/Properties/Resources.Designer.cs new file mode 100644 index 0000000..cea516a --- /dev/null +++ b/C#/Owl Project/Owl Project/Properties/Resources.Designer.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Owl_Project.Properties { + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if ((resourceMan == null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Owl_Project.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/C#/Owl Project/Owl Project/Properties/Resources.resx b/C#/Owl Project/Owl Project/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/C#/Owl Project/Owl Project/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/C#/Owl Project/Owl Project/Properties/Settings.Designer.cs b/C#/Owl Project/Owl Project/Properties/Settings.Designer.cs new file mode 100644 index 0000000..ab02d9e --- /dev/null +++ b/C#/Owl Project/Owl Project/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Owl_Project.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + } +} diff --git a/C#/Owl Project/Owl Project/Properties/Settings.settings b/C#/Owl Project/Owl Project/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/C#/Owl Project/Owl Project/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/C++/FirstProgram/.vscode/settings.json b/C++/FirstProgram/.vscode/settings.json new file mode 100644 index 0000000..afb940f --- /dev/null +++ b/C++/FirstProgram/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "discord.enabled": true +} \ No newline at end of file diff --git a/NodeJS/TestingElectron/index.js b/NodeJS/TestingElectron/index.js new file mode 100644 index 0000000..e69de29 diff --git a/NodeJS/TestingElectron/package-lock.json b/NodeJS/TestingElectron/package-lock.json new file mode 100644 index 0000000..227d785 --- /dev/null +++ b/NodeJS/TestingElectron/package-lock.json @@ -0,0 +1,1128 @@ +{ + "requires": true, + "lockfileVersion": 1, + "dependencies": { + "@types/node": { + "version": "8.10.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.12.tgz", + "integrity": "sha512-aRFUGj/f9JVA0qSQiCK9ebaa778mmqMIcy1eKnPktgfm9O6VsnIzzB5wJnjp9/jVrfm7fX1rr3OR1nndppGZUg==" + }, + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=" + }, + "asn1": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", + "integrity": "sha1-2sh4dxPJlmhJ/IGAd36+nB3fO4Y=" + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + }, + "aws4": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.7.0.tgz", + "integrity": "sha512-32NDda82rhwD9/JBCCkB+MRYDp0oSvlo2IL6rQWA10PQi7tDUM3eqMSltXmY+Oyl/7N3P3qNtAlv7X0d9bI28w==" + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "bcrypt-pbkdf": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", + "integrity": "sha1-Y7xdy2EzG5K8Bf1SiVPDNGKgb40=", + "requires": { + "tweetnacl": "0.14.5" + } + }, + "boom": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/boom/-/boom-4.3.1.tgz", + "integrity": "sha1-T4owBctKfjiJ90kDD9JbluAdLjE=", + "requires": { + "hoek": "4.2.1" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "1.0.0", + "concat-map": "0.0.1" + } + }, + "builtin-modules": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", + "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=" + }, + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=" + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "requires": { + "camelcase": "2.1.1", + "map-obj": "1.0.1" + } + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=" + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" + }, + "combined-stream": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.6.tgz", + "integrity": "sha1-cj599ugBrFYTETp+RFqbactjKBg=", + "requires": { + "delayed-stream": "1.0.0" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", + "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.3.6", + "typedarray": "0.0.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "2.0.0", + "safe-buffer": "5.1.2", + "string_decoder": "1.1.1", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "5.1.2" + } + } + } + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "cryptiles": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-3.1.2.tgz", + "integrity": "sha1-qJ+7Ig9c4l7FboxKqKT9e1sNKf4=", + "requires": { + "boom": "5.2.0" + }, + "dependencies": { + "boom": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/boom/-/boom-5.2.0.tgz", + "integrity": "sha512-Z5BTk6ZRe4tXXQlkqftmsAUANpXmuwlsF5Oov8ThoMbQRzdGTA1ngYRW160GexgOgjsFOKJz0LYhoNi+2AMBUw==", + "requires": { + "hoek": "4.2.1" + } + } + } + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "requires": { + "array-find-index": "1.0.2" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "1.0.0" + } + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" + }, + "deep-extend": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.5.1.tgz", + "integrity": "sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w==" + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "ecc-jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", + "integrity": "sha1-D8c6ntXw1Tw4GTOYUj735UN3dQU=", + "requires": { + "jsbn": "0.1.1" + } + }, + "electron": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/electron/-/electron-2.0.0.tgz", + "integrity": "sha512-FCcVzHgoBmNTPUEhKN7yUxjluCRNAQsHNOfdtFEWKL3DPYEdLdyQW8CpmJEMqIXha5qZ+qdKVAtwvvuJs+b/PQ==", + "dev": true, + "requires": { + "@types/node": "8.10.12", + "electron-download": "3.3.0", + "extract-zip": "1.6.6" + } + }, + "electron-download": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz", + "integrity": "sha1-LP1U1pZsAZxNSa1l++Zcyc3vaMg=", + "requires": { + "debug": "2.6.9", + "fs-extra": "0.30.0", + "home-path": "1.0.5", + "minimist": "1.2.0", + "nugget": "2.0.1", + "path-exists": "2.1.0", + "rc": "1.2.7", + "semver": "5.5.0", + "sumchecker": "1.3.1" + } + }, + "error-ex": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", + "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", + "requires": { + "is-arrayish": "0.2.1" + } + }, + "es6-promise": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.4.tgz", + "integrity": "sha512-/NdNZVJg+uZgtm9eS3O6lrOLYmQag2DjdEXuPaHlZ6RuVqgqaVZfgYCepEIKsLqwdQArOPtC3XzRLqGGfT8KQQ==" + }, + "extend": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", + "integrity": "sha1-p1Xqe8Gt/MWjHOfnYtuq3F5jZEQ=" + }, + "extract-zip": { + "version": "1.6.6", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.6.tgz", + "integrity": "sha1-EpDt6NINCHK0Kf0/NRyhKOxe+Fw=", + "requires": { + "concat-stream": "1.6.0", + "debug": "2.6.9", + "mkdirp": "0.5.0", + "yauzl": "2.4.1" + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=" + }, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" + }, + "fd-slicer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz", + "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=", + "requires": { + "pend": "1.2.0" + } + }, + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "requires": { + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" + } + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.2.tgz", + "integrity": "sha1-SXBJi+YEwgwAXU9cI67NIda0kJk=", + "requires": { + "asynckit": "0.4.0", + "combined-stream": "1.0.6", + "mime-types": "2.1.18" + } + }, + "fs-extra": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", + "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "2.4.0", + "klaw": "1.3.1", + "path-is-absolute": "1.0.1", + "rimraf": "2.6.2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=" + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "1.0.0" + } + }, + "glob": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "graceful-fs": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", + "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, + "har-validator": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.0.3.tgz", + "integrity": "sha1-ukAsJmGU8VlW7xXg/PJCmT9qff0=", + "requires": { + "ajv": "5.5.2", + "har-schema": "2.0.0" + } + }, + "hawk": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/hawk/-/hawk-6.0.2.tgz", + "integrity": "sha512-miowhl2+U7Qle4vdLqDdPt9m09K6yZhkLDTWGoUiUzrQCn+mHHSmfJgAyGaLRZbPmTqfFFjRV1QWCW0VWUJBbQ==", + "requires": { + "boom": "4.3.1", + "cryptiles": "3.1.2", + "hoek": "4.2.1", + "sntp": "2.1.0" + } + }, + "hoek": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", + "integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==" + }, + "home-path": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/home-path/-/home-path-1.0.5.tgz", + "integrity": "sha1-eIspgVsS1Tus9XVkhHbm+QQdEz8=" + }, + "hosted-git-info": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz", + "integrity": "sha512-lIbgIIQA3lz5XaB6vxakj6sDHADJiZadYEJB+FgA+C4nubM1NwcuvUr9EJPmnH1skZqpqUzWborWo8EIUi0Sdw==" + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "requires": { + "assert-plus": "1.0.0", + "jsprim": "1.4.1", + "sshpk": "1.14.1" + } + }, + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "requires": { + "repeating": "2.0.1" + } + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "1.4.0", + "wrappy": "1.0.2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" + }, + "is-builtin-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", + "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", + "requires": { + "builtin-modules": "1.1.1" + } + }, + "is-finite": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", + "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "requires": { + "number-is-nan": "1.0.1" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=" + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=" + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "requires": { + "graceful-fs": "4.1.11" + } + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "klaw": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", + "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", + "requires": { + "graceful-fs": "4.1.11" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "pinkie-promise": "2.0.1", + "strip-bom": "2.0.0" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "requires": { + "currently-unhandled": "0.4.1", + "signal-exit": "3.0.2" + } + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "requires": { + "camelcase-keys": "2.1.0", + "decamelize": "1.2.0", + "loud-rejection": "1.6.0", + "map-obj": "1.0.1", + "minimist": "1.2.0", + "normalize-package-data": "2.4.0", + "object-assign": "4.1.1", + "read-pkg-up": "1.0.1", + "redent": "1.0.0", + "trim-newlines": "1.0.0" + } + }, + "mime-db": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", + "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==" + }, + "mime-types": { + "version": "2.1.18", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", + "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", + "requires": { + "mime-db": "1.33.0" + } + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "1.1.11" + } + }, + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" + }, + "mkdirp": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.0.tgz", + "integrity": "sha1-HXMHam35hs2TROFecfzAWkyavxI=", + "requires": { + "minimist": "0.0.8" + }, + "dependencies": { + "minimist": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" + } + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", + "requires": { + "hosted-git-info": "2.6.0", + "is-builtin-module": "1.0.0", + "semver": "5.5.0", + "validate-npm-package-license": "3.0.3" + } + }, + "nugget": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/nugget/-/nugget-2.0.1.tgz", + "integrity": "sha1-IBCVpIfhrTYIGzQy+jytpPjQcbA=", + "requires": { + "debug": "2.6.9", + "minimist": "1.2.0", + "pretty-bytes": "1.0.4", + "progress-stream": "1.2.0", + "request": "2.85.0", + "single-line-log": "1.1.2", + "throttleit": "0.0.2" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + }, + "oauth-sign": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", + "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-keys": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz", + "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=" + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1.0.2" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "requires": { + "error-ex": "1.3.1" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "requires": { + "pinkie-promise": "2.0.1" + } + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=" + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=" + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=" + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "requires": { + "pinkie": "2.0.4" + } + }, + "pretty-bytes": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-1.0.4.tgz", + "integrity": "sha1-CiLoIQYJrTVUL4yNXSFZr/B1HIQ=", + "requires": { + "get-stdin": "4.0.1", + "meow": "3.7.0" + } + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" + }, + "progress-stream": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/progress-stream/-/progress-stream-1.2.0.tgz", + "integrity": "sha1-LNPP6jO6OonJwSHsM0er6asSX3c=", + "requires": { + "speedometer": "0.1.4", + "through2": "0.2.3" + } + }, + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" + }, + "rc": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.7.tgz", + "integrity": "sha512-LdLD8xD4zzLsAT5xyushXDNscEjB7+2ulnl8+r1pnESlYtlJtVSoCMBGr30eDRJ3+2Gq89jK9P9e4tCEH1+ywA==", + "requires": { + "deep-extend": "0.5.1", + "ini": "1.3.5", + "minimist": "1.2.0", + "strip-json-comments": "2.0.1" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "requires": { + "load-json-file": "1.1.0", + "normalize-package-data": "2.4.0", + "path-type": "1.1.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "requires": { + "find-up": "1.1.2", + "read-pkg": "1.1.0" + } + }, + "readable-stream": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", + "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "requires": { + "indent-string": "2.1.0", + "strip-indent": "1.0.1" + } + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "requires": { + "is-finite": "1.0.2" + } + }, + "request": { + "version": "2.85.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.85.0.tgz", + "integrity": "sha512-8H7Ehijd4js+s6wuVPLjwORxD4zeuyjYugprdOXlPSqaApmL/QOy+EB/beICHVCHkGMKNh5rvihb5ov+IDw4mg==", + "requires": { + "aws-sign2": "0.7.0", + "aws4": "1.7.0", + "caseless": "0.12.0", + "combined-stream": "1.0.6", + "extend": "3.0.1", + "forever-agent": "0.6.1", + "form-data": "2.3.2", + "har-validator": "5.0.3", + "hawk": "6.0.2", + "http-signature": "1.2.0", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.18", + "oauth-sign": "0.8.2", + "performance-now": "2.1.0", + "qs": "6.5.2", + "safe-buffer": "5.1.2", + "stringstream": "0.0.5", + "tough-cookie": "2.3.4", + "tunnel-agent": "0.6.0", + "uuid": "3.2.1" + } + }, + "rimraf": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", + "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", + "requires": { + "glob": "7.1.2" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "semver": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", + "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==" + }, + "signal-exit": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" + }, + "single-line-log": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/single-line-log/-/single-line-log-1.1.2.tgz", + "integrity": "sha1-wvg/Jzo+GhbtsJlWYdoO1e8DM2Q=", + "requires": { + "string-width": "1.0.2" + } + }, + "sntp": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/sntp/-/sntp-2.1.0.tgz", + "integrity": "sha512-FL1b58BDrqS3A11lJ0zEdnJ3UOKqVxawAkF3k7F0CVN7VQ34aZrV+G8BZ1WC9ZL7NyrwsW0oviwsWDgRuVYtJg==", + "requires": { + "hoek": "4.2.1" + } + }, + "spdx-correct": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz", + "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==", + "requires": { + "spdx-expression-parse": "3.0.0", + "spdx-license-ids": "3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz", + "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==" + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "requires": { + "spdx-exceptions": "2.1.0", + "spdx-license-ids": "3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz", + "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==" + }, + "speedometer": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/speedometer/-/speedometer-0.1.4.tgz", + "integrity": "sha1-mHbb0qFp0xFUAtSObqYynIgWpQ0=" + }, + "sshpk": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.14.1.tgz", + "integrity": "sha1-Ew9Zde3a2WPx1W+SuaxsUfqfg+s=", + "requires": { + "asn1": "0.2.3", + "assert-plus": "1.0.0", + "bcrypt-pbkdf": "1.0.1", + "dashdash": "1.14.1", + "ecc-jsbn": "0.1.1", + "getpass": "0.1.7", + "jsbn": "0.1.1", + "tweetnacl": "0.14.5" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" + }, + "stringstream": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", + "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=" + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "2.1.1" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "requires": { + "is-utf8": "0.2.1" + } + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "requires": { + "get-stdin": "4.0.1" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + }, + "sumchecker": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-1.3.1.tgz", + "integrity": "sha1-ebs7RFbdBPGOvbwNcDodHa7FEF0=", + "requires": { + "debug": "2.6.9", + "es6-promise": "4.2.4" + } + }, + "throttleit": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-0.0.2.tgz", + "integrity": "sha1-z+34jmDADdlpe2H90qg0OptoDq8=" + }, + "through2": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-0.2.3.tgz", + "integrity": "sha1-6zKE2k6jEbbMis42U3SKUqvyWj8=", + "requires": { + "readable-stream": "1.1.14", + "xtend": "2.1.2" + } + }, + "tough-cookie": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.3.4.tgz", + "integrity": "sha512-TZ6TTfI5NtZnuyy/Kecv+CnoROnyXn2DN97LontgQpCwsX2XyLYCC0ENhYkehSOwAp8rTQKc/NUIF7BkQ5rKLA==", + "requires": { + "punycode": "1.4.1" + } + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "5.1.2" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "uuid": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", + "integrity": "sha512-jZnMwlb9Iku/O3smGWvZhauCf6cvvpKi4BKRiliS3cxnI+Gz9j5MEpTz2UFuXiKPJocb7gnsLHwiS05ige5BEA==" + }, + "validate-npm-package-license": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz", + "integrity": "sha512-63ZOUnL4SIXj4L0NixR3L1lcjO38crAbgrTpl28t8jjrfuiOBL5Iygm+60qPs/KsZGzPNg6Smnc/oY16QTjF0g==", + "requires": { + "spdx-correct": "3.0.0", + "spdx-expression-parse": "3.0.0" + } + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "1.3.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "xtend": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", + "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", + "requires": { + "object-keys": "0.4.0" + } + }, + "yauzl": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz", + "integrity": "sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU=", + "requires": { + "fd-slicer": "1.0.1" + } + } + } +} From f91a6a0e41160a627dfd32c01f4325d3cdb51664 Mon Sep 17 00:00:00 2001 From: plane000 Date: Sat, 12 May 2018 12:54:49 +0100 Subject: [PATCH 3/4] Started networking tools --- C#/IRC/IRCServer/IRCServer/Program.cs | 5 ++ C#/IRC/Networking Tools/Networking Tools.sln | 25 +++++++++ .../Networking Tools/App.config | 6 ++ .../Networking Tools/Networking Tools.csproj | 53 ++++++++++++++++++ .../Networking Tools/Program.cs | 12 ++++ .../Properties/AssemblyInfo.cs | 36 ++++++++++++ .../Networking Tools/UserInterface.cs | 13 +++++ C#/Networking Tools/Networking Tools.sln | 25 +++++++++ .../Networking Tools/App.config | 6 ++ .../Networking Tools/DNSTest.cs | 26 +++++++++ .../Networking Tools/Networking Tools.csproj | 55 +++++++++++++++++++ .../Networking Tools/Program.cs | 14 +++++ .../Properties/AssemblyInfo.cs | 36 ++++++++++++ .../Networking Tools/UserInterface.cs | 24 ++++++++ .../Networking Tools/WebTools.cs | 13 +++++ 15 files changed, 349 insertions(+) create mode 100644 C#/IRC/Networking Tools/Networking Tools.sln create mode 100644 C#/IRC/Networking Tools/Networking Tools/App.config create mode 100644 C#/IRC/Networking Tools/Networking Tools/Networking Tools.csproj create mode 100644 C#/IRC/Networking Tools/Networking Tools/Program.cs create mode 100644 C#/IRC/Networking Tools/Networking Tools/Properties/AssemblyInfo.cs create mode 100644 C#/IRC/Networking Tools/Networking Tools/UserInterface.cs create mode 100644 C#/Networking Tools/Networking Tools.sln create mode 100644 C#/Networking Tools/Networking Tools/App.config create mode 100644 C#/Networking Tools/Networking Tools/DNSTest.cs create mode 100644 C#/Networking Tools/Networking Tools/Networking Tools.csproj create mode 100644 C#/Networking Tools/Networking Tools/Program.cs create mode 100644 C#/Networking Tools/Networking Tools/Properties/AssemblyInfo.cs create mode 100644 C#/Networking Tools/Networking Tools/UserInterface.cs create mode 100644 C#/Networking Tools/Networking Tools/WebTools.cs diff --git a/C#/IRC/IRCServer/IRCServer/Program.cs b/C#/IRC/IRCServer/IRCServer/Program.cs index 90347ab..8b2dfa4 100644 --- a/C#/IRC/IRCServer/IRCServer/Program.cs +++ b/C#/IRC/IRCServer/IRCServer/Program.cs @@ -1,12 +1,17 @@ using System; +using System.Net; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using System.Net.Sockets; namespace IRCServer { class Program { static void Main(string[] args) { + + + } } } diff --git a/C#/IRC/Networking Tools/Networking Tools.sln b/C#/IRC/Networking Tools/Networking Tools.sln new file mode 100644 index 0000000..e29f275 --- /dev/null +++ b/C#/IRC/Networking Tools/Networking Tools.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27703.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Networking Tools", "Networking Tools\Networking Tools.csproj", "{B0B5BFC7-FAE9-4DBD-B622-9CF51AE79873}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B0B5BFC7-FAE9-4DBD-B622-9CF51AE79873}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B0B5BFC7-FAE9-4DBD-B622-9CF51AE79873}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B0B5BFC7-FAE9-4DBD-B622-9CF51AE79873}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B0B5BFC7-FAE9-4DBD-B622-9CF51AE79873}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {BCDA8177-4DC7-46E6-AF05-CF559BC641E2} + EndGlobalSection +EndGlobal diff --git a/C#/IRC/Networking Tools/Networking Tools/App.config b/C#/IRC/Networking Tools/Networking Tools/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/C#/IRC/Networking Tools/Networking Tools/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/C#/IRC/Networking Tools/Networking Tools/Networking Tools.csproj b/C#/IRC/Networking Tools/Networking Tools/Networking Tools.csproj new file mode 100644 index 0000000..609c1f6 --- /dev/null +++ b/C#/IRC/Networking Tools/Networking Tools/Networking Tools.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {B0B5BFC7-FAE9-4DBD-B622-9CF51AE79873} + Exe + Networking_Tools + Networking Tools + v4.6.1 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/C#/IRC/Networking Tools/Networking Tools/Program.cs b/C#/IRC/Networking Tools/Networking Tools/Program.cs new file mode 100644 index 0000000..4542cb1 --- /dev/null +++ b/C#/IRC/Networking Tools/Networking Tools/Program.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Networking_Tools { + class Program { + static void Main(string[] args) { + } + } +} diff --git a/C#/IRC/Networking Tools/Networking Tools/Properties/AssemblyInfo.cs b/C#/IRC/Networking Tools/Networking Tools/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..090a1de --- /dev/null +++ b/C#/IRC/Networking Tools/Networking Tools/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Networking Tools")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Networking Tools")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b0b5bfc7-fae9-4dbd-b622-9cf51ae79873")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/C#/IRC/Networking Tools/Networking Tools/UserInterface.cs b/C#/IRC/Networking Tools/Networking Tools/UserInterface.cs new file mode 100644 index 0000000..7bcf609 --- /dev/null +++ b/C#/IRC/Networking Tools/Networking Tools/UserInterface.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Networking_Tools { + class UserInterface { + + + + } +} diff --git a/C#/Networking Tools/Networking Tools.sln b/C#/Networking Tools/Networking Tools.sln new file mode 100644 index 0000000..a883d70 --- /dev/null +++ b/C#/Networking Tools/Networking Tools.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27703.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Networking Tools", "Networking Tools\Networking Tools.csproj", "{9F0BDD71-F93F-4800-B76A-0142A0CAA8BB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9F0BDD71-F93F-4800-B76A-0142A0CAA8BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9F0BDD71-F93F-4800-B76A-0142A0CAA8BB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9F0BDD71-F93F-4800-B76A-0142A0CAA8BB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9F0BDD71-F93F-4800-B76A-0142A0CAA8BB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {12E4FA83-42D0-401E-9FCA-CCEFE4AEABA1} + EndGlobalSection +EndGlobal diff --git a/C#/Networking Tools/Networking Tools/App.config b/C#/Networking Tools/Networking Tools/App.config new file mode 100644 index 0000000..731f6de --- /dev/null +++ b/C#/Networking Tools/Networking Tools/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/C#/Networking Tools/Networking Tools/DNSTest.cs b/C#/Networking Tools/Networking Tools/DNSTest.cs new file mode 100644 index 0000000..c3a96d5 --- /dev/null +++ b/C#/Networking Tools/Networking Tools/DNSTest.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using System.Text; +using System.Threading.Tasks; + +namespace Networking_Tools { + class DNSTest { + public string HostName { get; set; } + + public string[] GetIPs() { + List ipAddresses = new List(); + IPHostEntry iphost = Dns.GetHostEntry(HostName); + + foreach (IPAddress theAddress in iphost.AddressList) { + if (theAddress.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork) { + ipAddresses.Add(theAddress.ToString()); + } + } + + return ipAddresses.ToArray(); + } + + } +} diff --git a/C#/Networking Tools/Networking Tools/Networking Tools.csproj b/C#/Networking Tools/Networking Tools/Networking Tools.csproj new file mode 100644 index 0000000..220dfe8 --- /dev/null +++ b/C#/Networking Tools/Networking Tools/Networking Tools.csproj @@ -0,0 +1,55 @@ + + + + + Debug + AnyCPU + {9F0BDD71-F93F-4800-B76A-0142A0CAA8BB} + Exe + Networking_Tools + Networking Tools + v4.6.1 + 512 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/C#/Networking Tools/Networking Tools/Program.cs b/C#/Networking Tools/Networking Tools/Program.cs new file mode 100644 index 0000000..71d8eeb --- /dev/null +++ b/C#/Networking Tools/Networking Tools/Program.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Networking_Tools { + class Program { + static void Main(string[] args) { + UserInterface UI = new UserInterface(); + UI.Load(); + } + } +} diff --git a/C#/Networking Tools/Networking Tools/Properties/AssemblyInfo.cs b/C#/Networking Tools/Networking Tools/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..4a0777f --- /dev/null +++ b/C#/Networking Tools/Networking Tools/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Networking Tools")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Networking Tools")] +[assembly: AssemblyCopyright("Copyright © 2018")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("9f0bdd71-f93f-4800-b76a-0142a0caa8bb")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/C#/Networking Tools/Networking Tools/UserInterface.cs b/C#/Networking Tools/Networking Tools/UserInterface.cs new file mode 100644 index 0000000..8b0d6cf --- /dev/null +++ b/C#/Networking Tools/Networking Tools/UserInterface.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Networking_Tools { + class UserInterface { + + private int startWidth; + private int startHeight; + + public void Load() { + Console.SetCursorPosition(0, 0); + startHeight = Console.WindowHeight; + startWidth = Console.WindowWidth; + + + } + + + + } +} diff --git a/C#/Networking Tools/Networking Tools/WebTools.cs b/C#/Networking Tools/Networking Tools/WebTools.cs new file mode 100644 index 0000000..7bd5e22 --- /dev/null +++ b/C#/Networking Tools/Networking Tools/WebTools.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Networking_Tools { + class WebTools { + + + + } +} From e9bf3413919b908bfb01c24bb4db490ea2d39c10 Mon Sep 17 00:00:00 2001 From: plane000 Date: Sun, 13 May 2018 16:27:04 +0100 Subject: [PATCH 4/4] Added arduino files --- .../Networking Tools/UserInterface.cs | 2 + C#/Terminology.jpg | Bin 0 -> 15500 bytes C++/Arduino/MAX7219/MAX7219.ino | 89 ++++++++++++ C++/Arduino/SerialDisplay/SerialDisplay.ino | 34 +++++ C++/Arduino/Serial_Keypad/Serial_Keypad.ino | 31 +++++ C++/Arduino/Serial_LCD/Serial_LCD.ino | 19 +++ C++/Arduino/Star_Wars/Star_Wars.ino | 131 ++++++++++++++++++ 7 files changed, 306 insertions(+) create mode 100644 C#/Terminology.jpg create mode 100644 C++/Arduino/MAX7219/MAX7219.ino create mode 100644 C++/Arduino/SerialDisplay/SerialDisplay.ino create mode 100644 C++/Arduino/Serial_Keypad/Serial_Keypad.ino create mode 100644 C++/Arduino/Serial_LCD/Serial_LCD.ino create mode 100644 C++/Arduino/Star_Wars/Star_Wars.ino diff --git a/C#/IRC/Networking Tools/Networking Tools/UserInterface.cs b/C#/IRC/Networking Tools/Networking Tools/UserInterface.cs index 7bcf609..9348d7b 100644 --- a/C#/IRC/Networking Tools/Networking Tools/UserInterface.cs +++ b/C#/IRC/Networking Tools/Networking Tools/UserInterface.cs @@ -7,7 +7,9 @@ using System.Threading.Tasks; namespace Networking_Tools { class UserInterface { + public void Load() { + } } } diff --git a/C#/Terminology.jpg b/C#/Terminology.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6e044d16ac340e9d62689000b14e412b64471273 GIT binary patch literal 15500 zcmd6Oby%Cvwr-F@1$T;DDPEvhaBp!-um&hroZ=3pPzdg>#ogW8hT`tQTHIYzP}ttcJR>tdauwy|*R!oeM-k$tKR$;9pvV2uQ}KqG@GO|L zz*F{mH|97=jET!dn2jrTM}f4(?A5oVSKvWN=-$-GK~e+6HR8 zn4hs8`%DHooS&w0JCwlkKnll_zXTX3xxlc$hUYPIsQ$0vTJfth{$ckx|MRTv)!QQs zbJ_mZde)!&`aNA9Q{56cAKaL6(hH0CHI$Y6gm17;*`9_EQ<=?4_q_qq!p2`lm zt#A$#Rva|gjwvI}h2Dt>c3{-t{@R5KHE6(P%F*Td(v9!w@==@NSOc@tna*Ct3a48V zW<4;;bY)_UbowPacmzh{GhF#cteJRKCn;MN`{<>w9<_dIO)D=UPhJJ0nH8JM7fRz{ z$H^q<^0Y`IlnK$l1&w+0&v}WVYg~ZSSghQ2uAt}0har%w?cXJ%j>IZ}e>Yt=9y4{{ z`oW&aM3EvFH~#-y89BRsNeMn~`GRNV;R6FJc0m7%7p%1$`d@UN%VqspLCrYZ0wdYe z8>QCfYPcSwW0(FVjBL&9m|>{e8)HWa9d>*!=hW*@+U*`4^FZK&+d?U}9iOk_5M@P(LlDKR zVsFZpMD*jMg^Ps+PaEPn$I>i-ks$%zV&A#2ZzOsvodTcc_P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CO?!+b6Pd zt&jdpnNxJgZnUxd7CSEDdyY$=ehiI+(3$r$j?m5xk-P4 zbbWO-nzI=%3p-`kR3rX8wVN2xxX7*hL7RcjswD3vrZD^AvRnL6h+1oH(W)m?nB_|y zTbWi%rVqyi(?9T0nXBICfBy%MPu@tl#8E^9&69LjSF-go=d0Gi2|U_*a06fHCt){| z(*%ATHa%M_qUK{UCmD%ihi$1Z)@s(zRpE?ZK#`sjLN`k%4yZ}pIsLL+8mT>>uT`yn z7NicjOqT@1JO+#((d7Qzat5-EFI|mj5>mIM<`v7@F36|1(7Kltebus*|42CdmrVyB z88-dk33~Dy@EO-#^rsgdi;a?7p2ieQnLAf}g4T?(4{(&#(HbEm8;!W zM{RY``Psh2?wVN)YCNo`A~By;UEjSjy^6I29pHeb7Yikit34)I${GE7vvvsU={1_s zs?hEl$ay55*RwJ(X29-&zu~=xu&}{}IiX2hKN0lTDX5}Er=juk>QxVpi0m%TSIa8v zpasWkL3`_qz`_i}+F%S0eiyc{ptc)xsK0EJ`=uU7O~MCi3><2qqDf1G6yeoFE-0~P zgfemJPB};wdKz8&?0GO3h_%eO_Tk@U5BL^8xBP;};`bjoJzDVL|0u@{YQL&gb@#o1 SenP4f{5Rytm|y?=1;x--) + { + digitalWrite(MAXPINCLK,LOW); + digitalWrite(MAXPINDIN,DATA&0x80);// Extracting a bit data + DATA = DATA<<1; + digitalWrite(MAXPINCLK,HIGH); + } +} + +void MX7219_WRITE(unsigned char address,unsigned char dat) { + digitalWrite(MAXPINCS,LOW); + MX7219_WRITE_byte(address); // The address code of the LED + MX7219_WRITE_byte(dat); //The data figure on LED + digitalWrite(MAXPINCS,HIGH); +} + +void InitMAX7219(void) { + MX7219_WRITE(0x09, 0x00); //Set decoding BCD + MX7219_WRITE(0x0a, 0x03); //Set the brightness + MX7219_WRITE(0x0b, 0x07); //Set scan & limit 8 LEDs + MX7219_WRITE(0x0c, 0x01); //On power-down mode is 0,normal mode is 1 + MX7219_WRITE(0x0f, 0x00); //To test display 1 EOT,display 0 +} + +void setup() { + + pinMode(MAXPINCLK,OUTPUT); + pinMode(MAXPINCS,OUTPUT); + pinMode(MAXPINDIN,OUTPUT); + delay(50); + InitMAX7219(); +} + +void loop() { + for(y=0;y<38;y++) { + for(x=1;x<9;x++) + MX7219_WRITE(x,disp1[y][x-1]); + delay(500); + } +} diff --git a/C++/Arduino/SerialDisplay/SerialDisplay.ino b/C++/Arduino/SerialDisplay/SerialDisplay.ino new file mode 100644 index 0000000..b1104d3 --- /dev/null +++ b/C++/Arduino/SerialDisplay/SerialDisplay.ino @@ -0,0 +1,34 @@ +#include + +const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; +LiquidCrystal lcd(rs, en, d4, d5, d6, d7); + +void setup() { + lcd.begin(16, 2); + Serial.begin(9600); +} + +void loop() { + if (Serial.available()) { + delay(100); + lcd.clear(); + + while (Serial.available() > 0) { + + String input = String(Serial.read()); + + if (input.size() > 16) { + String subs; + + for (int i = 16; i < input.size(); i++) { + String += input[i]; + } + lcd.write(input); + lcd.setCursor(0, 1); + lcd.write(subs); + } else { + lcd.write(input); + } + } + } +} diff --git a/C++/Arduino/Serial_Keypad/Serial_Keypad.ino b/C++/Arduino/Serial_Keypad/Serial_Keypad.ino new file mode 100644 index 0000000..269b9dc --- /dev/null +++ b/C++/Arduino/Serial_Keypad/Serial_Keypad.ino @@ -0,0 +1,31 @@ +#include + +const byte ROWS = 4; +const byte COLS = 4; +char keys[ROWS][COLS] = { + {'1','2','3','A'}, + {'4','5','6','B'}, + {'7','8','9','C'}, + {'*','0','#','D'} +}; + +byte rowPins[ROWS] = {5, 4, 3, 2}; +byte colPins[COLS] = {9, 8, 7, 6}; + +const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; +LiquidCrystal lcd(rs, en, d4, d5, d6, d7); + +Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS ); + +void setup(){ + lcd.begin(16, 2); + Serial.begin(9600); +} + +void loop(){ + char key = keypad.getKey(); + + if (key){ + Serial.println(key); + } +} diff --git a/C++/Arduino/Serial_LCD/Serial_LCD.ino b/C++/Arduino/Serial_LCD/Serial_LCD.ino new file mode 100644 index 0000000..0f0b80e --- /dev/null +++ b/C++/Arduino/Serial_LCD/Serial_LCD.ino @@ -0,0 +1,19 @@ +#include + +const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; +LiquidCrystal lcd(rs, en, d4, d5, d6, d7); + +void setup() { + lcd.begin(16, 2); + lcd.print("Time since power"); +} + +void loop() { + lcd.setCursor(0, 1); + lcd.print(millis() / 1000); + + lcd.setCursor(10, 1); + lcd.print(counter); + + counter++; +} diff --git a/C++/Arduino/Star_Wars/Star_Wars.ino b/C++/Arduino/Star_Wars/Star_Wars.ino new file mode 100644 index 0000000..fd04516 --- /dev/null +++ b/C++/Arduino/Star_Wars/Star_Wars.ino @@ -0,0 +1,131 @@ +const int c = 261; +const int d = 294; +const int e = 329; +const int f = 349; +const int g = 391; +const int gS = 415; +const int a = 440; +const int aS = 455; +const int b = 466; +const int cH = 523; +const int cSH = 554; +const int dH = 587; +const int dSH = 622; +const int eH = 659; +const int fH = 698; +const int fSH = 740; +const int gH = 784; +const int gSH = 830; +const int aH = 880; + +const int buzzerPin = 8; +const int ledPin1 = 12; +const int ledPin2 = 13; + +int counter = 0; + +void setup() { + pinMode(buzzerPin, OUTPUT); + pinMode(ledPin1, OUTPUT); + pinMode(ledPin2, OUTPUT); +} + +void loop() { + firstSection(); + + secondSection(); + + beep(f, 250); + beep(gS, 500); + beep(f, 350); + beep(a, 125); + beep(cH, 500); + beep(a, 375); + beep(cH, 125); + beep(eH, 650); + + delay(500); + + secondSection(); + + beep(f, 250); + beep(gS, 500); + beep(f, 375); + beep(cH, 125); + beep(a, 500); + beep(f, 375); + beep(cH, 125); + beep(a, 650); + + delay(650); +} + +void beep(int note, int duration) { + tone(buzzerPin, note, duration); + + if(counter % 2 == 0) { + digitalWrite(ledPin1, HIGH); + delay(duration); + digitalWrite(ledPin1, LOW); + } else { + digitalWrite(ledPin2, HIGH); + delay(duration); + digitalWrite(ledPin2, LOW); + } + + noTone(buzzerPin); + + delay(50); + + counter++; +} + +void firstSection() { + beep(a, 500); + beep(a, 500); + beep(a, 500); + beep(f, 350); + beep(cH, 150); + beep(a, 500); + beep(f, 350); + beep(cH, 150); + beep(a, 650); + + delay(500); + + beep(eH, 500); + beep(eH, 500); + beep(eH, 500); + beep(fH, 350); + beep(cH, 150); + beep(gS, 500); + beep(f, 350); + beep(cH, 150); + beep(a, 650); + + delay(500); +} + +void secondSection() { + beep(aH, 500); + beep(a, 300); + beep(a, 150); + beep(aH, 500); + beep(gSH, 325); + beep(gH, 175); + beep(fSH, 125); + beep(fH, 125); + beep(fSH, 250); + + delay(325); + + beep(aS, 250); + beep(dSH, 500); + beep(dH, 325); + beep(cSH, 175); + beep(cH, 125); + beep(b, 125); + beep(cH, 250); + + delay(350); +}