Skip to content

Instantly share code, notes, and snippets.

View Anderson0xFF's full-sized avatar
🏠
Working from home

Anderson Almeida Anderson0xFF

🏠
Working from home
  • NDD
  • Salvador
View GitHub Profile
@Anderson0xFF
Anderson0xFF / Vim ShortCuts
Created March 15, 2021 15:20 — forked from spankie/Vim ShortCuts
Common vimfiler keyboard shortcuts
Search and replace occurences of word: :%s/<word_to_replace>/<correct_word>/g // `g` represents all occurence
/********************
* Exemplo básico de uso de sockets no Linux.
* Por Luiz Felipe - https://github.com/Silva97
*
* Link do vídeo: https://youtu.be/GaxjJvMnz-I
********************/
#include <stdio.h>
#include <unistd.h>
@Anderson0xFF
Anderson0xFF / remove-dotnet-cli-osx
Created October 24, 2020 13:38 — forked from sandrovicente/remove-dotnet-cli-osx
Steps to uninstall a DotNet CLI version on Mac OS X
# delete the dotnet folder under /usr/local/share/dotnet
1. cd /usr/local/share/dotnet && ls
2. sudo rm -rf dotnet
# delete the dotnet reference file at /etc/paths.d/dotnet
1. cd /etc/paths.d && ls
2. sudo rm dotnet
@Anderson0xFF
Anderson0xFF / Program.cs
Created September 7, 2020 13:00 — forked from enghqii/Program.cs
C# Coroutine example
using System;
using System.Collections;
using System.Collections.Generic;
namespace Generator3
{
class Program
{
// classic Generator
static IEnumerable<string> Script()
@Anderson0xFF
Anderson0xFF / Programa.cs
Created February 21, 2020 16:49 — forked from GuilhermeMatheus/Programa.cs
Usando PauseTokenSource e PauseToken para notificar pausas em Tasks.
using System;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// Classe de teste do PauseTokenSource e PauseToken
/// </summary>
class Program
{
static void Main()