Skip to content

Instantly share code, notes, and snippets.

View arcanisgk's full-sized avatar
🏦
looking for a job

Walter Nuñez arcanisgk

🏦
looking for a job
  • Icaros Net S.A
  • Panamá
View GitHub Profile
@arcanisgk
arcanisgk / docker-compose.yml
Last active September 22, 2023 18:25
reverse proxy + LAMP + Websocket in development
View docker-compose.yml
version: "3.8"
services:
reverse-proxy:
env_file:
- .env
container_name: Proxy-Server
image: jwilder/nginx-proxy:alpine
restart: always
volumes:
@arcanisgk
arcanisgk / docker-compose.yml
Created July 18, 2023 16:44
DNS+Revese Proxy+LAMP Stack
View docker-compose.yml
version: "3.9"
services:
dnsmasq:
env_file:
- .env
container_name: ${SYSTEM_NAME}-DNS-Server
image: jpillora/dnsmasq
ports:
@arcanisgk
arcanisgk / Session.php
Created January 17, 2023 17:08
Session.php
View Session.php
<?php
declare(strict_types=1);
namespace FrameWork\App;
use DataBase\UserAccount;
use Exception;
class Session
@arcanisgk
arcanisgk / quick_search.json
Created December 29, 2022 14:46
quick_search
View quick_search.json
This file has been truncated, but you can view the full file.
[["2511","Labrynth Cooclock","TAMA-EN020"],["10000","Ten Thousand Dragon","BLAR-EN10K"],["27551","Limit Reverse","LODT-EN063"],["27551","Limit Reverse","YS11-EN039"],["27551","Limit Reverse","YS12-EN037"],["27551","Limit Reverse","5DS2-EN037"],["32864","The 13th Grave","LOB-014"],["32864","The 13th Grave","LOB-E010"],["32864","The 13th Grave","LOB-EN014"],["35699","SPYRAL Sleeper","MACR-EN086"],["39015","Assault Sentinel","DANE-EN011"],["41546","D\/D Savant Thomas","MP17-EN065"],["41546","D\/D Savant Thomas","GFP2-EN078"],["41546","D\/D Savant Thomas","TDIL-EN010"],["41777","Gem-Enhancement","DT05-EN049"],["41777","Gem-Enhancement","HA05-EN029"],["44818","Starry Knight Orbitael","BODE-EN027"],["50755","Magician's Circle","CP04-EN011"],["50755","Magician's Circle","LCYW-EN100"],["50755","Magician's Circle","LDK2-ENY38"],["50755","Magician's Circle","LDS3-EN097"],["50755","Magician's Circle","SS01-ENA16"],["50755","Magician's Circle","SDSC-EN035"],["50755","Magician's Circle","SR08-EN039"],["50755","Magician's
View getfiles.ps1
$srcfile = "C:\Users\wnune\OneDrive\Escritorio\imagenes\cardlist.txt"
$urls = Get-Content $srcfile
$lines = 0
switch -File $srcfile { default { ++$lines } }
$i = 0
$urls |
ForEach-Object -Parallel {
try {
$url = $_
$filename = Split-Path $url -Leaf
@arcanisgk
arcanisgk / list.txt
Created December 24, 2022 04:35
list card image yu-gi-oh database
View list.txt
https://images.ygoprodeck.com/images/cards/34541863.jpg
https://images.ygoprodeck.com/images/cards/64163367.jpg
https://images.ygoprodeck.com/images/cards/91231901.jpg
https://images.ygoprodeck.com/images/cards/73262676.jpg
https://images.ygoprodeck.com/images/cards/37478723.jpg
https://images.ygoprodeck.com/images/cards/64867422.jpg
https://images.ygoprodeck.com/images/cards/90861137.jpg
https://images.ygoprodeck.com/images/cards/44256816.jpg
https://images.ygoprodeck.com/images/cards/86988864.jpg
https://images.ygoprodeck.com/images/cards/11714098.jpg
@arcanisgk
arcanisgk / structure.sql
Created December 22, 2022 16:44
structure.sql
View structure.sql
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Servidor: localhost
-- Tiempo de generación: 22-12-2022 a las 16:43:21
-- Versión del servidor: 8.0.30
-- Versión de PHP: 8.1.10
SET FOREIGN_KEY_CHECKS=0;
@arcanisgk
arcanisgk / array.php
Created December 14, 2022 21:27
result of json
View array.php
<?php
$array = [
'card_list' => [
0 => [
'name' => 'Effect Veiler',
'details' => ['some text', 'some text'],
'set' => [
'ETCO-EN100' => [
'release' => '2020-01-19',
@arcanisgk
arcanisgk / new method
Created December 2, 2022 21:29
new method
View method.php
<?php
class DataBaseManager
{
public function GetData($query, $user, $pass)
{
try {
$db_result = [];
$conn = new PDO("mysql:host=localhost;dbname=test", $user, $pass);
$conn->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);