Skip to content

Instantly share code, notes, and snippets.

View ArisAgnew's full-sized avatar
:electron:
You gotta do what you gotta do

Εὐγενής Αναγνωστόπουλος ArisAgnew

:electron:
You gotta do what you gotta do
  • Europe
View GitHub Profile
@DanielSWolf
DanielSWolf / Program.cs
Last active April 17, 2025 05:36
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);
@FriendlyTester
FriendlyTester / gist:79e7d61ce418ed24cedb
Created October 16, 2014 11:16
C# - Proxy Using ChromeDriver
public void SettupUpAProxyUsingChromeDriver()
{
//Create a chrome options object
var chromeOptions = new ChromeOptions();
//Create a new proxy object
var proxy = new Proxy();
//Set the http proxy value, host and port.
proxy.HttpProxy = "localhost:8888";
//Set the proxy to the Chrome options
chromeOptions.Proxy = proxy;
@ryanwi
ryanwi / JsonExperiements.cs
Last active August 26, 2020 12:35
Parse JSON object in C# with different value types
using System;
using Newtonsoft.Json.Linq;
namespace JsonExperiments
{
class Program
{
static void Main(string[] args)
{
ExecuteEmployeeSearch();
@patkremer
patkremer / BinarySearch.cs
Created June 26, 2013 14:59
Binary Search - C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BinarySearch
{
class BinaryArray
{
private int[] data; // array of values