What do you want to save?
Add Code snippet
New code examples
-
C# 2021-10-02 03:48:06
c# get all inherited classes of a class
//through reflection using System.Reflection; //as a reusable method/function Type[] GetInheritedClasses(Type MyType) { //if you want the abstract classes drop the !TheType.IsAbstract but it is probably to instance so its a good idea to keep it. ret... Add solution -
Other 2021-09-30 20:43:02
apollo server file upload
//resolvers.js export default { Query: { usersActivation() { return 'Hello Wordl' } }, Mutation: { uploadFile: async (parent, { file }) => { const { filename, createReadStream } = await file.promise fileUpload({ filename, stream: cre... Add solution -
CSS 2021-09-26 21:34:07
css slider
<!--automatic slidshow--> <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> * {box-sizing: border-box;} body {font-family: Verdana, sans-seri... Add solution -
C# 2021-09-24 04:13:03
C# get all child classes of a class
//through reflection using System.Reflection; //as a reusable method/function Type[] GetInheritedClasses(Type MyType) { //if you want the abstract classes drop the !TheType.IsAbstract but it is probably to instance so its a good idea to keep it. ret... Add solution -
CSS 2021-09-06 11:38:02
how to apply hover through inline css
document.getElementById("mydiv").onmouseover= function(e){this.className += ' my-special-class'; }; document.getElementById("mydiv").onmouseleave= function(e){this.className = this.className.replace('my-special-class',''); }; Add solution
Best helpers
Ranking is empty