Skip to content

Instantly share code, notes, and snippets.

View adabo's full-sized avatar
🏠
Working from home

Abel adabo

🏠
Working from home
View GitHub Profile
@adabo
adabo / file.txt
Created May 25, 2023 17:08
Something good
This file has been truncated, but you can view the full file.
1 In the beginning God created the heavens and the earth.
2 Now the earth was formless and desolate, and there was darkness upon the surface of the watery deep, and God’s active force was moving about over the surface of the waters.
3 And God said: “Let there be light.” Then there was light. 4 After that God saw that the light was good, and God began to divide the light from the darkness. 5 God called the light Day, but the darkness he called Night. And there was evening and there was morning, a first day.
6 Then God said: “Let there be an expanse between the waters, and let there be a division between the waters and the waters.” 7 Then God went on to make the expanse and divided the waters beneath the expanse from the waters above the expanse. And it was so. 8 God called the expanse Heaven. And there was evening and there was morning, a second day.
9 Then God said: “Let the waters under the heavens be collected together into one place, and let the dry land appear.” And it was so. 10 God called the dry land E
@adabo
adabo / pixel.ahk
Created May 12, 2021 04:48
Fix braces
Loop
{
PixelGetColor, color, 600, 910, RGB
if (color = 0xF4F4F4)
{
Send a
}
PixelGetColor, color, 690, 910, RGB
if (color = 0x21D6E6)
@adabo
adabo / readMessage.py
Last active January 25, 2020 17:31
Read message
import hexchat
__module_name__ = "Read Messages"
__module_author__ = "adabo"
__module_version__ = "0.1"
__module_descritption = "Reads messages and shows them"
def readMessage(word, word_eol, userdata, attribs):
print(repr(word))
print(repr(word_eol))
@adabo
adabo / memtest86_5-7-19.log
Created May 7, 2019 14:33
Failed memtest86 log
2019-05-06 20:42:35 - Attempting to retrieve the root directory of the data partition.
2019-05-06 20:42:35 - Found 10 handles that supported SimpleFileSystem
2019-05-06 20:42:35 - Checking handle 0 (8563ED98)
2019-05-06 20:42:35 - Checking handle 1 (8555DD18)
2019-05-06 20:42:35 - Checking handle 2 (85557F18)
2019-05-06 20:42:35 - Checking handle 3 (851B1818)
2019-05-06 20:42:35 - Checking handle 4 (851B2B18)
2019-05-06 20:42:35 - Checking handle 5 (856BD918)
2019-05-06 20:42:35 - Handle is own partition
2019-05-06 20:42:35 - Checking handle 6 (856BD498)
@adabo
adabo / main.cpp
Last active February 28, 2019 17:50
trouble with remove_if
#include <iostream>
#include <vector>
#include <algorithm>
enum ItemName
{
FOO,
BAR,
THING
};
int main()
{
std::vector<Room> rooms {{TOPLEFT,{{SHIELD,TORCH}}},{TOPRIGHT,{{KEY,SHIELD,KEY}}},{BOTLEFT,{{PEBBLE,PEBBLE,KEY}}},{BOTRIGHT,{{KEY,PEBBLE,SHIELD,SHIELD,KEY,PEBBLE}}}};
std::vector<Room> rooms
{
{
TOPLEFT,{
{SHIELD,TORCH}
}
@adabo
adabo / config.ini
Created February 24, 2019 19:03
eclipse config file
#This configuration file was written by: org.eclipse.oomph.p2.internal.core.AgentImpl
#Sun Feb 24 10:43:56 CST 2019
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=file\:/home/abel/.p2/pool/plugins/org.eclipse.platform_4.10.0.v20181206-0815
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
osgi.bundles.defaultStartLevel=4
eclipse.application=org.eclipse.ui.ide.workbench
osgi.instance.area.default=@user.home/workspace
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.3.200.v20181101-1115.jar@1\:start
eclipse.p2.data.area=file\:/home/abel/.p2/
-startup
plugins/org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar
--launcher.library
/home/abel/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.900.v20180922-1751
-product
org.eclipse.epp.package.cpp.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
@adabo
adabo / log
Created February 24, 2019 17:14
eclipse error log
!SESSION Sun Feb 24 11:05:05 CST 2019 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2019-02-24 11:05:05.610
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:626)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
@adabo
adabo / console
Created February 23, 2019 22:55
cmd output
abel@smopki:~/Documents/programming/c++/console_test/source$ make
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
Makefile:16: *** missing separator. Stop.