Skip to content

Instantly share code, notes, and snippets.

View develCuy's full-sized avatar
🎯
Focusing

Fernando develCuy

🎯
Focusing
View GitHub Profile
@develCuy
develCuy / Devcoin.out2
Created July 9, 2020 14:27
Devcoin wallet compile output - try 4
make -f makefile.linux-mingw64 -j8 CROSS_COMPILE=${TARGET_ARCH}-w64-mingw32- CXXFLAGS="-static-libgcc -static-libstdc++" LMODE=dynamic
x86_64-w64-mingw32-g++ -c -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -D_WIN32_WINNT=0x500 -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -I"/home/username/Devcoin-build/core/src/leveldb/include" -I"/home/username/Devcoin-build/core/src/leveldb/helpers" -DHAVE_BUILD_INFO -I"/home/username/Devcoin-build/core/src" -I"/home/username/Devcoin-build/core/src"/obj -I"/home/username/Devcoin-build/boost_1_68_0" -I"/home/username/Devcoin-build/curl-7.68.0-win64-mingw/include" -I"/home/username/Devcoin-build/db-5.3.28/build_unix" -I"/home/username/Devcoin-build/openssl-1.1.1d-win64-mingw/include" -I"/home/username/Devcoin-build" -static-libgcc -static-libstdc++ -o obj/auxpow.o auxpow.cpp
x86_64-w64-mingw32-g++ -c -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -D_WIN32_WINNT=0x500 -g -D_MT -DWIN32
@develCuy
develCuy / Devcoin.out
Created July 9, 2020 14:25
Devcoin wallet compile output - try 3
~/Devcoin-win64/core/src$ make -f makefile.linux-mingw64 -j8 CROSS_COMPILE=${TARGET_ARCH}-w64-mingw32- CXXFLAGS="-static-libgcc -static-libstdc++" LMODE=dynamic
x86_64-w64-mingw32-g++ -c -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -D_WIN32_WINNT=0x500 -g -D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -I"/home/username/Devcoin-win64/core/src/leveldb/include" -I"/home/username/Devcoin-win64/core/src/leveldb/helpers" -DHAVE_BUILD_INFO -I"/home/username/Devcoin-win64/core/src" -I"/home/username/Devcoin-win64/core/src"/obj -I"/home/username/Devcoin-build/boost_1_68_0" -I"/home/username/Devcoin-build/curl-7.68.0-win64-mingw/include" -I"/home/username/Devcoin-build/db-5.3.28/build_unix" -I"/home/username/Devcoin-build/openssl-1.1.1d-win64-mingw/include" -I"/home/username/Devcoin-build" -static-libgcc -static-libstdc++ -o obj/auxpow.o auxpow.cpp
x86_64-w64-mingw32-g++ -c -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -D_WIN32_WIN
@develCuy
develCuy / BerkleyDB.out2
Created July 9, 2020 14:19
Devcoin wallet compile output - try 2
libtool: link: x86_64-w64-mingw32-gcc -O3 -o .libs/db_archive .libs/db_archive.o .libs/util_sig.o ./.libs/libdb-5.3.dll.a -lpthread -L/usr/local/BerkeleyDB.5.3/lib
libtool: link: x86_64-w64-mingw32-ranlib .libs/libdb_cxx-5.3.a
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/test/Devcoin-win64/db-5.3.28/build_unix/.libs'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/test/Devcoin-win64/db-5.3.28/build_unix/.libs:/usr/local/BerkeleyDB.5.3/lib:/usr/local/BerkeleyDB.5.3/bin'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: ( cd ".libs" && rm -f "libdb_cxx-5.3.la" && ln -s "../libdb_cxx-5.3.la" "libdb_cxx-5.3.la" )
rm -f libdb_cxx.a
@develCuy
develCuy / BerkleyDB.out
Created July 9, 2020 14:14
Devcoin wallet compile output - try 1
./libtool --mode=link x86_64-w64-mingw32-gcc -O3 -o db_archive
db_archive.lo util_sig.lo libdb-5.3.la -lpthread
./libtool --mode=link x86_64-w64-mingw32-gcc -O3 -o db_checkpoint
db_checkpoint.lo util_log.lo util_sig.lo libdb-5.3.la -lpthread
libtool: link: x86_64-w64-mingw32-gcc -O3 -o .libs/db_archive .libs/db_archive.o .libs/util_sig.o ./.libs/libdb-5.3.dll.a -lpthread -L/usr/local/BerkeleyDB.5.3/lib
libtool: link: x86_64-w64-mingw32-gcc -O3 -o .libs/db_checkpoint .libs/db_checkpoint.o .libs/util_log.o .libs/util_sig.o ./.libs/libdb-5.3.dll.a -lpthread -L/usr/local/BerkeleyDB.5.3/lib
./libtool --mode=execute true db_archive
ls: cannot access 'db_archive': No such file or directory
./libtool --mode=link x86_64-w64-mingw32-gcc -O3 -o db_deadlock
db_deadlock.lo util_log.lo util_sig.lo libdb-5.3.la -lpthread
@develCuy
develCuy / pj_start.sh
Created September 13, 2016 23:15
Copy files from "src" folder into a memory partition
#!/usr/bin/env bash
SRC_PATH="src"
BKP_PATH="$SRC_PATH-ondisk"
INIT_SCRIPT=""
EXIT_SCRIPT=""
case "$1" in
up|"")
if [ -d "$BKP_PATH" ]; then
echo "ERROR: Folder $BKP_PATH is present, please fix manually and try again then."
@develCuy
develCuy / ta_5.php
Last active June 17, 2016 13:41
ta ta! ta!! ta!!! ta!!!!
<?php
/**
* @author: Maestro Longaniza (Q.E.P.D)
*
* Rev 1 by develCuy.
*/
$emphasys = '';
for ($i = 1; $i <= 5; $i++) {
print "ta" . $emphasys . " ";
Domain Name: drupal.lat
Domain ID: DOMAIN_3911-LAT
WHOIS Server: whois.akky.mx
Referral URL: http://www.akky.mx/jsf/domains/domain_abc/availability/search.jsf
Updated Date: 2016-04-18T09:01:00Z
Creation Date: 2016-04-13T00:17:36Z
Registry Expiry Date: 2017-04-13T00:17:36Z
Sponsoring Registrar: Akky una division de NIC Mexico
Sponsoring Registrar IANA ID: 1705
Domain Status: inactive [MORE INFO]
#!/usr/bin/env sh
rm -f /tmp/*.uuid &&
lua uuid_test.lua &
lua uuid_test.lua &
lua uuid_test.lua &
lua uuid_test.lua &
lua uuid_test.lua &
lua uuid_test.lua &
lua uuid_test.lua &
lua uuid_test.lua &
@develCuy
develCuy / uuid_test.lua
Created February 28, 2016 20:17
thread-safe UUID generator
local uuid = require 'uuid' -- From https://github.com/Tieske/uuid
local socket = require 'socket'
-- Get a unique seed
local seed, fh, err
for i = 1, 256 do
seed = socket:gettime()*10000
local filepath = ('/tmp/%s.uuid'):format(seed)
fh, err = io.open(filepath)
if fh then
/*
tabSlideOUt v1.3.1 (altered by develCuy)
v1.3 by katowulf, bmazoka
Originally by William Paoli: http://wpaoli.building58.com
To use you must have an image ready to go as your tab
Make sure to pass in at minimum the path to the image and its dimensions:
example: