├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature-request.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── CONTRIBUTORS.md ├── LICENSE ├── README.md ├── _assemble ├── check.coffee └── run.js ├── _config.yml ├── awk └── pbootly_temperature_convertor.awk ├── bash ├── Andrus_thumbnail_from_pdf_page.sh ├── Mohammed Nisham_generatePassword.sh ├── Mohammed Nisham_ip.sh ├── OpticGenius_longest.sh ├── antoooks_print_top_10_user_agents_from_access_log.sh ├── approximate_pi │ └── pbootly_machin-pi-approximation.sh ├── devAmoghS_directories_tree_view.sh ├── dinhnv_colors.sh ├── hello │ ├── Kmek_hello.sh │ └── Sourabh950_hello.sh ├── icedream_ip_awk.sh ├── jackkav_retry_until.sh ├── ngweihow_shortest.sh ├── pbootly_fizzbuzz.sh └── suksit_remove-unused-docker-images.sh ├── brainfuck └── hello │ └── ScholliYT_hello_world.bf ├── c ├── HarshitaArun_Swap.c ├── RanveerSinghKhattra_creating_alert_sound.c ├── approximate_pi │ └── cyucelen_pi_wallis_product.c ├── bigboynaruto_one_lineifier.c ├── caesar │ └── s-ankur_caesar.c ├── cyucelen_fizzbuzz.c ├── fibonacci │ └── renanreboredo_fibonacci.c ├── gcd │ └── shubhamdpatil_gcd.c ├── hello │ ├── dchenmei_hello.c │ └── n6wbi6_hello_world.c ├── palindrome │ └── GeoffYart_palindrome_check.c ├── prime │ └── serjche_isPrime.c ├── sorting │ └── isears_bubblesort.c └── swap │ └── shubhamdpatil_swap.c ├── clisp └── fibonacci │ ├── moore3071_binet_fibonacci.lisp │ └── moore3071_fibonacci.lisp ├── clojure └── hello │ └── effi-t_hello-world.clj ├── coffeescript ├── hello │ ├── wzhouwzhou_hello-functions.coffee │ ├── wzhouwzhou_hello-scramble.coffee │ └── wzhouwzhou_hello-world.coffee ├── palindrome │ └── wzhouwzhou_number-palindrome.coffee ├── wzhouwzhou_add.coffee ├── wzhouwzhou_isTruthy.coffee └── wzhouwzhou_subtract.coffee ├── cplusplus ├── Include-Poetry_swap_two_integers.cpp ├── NeoAnoman_one_line_swap.cpp ├── RanveerSinghKhattra_generate_beep.cpp ├── ZombieChibiXD_Palindrome.cpp ├── anagram │ └── s-ankur_anagrams.cpp ├── balgopal123_factorial.cpp ├── caesar │ └── s-ankur_caesar.cpp ├── even │ └── shweta0310_even_odd_checker.cpp ├── hello │ └── kannagikazuko_hello.cc ├── prime │ └── radensaleh_T-Primes.cpp ├── reverse │ └── shweta0310_string_reverse.cpp ├── sorting │ └── gafeol_selection_sort.cpp └── unique │ ├── ahnafhf21_remove_duplicate_elements.cpp │ ├── jagwiredev_remove_duplicates.cpp │ ├── remove_duplicates.cpp │ └── subhamX_unique_array.cpp ├── csharp └── reverse │ └── spikejap_stringreversal.cs ├── dart └── hello │ └── gkanishk_hello.dart ├── go ├── approximate_e │ └── hurlenko_approximate_e.go ├── approximate_phi │ └── hurlenko_approximate_phi.go ├── approximate_pi │ └── hurlenko_approximate_pi.go ├── fibonacci │ └── hurlenko_fibonacci.go ├── sorting │ └── isears_bubblesort.go └── wzhouwzhou_add.go ├── groovy ├── piotrgajow_multiply_ints.groovy └── valleys │ └── piotrgajow_counting_valleys.groovy ├── haskell ├── Ojaswy_pascal.hs ├── bbyalcinkaya_quine.hs ├── fibonacci │ └── dshimo_fibonacci.hs ├── palindrome │ └── rsconsuegra_palindromic_product.hs ├── prime │ └── ngweihow_primenumbers.hs ├── reverse │ └── joaoportela_reverse.hs ├── rsconsuegra_pithagor_trip.hs └── sorting │ └── george1410_quicksort.hs ├── honorary-one-line-wonders ├── README.md ├── c │ ├── Icon-Editor-master-e.c │ ├── codetheorem_mergesort.c │ ├── hello │ │ └── juricav_helloWorld.c │ └── one_lineifier.c ├── clojure │ └── ycombinator.clj ├── coffeescript │ └── ytsearcher-example.coffee ├── cplusplus │ ├── U3X_check_square.cpp │ ├── cchha.cpp │ ├── e_approximation.cpp │ ├── factorial.cpp │ ├── fib.cpp │ ├── hello │ │ └── juricav_helloWorld.cpp │ ├── mergeSort.cpp │ ├── yashagarwal1999_Largest _sum_of_consecutive_numbers_in_an_array.cpp │ ├── yashagarwal1999_countingValley.cpp │ └── yashagarwal1999_powerset.cpp ├── cpp │ ├── Fibonacci in cpp.cpp │ └── anagram.cpp ├── crystal │ └── http_server.cr ├── go │ └── approximate_pi.go ├── haskell │ └── mergesort.hs ├── html │ └── Hello_World.html ├── java │ ├── AnagramChecker.java │ └── ValidAnagram.java ├── javascript │ ├── fibonnacci2.js │ ├── get_frequency.js │ ├── golden_ratio.js │ ├── isPrime.js │ ├── largest_contigous_sum_array.js │ ├── magnitude.js │ ├── memoize.js │ ├── random_alphanumeric.js │ ├── sayoojtmc_timer.js │ ├── vetlix_array_map.js │ └── ycombinator.js ├── nodejs │ └── fibonacci_inMemory.js ├── powershell │ ├── download_and_install_7-zip.ps1 │ └── hello-old.ps1 ├── python │ ├── Fibonacciseries.py │ ├── GenerateFibonacciSeq.py │ ├── SeiveOfEratosthenes.py │ ├── String_Reversal.py │ ├── baseconversion_from_base_2_to_32.py │ ├── convert_to_csv.py │ ├── discord-bot.py │ ├── eapprox.py │ ├── flames.py │ ├── merge.py │ ├── reversePy_subratred.py │ ├── semiprime.py │ ├── tic-tac-toe.py │ ├── validAnagram.py │ └── verify_variable_type.py └── rust │ └── fibonacci.rs ├── java ├── BenjaminUrquhart_SumDigits.java ├── PRITI1999_sum_of_natural_numbers.java ├── ZombieChibiXD_Palindrome.java ├── approximate_pi │ └── edgriebel_WallisPi.java ├── bshehata_getMax.java ├── ernesoglu_Ackermann.java ├── ernesoglu_DigitsSum.java ├── ernesoglu_Factorial.java ├── ernesoglu_Vowels.java ├── fibonacci │ └── ernesoglu_Fibonacci.java ├── janeliutw_StreamExample.java ├── mrinal-pandey_height_binary_tree.java ├── sgirabin_Max2Digit.java └── sorting │ └── Akash-Sareen_SortExample.java ├── javascript ├── Kaljuk_get_min2.js ├── Kaljuk_max_difference_math.js ├── Priultimus_sum_of_ints.js ├── RanveerSinghKhattra_get_user_input.js ├── SatioO_head.js ├── Xander1233_collatzConjecture.js ├── Xander1233_convert_number_to_one_or_bigger.js ├── ZombieChibiXD_Palindrome.js ├── approximate_e │ ├── akargl_approx_e.js │ └── dinThea_approximate_e.js ├── approximate_pi │ └── akargl_approx_pi.js ├── bgail_get_min.js ├── bhirmbani_copy_object.js ├── bramleyjl_max_difference.js ├── capJavert_is-touch-device.js ├── devshawn_drop.js ├── devshawn_find_key.js ├── devshawn_random.js ├── devshawn_take.js ├── dhaveed_pad_zeros.js ├── dhaveed_swap_variables.js ├── dorman99_split.js ├── even │ ├── jackkav_isEven.js │ └── jackkav_isOdd.js ├── fibonacci │ ├── audrius59_fibonacci2.js │ └── matankb_fibonacci.js ├── hello │ ├── vamisola_hello.js │ └── wzhouwzhou_hello-world-backwards.js ├── jackkav_get_frequency.js ├── jackkav_hex2rgb.js ├── jjroush_map_filter_reduce.js ├── johnfoderaro_get_random_key.js ├── matankb_sum_of_range.js ├── mraymond_generate_list_of_numbers.js ├── niralpokal_isEmptyObject.js ├── reverse │ ├── romellogoodman_reverse_sentence.js │ ├── romellogoodman_reverse_string.js │ ├── rrrepsaj_reverse_string_with_reduce.js │ ├── saxenanamay_reverse_array.js │ └── wzhouwzhou_reverse-string.js ├── romellogoodman_copy_array.js ├── romellogoodman_html_strip.js ├── romellogoodman_page_query_params.js ├── rpxs_add.js ├── rpxs_subtract.js ├── sareeshv_escape_html.js ├── shuffle_array.js ├── sorting │ ├── akargl_insertion_sort.js │ ├── igemnace_selection_sort.js │ └── jibinkmathew94_sort_one_line_array.js ├── sowhatdoido_get_mean.js ├── sowhatdoido_isTruthy.js ├── sowhatdoido_withoutValue.js ├── tiffany-jao_isTriangle.js ├── tnptop_tuplesToObject.js ├── toluwalope19_spread.js ├── unique │ ├── ananta_unique_array.js │ ├── jackkav_two_strings.js │ ├── jagwiredev_remove_duplicates.js │ ├── niralpokal_getUniqueArrayValues.js │ └── wzhouwzhou_unique_values.js ├── vetlix_deepflat_array.js ├── vetlix_empty_array.js ├── vr1e_Kaljuk_get_max.js ├── wzhouwzhou_check_brackets.js └── wzhouwzhou_multiply_ints.js ├── nodejs ├── NguyenDa18_new_server.js ├── austinkregel_get_files_from_current_directory.js ├── hello │ ├── austinkregel_hello_world.js │ └── kannagikazuko_hello_world.js ├── tacticaltechjay_coinFlip.js └── wzhouwzhou_delay.js ├── ocaml ├── hello │ └── AnkitaBIT_hello.ml └── rk4n_ycombinator.ml ├── package.json ├── pascal └── hello │ └── kannagikazuko_hello-world.pas ├── perl ├── fibonacci │ └── mattchuranu_fibonacci-sequence-to-the-nth-number.p6 ├── hello │ ├── Cyclenerd_hello-world.pl │ └── mattchuranu_hello-world.p6 ├── mattchuranu_ask-for-filename-until-given-one-that-doesnt-exist.p6 ├── mattchuranu_gcd.p6 ├── mattchuranu_list-files.p6 ├── mattchuranu_log2n.p6 ├── prime │ └── Ojaswy_prime.pl └── remove_duplicates.pl ├── php ├── AmosGarner_getMax.php ├── AmosGarner_printBinary.php ├── AmosGarner_printRandomNumbers.php ├── adeojoemmanuel_checkSession.php ├── adeojoemmanuel_daysinamonth.php ├── adeojoemmanuel_getmin.php ├── adeojoemmanuel_twocondition.php ├── ericksuryadinata_simple_-1+2-3+4.php ├── even │ └── ericksuryadinata_even_odd.php └── fibonacci │ └── hugonun_fibonacci.php ├── powershell ├── Astronaut │ └── rpstester_ListOfPeopleInSpace.ps1 ├── hello │ └── yyoel_hello.ps1 ├── jantari_download_and_install_7-zip.ps1 ├── turbosnute_strongpassword.ps1 └── unique │ └── Kmek_UniqueArray.ps1 ├── python ├── AghastComet_fahrenheit_to_celsius.py ├── AndreaChlebikova_double_factorial.py ├── BrunoGomesCoelho_ackermann_function.py ├── BrunoGomesCoelho_dot_product.py ├── BrunoGomesCoelho_matrix_multiplication.py ├── ColeHoff7_hamming_distance.py ├── ColeHoff7_one-line-slot-machine.py ├── JayWelborn_similar_strings.py ├── JoaoRacedo_Matrix_Transpose.py ├── JoaoRacedo_Set_All_Subsets.py ├── Kartikaggarwal98_create_dict_from_two_lists.py ├── Kartikaggarwal98_display_calendar.py ├── Kartikaggarwal98_frequency_elements.py ├── Kartikaggarwal98_iterate_multiple_lists.py ├── Kartikaggarwal98_string_padding.py ├── OpticGenius_count-filename-letters.py ├── OpticGenius_group-file-extensions.py ├── OpticGenius_list_files.py ├── OpticGenius_longest-one-liner.py ├── Priultimus_day.py ├── Priultimus_that.py ├── RaInta_e_to_pi.py ├── ShaneCreedon_dict_of_squares.py ├── adriennelevvie_show2019.py ├── amanagarwal-sopho_sum_of_digits.py ├── anagram │ ├── bsanders_anagram.py │ ├── nikhilhassija_anagram-one-liner.py │ └── s-ankur_decode_anagram.py ├── andrus14_leap_year.py ├── approximate_e │ └── ServinDC_approximate_e.py ├── approximate_pi │ ├── AghastComet_approximate_pi.py │ └── yashagarwal1999_get_Approximate_Pi.py ├── bhavikb07_Factors.py ├── blitzh0t_consonants.py ├── blitzh0t_vowels.py ├── caesar │ └── s-ankur_caesar.py ├── cricketer94_transpose.py ├── devarakondapranav_multiply_without_arithmeticAndBinary.py ├── earvingemenez_format_currency.py ├── earvingemenez_generate_password.py ├── earvingemenez_get_age.py ├── even │ └── ThaLeprechaun_list_of_odd_numbers.py ├── factorial │ └── factorial_n6wbi6.py ├── fibonacci │ ├── BrunoGomesCoelho_fibonacci.py │ ├── MaheshSuranga_fibonanci.py │ ├── brianhopper_fib_one-Liner.py │ ├── jamlamberti_fibonacci_seq.py │ ├── moore3071_binet_fibonacci.py │ └── nikhilhassija_fibonacci-one-liner.py ├── golden_ratio │ ├── Ribodou_phi.py │ └── leaen_golden_ratio.py ├── gsafcik_largest_sum_consecutive_nums_in_array.py ├── hello │ ├── Kmek_hello.py │ ├── antonio32a_world.py │ └── jaakofalltrade_helloworld.py ├── jamlamberti_pascals_triangle.py ├── jamlamberti_pascals_triangle2.py ├── kblicharski_create_directories.py ├── kblicharski_merge_dictionaries.py ├── kblicharski_search_file_for_keyword.py ├── kblicharski_strip_file_of_whitespace.py ├── kennedy_emotions.py ├── kennedy_squaresum_diff_sumsquare.py ├── kennedy_sum_multiples_of_a_b_less_than_x.py ├── melissachen2000_derivative.py ├── melissachen2000_find_missing_number.py ├── melissachen2000_fizzbuzz.py ├── michaelbuchar_AddTwoNumbers.py ├── mirandars_par-perfect-squares.py ├── mirandars_parity-test.py ├── moonblade_day.py ├── moonblade_leftRotate.py ├── moonblade_luckBalance.py ├── mspatel927_Greater_Than.py ├── mspatel927_Mirror_List.py ├── mspatel927_Random_Card_Draw.py ├── palindrome │ └── melissachen2000_palindrome_checker.py ├── prathimacode-hub_ordered_prepend_string_num.py ├── predator21x_The-largest_number_that_can_be_represented_by_8_Byte.py ├── predator21x_decimal_conversion.py ├── prime │ ├── JoaoRacedo_Prime_Check.py │ └── falafel72_get-primes.py ├── priyankadalmia_factorial.py ├── reverse │ ├── Cadarn_reverse_string.py │ ├── bigboynaruto_reverse_sentence.py │ ├── dhruvs009_strrev.py │ └── earvingemenez_reverse_sentence.py ├── s-ankur_xor_cipher.py ├── sorting │ ├── Nitish18_list_key_based_sorting.py │ ├── OpticGenius_sort-files-date.py │ ├── blicharski_print_sorted_environment_variables.py │ ├── blicharski_select_sort_1_line.py │ ├── cricketer94_quicksorty.py │ └── ngweihow_bogosort.py ├── sourabhlal_distance_two_points.py ├── unique │ ├── Kaljuk_get_word_with_most_unique_characters.py │ ├── RaInta_unique_array.py │ ├── Zylatis_uncommon_elements.py │ ├── moonblade_twoStrings.py │ └── yashagarwal1999_unique_array.py ├── valley │ ├── chrismclennon_countingValley-2.py │ └── moonblade_countingValley.py └── yashagarwal1999_powerset.py ├── r ├── Bassoon08_remove_NaN.r ├── MattSandy_print_loaded_packages.r ├── devAmoghS_excel_dates_to_r.r ├── hello │ └── vghorakavi_hello.r └── prime │ └── KKulma_find-prime-number.R ├── ruby ├── approximate_e │ └── shaunak-gupta_approximate_e_stochastic.rb ├── approximate_pi │ └── shaunak-gupta_approximate_pi_basel.rb ├── fibonacci │ ├── animanmaster_fibonacci.rb │ └── animanmaster_fibonacci_iterative.rb ├── prime │ └── onlyasmalllizard_is_prime.rb └── reverse │ └── animanmaster_string_reverse.rb ├── rust ├── fibonacci │ └── Henning-K_fibonacci.rs ├── hello │ └── gkanishk_helloworld.rs ├── maths │ ├── ngweihow_areacircle.rs │ └── ngweihow_pythagoras.rs └── prime │ └── Henning-K_prime.rs ├── scala ├── anagram │ └── saucam_Anagram.scala └── even │ └── ivanightingale_onlyEvenDigits.scala ├── scheme └── fibonacci │ └── lbarros00_fib.scm ├── swift └── anagram │ └── nmasnadithya_anagramChecker.swift ├── typescript └── hello │ └── JuanPabloHuertas_hello-world.ts └── vim └── igemnace_multiply_ints.vim /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/.github/ISSUE_TEMPLATE/feature-request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CONTRIBUTORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/CONTRIBUTORS.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/README.md -------------------------------------------------------------------------------- /_assemble/check.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/_assemble/check.coffee -------------------------------------------------------------------------------- /_assemble/run.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/_assemble/run.js -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/_config.yml -------------------------------------------------------------------------------- /awk/pbootly_temperature_convertor.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/awk/pbootly_temperature_convertor.awk -------------------------------------------------------------------------------- /bash/Andrus_thumbnail_from_pdf_page.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/Andrus_thumbnail_from_pdf_page.sh -------------------------------------------------------------------------------- /bash/Mohammed Nisham_generatePassword.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/Mohammed Nisham_generatePassword.sh -------------------------------------------------------------------------------- /bash/Mohammed Nisham_ip.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/Mohammed Nisham_ip.sh -------------------------------------------------------------------------------- /bash/OpticGenius_longest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/OpticGenius_longest.sh -------------------------------------------------------------------------------- /bash/antoooks_print_top_10_user_agents_from_access_log.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/antoooks_print_top_10_user_agents_from_access_log.sh -------------------------------------------------------------------------------- /bash/approximate_pi/pbootly_machin-pi-approximation.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/approximate_pi/pbootly_machin-pi-approximation.sh -------------------------------------------------------------------------------- /bash/devAmoghS_directories_tree_view.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/devAmoghS_directories_tree_view.sh -------------------------------------------------------------------------------- /bash/dinhnv_colors.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/dinhnv_colors.sh -------------------------------------------------------------------------------- /bash/hello/Kmek_hello.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "hello world" 3 | -------------------------------------------------------------------------------- /bash/hello/Sourabh950_hello.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/hello/Sourabh950_hello.sh -------------------------------------------------------------------------------- /bash/icedream_ip_awk.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/icedream_ip_awk.sh -------------------------------------------------------------------------------- /bash/jackkav_retry_until.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/jackkav_retry_until.sh -------------------------------------------------------------------------------- /bash/ngweihow_shortest.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/ngweihow_shortest.sh -------------------------------------------------------------------------------- /bash/pbootly_fizzbuzz.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/pbootly_fizzbuzz.sh -------------------------------------------------------------------------------- /bash/suksit_remove-unused-docker-images.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/bash/suksit_remove-unused-docker-images.sh -------------------------------------------------------------------------------- /brainfuck/hello/ScholliYT_hello_world.bf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/brainfuck/hello/ScholliYT_hello_world.bf -------------------------------------------------------------------------------- /c/HarshitaArun_Swap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/HarshitaArun_Swap.c -------------------------------------------------------------------------------- /c/RanveerSinghKhattra_creating_alert_sound.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/RanveerSinghKhattra_creating_alert_sound.c -------------------------------------------------------------------------------- /c/approximate_pi/cyucelen_pi_wallis_product.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/approximate_pi/cyucelen_pi_wallis_product.c -------------------------------------------------------------------------------- /c/bigboynaruto_one_lineifier.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/bigboynaruto_one_lineifier.c -------------------------------------------------------------------------------- /c/caesar/s-ankur_caesar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/caesar/s-ankur_caesar.c -------------------------------------------------------------------------------- /c/cyucelen_fizzbuzz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/cyucelen_fizzbuzz.c -------------------------------------------------------------------------------- /c/fibonacci/renanreboredo_fibonacci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/fibonacci/renanreboredo_fibonacci.c -------------------------------------------------------------------------------- /c/gcd/shubhamdpatil_gcd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/gcd/shubhamdpatil_gcd.c -------------------------------------------------------------------------------- /c/hello/dchenmei_hello.c: -------------------------------------------------------------------------------- 1 | main(){puts("Hello, World!");} 2 | -------------------------------------------------------------------------------- /c/hello/n6wbi6_hello_world.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/hello/n6wbi6_hello_world.c -------------------------------------------------------------------------------- /c/palindrome/GeoffYart_palindrome_check.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/palindrome/GeoffYart_palindrome_check.c -------------------------------------------------------------------------------- /c/prime/serjche_isPrime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/prime/serjche_isPrime.c -------------------------------------------------------------------------------- /c/sorting/isears_bubblesort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/sorting/isears_bubblesort.c -------------------------------------------------------------------------------- /c/swap/shubhamdpatil_swap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/c/swap/shubhamdpatil_swap.c -------------------------------------------------------------------------------- /clisp/fibonacci/moore3071_binet_fibonacci.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/clisp/fibonacci/moore3071_binet_fibonacci.lisp -------------------------------------------------------------------------------- /clisp/fibonacci/moore3071_fibonacci.lisp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/clisp/fibonacci/moore3071_fibonacci.lisp -------------------------------------------------------------------------------- /clojure/hello/effi-t_hello-world.clj: -------------------------------------------------------------------------------- 1 | (println "Hello, World!") -------------------------------------------------------------------------------- /coffeescript/hello/wzhouwzhou_hello-functions.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/coffeescript/hello/wzhouwzhou_hello-functions.coffee -------------------------------------------------------------------------------- /coffeescript/hello/wzhouwzhou_hello-scramble.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/coffeescript/hello/wzhouwzhou_hello-scramble.coffee -------------------------------------------------------------------------------- /coffeescript/hello/wzhouwzhou_hello-world.coffee: -------------------------------------------------------------------------------- 1 | console.log 'Hello, world!' 2 | -------------------------------------------------------------------------------- /coffeescript/palindrome/wzhouwzhou_number-palindrome.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/coffeescript/palindrome/wzhouwzhou_number-palindrome.coffee -------------------------------------------------------------------------------- /coffeescript/wzhouwzhou_add.coffee: -------------------------------------------------------------------------------- 1 | add = (a, b) -> a + b 2 | -------------------------------------------------------------------------------- /coffeescript/wzhouwzhou_isTruthy.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/coffeescript/wzhouwzhou_isTruthy.coffee -------------------------------------------------------------------------------- /coffeescript/wzhouwzhou_subtract.coffee: -------------------------------------------------------------------------------- 1 | subtract = (a, b) -> +a - +b 2 | -------------------------------------------------------------------------------- /cplusplus/Include-Poetry_swap_two_integers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/Include-Poetry_swap_two_integers.cpp -------------------------------------------------------------------------------- /cplusplus/NeoAnoman_one_line_swap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/NeoAnoman_one_line_swap.cpp -------------------------------------------------------------------------------- /cplusplus/RanveerSinghKhattra_generate_beep.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(){ 3 | std::cout<<"\a"; 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /cplusplus/ZombieChibiXD_Palindrome.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/ZombieChibiXD_Palindrome.cpp -------------------------------------------------------------------------------- /cplusplus/anagram/s-ankur_anagrams.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/anagram/s-ankur_anagrams.cpp -------------------------------------------------------------------------------- /cplusplus/balgopal123_factorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/balgopal123_factorial.cpp -------------------------------------------------------------------------------- /cplusplus/caesar/s-ankur_caesar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/caesar/s-ankur_caesar.cpp -------------------------------------------------------------------------------- /cplusplus/even/shweta0310_even_odd_checker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/even/shweta0310_even_odd_checker.cpp -------------------------------------------------------------------------------- /cplusplus/hello/kannagikazuko_hello.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/hello/kannagikazuko_hello.cc -------------------------------------------------------------------------------- /cplusplus/prime/radensaleh_T-Primes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/prime/radensaleh_T-Primes.cpp -------------------------------------------------------------------------------- /cplusplus/reverse/shweta0310_string_reverse.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/reverse/shweta0310_string_reverse.cpp -------------------------------------------------------------------------------- /cplusplus/sorting/gafeol_selection_sort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/sorting/gafeol_selection_sort.cpp -------------------------------------------------------------------------------- /cplusplus/unique/ahnafhf21_remove_duplicate_elements.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/unique/ahnafhf21_remove_duplicate_elements.cpp -------------------------------------------------------------------------------- /cplusplus/unique/jagwiredev_remove_duplicates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/unique/jagwiredev_remove_duplicates.cpp -------------------------------------------------------------------------------- /cplusplus/unique/remove_duplicates.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/unique/remove_duplicates.cpp -------------------------------------------------------------------------------- /cplusplus/unique/subhamX_unique_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/cplusplus/unique/subhamX_unique_array.cpp -------------------------------------------------------------------------------- /csharp/reverse/spikejap_stringreversal.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/csharp/reverse/spikejap_stringreversal.cs -------------------------------------------------------------------------------- /dart/hello/gkanishk_hello.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/dart/hello/gkanishk_hello.dart -------------------------------------------------------------------------------- /go/approximate_e/hurlenko_approximate_e.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/go/approximate_e/hurlenko_approximate_e.go -------------------------------------------------------------------------------- /go/approximate_phi/hurlenko_approximate_phi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/go/approximate_phi/hurlenko_approximate_phi.go -------------------------------------------------------------------------------- /go/approximate_pi/hurlenko_approximate_pi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/go/approximate_pi/hurlenko_approximate_pi.go -------------------------------------------------------------------------------- /go/fibonacci/hurlenko_fibonacci.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/go/fibonacci/hurlenko_fibonacci.go -------------------------------------------------------------------------------- /go/sorting/isears_bubblesort.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/go/sorting/isears_bubblesort.go -------------------------------------------------------------------------------- /go/wzhouwzhou_add.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/go/wzhouwzhou_add.go -------------------------------------------------------------------------------- /groovy/piotrgajow_multiply_ints.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/groovy/piotrgajow_multiply_ints.groovy -------------------------------------------------------------------------------- /groovy/valleys/piotrgajow_counting_valleys.groovy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/groovy/valleys/piotrgajow_counting_valleys.groovy -------------------------------------------------------------------------------- /haskell/Ojaswy_pascal.hs: -------------------------------------------------------------------------------- 1 | r n=take(n+1)$iterate(\a->zipWith(+)(0:a)$a++[0])[1] 2 | -------------------------------------------------------------------------------- /haskell/bbyalcinkaya_quine.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/haskell/bbyalcinkaya_quine.hs -------------------------------------------------------------------------------- /haskell/fibonacci/dshimo_fibonacci.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/haskell/fibonacci/dshimo_fibonacci.hs -------------------------------------------------------------------------------- /haskell/palindrome/rsconsuegra_palindromic_product.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/haskell/palindrome/rsconsuegra_palindromic_product.hs -------------------------------------------------------------------------------- /haskell/prime/ngweihow_primenumbers.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/haskell/prime/ngweihow_primenumbers.hs -------------------------------------------------------------------------------- /haskell/reverse/joaoportela_reverse.hs: -------------------------------------------------------------------------------- 1 | reverseFunc = foldl (flip (:)) [] -------------------------------------------------------------------------------- /haskell/rsconsuegra_pithagor_trip.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/haskell/rsconsuegra_pithagor_trip.hs -------------------------------------------------------------------------------- /haskell/sorting/george1410_quicksort.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/haskell/sorting/george1410_quicksort.hs -------------------------------------------------------------------------------- /honorary-one-line-wonders/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/README.md -------------------------------------------------------------------------------- /honorary-one-line-wonders/c/Icon-Editor-master-e.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/c/Icon-Editor-master-e.c -------------------------------------------------------------------------------- /honorary-one-line-wonders/c/codetheorem_mergesort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/c/codetheorem_mergesort.c -------------------------------------------------------------------------------- /honorary-one-line-wonders/c/hello/juricav_helloWorld.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/c/hello/juricav_helloWorld.c -------------------------------------------------------------------------------- /honorary-one-line-wonders/c/one_lineifier.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/c/one_lineifier.c -------------------------------------------------------------------------------- /honorary-one-line-wonders/clojure/ycombinator.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/clojure/ycombinator.clj -------------------------------------------------------------------------------- /honorary-one-line-wonders/coffeescript/ytsearcher-example.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/coffeescript/ytsearcher-example.coffee -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/U3X_check_square.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/U3X_check_square.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/cchha.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/cchha.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/e_approximation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/e_approximation.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/factorial.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/factorial.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/fib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/fib.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/hello/juricav_helloWorld.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/hello/juricav_helloWorld.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/mergeSort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/mergeSort.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/yashagarwal1999_Largest _sum_of_consecutive_numbers_in_an_array.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/yashagarwal1999_Largest _sum_of_consecutive_numbers_in_an_array.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/yashagarwal1999_countingValley.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/yashagarwal1999_countingValley.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cplusplus/yashagarwal1999_powerset.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cplusplus/yashagarwal1999_powerset.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cpp/Fibonacci in cpp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cpp/Fibonacci in cpp.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/cpp/anagram.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/cpp/anagram.cpp -------------------------------------------------------------------------------- /honorary-one-line-wonders/crystal/http_server.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/crystal/http_server.cr -------------------------------------------------------------------------------- /honorary-one-line-wonders/go/approximate_pi.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/go/approximate_pi.go -------------------------------------------------------------------------------- /honorary-one-line-wonders/haskell/mergesort.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/haskell/mergesort.hs -------------------------------------------------------------------------------- /honorary-one-line-wonders/html/Hello_World.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/html/Hello_World.html -------------------------------------------------------------------------------- /honorary-one-line-wonders/java/AnagramChecker.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/java/AnagramChecker.java -------------------------------------------------------------------------------- /honorary-one-line-wonders/java/ValidAnagram.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/java/ValidAnagram.java -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/fibonnacci2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/fibonnacci2.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/get_frequency.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/get_frequency.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/golden_ratio.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/golden_ratio.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/isPrime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/isPrime.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/largest_contigous_sum_array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/largest_contigous_sum_array.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/magnitude.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/magnitude.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/memoize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/memoize.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/random_alphanumeric.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/random_alphanumeric.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/sayoojtmc_timer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/sayoojtmc_timer.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/vetlix_array_map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/vetlix_array_map.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/javascript/ycombinator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/javascript/ycombinator.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/nodejs/fibonacci_inMemory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/nodejs/fibonacci_inMemory.js -------------------------------------------------------------------------------- /honorary-one-line-wonders/powershell/download_and_install_7-zip.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/powershell/download_and_install_7-zip.ps1 -------------------------------------------------------------------------------- /honorary-one-line-wonders/powershell/hello-old.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/powershell/hello-old.ps1 -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/Fibonacciseries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/Fibonacciseries.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/GenerateFibonacciSeq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/GenerateFibonacciSeq.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/SeiveOfEratosthenes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/SeiveOfEratosthenes.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/String_Reversal.py: -------------------------------------------------------------------------------- 1 | s=str(input()) 2 | print(s[-1::-1]) 3 | -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/baseconversion_from_base_2_to_32.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/baseconversion_from_base_2_to_32.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/convert_to_csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/convert_to_csv.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/discord-bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/discord-bot.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/eapprox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/eapprox.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/flames.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/flames.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/merge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/merge.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/reversePy_subratred.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/reversePy_subratred.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/semiprime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/semiprime.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/tic-tac-toe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/tic-tac-toe.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/validAnagram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/validAnagram.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/python/verify_variable_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/python/verify_variable_type.py -------------------------------------------------------------------------------- /honorary-one-line-wonders/rust/fibonacci.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/honorary-one-line-wonders/rust/fibonacci.rs -------------------------------------------------------------------------------- /java/BenjaminUrquhart_SumDigits.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/BenjaminUrquhart_SumDigits.java -------------------------------------------------------------------------------- /java/PRITI1999_sum_of_natural_numbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/PRITI1999_sum_of_natural_numbers.java -------------------------------------------------------------------------------- /java/ZombieChibiXD_Palindrome.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/ZombieChibiXD_Palindrome.java -------------------------------------------------------------------------------- /java/approximate_pi/edgriebel_WallisPi.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/approximate_pi/edgriebel_WallisPi.java -------------------------------------------------------------------------------- /java/bshehata_getMax.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/bshehata_getMax.java -------------------------------------------------------------------------------- /java/ernesoglu_Ackermann.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/ernesoglu_Ackermann.java -------------------------------------------------------------------------------- /java/ernesoglu_DigitsSum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/ernesoglu_DigitsSum.java -------------------------------------------------------------------------------- /java/ernesoglu_Factorial.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/ernesoglu_Factorial.java -------------------------------------------------------------------------------- /java/ernesoglu_Vowels.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/ernesoglu_Vowels.java -------------------------------------------------------------------------------- /java/fibonacci/ernesoglu_Fibonacci.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/fibonacci/ernesoglu_Fibonacci.java -------------------------------------------------------------------------------- /java/janeliutw_StreamExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/janeliutw_StreamExample.java -------------------------------------------------------------------------------- /java/mrinal-pandey_height_binary_tree.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/mrinal-pandey_height_binary_tree.java -------------------------------------------------------------------------------- /java/sgirabin_Max2Digit.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/sgirabin_Max2Digit.java -------------------------------------------------------------------------------- /java/sorting/Akash-Sareen_SortExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/java/sorting/Akash-Sareen_SortExample.java -------------------------------------------------------------------------------- /javascript/Kaljuk_get_min2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/Kaljuk_get_min2.js -------------------------------------------------------------------------------- /javascript/Kaljuk_max_difference_math.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/Kaljuk_max_difference_math.js -------------------------------------------------------------------------------- /javascript/Priultimus_sum_of_ints.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/Priultimus_sum_of_ints.js -------------------------------------------------------------------------------- /javascript/RanveerSinghKhattra_get_user_input.js: -------------------------------------------------------------------------------- 1 | var inputValue = prompt("Please type something."); 2 | -------------------------------------------------------------------------------- /javascript/SatioO_head.js: -------------------------------------------------------------------------------- 1 | const head = ([a]) => a; 2 | -------------------------------------------------------------------------------- /javascript/Xander1233_collatzConjecture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/Xander1233_collatzConjecture.js -------------------------------------------------------------------------------- /javascript/Xander1233_convert_number_to_one_or_bigger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/Xander1233_convert_number_to_one_or_bigger.js -------------------------------------------------------------------------------- /javascript/ZombieChibiXD_Palindrome.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/ZombieChibiXD_Palindrome.js -------------------------------------------------------------------------------- /javascript/approximate_e/akargl_approx_e.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/approximate_e/akargl_approx_e.js -------------------------------------------------------------------------------- /javascript/approximate_e/dinThea_approximate_e.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/approximate_e/dinThea_approximate_e.js -------------------------------------------------------------------------------- /javascript/approximate_pi/akargl_approx_pi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/approximate_pi/akargl_approx_pi.js -------------------------------------------------------------------------------- /javascript/bgail_get_min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/bgail_get_min.js -------------------------------------------------------------------------------- /javascript/bhirmbani_copy_object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/bhirmbani_copy_object.js -------------------------------------------------------------------------------- /javascript/bramleyjl_max_difference.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/bramleyjl_max_difference.js -------------------------------------------------------------------------------- /javascript/capJavert_is-touch-device.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/capJavert_is-touch-device.js -------------------------------------------------------------------------------- /javascript/devshawn_drop.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/devshawn_drop.js -------------------------------------------------------------------------------- /javascript/devshawn_find_key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/devshawn_find_key.js -------------------------------------------------------------------------------- /javascript/devshawn_random.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/devshawn_random.js -------------------------------------------------------------------------------- /javascript/devshawn_take.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/devshawn_take.js -------------------------------------------------------------------------------- /javascript/dhaveed_pad_zeros.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/dhaveed_pad_zeros.js -------------------------------------------------------------------------------- /javascript/dhaveed_swap_variables.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/dhaveed_swap_variables.js -------------------------------------------------------------------------------- /javascript/dorman99_split.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/dorman99_split.js -------------------------------------------------------------------------------- /javascript/even/jackkav_isEven.js: -------------------------------------------------------------------------------- 1 | const isEven = n => !(n & 1) -------------------------------------------------------------------------------- /javascript/even/jackkav_isOdd.js: -------------------------------------------------------------------------------- 1 | const isOdd = n => !!(n & 1) -------------------------------------------------------------------------------- /javascript/fibonacci/audrius59_fibonacci2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/fibonacci/audrius59_fibonacci2.js -------------------------------------------------------------------------------- /javascript/fibonacci/matankb_fibonacci.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/fibonacci/matankb_fibonacci.js -------------------------------------------------------------------------------- /javascript/hello/vamisola_hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/hello/vamisola_hello.js -------------------------------------------------------------------------------- /javascript/hello/wzhouwzhou_hello-world-backwards.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/hello/wzhouwzhou_hello-world-backwards.js -------------------------------------------------------------------------------- /javascript/jackkav_get_frequency.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/jackkav_get_frequency.js -------------------------------------------------------------------------------- /javascript/jackkav_hex2rgb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/jackkav_hex2rgb.js -------------------------------------------------------------------------------- /javascript/jjroush_map_filter_reduce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/jjroush_map_filter_reduce.js -------------------------------------------------------------------------------- /javascript/johnfoderaro_get_random_key.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/johnfoderaro_get_random_key.js -------------------------------------------------------------------------------- /javascript/matankb_sum_of_range.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/matankb_sum_of_range.js -------------------------------------------------------------------------------- /javascript/mraymond_generate_list_of_numbers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/mraymond_generate_list_of_numbers.js -------------------------------------------------------------------------------- /javascript/niralpokal_isEmptyObject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/niralpokal_isEmptyObject.js -------------------------------------------------------------------------------- /javascript/reverse/romellogoodman_reverse_sentence.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/reverse/romellogoodman_reverse_sentence.js -------------------------------------------------------------------------------- /javascript/reverse/romellogoodman_reverse_string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/reverse/romellogoodman_reverse_string.js -------------------------------------------------------------------------------- /javascript/reverse/rrrepsaj_reverse_string_with_reduce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/reverse/rrrepsaj_reverse_string_with_reduce.js -------------------------------------------------------------------------------- /javascript/reverse/saxenanamay_reverse_array.js: -------------------------------------------------------------------------------- 1 | reverse=a=>a.map(a.pop,[...a]) -------------------------------------------------------------------------------- /javascript/reverse/wzhouwzhou_reverse-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/reverse/wzhouwzhou_reverse-string.js -------------------------------------------------------------------------------- /javascript/romellogoodman_copy_array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/romellogoodman_copy_array.js -------------------------------------------------------------------------------- /javascript/romellogoodman_html_strip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/romellogoodman_html_strip.js -------------------------------------------------------------------------------- /javascript/romellogoodman_page_query_params.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/romellogoodman_page_query_params.js -------------------------------------------------------------------------------- /javascript/rpxs_add.js: -------------------------------------------------------------------------------- 1 | const add = (a, b) => a + b; 2 | -------------------------------------------------------------------------------- /javascript/rpxs_subtract.js: -------------------------------------------------------------------------------- 1 | const subtract = (a, b) => a - b 2 | -------------------------------------------------------------------------------- /javascript/sareeshv_escape_html.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/sareeshv_escape_html.js -------------------------------------------------------------------------------- /javascript/shuffle_array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/shuffle_array.js -------------------------------------------------------------------------------- /javascript/sorting/akargl_insertion_sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/sorting/akargl_insertion_sort.js -------------------------------------------------------------------------------- /javascript/sorting/igemnace_selection_sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/sorting/igemnace_selection_sort.js -------------------------------------------------------------------------------- /javascript/sorting/jibinkmathew94_sort_one_line_array.js: -------------------------------------------------------------------------------- 1 | array.sort( (a, b) => a - b ); 2 | -------------------------------------------------------------------------------- /javascript/sowhatdoido_get_mean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/sowhatdoido_get_mean.js -------------------------------------------------------------------------------- /javascript/sowhatdoido_isTruthy.js: -------------------------------------------------------------------------------- 1 | export default (a) => (!!a); 2 | -------------------------------------------------------------------------------- /javascript/sowhatdoido_withoutValue.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/sowhatdoido_withoutValue.js -------------------------------------------------------------------------------- /javascript/tiffany-jao_isTriangle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/tiffany-jao_isTriangle.js -------------------------------------------------------------------------------- /javascript/tnptop_tuplesToObject.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/tnptop_tuplesToObject.js -------------------------------------------------------------------------------- /javascript/toluwalope19_spread.js: -------------------------------------------------------------------------------- 1 | const arr1 = [...arr]; 2 | -------------------------------------------------------------------------------- /javascript/unique/ananta_unique_array.js: -------------------------------------------------------------------------------- 1 | const uniqueItems = arr => [...new Set(arr)]; 2 | -------------------------------------------------------------------------------- /javascript/unique/jackkav_two_strings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/unique/jackkav_two_strings.js -------------------------------------------------------------------------------- /javascript/unique/jagwiredev_remove_duplicates.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/unique/jagwiredev_remove_duplicates.js -------------------------------------------------------------------------------- /javascript/unique/niralpokal_getUniqueArrayValues.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/unique/niralpokal_getUniqueArrayValues.js -------------------------------------------------------------------------------- /javascript/unique/wzhouwzhou_unique_values.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/unique/wzhouwzhou_unique_values.js -------------------------------------------------------------------------------- /javascript/vetlix_deepflat_array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/vetlix_deepflat_array.js -------------------------------------------------------------------------------- /javascript/vetlix_empty_array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/vetlix_empty_array.js -------------------------------------------------------------------------------- /javascript/vr1e_Kaljuk_get_max.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/vr1e_Kaljuk_get_max.js -------------------------------------------------------------------------------- /javascript/wzhouwzhou_check_brackets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/wzhouwzhou_check_brackets.js -------------------------------------------------------------------------------- /javascript/wzhouwzhou_multiply_ints.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/javascript/wzhouwzhou_multiply_ints.js -------------------------------------------------------------------------------- /nodejs/NguyenDa18_new_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/nodejs/NguyenDa18_new_server.js -------------------------------------------------------------------------------- /nodejs/austinkregel_get_files_from_current_directory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/nodejs/austinkregel_get_files_from_current_directory.js -------------------------------------------------------------------------------- /nodejs/hello/austinkregel_hello_world.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/nodejs/hello/austinkregel_hello_world.js -------------------------------------------------------------------------------- /nodejs/hello/kannagikazuko_hello_world.js: -------------------------------------------------------------------------------- 1 | void(process.stdout.write('Hello, world!\r\n\0')); 2 | -------------------------------------------------------------------------------- /nodejs/tacticaltechjay_coinFlip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/nodejs/tacticaltechjay_coinFlip.js -------------------------------------------------------------------------------- /nodejs/wzhouwzhou_delay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/nodejs/wzhouwzhou_delay.js -------------------------------------------------------------------------------- /ocaml/hello/AnkitaBIT_hello.ml: -------------------------------------------------------------------------------- 1 | print_endline "Hello, world!" ;; 2 | -------------------------------------------------------------------------------- /ocaml/rk4n_ycombinator.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/ocaml/rk4n_ycombinator.ml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/package.json -------------------------------------------------------------------------------- /pascal/hello/kannagikazuko_hello-world.pas: -------------------------------------------------------------------------------- 1 | begin writeln('Hello, world!') end. 2 | -------------------------------------------------------------------------------- /perl/fibonacci/mattchuranu_fibonacci-sequence-to-the-nth-number.p6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/perl/fibonacci/mattchuranu_fibonacci-sequence-to-the-nth-number.p6 -------------------------------------------------------------------------------- /perl/hello/Cyclenerd_hello-world.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/perl/hello/Cyclenerd_hello-world.pl -------------------------------------------------------------------------------- /perl/hello/mattchuranu_hello-world.p6: -------------------------------------------------------------------------------- 1 | say "Hello World"; 2 | -------------------------------------------------------------------------------- /perl/mattchuranu_ask-for-filename-until-given-one-that-doesnt-exist.p6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/perl/mattchuranu_ask-for-filename-until-given-one-that-doesnt-exist.p6 -------------------------------------------------------------------------------- /perl/mattchuranu_gcd.p6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/perl/mattchuranu_gcd.p6 -------------------------------------------------------------------------------- /perl/mattchuranu_list-files.p6: -------------------------------------------------------------------------------- 1 | shell 'ls' 2 | -------------------------------------------------------------------------------- /perl/mattchuranu_log2n.p6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/perl/mattchuranu_log2n.p6 -------------------------------------------------------------------------------- /perl/prime/Ojaswy_prime.pl: -------------------------------------------------------------------------------- 1 | /^.?$|^(..+?)\1+$/ 2 | 3 | -------------------------------------------------------------------------------- /perl/remove_duplicates.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/perl/remove_duplicates.pl -------------------------------------------------------------------------------- /php/AmosGarner_getMax.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/php/AmosGarner_getMax.php -------------------------------------------------------------------------------- /php/AmosGarner_printBinary.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /php/fibonacci/hugonun_fibonacci.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/php/fibonacci/hugonun_fibonacci.php -------------------------------------------------------------------------------- /powershell/Astronaut/rpstester_ListOfPeopleInSpace.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/powershell/Astronaut/rpstester_ListOfPeopleInSpace.ps1 -------------------------------------------------------------------------------- /powershell/hello/yyoel_hello.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/powershell/hello/yyoel_hello.ps1 -------------------------------------------------------------------------------- /powershell/jantari_download_and_install_7-zip.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/powershell/jantari_download_and_install_7-zip.ps1 -------------------------------------------------------------------------------- /powershell/turbosnute_strongpassword.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/powershell/turbosnute_strongpassword.ps1 -------------------------------------------------------------------------------- /powershell/unique/Kmek_UniqueArray.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/powershell/unique/Kmek_UniqueArray.ps1 -------------------------------------------------------------------------------- /python/AghastComet_fahrenheit_to_celsius.py: -------------------------------------------------------------------------------- 1 | C = (int(input('Temperature in fahrenheit: '))-32)*5/9 2 | -------------------------------------------------------------------------------- /python/AndreaChlebikova_double_factorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/AndreaChlebikova_double_factorial.py -------------------------------------------------------------------------------- /python/BrunoGomesCoelho_ackermann_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/BrunoGomesCoelho_ackermann_function.py -------------------------------------------------------------------------------- /python/BrunoGomesCoelho_dot_product.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/BrunoGomesCoelho_dot_product.py -------------------------------------------------------------------------------- /python/BrunoGomesCoelho_matrix_multiplication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/BrunoGomesCoelho_matrix_multiplication.py -------------------------------------------------------------------------------- /python/ColeHoff7_hamming_distance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/ColeHoff7_hamming_distance.py -------------------------------------------------------------------------------- /python/ColeHoff7_one-line-slot-machine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/ColeHoff7_one-line-slot-machine.py -------------------------------------------------------------------------------- /python/JayWelborn_similar_strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/JayWelborn_similar_strings.py -------------------------------------------------------------------------------- /python/JoaoRacedo_Matrix_Transpose.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/JoaoRacedo_Matrix_Transpose.py -------------------------------------------------------------------------------- /python/JoaoRacedo_Set_All_Subsets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/JoaoRacedo_Set_All_Subsets.py -------------------------------------------------------------------------------- /python/Kartikaggarwal98_create_dict_from_two_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/Kartikaggarwal98_create_dict_from_two_lists.py -------------------------------------------------------------------------------- /python/Kartikaggarwal98_display_calendar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/Kartikaggarwal98_display_calendar.py -------------------------------------------------------------------------------- /python/Kartikaggarwal98_frequency_elements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/Kartikaggarwal98_frequency_elements.py -------------------------------------------------------------------------------- /python/Kartikaggarwal98_iterate_multiple_lists.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/Kartikaggarwal98_iterate_multiple_lists.py -------------------------------------------------------------------------------- /python/Kartikaggarwal98_string_padding.py: -------------------------------------------------------------------------------- 1 | a='hello'; print("{:#^20}".format(a)); 2 | -------------------------------------------------------------------------------- /python/OpticGenius_count-filename-letters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/OpticGenius_count-filename-letters.py -------------------------------------------------------------------------------- /python/OpticGenius_group-file-extensions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/OpticGenius_group-file-extensions.py -------------------------------------------------------------------------------- /python/OpticGenius_list_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/OpticGenius_list_files.py -------------------------------------------------------------------------------- /python/OpticGenius_longest-one-liner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/OpticGenius_longest-one-liner.py -------------------------------------------------------------------------------- /python/Priultimus_day.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/Priultimus_day.py -------------------------------------------------------------------------------- /python/Priultimus_that.py: -------------------------------------------------------------------------------- 1 | import this 2 | -------------------------------------------------------------------------------- /python/RaInta_e_to_pi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/RaInta_e_to_pi.py -------------------------------------------------------------------------------- /python/ShaneCreedon_dict_of_squares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/ShaneCreedon_dict_of_squares.py -------------------------------------------------------------------------------- /python/adriennelevvie_show2019.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/adriennelevvie_show2019.py -------------------------------------------------------------------------------- /python/amanagarwal-sopho_sum_of_digits.py: -------------------------------------------------------------------------------- 1 | f = lambda s: sum([int(p) for p in s]) -------------------------------------------------------------------------------- /python/anagram/bsanders_anagram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/anagram/bsanders_anagram.py -------------------------------------------------------------------------------- /python/anagram/nikhilhassija_anagram-one-liner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/anagram/nikhilhassija_anagram-one-liner.py -------------------------------------------------------------------------------- /python/anagram/s-ankur_decode_anagram.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/anagram/s-ankur_decode_anagram.py -------------------------------------------------------------------------------- /python/andrus14_leap_year.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/andrus14_leap_year.py -------------------------------------------------------------------------------- /python/approximate_e/ServinDC_approximate_e.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/approximate_e/ServinDC_approximate_e.py -------------------------------------------------------------------------------- /python/approximate_pi/AghastComet_approximate_pi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/approximate_pi/AghastComet_approximate_pi.py -------------------------------------------------------------------------------- /python/approximate_pi/yashagarwal1999_get_Approximate_Pi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/approximate_pi/yashagarwal1999_get_Approximate_Pi.py -------------------------------------------------------------------------------- /python/bhavikb07_Factors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/bhavikb07_Factors.py -------------------------------------------------------------------------------- /python/blitzh0t_consonants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/blitzh0t_consonants.py -------------------------------------------------------------------------------- /python/blitzh0t_vowels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/blitzh0t_vowels.py -------------------------------------------------------------------------------- /python/caesar/s-ankur_caesar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/caesar/s-ankur_caesar.py -------------------------------------------------------------------------------- /python/cricketer94_transpose.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/cricketer94_transpose.py -------------------------------------------------------------------------------- /python/devarakondapranav_multiply_without_arithmeticAndBinary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/devarakondapranav_multiply_without_arithmeticAndBinary.py -------------------------------------------------------------------------------- /python/earvingemenez_format_currency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/earvingemenez_format_currency.py -------------------------------------------------------------------------------- /python/earvingemenez_generate_password.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/earvingemenez_generate_password.py -------------------------------------------------------------------------------- /python/earvingemenez_get_age.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/earvingemenez_get_age.py -------------------------------------------------------------------------------- /python/even/ThaLeprechaun_list_of_odd_numbers.py: -------------------------------------------------------------------------------- 1 | print([i for i in range(20) if i % 2 != 0]) 2 | -------------------------------------------------------------------------------- /python/factorial/factorial_n6wbi6.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/factorial/factorial_n6wbi6.py -------------------------------------------------------------------------------- /python/fibonacci/BrunoGomesCoelho_fibonacci.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/fibonacci/BrunoGomesCoelho_fibonacci.py -------------------------------------------------------------------------------- /python/fibonacci/MaheshSuranga_fibonanci.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/fibonacci/MaheshSuranga_fibonanci.py -------------------------------------------------------------------------------- /python/fibonacci/brianhopper_fib_one-Liner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/fibonacci/brianhopper_fib_one-Liner.py -------------------------------------------------------------------------------- /python/fibonacci/jamlamberti_fibonacci_seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/fibonacci/jamlamberti_fibonacci_seq.py -------------------------------------------------------------------------------- /python/fibonacci/moore3071_binet_fibonacci.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/fibonacci/moore3071_binet_fibonacci.py -------------------------------------------------------------------------------- /python/fibonacci/nikhilhassija_fibonacci-one-liner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/fibonacci/nikhilhassija_fibonacci-one-liner.py -------------------------------------------------------------------------------- /python/golden_ratio/Ribodou_phi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/golden_ratio/Ribodou_phi.py -------------------------------------------------------------------------------- /python/golden_ratio/leaen_golden_ratio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/golden_ratio/leaen_golden_ratio.py -------------------------------------------------------------------------------- /python/gsafcik_largest_sum_consecutive_nums_in_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/gsafcik_largest_sum_consecutive_nums_in_array.py -------------------------------------------------------------------------------- /python/hello/Kmek_hello.py: -------------------------------------------------------------------------------- 1 | print("Hello World!!!") 2 | -------------------------------------------------------------------------------- /python/hello/antonio32a_world.py: -------------------------------------------------------------------------------- 1 | import __hello__ 2 | -------------------------------------------------------------------------------- /python/hello/jaakofalltrade_helloworld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/hello/jaakofalltrade_helloworld.py -------------------------------------------------------------------------------- /python/jamlamberti_pascals_triangle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/jamlamberti_pascals_triangle.py -------------------------------------------------------------------------------- /python/jamlamberti_pascals_triangle2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/jamlamberti_pascals_triangle2.py -------------------------------------------------------------------------------- /python/kblicharski_create_directories.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/kblicharski_create_directories.py -------------------------------------------------------------------------------- /python/kblicharski_merge_dictionaries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/kblicharski_merge_dictionaries.py -------------------------------------------------------------------------------- /python/kblicharski_search_file_for_keyword.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/kblicharski_search_file_for_keyword.py -------------------------------------------------------------------------------- /python/kblicharski_strip_file_of_whitespace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/kblicharski_strip_file_of_whitespace.py -------------------------------------------------------------------------------- /python/kennedy_emotions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/kennedy_emotions.py -------------------------------------------------------------------------------- /python/kennedy_squaresum_diff_sumsquare.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/kennedy_squaresum_diff_sumsquare.py -------------------------------------------------------------------------------- /python/kennedy_sum_multiples_of_a_b_less_than_x.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/kennedy_sum_multiples_of_a_b_less_than_x.py -------------------------------------------------------------------------------- /python/melissachen2000_derivative.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/melissachen2000_derivative.py -------------------------------------------------------------------------------- /python/melissachen2000_find_missing_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/melissachen2000_find_missing_number.py -------------------------------------------------------------------------------- /python/melissachen2000_fizzbuzz.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/melissachen2000_fizzbuzz.py -------------------------------------------------------------------------------- /python/michaelbuchar_AddTwoNumbers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/michaelbuchar_AddTwoNumbers.py -------------------------------------------------------------------------------- /python/mirandars_par-perfect-squares.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/mirandars_par-perfect-squares.py -------------------------------------------------------------------------------- /python/mirandars_parity-test.py: -------------------------------------------------------------------------------- 1 | par = lambda x:True if x%2==0 else False 2 | -------------------------------------------------------------------------------- /python/moonblade_day.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/moonblade_day.py -------------------------------------------------------------------------------- /python/moonblade_leftRotate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/moonblade_leftRotate.py -------------------------------------------------------------------------------- /python/moonblade_luckBalance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/moonblade_luckBalance.py -------------------------------------------------------------------------------- /python/mspatel927_Greater_Than.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/mspatel927_Greater_Than.py -------------------------------------------------------------------------------- /python/mspatel927_Mirror_List.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/mspatel927_Mirror_List.py -------------------------------------------------------------------------------- /python/mspatel927_Random_Card_Draw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/mspatel927_Random_Card_Draw.py -------------------------------------------------------------------------------- /python/palindrome/melissachen2000_palindrome_checker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/palindrome/melissachen2000_palindrome_checker.py -------------------------------------------------------------------------------- /python/prathimacode-hub_ordered_prepend_string_num.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/prathimacode-hub_ordered_prepend_string_num.py -------------------------------------------------------------------------------- /python/predator21x_The-largest_number_that_can_be_represented_by_8_Byte.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/predator21x_The-largest_number_that_can_be_represented_by_8_Byte.py -------------------------------------------------------------------------------- /python/predator21x_decimal_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/predator21x_decimal_conversion.py -------------------------------------------------------------------------------- /python/prime/JoaoRacedo_Prime_Check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/prime/JoaoRacedo_Prime_Check.py -------------------------------------------------------------------------------- /python/prime/falafel72_get-primes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/prime/falafel72_get-primes.py -------------------------------------------------------------------------------- /python/priyankadalmia_factorial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/priyankadalmia_factorial.py -------------------------------------------------------------------------------- /python/reverse/Cadarn_reverse_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/reverse/Cadarn_reverse_string.py -------------------------------------------------------------------------------- /python/reverse/bigboynaruto_reverse_sentence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/reverse/bigboynaruto_reverse_sentence.py -------------------------------------------------------------------------------- /python/reverse/dhruvs009_strrev.py: -------------------------------------------------------------------------------- 1 | def reverse(s): return s[-1::-1] 2 | -------------------------------------------------------------------------------- /python/reverse/earvingemenez_reverse_sentence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/reverse/earvingemenez_reverse_sentence.py -------------------------------------------------------------------------------- /python/s-ankur_xor_cipher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/s-ankur_xor_cipher.py -------------------------------------------------------------------------------- /python/sorting/Nitish18_list_key_based_sorting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/sorting/Nitish18_list_key_based_sorting.py -------------------------------------------------------------------------------- /python/sorting/OpticGenius_sort-files-date.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/sorting/OpticGenius_sort-files-date.py -------------------------------------------------------------------------------- /python/sorting/blicharski_print_sorted_environment_variables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/sorting/blicharski_print_sorted_environment_variables.py -------------------------------------------------------------------------------- /python/sorting/blicharski_select_sort_1_line.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/sorting/blicharski_select_sort_1_line.py -------------------------------------------------------------------------------- /python/sorting/cricketer94_quicksorty.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/sorting/cricketer94_quicksorty.py -------------------------------------------------------------------------------- /python/sorting/ngweihow_bogosort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/sorting/ngweihow_bogosort.py -------------------------------------------------------------------------------- /python/sourabhlal_distance_two_points.py: -------------------------------------------------------------------------------- 1 | distance_pq = lambda p,q : (sum((pi - qi)**2 for pi,qi in zip(p,q)))**.5 2 | -------------------------------------------------------------------------------- /python/unique/Kaljuk_get_word_with_most_unique_characters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/unique/Kaljuk_get_word_with_most_unique_characters.py -------------------------------------------------------------------------------- /python/unique/RaInta_unique_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/unique/RaInta_unique_array.py -------------------------------------------------------------------------------- /python/unique/Zylatis_uncommon_elements.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/unique/Zylatis_uncommon_elements.py -------------------------------------------------------------------------------- /python/unique/moonblade_twoStrings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/unique/moonblade_twoStrings.py -------------------------------------------------------------------------------- /python/unique/yashagarwal1999_unique_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/unique/yashagarwal1999_unique_array.py -------------------------------------------------------------------------------- /python/valley/chrismclennon_countingValley-2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/valley/chrismclennon_countingValley-2.py -------------------------------------------------------------------------------- /python/valley/moonblade_countingValley.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/valley/moonblade_countingValley.py -------------------------------------------------------------------------------- /python/yashagarwal1999_powerset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/python/yashagarwal1999_powerset.py -------------------------------------------------------------------------------- /r/Bassoon08_remove_NaN.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/r/Bassoon08_remove_NaN.r -------------------------------------------------------------------------------- /r/MattSandy_print_loaded_packages.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/r/MattSandy_print_loaded_packages.r -------------------------------------------------------------------------------- /r/devAmoghS_excel_dates_to_r.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/r/devAmoghS_excel_dates_to_r.r -------------------------------------------------------------------------------- /r/hello/vghorakavi_hello.r: -------------------------------------------------------------------------------- 1 | print("Hello, world!") 2 | -------------------------------------------------------------------------------- /r/prime/KKulma_find-prime-number.R: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/r/prime/KKulma_find-prime-number.R -------------------------------------------------------------------------------- /ruby/approximate_e/shaunak-gupta_approximate_e_stochastic.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/ruby/approximate_e/shaunak-gupta_approximate_e_stochastic.rb -------------------------------------------------------------------------------- /ruby/approximate_pi/shaunak-gupta_approximate_pi_basel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/ruby/approximate_pi/shaunak-gupta_approximate_pi_basel.rb -------------------------------------------------------------------------------- /ruby/fibonacci/animanmaster_fibonacci.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/ruby/fibonacci/animanmaster_fibonacci.rb -------------------------------------------------------------------------------- /ruby/fibonacci/animanmaster_fibonacci_iterative.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/ruby/fibonacci/animanmaster_fibonacci_iterative.rb -------------------------------------------------------------------------------- /ruby/prime/onlyasmalllizard_is_prime.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/ruby/prime/onlyasmalllizard_is_prime.rb -------------------------------------------------------------------------------- /ruby/reverse/animanmaster_string_reverse.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/ruby/reverse/animanmaster_string_reverse.rb -------------------------------------------------------------------------------- /rust/fibonacci/Henning-K_fibonacci.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/rust/fibonacci/Henning-K_fibonacci.rs -------------------------------------------------------------------------------- /rust/hello/gkanishk_helloworld.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | 3 | println!("Hello World!"); 4 | } 5 | -------------------------------------------------------------------------------- /rust/maths/ngweihow_areacircle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/rust/maths/ngweihow_areacircle.rs -------------------------------------------------------------------------------- /rust/maths/ngweihow_pythagoras.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/rust/maths/ngweihow_pythagoras.rs -------------------------------------------------------------------------------- /rust/prime/Henning-K_prime.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/rust/prime/Henning-K_prime.rs -------------------------------------------------------------------------------- /scala/anagram/saucam_Anagram.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/scala/anagram/saucam_Anagram.scala -------------------------------------------------------------------------------- /scala/even/ivanightingale_onlyEvenDigits.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/scala/even/ivanightingale_onlyEvenDigits.scala -------------------------------------------------------------------------------- /scheme/fibonacci/lbarros00_fib.scm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/scheme/fibonacci/lbarros00_fib.scm -------------------------------------------------------------------------------- /swift/anagram/nmasnadithya_anagramChecker.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/swift/anagram/nmasnadithya_anagramChecker.swift -------------------------------------------------------------------------------- /typescript/hello/JuanPabloHuertas_hello-world.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello, World!"); -------------------------------------------------------------------------------- /vim/igemnace_multiply_ints.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wzhouwzhou/one-line-wonders/HEAD/vim/igemnace_multiply_ints.vim --------------------------------------------------------------------------------