Skip to content

Instantly share code, notes, and snippets.

View arlm's full-sized avatar

Alexandre Rocha Lima e Marcondes arlm

View GitHub Profile
@findmory
findmory / README.md
Last active January 30, 2024 10:38
Send Trackpad gestures over Barrier/Synergy using BetterTouchTool

Problem: Controlling a remote Mac desktop using a tool like Barrier or Synergy doesn't allow for trackpad gestures to be sent to the client machine.

Solution: Use Better Touch Tool on host machine to handle the gestures and send a remote command to the client machine.

Steps to setup:

[1] On the CLIENT machine in BTT setup these Named triggers:

@fnky
fnky / ANSI.md
Last active May 24, 2024 04:41
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@arlm
arlm / gh-pages.md
Created May 15, 2018 12:04 — forked from ramnathv/gh-pages.md
Creating a clean gh-pages branch

Creating a clean gh-pages branch

This is the sequence of steps to follow to create a root gh-pages branch. It is based on a question at [SO]

cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" > index.html
@arlm
arlm / AdbCommands.md
Last active April 17, 2022 21:33 — forked from Pulimet/AdbCommands
Adb useful commands list

General ADB Commands

ADB Server

  • Ensures that there is an ADB server running: adb start-server
  • Kills the ADB server if it is running: adb kill-server

Device Rebooting

@arlm
arlm / android-screen-to-gif.sh
Created March 19, 2018 16:08 — forked from lorenzos/android-screen-to-gif.sh
Captures screen from Android device via ADB and makes a 180x320 GIF
#!/bin/bash
# How to install:
# exo-open "http://developer.android.com/sdk/index.html#Other"
# sudo apt-get install libav-tools imagemagick
# wget https://gist.githubusercontent.com/lorenzos/e8a97c1992cddf9c1142/raw/android-screen-to-gif.sh
# chmod a+x android-screen-to-gif.sh
# Help message
function usage() {
@binho
binho / caixa_modulo_seguranca_macOS.md
Last active May 21, 2024 17:27
Como instalar/reinstalar o módulo de segurança da Caixa no macOS

Bom vou falar um pouco da minha luta com o Internet Banking da Caixa.

No meu caso tive problemas após migrar o meu macbook para um novo e não conseguia instalar o módulo de segurança no novo macbook e assim sem poder usar o Internet Banking no computador.

Primeiro rodei o script sudo /usr/local/bin/warsaw/uninstall.sh do warsaw como root pra tentar começar tudo do zero mas ainda assim após tentar reinstalar não tive sucesso.

Ao analisar o script postinstall dentro do pkg notei que varios arquivos de inicialização são criados e que alguns dados ainda continuaram no meu computador como certificados e arquivos de inicialização, então tenha certeza que estes arquivos abaixo tenham sido removidos:

rm -f ~/Library/LaunchAgents/com.diebold.warsaw.user.plist
@xoofx
xoofx / ProgramInlineAsm.cs
Created May 25, 2016 03:08
Shows how to use the prototype inline IL ASM with Roslyn
using System;
using System.IO;
using System.Runtime.CompilerServices;
namespace System.Runtime.CompilerServices
{
[AttributeUsage(AttributeTargets.Method)]
internal class CompilerIntrinsicAttribute : Attribute { }
}
@CarolEidt
CarolEidt / RyuJIT-Tutorial.md
Last active January 12, 2023 09:04
RyuJIT Tutorial

RyuJIT

The Open Source Just in Time Compiler for .NET

WHEN & WHERE

This tutorial was given at PLDI 2016. The content is available here.

ABSTRACT

This tutorial will present an introduction to RyuJIT (rē-yü-jit), an industry leading, high performance Just-in-Time compiler that supports the Microsoft .NET ecosystem. RyuJIT is also used to deliver world class performance on in house 1st party services like Office 365, Bing, and Exchange through innovative design and focus on business results. RyuJIT is shipping in the .NET 4.6 product and is now open source as part of CoreCLR.

An overview of the architecture of RyuJIT will be presented, including the internal representation (IR) and compilation phases with a focus on key design and imple

@kuhlenh
kuhlenh / RoslynExternalContributions.md
Last active April 28, 2016 15:23
List of non-Microsoft pull-requests to the dotnet/roslyn repo

Roslyn Contributions (EXTERNAL)

The purpose of this gist is to allow people to more easily see non-Microsoft merged pull-requests. We appreciate all contributions and want to thank our code contributors below and our issue-loggers for their awesome work!

Note: This list only contains contributions on GitHub (the CodePlex PRs are not in this list). Data is from 2/10/2016 9:15AM PST.

Title Login Merge Date SHA
Use MyGet V3 API maartenba 2/2/2016 3:53:39 PM +00:00 db3f7c26
@aresnick
aresnick / story.md
Last active March 21, 2016 09:35
A few examples of and resources on story and storytelling—

On Stories (or something like them)

One of the natural tensions that comes up whenever new tools and media are introduced is that between the old forms and content and what's enabled now. The same way that the first movies were filmed plays and the first online newspapers digital reprints, it takes time to break out of our old expectations and embrace new media on its own terms.

"Storytelling" gets thrown around a lot when people are talking about technology—many times in ways that make real storytellers cringe—but at least part of what we read into that is that there's something new and interesting in the forms technology enables.

These resources are meant to provide some evocative starting points and examples for thinking about what it meanst to tell a story and how that might be able to change with some of the technologies we're exploring in DGMD S-15.