diff --git a/static/_redirects b/static/_redirects index 9852f6aaf..9185435c7 100644 --- a/static/_redirects +++ b/static/_redirects @@ -1,59 +1,89 @@ -/snippet/all https://30secondsofcode.org/python/s/all 301! -/snippet/any https://30secondsofcode.org/python/s/any 301! -/snippet/approximatelyEqual https://30secondsofcode.org/python/s/approximatelyEqual 301! -/snippet/average https://30secondsofcode.org/python/s/average 301! -/snippet/clampNumber https://30secondsofcode.org/python/s/clampNumber 301! -/snippet/compose https://30secondsofcode.org/python/s/compose 301! -/snippet/countVowels https://30secondsofcode.org/python/s/countVowels 301! -/snippet/curry https://30secondsofcode.org/python/s/curry 301! -/snippet/decapitalize https://30secondsofcode.org/python/s/decapitalize 301! -/snippet/deepFlatten https://30secondsofcode.org/python/s/deepFlatten 301! -/snippet/drop https://30secondsofcode.org/python/s/drop 301! -/snippet/endsWith https://30secondsofcode.org/python/s/endsWith 301! -/snippet/factorial https://30secondsofcode.org/python/s/factorial 301! -/snippet/fibonacci https://30secondsofcode.org/python/s/fibonacci 301! -/snippet/findLast https://30secondsofcode.org/python/s/findLast 301! -/snippet/findLastIndex https://30secondsofcode.org/python/s/findLastIndex 301! -/snippet/firstStringBetween https://30secondsofcode.org/python/s/firstStringBetween 301! -/snippet/flatten https://30secondsofcode.org/python/s/flatten 301! -/snippet/gcd https://30secondsofcode.org/python/s/gcd 301! -/snippet/groupBy https://30secondsofcode.org/python/s/groupBy 301! -/snippet/hasDuplicates https://30secondsofcode.org/python/s/hasDuplicates 301! -/snippet/head https://30secondsofcode.org/python/s/head 301! -/snippet/isAnagram https://30secondsofcode.org/python/s/isAnagram 301! -/snippet/isContains https://30secondsofcode.org/python/s/isContains 301! -/snippet/isEven https://30secondsofcode.org/python/s/isEven 301! -/snippet/isLowerCase https://30secondsofcode.org/python/s/isLowerCase 301! -/snippet/isPrime https://30secondsofcode.org/python/s/isPrime 301! -/snippet/isUpperCase https://30secondsofcode.org/python/s/isUpperCase 301! -/snippet/last https://30secondsofcode.org/python/s/last 301! -/snippet/lcm https://30secondsofcode.org/python/s/lcm 301! -/snippet/maxN https://30secondsofcode.org/python/s/maxN 301! -/snippet/median https://30secondsofcode.org/python/s/median 301! -/snippet/memoize https://30secondsofcode.org/python/s/memoize 301! -/snippet/minN https://30secondsofcode.org/python/s/minN 301! -/snippet/once https://30secondsofcode.org/python/s/once 301! -/snippet/orderBy https://30secondsofcode.org/python/s/orderBy 301! -/snippet/palindrome https://30secondsofcode.org/python/s/palindrome 301! -/snippet/pluck https://30secondsofcode.org/python/s/pluck 301! -/snippet/pull https://30secondsofcode.org/python/s/pull 301! -/snippet/reject https://30secondsofcode.org/python/s/reject 301! -/snippet/remove https://30secondsofcode.org/python/s/remove 301! -/snippet/rotate https://30secondsofcode.org/python/s/rotate 301! -/snippet/shorten https://30secondsofcode.org/python/s/shorten 301! -/snippet/slugify https://30secondsofcode.org/python/s/slugify 301! -/snippet/startsWith https://30secondsofcode.org/python/s/startsWith 301! -/snippet/tail https://30secondsofcode.org/python/s/tail 301! -/snippet/take https://30secondsofcode.org/python/s/take 301! -/snippet/without https://30secondsofcode.org/python/s/without 301! -/tag/array/ https://30secondsofcode.org/python/t/array/p/1 301! -/tag/list/ https://30secondsofcode.org/python/t/list/p/1 301! -/tag/math/ https://30secondsofcode.org/python/t/math/p/1 301! -/tag/function/ https://30secondsofcode.org/python/t/function/p/1 301! -/tag/object/ https://30secondsofcode.org/python/t/object/p/1 301! -/tag/utility/ https://30secondsofcode.org/python/t/utility/p/1 301! -/tag/string/ https://30secondsofcode.org/python/t/string/p/1 301! -/about/ https://30secondsofcode.org/about 301! -/ https://30secondsofcode.org/python/p/1 301! -/list/ https://30secondsofcode.org/python/p/1 301! -/search/ https://30secondsofcode.org/search 301! +/snippet/all_equal https://30secondsofcode.org/python/s/all_equal 301! +/snippet/all_unique https://30secondsofcode.org/python/s/all_unique 301! +/snippet/average https://30secondsofcode.org/python/s/average 301! +/snippet/average_by https://30secondsofcode.org/python/s/average_by 301! +/snippet/bifurcate https://30secondsofcode.org/python/s/bifurcate 301! +/snippet/bifurcate_by https://30secondsofcode.org/python/s/bifurcate_by 301! +/snippet/byte_size https://30secondsofcode.org/python/s/byte_size 301! +/snippet/camel https://30secondsofcode.org/python/s/camel 301! +/snippet/capitalize https://30secondsofcode.org/python/s/capitalize 301! +/snippet/capitalize_every_word https://30secondsofcode.org/python/s/capitalize_every_word 301! +/snippet/cast_list https://30secondsofcode.org/python/s/cast_list 301! +/snippet/chunk https://30secondsofcode.org/python/s/chunk 301! +/snippet/clamp_number https://30secondsofcode.org/python/s/clamp_number 301! +/snippet/compact https://30secondsofcode.org/python/s/compact 301! +/snippet/count_by https://30secondsofcode.org/python/s/count_by 301! +/snippet/count_occurences https://30secondsofcode.org/python/s/count_occurences 301! +/snippet/decapitalize https://30secondsofcode.org/python/s/decapitalize 301! +/snippet/deep_flatten https://30secondsofcode.org/python/s/deep_flatten 301! +/snippet/degrees_to_rads https://30secondsofcode.org/python/s/degrees_to_rads 301! +/snippet/difference https://30secondsofcode.org/python/s/difference 301! +/snippet/difference_by https://30secondsofcode.org/python/s/difference_by 301! +/snippet/digitize https://30secondsofcode.org/python/s/digitize 301! +/snippet/every https://30secondsofcode.org/python/s/every 301! +/snippet/every_nth https://30secondsofcode.org/python/s/every_nth 301! +/snippet/factorial https://30secondsofcode.org/python/s/factorial 301! +/snippet/fibonacci https://30secondsofcode.org/python/s/fibonacci 301! +/snippet/filter_non_unique https://30secondsofcode.org/python/s/filter_non_unique 301! +/snippet/filter_unique https://30secondsofcode.org/python/s/filter_unique 301! +/snippet/flatten https://30secondsofcode.org/python/s/flatten 301! +/snippet/gcd https://30secondsofcode.org/python/s/gcd 301! +/snippet/group_by https://30secondsofcode.org/python/s/group_by 301! +/snippet/has_duplicates https://30secondsofcode.org/python/s/has_duplicates 301! +/snippet/head https://30secondsofcode.org/python/s/head 301! +/snippet/in_range https://30secondsofcode.org/python/s/in_range 301! +/snippet/initial https://30secondsofcode.org/python/s/initial 301! +/snippet/initialize_2d_list https://30secondsofcode.org/python/s/initialize_2d_list 301! +/snippet/initialize_list_with_range https://30secondsofcode.org/python/s/initialize_list_with_range 301! +/snippet/initialize_list_with_values https://30secondsofcode.org/python/s/initialize_list_with_values 301! +/snippet/intersection https://30secondsofcode.org/python/s/intersection 301! +/snippet/intersection_by https://30secondsofcode.org/python/s/intersection_by 301! +/snippet/is_anagram https://30secondsofcode.org/python/s/is_anagram 301! +/snippet/is_divisible https://30secondsofcode.org/python/s/is_divisible 301! +/snippet/is_even https://30secondsofcode.org/python/s/is_even 301! +/snippet/is_odd https://30secondsofcode.org/python/s/is_odd 301! +/snippet/kebab https://30secondsofcode.org/python/s/kebab 301! +/snippet/keys_only https://30secondsofcode.org/python/s/keys_only 301! +/snippet/last https://30secondsofcode.org/python/s/last 301! +/snippet/lcm https://30secondsofcode.org/python/s/lcm 301! +/snippet/longest_item https://30secondsofcode.org/python/s/longest_item 301! +/snippet/map_values https://30secondsofcode.org/python/s/map_values 301! +/snippet/max_by https://30secondsofcode.org/python/s/max_by 301! +/snippet/max_element_index https://30secondsofcode.org/python/s/max_element_index 301! +/snippet/max_n https://30secondsofcode.org/python/s/max_n 301! +/snippet/median https://30secondsofcode.org/python/s/median 301! +/snippet/min_by https://30secondsofcode.org/python/s/min_by 301! +/snippet/min_n https://30secondsofcode.org/python/s/min_n 301! +/snippet/most_frequent https://30secondsofcode.org/python/s/most_frequent 301! +/snippet/n_times_string https://30secondsofcode.org/python/s/n_times_string 301! +/snippet/none https://30secondsofcode.org/python/s/none 301! +/snippet/offset https://30secondsofcode.org/python/s/offset 301! +/snippet/palindrome https://30secondsofcode.org/python/s/palindrome 301! +/snippet/rads_to_degrees https://30secondsofcode.org/python/s/rads_to_degrees 301! +/snippet/reverse_string https://30secondsofcode.org/python/s/reverse_string 301! +/snippet/sample https://30secondsofcode.org/python/s/sample 301! +/snippet/shuffle https://30secondsofcode.org/python/s/shuffle 301! +/snippet/similarity https://30secondsofcode.org/python/s/similarity 301! +/snippet/snake https://30secondsofcode.org/python/s/snake 301! +/snippet/some https://30secondsofcode.org/python/s/some 301! +/snippet/split_lines https://30secondsofcode.org/python/s/split_lines 301! +/snippet/spread https://30secondsofcode.org/python/s/spread 301! +/snippet/sum_by https://30secondsofcode.org/python/s/sum_by 301! +/snippet/symmetric_difference https://30secondsofcode.org/python/s/symmetric_difference 301! +/snippet/symmetric_difference_by https://30secondsofcode.org/python/s/symmetric_difference_by 301! +/snippet/tail https://30secondsofcode.org/python/s/tail 301! +/snippet/transpose https://30secondsofcode.org/python/s/transpose 301! +/snippet/union https://30secondsofcode.org/python/s/union 301! +/snippet/union_by https://30secondsofcode.org/python/s/union_by 301! +/snippet/unique_elements https://30secondsofcode.org/python/s/unique_elements 301! +/snippet/values_only https://30secondsofcode.org/python/s/values_only 301! +/snippet/zip https://30secondsofcode.org/python/s/zip 301! +/tag/list/ https://30secondsofcode.org/python/t/list/p/1 301! +/tag/math/ https://30secondsofcode.org/python/t/math/p/1 301! +/tag/string/ https://30secondsofcode.org/python/t/string/p/1 301! +/tag/utility/ https://30secondsofcode.org/python/t/utility/p/1 301! +/tag/object/ https://30secondsofcode.org/python/t/object/p/1 301! +/about/ https://30secondsofcode.org/about 301! +/ https://30secondsofcode.org/python/p/1 301! +/list/ https://30secondsofcode.org/python/p/1 301! +/search/ https://30secondsofcode.org/search 301!