diff --git a/static/_redirects b/static/_redirects index 9185435c7..bdd98439e 100644 --- a/static/_redirects +++ b/static/_redirects @@ -1,82 +1,82 @@ -/snippet/all_equal https://30secondsofcode.org/python/s/all_equal 301! -/snippet/all_unique https://30secondsofcode.org/python/s/all_unique 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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!