Skip to main content

8 posts tagged with "english"

View All Tags

Synchron combo - Yu-Gi-Oh Master Duel

· 5 min read
Doko
Writer

dama

Recently I got back into Yu-Gi-Oh, a popular card game that I used to play when I was a teenager. Synchron is one of my favorite decks, along with Cyber Dragon and Madolche.

This post is where I note down my regular combo with Synchron deck (after Dawn of Majesty booster pack).

Solidity self-notes

· One min read
Doko
Writer

Trong solidity, các hàm trong interface luôn phải có từ khoá external:

// SPDX-License-Identifier: Apache-2.0
pragma solidity 0.8.4;

import "./Library.sol";

interface IAccountVault {
function deposit(address account, uint256 amount) external;

function withdraw(address account, uint256 amount) external;
}

cũng có thể có thêm view:

function deposit(address account, uint256 amount) external;

nhưng không có internal:

// Sẽ bị compiler báo lỗi
function deposit(address account, uint256 amount) internal;

Games that are cleared from my backlog (so far) in 2011

· One min read
Doko
Writer

The list short, but decent, by my standard:

  • The Evil Within (Bethesda)
  • The Evil Within (Bethesda)
  • Dead Space (EA)
  • Utawarerumono Prelude to the Fallen (Aquaplus)
  • Gears 5 (Microsoft)
  • Age of Empires (Microsoft)
  • Metro 2033 Redux (4A)
  • Resident Evil 3 Remake (Capcom)
  • Dishonored (yes, the first one), feelsbadman
  • Yakuza 0

Aizawa Hikaru Wallpaper Collection

· One min read
Doko
Administrator

Aizawa Hikaru wallpaper collection

Took you long enough?

J/K.

For years I have been collecting wallpapers, not occasionally though. And Aizawa Hikaru collection is one of my favorites.

Aizawa Hikaru is one of Microsoft's official mascots. She is the representative of (now-deprecated) Silverlight and Azure in Taiwan and Singapore.

You can preview and download them here. I don't think I missed anything, but if I do, feel free to contact me.

Kill the Terminal and disable its session restoration

· 2 min read
Doko
Writer

The problem

When developing apps using React Native, I realized that every time the packager opens, it will spawn a new process of Terminal (Mac OS built-in shell app). This behavior is not too complicated to deal with if you are only using in local development. Right click > Quit and everything will be done.

But with CI / CD, it's another story.

Disable MDM on Mac OS Big Sur

· One min read
Doko
Writer

There are several ways to disable MDM on Mac OS. If you don't know what they are, you can do a quick search on Google.

Anyway this is what needed to be done: Edit hosts file:

sudo nano /private/etc/hosts

(You might be asked for your password)

Then append these lines:

0.0.0.0 iprofiles.apple.com // [!code ++]
0.0.0.0 mdmenrollment.apple.com
0.0.0.0 deviceenrollment.apple.com
0.0.0.0 gdmf.apple.com

And DO NOT append this line:

0.0.0.0 albert.apple.com

Rust + GTK on Windows - Getting Started

· 4 min read
Doko
Writer

rust-gtk

Okay, if you are reading this, you may (probably) have been searching for something like "rust gtk getting started" on Google. Most of them points to another awesome guides such as here.

Rust is an interesting language and I decided to get along with it (after years of working with JavaScript, Java and Dart). I decided to give it a try with desktop UI development, but bumped into toolchain obstacles.