Skip to content

Instantly share code, notes, and snippets.

@daldegam
daldegam / README.md
Created October 4, 2023 15:45 — forked from avoidik/README.md
Repack APK, make it debuggable
@daldegam
daldegam / gist:f91208fe7286f4fe5cca684e5227f5ab
Created October 5, 2021 10:38
How to show the hash for a file (MACOS)
https://www.modmy.com/how-verify-file-hashes-macos
How to show the hash for a file
If you want to verify a hash visually – that is, just see the hash and check if it's the same – macOS provides command line-based tools to show hashes for all sorts of hashing algorithms.
To show a SHA256 hash:
shasum -a 256 [filenames]
To show a SHA1 hash:

Keybase proof

I hereby claim:

  • I am daldegam on github.
  • I am daldegam (https://keybase.io/daldegam) on keybase.
  • I have a public key ASDsg37oA26Sff4r4UgyBcANdG26Ytfhqqv9_Y2Oex-P3Ao

To claim this, I am signing this object:

@daldegam
daldegam / windows_build_numbers.txt
Created January 27, 2017 12:22 — forked from mxpv/windows_build_numbers.txt
Windows build numbers
Windows Name or Service Pack Version Number
---------------------------- --------------
Windows 1.0 1.04
Windows 2.0 2.11
Windows 3.0 3
Windows NT 3.1 3.10.528
Windows for Workgroups 3.11 3.11
@daldegam
daldegam / tmux-cheatsheet.markdown
Created December 5, 2016 11:38 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@daldegam
daldegam / magento-nginx.conf
Created October 15, 2015 19:07 — forked from gwillem/magento-nginx.conf
Battle-tested Nginx configuration for Magento (source: www.hypernode.com)
# This is an annotated subset of the Nginx configuration from our Magento production platform @ www.hypernode.com
# See https://www.byte.nl/blog/magento-cacheleak-issue
user app;
worker_processes 4;
pid /var/run/nginx.pid;
events {
worker_connections 768;
}
@daldegam
daldegam / commands-unix-macos.md
Last active February 12, 2021 14:20
Comandos Unix (MAC OS)

Unix Commands

Command Sample Description
pipe - Liga a saida de um comando na entrada de outro
&& cmd && cmd Executa um comando logo após o outro
cat cat Duplica o conteúdo digitado (ctrl+d = sair)
cat cat file.txt Lê um arquivo (ctrl+d = sair)
cat cat > file.txt Cria um arquivo com o conteúdo digitado (ctrl+d = sair)
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;

Keybase proof

I hereby claim:

  • I am daldegam on github.
  • I am daldegam (https://keybase.io/daldegam) on keybase.
  • I have a public key whose fingerprint is 3E30 DFD4 7CB8 6F55 CDFB D77D 674B 042D ABEF 3770

To claim this, I am signing this object:

Setup Mac OS X Mountain Lion or Mavericks

Edit: I few months ago I got a new laptop and did the same thing on Mavericks.

I just replaced the hard drive of my mbp and decided to do a clean install of Mountain Lion (10.8.5) since I was still using Snow Leopard (10.6.8).

I kinda regret for not using Boxen to automate the