-
-
This blog is just for sample code keeping. // UserControl1.xaml <UserControl x:Class=”WpfApp1.UserControl1″ xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″ xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″ xmlns:local=”clr-namespace:WpfApp1″ mc:Ignorable=”d” Background=”Red” Height=”186.646″ Width=”411.693″> <Grid> <Button Content=”Button” HorizontalAlignment=”Left” Margin=”80,72,0,0″ VerticalAlignment=”Top” Width=”75″ Click=”Button_Click”/> </Grid> </UserControl> // UserControl1.xaml.cs namespace WpfApp1 { /// <summary> /// Interaction logic for UserControl1.xaml /// </summary> public partial class UserControl1 : UserControl { public event EventHandler MyButtonClick; public UserControl1() { InitializeComponent(); } private void Button_Click(object sender, RoutedEventArgs e) { this.MyButtonClick(this, new EventArgs()); } } } //…
-
Read the article here – https://www.janmabhumi.in/read/python-programming-part-3/ Watch video:
-
Here is a pure JavaScript based, basic drawing tool. It supports both mouse and tap. Demo URL: https://ninethsense.github.io/code-share/Doodle/
-
Can use below script to gzip a folder, and upload to a FTP site. We can use a cron task to schedule it.
-
Coding for fun… An attempt to make a fully JavaScript based canvas drawing interpreter in മലയാളം/Malayalam. Try in action here – https://ninethsense.github.io/code-share/CanvasDrawing/ Source Code:
-
Source Code:
-
Though I wrote the plugin initially for personal use, now the same is available for you to use in your WordPress sites. Link: https://wordpress.org/plugins/wp-showgithubfile/ You can either download it from the directory, or install directly within your WordPress installation. Here is a live demo of the plugin:
-
Here goes my contribution to HelloScript project by Praseed Pai. GitHub: https://github.com/praseedpai/HelloScript_files/blob/master/Groovy/HelloScript.groovy Source Code: [Code generated by wp-ShowGithubFile plugin]
-
Show a file, preferably source code file content in a WordPress blog post or page. This plugin shows always the latest code from GitHub. Visit my GitHub repository to download the plugin for free – https://github.com/ninethsense/wp-ShowGithubFile Source Code: (Live Example directly from GitHub 🙂