What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-01 04:21:03
anagram js
function isAnagram(stringA, stringB) { // Sanitizing stringA = stringA.toLowerCase().replace(/[\W_]+/g, ""); stringB = stringB.toLowerCase().replace(/[\W_]+/g, ""); // sorting const stringASorted = stringA.split(""... Add solution -
Shell/Bash 2021-08-31 16:29:03
how to show installed tkinter fonts
from tkinter import * from tkinter import font root = Tk() root.title('Font Families') fonts=list(font.families()) fonts.sort() def populate(frame): '''Put in the fonts''' listnumber = 1 for item in fonts: label = "listlabel&quo... Add solution -
Python 2021-08-31 09:02:01
merge all mp4 video files into one file python
from moviepy.editor import * import os from natsort import natsorted L =[] for root, dirs, files in os.walk("/path/to/the/files"): #files.sort() files = natsorted(files) for file in files: if os.path.splitext(file)[1] == '... Add solution -
Other 2021-08-30 19:16:02
dotcms combined content pull
## First, set your lists #set($newsList = $dotcontent.pull("+structureName:CcNewsStories ...")) #set($sparkList = $dotcontent.pull("+structureName:CcSparkContents ... ")) #set($vergeList = $dotcontent.pull("+structureName:CcVerge... Add solution -
Python 2021-08-30 01:43:01
sort values pandas
df.sort_values(by='col1', ascending=False) Add solution
Best helpers
Ranking is empty