Skip to content

Instantly share code, notes, and snippets.

View EduApps-CDG's full-sized avatar
🇧🇷

Eduardo P. Gomez EduApps-CDG

🇧🇷
View GitHub Profile
@EduApps-CDG
EduApps-CDG / FreeDNS.js
Last active July 20, 2022 22:27
Code that updates FreeDNS.
import { exec } from "child_process";
import { promisify } from "util";
export default class FreeDNS {
/**
* Update FreeDNS.
*/
static async updateDns() {
let exe = promisify(exec);
@EduApps-CDG
EduApps-CDG / Building Linux Kernel With Android.md
Last active October 31, 2024 15:01
A guide of How to Build Linux Kernel using android

How to Build Linux Kernel with Android

This guide shows how to build Linux on a Android Device and was made for people that doesn't have s Computer.

Minimum Requiriments:

  • 4GB of free space (2GB if delete the temp files)
  • Android 5.0

Preparing the Environment

You need to install Termux

/**
* Copyright 2019 EduApps (Eduardo P. Gomez)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@EduApps-CDG
EduApps-CDG / Importer.js
Last active December 15, 2019 13:13
A <script> linker made in JavaScript.
/**
* Copyright 2019 EduApps (Eduardo P. Gomez)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@whosaysni
whosaysni / gist:5733660
Created June 8, 2013 02:17
Hello world with Xlib.
/*
hellox -- Hello world with Xlib.
$(CC) -o hellox hellox.c -lX11 -L/usr/X11/lib
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>