I hereby claim:
- I am margani on github.
- I am margani (https://keybase.io/margani) on keybase.
- I have a public key ASDlNdNCiswmDGHowyy0QX_SAj2Mpag0zYB166NkwD56XAo
To claim this, I am signing this object:
// Back To Top | |
$('a.top').click(function(){ $('html, body').animate({scrollTop : 0},800); return false; }); | |
//Create an anchor tag | |
<a class="top" href="#">Back to top</a> |
DECLARE @name VARCHAR(50) -- database name | |
DECLARE @path VARCHAR(256) -- path for backup files | |
DECLARE @fileName VARCHAR(256) -- filename for backup | |
DECLARE @fileDate VARCHAR(20) -- used for file name | |
-- specify database backup directory | |
SET @path = 'C:\Backup\' | |
-- specify filename format | |
SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112) + REPLACE(CONVERT(VARCHAR(20),GETDATE(),108),':','') |
I hereby claim:
To claim this, I am signing this object:
class XmlSerializationProgram | |
{ | |
static void Main(string[] args) | |
{ | |
var person = new Person | |
{ | |
firstName = "John", | |
lastName = "Doe", | |
dateOfBirth = new MyDate | |
{ |
string StartDirectory = @"D:\temp\source"; | |
string EndDirectory = @"D:\temp\destination"; | |
private async void btnStartAsync_Click(object sender, EventArgs e) | |
{ | |
foreach (string filename in Directory.EnumerateFiles(StartDirectory)) | |
{ | |
using (FileStream SourceStream = File.Open(filename, FileMode.Open)) | |
{ | |
var destFilePath = EndDirectory + filename.Substring(filename.LastIndexOf('\\')); |
class JsonSerializationProgram | |
{ | |
static void Main(string[] args) | |
{ | |
var person = new Person | |
{ | |
firstName = "John", | |
lastName = "Doe", | |
dateOfBirth = new MyDate | |
{ |
ng new general-app --verbose --skip-tests --directory app --style less --routing |
# Windows Server 2008+ or Windows Vista+ | |
netsh advfirewall firewall set rule group="remote desktop" new enable=Yes |
publi class Project | |
{ | |
public void DoScrum() | |
{ | |
Developers.ForEach(dev => | |
{ | |
if(dev.IsMe) | |
{ | |
Talking.Start(() => { | |
if(NothingFurtherToSay |
# Download youtube playlist | |
youtube-dl -o "d:/download/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" -f "best[width>=1080][ext=mp4]" https://www.youtube.com/playlist?list=PL-something |