Skip to content

Instantly share code, notes, and snippets.

View arlm's full-sized avatar

Alexandre Rocha Lima e Marcondes arlm

View GitHub Profile
@eyecatchup
eyecatchup / hammerhead-from-lrx21o-to-lrx22c.md
Last active November 1, 2023 08:35
A step-by-step guide how to manually flash the Android 5.0.1 (LRX22C) OTA-Update on a Nexus 5 with modified system (custom recovery/kernel, rooted, modified framework etc.)..

Update: For those interested, here's the version for updating from Android 5.1.0 (LMY47D/LMY47I) to Android 5.1.1 (LMY48B):
https://gist.github.com/eyecatchup/dab5cf7977008e504213


  UPDATE `NEXUS 5` 
     SET `VERSION`='5.0.1', `BUILD`='LRX22C', `RECOVERY`='CUSTOM', `ROOTED`=1 
   WHERE `VERSION`='5.0' && `BUILD`='LRX21O' && `RECOVERY`='CUSTOM' && `ROOTED`=1 
         && `WANNA_KEEP_USERDATA`=1;
@jdarling
jdarling / index.html
Last active May 8, 2018 12:17
Graph different parts of data in different DC charts (inbound/outbound as an example)
<!DOCTYPE html>
<html lang="en">
<head>
<title>dc.js - Dimensional Charting Javascript Library</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="https://dc-js.github.io/dc.js/css/dc.css"/>
<style>
body, html{
margin: 0;
padding: 0;
@albinmathew
albinmathew / build.gradle
Created May 25, 2015 08:02
An example configuration for proguard-rules.pro
android {
compileSdkVersion 22
buildToolsVersion "22.0.0"
defaultConfig {
applicationId "com.abc.example"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
@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.


@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
@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

@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 { }
}
@binho
binho / caixa_modulo_seguranca_macOS.md
Last active April 16, 2025 10:48
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
@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() {
@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