From 898694ea1c129cf9d30cb414abe4b1e2b61d30d3 Mon Sep 17 00:00:00 2001 From: infested90 Date: Fri, 19 Dec 2014 15:58:23 +0200 Subject: [PATCH 1/4] First commit! :D --- .../KursovProekt/JavaPractice.java | 237 +++ .../KursovProekt/README.md | 1 + .../KursovProekt/build.xml | 73 + .../build/classes/.netbeans_automatic_build | 0 .../build/classes/.netbeans_update_resources | 0 .../classes/kursovproekt/KursovProekt.class | Bin 0 -> 1955 bytes .../classes/kursovproekt/KursovProekt.rs | 2 + .../KursovProekt/manifest.mf | 3 + .../KursovProekt/nbproject/build-impl.xml | 1407 +++++++++++++++++ .../nbproject/genfiles.properties | 8 + .../nbproject/private/private.properties | 2 + .../nbproject/private/private.xml | 9 + .../KursovProekt/nbproject/project.properties | 73 + .../KursovProekt/nbproject/project.xml | 15 + .../src/kursovproekt/KursovProekt.java | 56 + 15 files changed, 1886 insertions(+) create mode 100644 1401417008_YousefMansour/KursovProekt/JavaPractice.java create mode 100644 1401417008_YousefMansour/KursovProekt/README.md create mode 100644 1401417008_YousefMansour/KursovProekt/build.xml create mode 100644 1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_automatic_build create mode 100644 1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_update_resources create mode 100644 1401417008_YousefMansour/KursovProekt/build/classes/kursovproekt/KursovProekt.class create mode 100644 1401417008_YousefMansour/KursovProekt/build/classes/kursovproekt/KursovProekt.rs create mode 100644 1401417008_YousefMansour/KursovProekt/manifest.mf create mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/build-impl.xml create mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/genfiles.properties create mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/private/private.properties create mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/private/private.xml create mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/project.properties create mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/project.xml create mode 100644 1401417008_YousefMansour/KursovProekt/src/kursovproekt/KursovProekt.java diff --git a/1401417008_YousefMansour/KursovProekt/JavaPractice.java b/1401417008_YousefMansour/KursovProekt/JavaPractice.java new file mode 100644 index 0000000..265289d --- /dev/null +++ b/1401417008_YousefMansour/KursovProekt/JavaPractice.java @@ -0,0 +1,237 @@ +package javapractice; +import java.util.*; + +public class JavaPractice { + static int choice; + static List result = new ArrayList(); + static int[] arr = { + 10,20,30,-40,-10 + }; + + public static void main(String[] args) { + /* + int[] arr = new int[5]; + Scanner input = new Scanner(System.in); + for(int i = 0; i < arr.length; i++){ + System.out.println("Input int:"); + arr[i] = input.nextInt(); + } */ + System.out.println(fact(5)); + } + + public static void zad15(){ + for(int i = 1; i < 6; i++){ + for(int j = i; j > 0; j--){ + System.out.print("A"); + } + System.out.println(""); + } + } + + public static void zad14(int[] arr){ + int suma = 0; + for(int i = 0; i < arr.length; i++){ + if(arr[i] > 0){ + System.out.println(arr[i]); + } else if(arr[i] < 0){ + suma += arr[i]; + } + } + System.out.println("Suma: " + suma); + } + + public static int zad13(int[] arr){ + for(int i = 0; i < arr.length; i++){ + if(arr[i] > 30){ + return arr[i]; + } + } + return 0; + } + + public static void zad12(int[] arr){ + for(int i = 0; i < arr.length; i++){ + if(arr[i]>30){ + break; + } + System.out.println(arr[i]); + } + } + + public static void zad11_b(int[] arr) { + for(int i = arr.length-1; i >= 0; i--){ + System.out.println(arr[i]); + } + } + + public static void zad11_a(int[] arr) { + for(int number: arr){ + System.out.println(number); + } + } + + public static void zad10() { + double[] arr = new double[5]; + arr[0] = 0.2; + arr[1] = 0.1; + arr[2] = 0.4; + arr[3] = 0.6; + arr[4] = 0.314; + + for(int i = 0; i < arr.length; i++){ + System.out.println(arr[i]); + } + } + + public static void zad9() { + String[] months = { + "January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December" + }; + Scanner input = new Scanner(System.in); + System.out.println("Input month:"); + int month = input.nextInt(); + System.out.println(months[month-1]); + } + + public static void zad7_zad8() { + Scanner scan = new Scanner(System.in); + String[] options = { + "1. Теглене на сума.", + "2. Промяна на PIN.", + "3. Проверка на наличност.", + "4. Настройки.", + "5. Изход." + }; + do { + System.out.println("Изберете опция:"); + for(String option : options){ + System.out.println(option); + } + choice = scan.nextInt()-1; + + System.out.print("Вие избрахте "); + System.out.println(options[choice].substring(options[choice].indexOf(".")+2 ,options[choice].length())); + } while (choice != 4); + } + + public static void zad6() { + Scanner scan = new Scanner(System.in); + System.out.println("Insert min:"); + int min = scan.nextInt(); + System.out.println("Insert max:"); + int max = scan.nextInt(); + for (int i = min; i <= max; i++) { + System.out.println(i); + } + } + + public static int zad5(){ + Scanner scan = new Scanner(System.in); + System.out.println("Type 3 numbers:"); + int a = scan.nextInt(); + int b = scan.nextInt(); + int c = scan.nextInt(); + + int i = a > b ? a : b; + + i = i > c ? i : c; + return i; + } + + public static int zad4(int a, int b){ + int i = a > b ? a : b; + return i; + } + + public static void zad3(){ + for(int i = 0; i < 5; i++){ + System.out.print("а"); + } + System.out.println(""); + for(int i = 0; i < 10; i++){ + System.out.print("б"); + } + } + + public static void zad2(){ + for(int i = 20; i > 0; i--){ + System.out.println(i); + } + } + + public static void zad1(){ + for(int i = 1; i <= 10; i++){ + System.out.println(i); + } + } + + public static void prostiChisla(int min, int max){ + if(min < 2){ + min = 2; + } + outerLoop: + for(int i = min; i <= max; i++){ + for(int j = i-1; j > 1; j--){ + if(((i % j) == 0)){ + continue outerLoop; + } + } + result.add(i); + } + for(int k = 0; k < result.size(); k++){ + System.out.println(result.get(k)); + } + } + + public static void fibonacci(int count) { + int a = 0; + int b = 1; + int c = a; + + for (int i = 0; i < count; i++) { + b = b + c; + c = a; + a = b; + System.out.println(a); + } + } + + public static void factorial(int a) { + int result = a; + for (int i = a - 1; i > 0; i--) { + result *= i; + } + if (a == 0) { + result = 1; + } + System.out.println(result); + } + + public static int fact(int n){ + if(n <= 1){ + return 1; + } + return fact(n-1) * n; + } + + + + + + public static void opr(int... elements){ + for(int number: elements){ + System.out.println(number); + } + } +} diff --git a/1401417008_YousefMansour/KursovProekt/README.md b/1401417008_YousefMansour/KursovProekt/README.md new file mode 100644 index 0000000..a7f8d9e --- /dev/null +++ b/1401417008_YousefMansour/KursovProekt/README.md @@ -0,0 +1 @@ +bla diff --git a/1401417008_YousefMansour/KursovProekt/build.xml b/1401417008_YousefMansour/KursovProekt/build.xml new file mode 100644 index 0000000..00e5db0 --- /dev/null +++ b/1401417008_YousefMansour/KursovProekt/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project KursovProekt. + + + diff --git a/1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_automatic_build b/1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_automatic_build new file mode 100644 index 0000000..e69de29 diff --git a/1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_update_resources b/1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_update_resources new file mode 100644 index 0000000..e69de29 diff --git a/1401417008_YousefMansour/KursovProekt/build/classes/kursovproekt/KursovProekt.class b/1401417008_YousefMansour/KursovProekt/build/classes/kursovproekt/KursovProekt.class new file mode 100644 index 0000000000000000000000000000000000000000..debe0e7d9ce4156485b4ceee14c56d087c1bcb0a GIT binary patch literal 1955 zcmZuy-%}e^7(F*x*v+y)fI>si63~_(rKHeWlu)#ytq~~LAWE^?C0Sr0+2Cf=+8H0~ z_~aj;j~!=x@kKfVjMcvDlmCEkKKM6uta|QE0zr8o_q)H&cfNDJz5M$3k52(yM$tqM zrcA_fHG*lp9%1x`iEDV%#0=h&8*j_#x{PkfpLcYm<-a#&hdNdSbl>)J*L+_fw3_BLDBkzfv}1K{%f4qP^R~B< z%mlvcZKMPmeWz5;2MnfM&kd#p!h=K00@_S5=LodUxt?>gTv&7bC3`K;mG-$}*3K{6 zzANX|MJ?ELO9DM}vt_?jytn8Vo$Vl5KVd4ZV7s0`*Wd|6R7%_5Ac(&1=JSfNa0LWw z&`MdG7dtBa%YmCuX1L-xK2e)9ft}r+w|5j3N+@8iyI!tRAuHH$c+d`#h``t-iETiDRJ;{T42vU&n0=tN6&m z3wTk-9Sa}h6CHOg*jTeLfmdaewQycu7)L+hj+j&nvyg)$G1o1eL9c+7_IAoa!m|s` zWWvG*HYvywy)7l~yTN8+V8gd_1Ct4=B_j(iwiw@FED$}yuT*Mb8+jcC3m)>d{kp~w z=&rBun3KnjFRX1jS$0n)Lj~bMDR88M#WFWKD=NFiNA!N_-_a&|-ISP&q!}}0FFbLsg{x+&b4QCl!l><13 z0nQ>A#1L2HOglJ&00&>BU*5tBEB4J5@xIeRUbHREa2&OdVG! zQk+cqTveHTQFU%4oKl8ql&4R!7(GBNdgfaSRh!*SDLTK$zb9(FaTi(37>yXGb(d)9 z7+GC8 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/genfiles.properties b/1401417008_YousefMansour/KursovProekt/nbproject/genfiles.properties new file mode 100644 index 0000000..9e25e5b --- /dev/null +++ b/1401417008_YousefMansour/KursovProekt/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=23d7aecb +build.xml.script.CRC32=fdc0a58c +build.xml.stylesheet.CRC32=8064a381@1.68.1.46 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=23d7aecb +nbproject/build-impl.xml.script.CRC32=7481f79e +nbproject/build-impl.xml.stylesheet.CRC32=5a01deb7@1.68.1.46 diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/private/private.properties b/1401417008_YousefMansour/KursovProekt/nbproject/private/private.properties new file mode 100644 index 0000000..43d304f --- /dev/null +++ b/1401417008_YousefMansour/KursovProekt/nbproject/private/private.properties @@ -0,0 +1,2 @@ +compile.on.save=true +user.properties.file=C:\\Users\\UltraPC3000\\AppData\\Roaming\\NetBeans\\7.4\\build.properties diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/private/private.xml b/1401417008_YousefMansour/KursovProekt/nbproject/private/private.xml new file mode 100644 index 0000000..ce17808 --- /dev/null +++ b/1401417008_YousefMansour/KursovProekt/nbproject/private/private.xml @@ -0,0 +1,9 @@ + + + + + + file:/C:/Java/KursovProekt/KursovProekt/src/kursovproekt/KursovProekt.java + + + diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/project.properties b/1401417008_YousefMansour/KursovProekt/nbproject/project.properties new file mode 100644 index 0000000..f017972 --- /dev/null +++ b/1401417008_YousefMansour/KursovProekt/nbproject/project.properties @@ -0,0 +1,73 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/KursovProekt.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=kursovproekt.KursovProekt +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/project.xml b/1401417008_YousefMansour/KursovProekt/nbproject/project.xml new file mode 100644 index 0000000..c3357ee --- /dev/null +++ b/1401417008_YousefMansour/KursovProekt/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + KursovProekt + + + + + + + + + diff --git a/1401417008_YousefMansour/KursovProekt/src/kursovproekt/KursovProekt.java b/1401417008_YousefMansour/KursovProekt/src/kursovproekt/KursovProekt.java new file mode 100644 index 0000000..120c953 --- /dev/null +++ b/1401417008_YousefMansour/KursovProekt/src/kursovproekt/KursovProekt.java @@ -0,0 +1,56 @@ +package KursovProekt; +import java.util.*; + +public class KursovProekt { + static int[] randArr = new int[10]; + static String[] townArr = new String[3]; + static String[] result; + + + + public static void main(String[] args) { + generateRandArr(); + System.out.println(Arrays.toString(randArr)); + System.out.println(sum()); + + fillArr(); + findString(); + + } + + //Зад. 4 - а) + public static void fillArr(){ + Scanner scan = new Scanner(System.in); + for(int i = 0; i < townArr.length; i++){ + System.out.println("Input name: "); + townArr[i] = scan.nextLine(); + } + } + //Зад. 4 - б) + public static void findString(){ + System.out.println("Towns with 'grad': "); + for(int i = 0; i < townArr.length; i++){ + if(townArr[i].contains("grad") || townArr[i].contains("Grad")){ + System.out.println(townArr[i]); + } + } + } + + //Зад. 1 + public static void generateRandArr (){ + Random rand = new Random(); + for(int i = 0; i < 10; i++){ + randArr[i] = rand.nextInt(201) - 100; + } + } + //Зад. 1 - а) + public static int sum () { + int sum = 0; + for(int i = 0; i < randArr.length; i++){ + if(Math.abs(randArr[i]) > 30){ + sum += Math.abs(randArr[i]); + } + } + return sum; + } +} From 2ff5da6d2e5cc2d2768bc43993b3cbf712fb27d5 Mon Sep 17 00:00:00 2001 From: infested90 Date: Fri, 19 Dec 2014 16:05:48 +0200 Subject: [PATCH 2/4] Organized folder --- .../{KursovProekt => }/JavaPractice.java | 0 .../src/kursovproekt => }/KursovProekt.java | 4 +- .../KursovProekt/README.md | 1 - .../KursovProekt/build.xml | 73 - .../build/classes/.netbeans_update_resources | 0 .../classes/kursovproekt/KursovProekt.class | Bin 1955 -> 0 bytes .../classes/kursovproekt/KursovProekt.rs | 2 - .../KursovProekt/manifest.mf | 3 - .../KursovProekt/nbproject/build-impl.xml | 1407 ----------------- .../nbproject/genfiles.properties | 8 - .../nbproject/private/private.properties | 2 - .../nbproject/private/private.xml | 9 - .../KursovProekt/nbproject/project.properties | 73 - .../KursovProekt/nbproject/project.xml | 15 - .../.netbeans_automatic_build => README.md} | 0 15 files changed, 1 insertion(+), 1596 deletions(-) rename 1401417008_YousefMansour/{KursovProekt => }/JavaPractice.java (100%) rename 1401417008_YousefMansour/{KursovProekt/src/kursovproekt => }/KursovProekt.java (96%) delete mode 100644 1401417008_YousefMansour/KursovProekt/README.md delete mode 100644 1401417008_YousefMansour/KursovProekt/build.xml delete mode 100644 1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_update_resources delete mode 100644 1401417008_YousefMansour/KursovProekt/build/classes/kursovproekt/KursovProekt.class delete mode 100644 1401417008_YousefMansour/KursovProekt/build/classes/kursovproekt/KursovProekt.rs delete mode 100644 1401417008_YousefMansour/KursovProekt/manifest.mf delete mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/build-impl.xml delete mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/genfiles.properties delete mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/private/private.properties delete mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/private/private.xml delete mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/project.properties delete mode 100644 1401417008_YousefMansour/KursovProekt/nbproject/project.xml rename 1401417008_YousefMansour/{KursovProekt/build/classes/.netbeans_automatic_build => README.md} (100%) diff --git a/1401417008_YousefMansour/KursovProekt/JavaPractice.java b/1401417008_YousefMansour/JavaPractice.java similarity index 100% rename from 1401417008_YousefMansour/KursovProekt/JavaPractice.java rename to 1401417008_YousefMansour/JavaPractice.java diff --git a/1401417008_YousefMansour/KursovProekt/src/kursovproekt/KursovProekt.java b/1401417008_YousefMansour/KursovProekt.java similarity index 96% rename from 1401417008_YousefMansour/KursovProekt/src/kursovproekt/KursovProekt.java rename to 1401417008_YousefMansour/KursovProekt.java index 120c953..1923a24 100644 --- a/1401417008_YousefMansour/KursovProekt/src/kursovproekt/KursovProekt.java +++ b/1401417008_YousefMansour/KursovProekt.java @@ -1,4 +1,3 @@ -package KursovProekt; import java.util.*; public class KursovProekt { @@ -14,8 +13,7 @@ public static void main(String[] args) { System.out.println(sum()); fillArr(); - findString(); - + findString(); } //Зад. 4 - а) diff --git a/1401417008_YousefMansour/KursovProekt/README.md b/1401417008_YousefMansour/KursovProekt/README.md deleted file mode 100644 index a7f8d9e..0000000 --- a/1401417008_YousefMansour/KursovProekt/README.md +++ /dev/null @@ -1 +0,0 @@ -bla diff --git a/1401417008_YousefMansour/KursovProekt/build.xml b/1401417008_YousefMansour/KursovProekt/build.xml deleted file mode 100644 index 00e5db0..0000000 --- a/1401417008_YousefMansour/KursovProekt/build.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - Builds, tests, and runs the project KursovProekt. - - - diff --git a/1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_update_resources b/1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_update_resources deleted file mode 100644 index e69de29..0000000 diff --git a/1401417008_YousefMansour/KursovProekt/build/classes/kursovproekt/KursovProekt.class b/1401417008_YousefMansour/KursovProekt/build/classes/kursovproekt/KursovProekt.class deleted file mode 100644 index debe0e7d9ce4156485b4ceee14c56d087c1bcb0a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1955 zcmZuy-%}e^7(F*x*v+y)fI>si63~_(rKHeWlu)#ytq~~LAWE^?C0Sr0+2Cf=+8H0~ z_~aj;j~!=x@kKfVjMcvDlmCEkKKM6uta|QE0zr8o_q)H&cfNDJz5M$3k52(yM$tqM zrcA_fHG*lp9%1x`iEDV%#0=h&8*j_#x{PkfpLcYm<-a#&hdNdSbl>)J*L+_fw3_BLDBkzfv}1K{%f4qP^R~B< z%mlvcZKMPmeWz5;2MnfM&kd#p!h=K00@_S5=LodUxt?>gTv&7bC3`K;mG-$}*3K{6 zzANX|MJ?ELO9DM}vt_?jytn8Vo$Vl5KVd4ZV7s0`*Wd|6R7%_5Ac(&1=JSfNa0LWw z&`MdG7dtBa%YmCuX1L-xK2e)9ft}r+w|5j3N+@8iyI!tRAuHH$c+d`#h``t-iETiDRJ;{T42vU&n0=tN6&m z3wTk-9Sa}h6CHOg*jTeLfmdaewQycu7)L+hj+j&nvyg)$G1o1eL9c+7_IAoa!m|s` zWWvG*HYvywy)7l~yTN8+V8gd_1Ct4=B_j(iwiw@FED$}yuT*Mb8+jcC3m)>d{kp~w z=&rBun3KnjFRX1jS$0n)Lj~bMDR88M#WFWKD=NFiNA!N_-_a&|-ISP&q!}}0FFbLsg{x+&b4QCl!l><13 z0nQ>A#1L2HOglJ&00&>BU*5tBEB4J5@xIeRUbHREa2&OdVG! zQk+cqTveHTQFU%4oKl8ql&4R!7(GBNdgfaSRh!*SDLTK$zb9(FaTi(37>yXGb(d)9 z7+GC8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set test.src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No tests executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set JVM to use for profiling in profiler.info.jvm - Must set profiler agent JVM arguments in profiler.info.jvmargs.agent - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - Must select one file in the IDE or set profile.class - This target only works when run from inside the NetBeans IDE. - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - This target only works when run from inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - - - Must select some files in the IDE or set test.includes - - - - - Must select one file in the IDE or set run.class - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - Must select some files in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - Must select one file in the IDE or set test.class - Must select some method in the IDE or set test.method - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/genfiles.properties b/1401417008_YousefMansour/KursovProekt/nbproject/genfiles.properties deleted file mode 100644 index 9e25e5b..0000000 --- a/1401417008_YousefMansour/KursovProekt/nbproject/genfiles.properties +++ /dev/null @@ -1,8 +0,0 @@ -build.xml.data.CRC32=23d7aecb -build.xml.script.CRC32=fdc0a58c -build.xml.stylesheet.CRC32=8064a381@1.68.1.46 -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=23d7aecb -nbproject/build-impl.xml.script.CRC32=7481f79e -nbproject/build-impl.xml.stylesheet.CRC32=5a01deb7@1.68.1.46 diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/private/private.properties b/1401417008_YousefMansour/KursovProekt/nbproject/private/private.properties deleted file mode 100644 index 43d304f..0000000 --- a/1401417008_YousefMansour/KursovProekt/nbproject/private/private.properties +++ /dev/null @@ -1,2 +0,0 @@ -compile.on.save=true -user.properties.file=C:\\Users\\UltraPC3000\\AppData\\Roaming\\NetBeans\\7.4\\build.properties diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/private/private.xml b/1401417008_YousefMansour/KursovProekt/nbproject/private/private.xml deleted file mode 100644 index ce17808..0000000 --- a/1401417008_YousefMansour/KursovProekt/nbproject/private/private.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - file:/C:/Java/KursovProekt/KursovProekt/src/kursovproekt/KursovProekt.java - - - diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/project.properties b/1401417008_YousefMansour/KursovProekt/nbproject/project.properties deleted file mode 100644 index f017972..0000000 --- a/1401417008_YousefMansour/KursovProekt/nbproject/project.properties +++ /dev/null @@ -1,73 +0,0 @@ -annotation.processing.enabled=true -annotation.processing.enabled.in.editor=false -annotation.processing.processor.options= -annotation.processing.processors.list= -annotation.processing.run.all.processors=true -annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -# Uncomment to specify the preferred debugger connection transport: -#debug.transport=dt_socket -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# Files in build.classes.dir which should be excluded from distribution jar -dist.archive.excludes= -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/KursovProekt.jar -dist.javadoc.dir=${dist.dir}/javadoc -excludes= -includes=** -jar.compress=false -javac.classpath= -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.processorpath=\ - ${javac.classpath} -javac.source=1.8 -javac.target=1.8 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -javac.test.processorpath=\ - ${javac.test.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding=${source.encoding} -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -main.class=kursovproekt.KursovProekt -manifest.file=manifest.mf -meta.inf.dir=${src.dir}/META-INF -mkdist.disabled=false -platform.active=default_platform -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project. -# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. -# To set system properties for unit tests define test-sys-prop.name=value: -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -source.encoding=UTF-8 -src.dir=src -test.src.dir=test diff --git a/1401417008_YousefMansour/KursovProekt/nbproject/project.xml b/1401417008_YousefMansour/KursovProekt/nbproject/project.xml deleted file mode 100644 index c3357ee..0000000 --- a/1401417008_YousefMansour/KursovProekt/nbproject/project.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - org.netbeans.modules.java.j2seproject - - - KursovProekt - - - - - - - - - diff --git a/1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_automatic_build b/1401417008_YousefMansour/README.md similarity index 100% rename from 1401417008_YousefMansour/KursovProekt/build/classes/.netbeans_automatic_build rename to 1401417008_YousefMansour/README.md From 21ebea5a35698bbe817db3bfcc63e1a497fb777f Mon Sep 17 00:00:00 2001 From: infested90 Date: Fri, 19 Dec 2014 16:10:51 +0200 Subject: [PATCH 3/4] !@#$ git --- 1401417008_YousefMansour/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/1401417008_YousefMansour/README.md b/1401417008_YousefMansour/README.md index e69de29..8fed701 100644 --- a/1401417008_YousefMansour/README.md +++ b/1401417008_YousefMansour/README.md @@ -0,0 +1 @@ +poop \ No newline at end of file From c3390f6069d5cbf879824ab970b4b73ca24d9642 Mon Sep 17 00:00:00 2001 From: infested90 Date: Fri, 19 Dec 2014 16:15:59 +0200 Subject: [PATCH 4/4] 404 --- 1401417008_YousefMansour/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/1401417008_YousefMansour/README.md b/1401417008_YousefMansour/README.md index 8fed701..e69de29 100644 --- a/1401417008_YousefMansour/README.md +++ b/1401417008_YousefMansour/README.md @@ -1 +0,0 @@ -poop \ No newline at end of file