Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dotz0cat on github.
  • I am dotz0cat (https://keybase.io/dotz0cat) on keybase.
  • I have a public key ASBDG4oXudnl7q7tWqnOaBsHzpqYQlqjGUEZq3vnQBS1jgo

To claim this, I am signing this object:

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 166
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
#!/bin/sh
exec tail -n +3 $0
menuentry 'Arch Linux MAC MODE' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8b6bf880-0dce-44dd-bc05-c74f50fa6196' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd2,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
[14:50:08] [main/INFO]: Setting user: Dotz0cat
[14:50:10] [Client thread/INFO]: LWJGL Version: 2.9.1
[14:50:11] [Client thread/ERROR]: Couldn't initialize twitch stream
[14:50:43] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Not Enough Items, FMLFileResourcePack:Mac's Utilities, FMLFileResourcePack:Advanced Solar Panels, FMLFileResourcePack:AE2 Stuff, FMLFileResourcePack:AgriCraft, FMLFileResourcePack:Another One Bites The Dust, FMLFileResourcePack:Applied Energistics 2, FMLFileResourcePack:Archimedes' Ships Plus, FMLFileResourcePack:Aroma1997Core|Helper, FMLFileResourcePack:AromaBackup, FMLFileResourcePack:AromaBackup Recovery, FMLFileResourcePack:Avaritia, FMLFileResourcePack:BD Lib, FMLFileResourcePack:Big Reactors, FMLFileResourcePack:Botany, FMLFileResourcePack:Binnie Core, FMLFileResourcePack:Extra Bees, FMLFileResourcePack:Extra Trees, FMLFileResourcePack:Genetics, FMLFileResourcePack:Blood Magic
[$DOTZ@Arch tic_tac_toe]$ gcc -v -Wall -Wextra -pedantic -Wshadow ./main.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-pkgversion='Arch Linux 9.3.0-1' --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto gdc_include_dir=/usr/include/dlang/gdc
Thread mo
[$DOTZ@Arch tic_tac_toe]$ gcc -v -Os -Wall -Wextra -pedantic -Wshadow ./main.c
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-pkgversion='Arch Linux 9.3.0-1' --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto gdc_include_dir=/usr/include/dlang/gdc
Threa
# Maintainer: Dotz0cat <dotz0cat@gmail.com>
pkgname=tic_tac_toe
pkgver=1.0
pkgrel=1
pkgdesc="This is a small shell game of tic tac toe"
arch=('any')
url="https://github.com/Dotz0cat/tic_tac_toe"
license=('BSD')
source=("https://github.com/Dotz0cat/tic_tac_toe/archive/v${pkgver}.tar.gz")
sha256sums=("1070904bfc02bb07b999a94c4befbd59edb365b3e30d57e3fc50f32f7d8dccd3")
./rajio2 158.69.38.195 20278
ptr:0x7ffcceb99730 size:5120
Segmentation fault (core dumped)
[seth@Arch src]$ valgrind --track-origins=yes --leak-check=full ./rajio2 158.69.38.195 20278
==63825== Memcheck, a memory error detector
==63825== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==63825== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==63825== Command: ./rajio2 158.69.38.195 20278
==63825==
==63825== Conditional jump or move depends on uninitialised value(s)
==>(B Making package: snort 2.9.16-1 (Fri May 29 21:28:12 2020)(B
==>(B Checking runtime dependencies...(B
==>(B Checking buildtime dependencies...(B
==>(B Retrieving sources...(B
 ->(B Found snort-2.9.16.tar.gz(B
 ->(B Found emerging.rules.tar.gz(B
 ->(B Found snort@.service(B
==>(B Validating source files with md5sums...(B
==>(B Extracting sources...(B
 ->(B Extracting snort-2.9.16.tar.gz with bsdtar(B