Skip to content

Instantly share code, notes, and snippets.

View 0x524c's full-sized avatar

0x524c 0x524c

  • Brazil
  • 06:57 (UTC -03:00)
  • X @0x524c
View GitHub Profile
@0x524c
0x524c / gcc compiler optimization for arm systems.md
Created January 23, 2022 19:30 — forked from fm4dd/gcc compiler optimization for arm systems.md
GCC compiler optimization for ARM-based systems

GCC compiler optimization for ARM-based systems

2017-03-03 fm4dd

The gcc compiler can optimize code by taking advantage of CPU specific features. Especially for ARM CPU's, this can have impact on application performance. ARM CPU's, even under the same architecture, could be implemented with different versions of floating point units (FPU). Utilizing full FPU potential improves performance of heavier operating systems such as full Linux distributions.

-mcpu, -march: Defining the CPU type and architecture

These flags can both be used to set the CPU type. Setting one or the other is sufficient.

@0x524c
0x524c / python.sh
Last active January 24, 2022 00:37
Python installation
#!/usr/bin/env bash
#
# This script is for installing python 3.x.x
#
# Copyright (c) 2021 itheo.tech
# MIT License
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@0x524c
0x524c / .env
Created October 3, 2021 17:04 — forked from nicosingh/.env
MySQL cluster using docker
MYSQL_ROOT_PASSWORD=rootpass
@0x524c
0x524c / 1-setup.md
Created August 4, 2021 21:56 — forked from troyfontaine/1-setup.md
Signing your Git Commits using GPG on MacOS Sierra/High Sierra

Methods of Signing with GPG

Last updated March 28, 2021

There are now two ways to approach this:

  1. Using gpg and generating keys
  2. Using Kryptonite by krypt.co

This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions

@0x524c
0x524c / snakeoil.sh
Created December 5, 2020 21:19 — forked from yyuu/snakeoil.sh
Generate snakeoil SSL certificates on Debian
sudo apt-get install ssl-cert
sudo make-ssl-cert generate-default-snakeoil
sudo usermod --append --groups ssl-cert yyuu
ls -l /etc/ssl/certs/ssl-cert-snakeoil.pem /etc/ssl/private/ssl-cert-snakeoil.key