Skip to content

Instantly share code, notes, and snippets.

View YounesCheikh's full-sized avatar
🛌
Sleeping

Younes CHEIKH YounesCheikh

🛌
Sleeping
View GitHub Profile
@YounesCheikh
YounesCheikh / Program.cs
Created December 14, 2021 16:21 — forked from DanielSWolf/Program.cs
Console progress bar. Code is under the MIT License: http://opensource.org/licenses/MIT
using System;
using System.Threading;
static class Program {
static void Main() {
Console.Write("Performing some task... ");
using (var progress = new ProgressBar()) {
for (int i = 0; i <= 100; i++) {
progress.Report((double) i / 100);
@YounesCheikh
YounesCheikh / DemoSetup.wixproj
Created November 1, 2020 00:21 — forked from dasMulli/DemoSetup.wixproj
Demo wix project to publish a self-contained .NET Core app
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>3.10</ProductVersion>
<ProjectGuid>91e4dc15-312a-4e90-bc1c-01de5dc99447</ProjectGuid>
<SchemaVersion>2.0</SchemaVersion>
<OutputName>CoreConsoleAppSetup</OutputName>
<OutputType>Package</OutputType>
@YounesCheikh
YounesCheikh / .vimrc
Created April 4, 2012 22:53 — forked from abossard/.vimrc
perfect .vimrc bootstrap
" if you don't start your own .vimrc you probably haven't understand why you should use vim at all.....
" start it and enter :help <RET>