Skip to content

Instantly share code, notes, and snippets.

View adpe's full-sized avatar

Adrian Perez adpe

View GitHub Profile
@adpe
adpe / README.md
Created March 19, 2022 14:05 — forked from Informatic/README.md
openlgtv webOS hacking notes

This is just a dump of some interesting undocumented features of webOS (3.8 specifically, on early 2018 4k LG TV) and other development-related tips.

Homebrew app ideas

@adpe
adpe / ExampleToken.sol
Last active March 1, 2021 17:07
BLO, Blockchain (CAS), Smart-Contract Example
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.8.0;
contract Token {
// An `address` is comparable to an email address - it's used to identify an account on Ethereum.
// Addresses can represent a smart contract or an external (user) accounts.
address private _owner;
// Limit number of tokens.
@adpe
adpe / apxtoken.sol
Last active February 18, 2021 22:03
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.26+commit.4563c3fc.js&optimize=false&runs=200&gist=
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : APX
// Name : adpe Token
// Total supply : 1000
// Decimals : 0
// Owner Account : 0x4D718d9Af3F883A0ba89a3066A244cabC8798B21
@adpe
adpe / .gitlab-ci.yml
Last active September 3, 2025 23:18
Moodle plugin .gitlab-ci.yml example
image: moodlehq/moodle-php-apache:7.4
services:
- mysql:5.7
- name: selenium/standalone-chrome:3
alias: selenium-standalone-chrome
variables:
DB: "mysqli"
MYSQL_ALLOW_EMPTY_PASSWORD: "true"