This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Latest versions of these scripts are available in git repository https://github.com/jcmvbkbc/esp32-linux-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _GNU_SOURCE | |
#include <string.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <signal.h> | |
#if defined(__x86_64__) || defined(__i386__) | |
static int fixup_div0(siginfo_t *si, ucontext_t *uc) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name drop lj promo | |
// @namespace jcmvbkbc | |
// @include https://*.livejournal.com/friends* | |
// @include https://www.livejournal.com/ | |
// @version 1 | |
// @run-at document-idle | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash -ex | |
# VER=3.18|4.4|4.9 ./rebuild-kernels | |
declare -A defconfig | |
declare -A cross | |
defconfig=([arm64]="ranchu64_defconfig" [x86_64]="x86_64_ranchu_defconfig") | |
cross=([arm64]="aarch64-linux-gnu-" [x86_64]="x86_64-linux-gnu-") | |
for check in 0 1 ; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash -ex | |
if [ $# -gt 0 ] ; then name="$1" | |
else name=".repo/manifests/default.xml" ; fi | |
sed -i "$name" -e "\\,name=\"$REPO_PROJECT\",s, *revision=\"[^\"]*\",,g" | |
sed -i "$name" -e "\\,name=\"$REPO_PROJECT\",s,/>,revision=\"$REPO_LREV\" />,g" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ipv6: ipv6.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ENABLE_FOO | |
include $(srcdir)/Makefile.foo.include | |
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <inttypes.h> | |
#include <math.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#ifndef FREQ | |
#define FREQ 44100 | |
#endif | |
#ifndef CHANNELS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.data | |
.Lfmt: | |
.asciz ">>> 0x%08x -> 0x%08x: called from IRQ (or with interrupts disabled)\n" | |
.text | |
.global _mcount | |
.align 4 | |
.literal_position | |
.align 4 | |
_mcount: | |
movi a11, 0x40200000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tnx to mamalala | |
# Changelog | |
# Changed the variables to include the header file directory | |
# Added global var for the XTENSA tool root | |
# | |
# This make file still needs some work. | |
# | |
# Updated for SDK 0.9.2 | |
# | |
# Output directors to store intermediate compiled files |
NewerOlder