What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-11 11:10:04
rename file python
import os os.rename('guru99.txt','career.guru99.txt') Add solution -
Javascript 2021-10-09 19:39:06
javascript pagination demo
var current_page = 1; var records_per_page = 2; var objJson = [ { adName: "AdName 1"}, { adName: "AdName 2"}, { adName: "AdName 3"}, { adName: "AdName 4"}, { adName: "AdName 5"}, {... Add solution -
Shell/Bash 2021-10-08 22:56:08
c# powershell commandlet
using System.Management.Automation; // Windows PowerShell assembly. namespace SendGreeting { // Declare the class as a cmdlet and specify the // appropriate verb and noun for the cmdlet name. [Cmdlet(VerbsCommunications.Send, "Greeting")... Add solution -
Other 2021-10-08 19:00:11
how to remove .ds_store files
find . -name ".DS_Store" -delete Add solution -
Python 2021-10-08 18:25:07
how to get name of class in class python
class SillyClassName: @classmethod def my_name(cls_): return cls_.__name__ def class_name(self): # self.__class__ gets the current class # .__name__ gets the name return self.__class__.__name__ SillyClassName.my_name() # prints SillyCla... Add solution
Best helpers
Ranking is empty