Skip to content

Instantly share code, notes, and snippets.

View Genusatplay's full-sized avatar

Dmitry Neminushchiy Genusatplay

  • Rostov-on-Don, Russia
View GitHub Profile
@Genusatplay
Genusatplay / code_snippets_prpc_icmdr.DotSettings
Created May 24, 2021 21:26
Resharper code snippets for mvvm light: prpc - create property, icmdr - create ICommand = RelayCommand
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219C3C30515E924CB118FEB178C47B18/@KeyIndexDefined">True</s:Boolean>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219C3C30515E924CB118FEB178C47B18/Shortcut/@EntryValue">prpc</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219C3C30515E924CB118FEB178C47B18/Description/@EntryValue">Property for mvvm light</s:String>
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=219C3C30515E924CB118FEB178C47B18/Text/@EntryValue">private $TYPE$ _$FIELD_NAME$;&#xD;
public $TYPE$ $PROPERTY_NAME$&#xD;
{&#xD;
get =&gt; _$FIELD_NAME$;&#xD;
set =&gt; Set(ref _$FIELD_NAME$, value);&#xD;
}</s:String>
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from os import path, listdir
import dropbox
scan_folder = 'c:\\temp'
dropbox_folder = '/test_dropbox'
# get access token - https://www.dropbox.com/developers/apps
user_access_token = '******'
@Genusatplay
Genusatplay / Form1.cs
Created June 3, 2018 14:04 — forked from Stasonix/Form1.cs
GLOBAL HOOK example C#
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Text.RegularExpressions;
using System.IO;