This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| export LANG=C.UTF-8 | |
| export LC_ALL=C.UTF-8 | |
| usage() { | |
| cat <<'EOF' | |
| Usage: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| export LANG=C.UTF-8 | |
| export LC_ALL=C.UTF-8 | |
| usage() { | |
| cat <<'EOF' | |
| Usage: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package vn.luatvicca.website.web.controller.view; | |
| import static org.youngmonkeys.ezyplatform.constant.CommonConstants.VIEW_VARIABLE_PAGE_TITLE; | |
| import com.tvd12.ezyfox.collect.Lists; | |
| import com.tvd12.ezyfox.util.EzyMapBuilder; | |
| import com.tvd12.ezyhttp.server.core.annotation.DoGet; | |
| import com.tvd12.ezyhttp.server.core.view.View; | |
| public class HomeController { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2024-01-19 16:01:43.982 [qtp1071783182-87] WARN c.t.e.s.jetty.JettyBlockingServlet handle request uri: /login error | |
| java.lang.IllegalStateException: can not generate access token for admin id: 1 | |
| at org.youngmonkeys.ezyplatform.util.AccessTokens.generateAccessToken(AccessTokens.java:46) | |
| at org.youngmonkeys.ezyplatform.service.DefaultAdminAccessTokenService.generateAccessToken(DefaultAdminAccessTokenService.java:60) | |
| at org.youngmonkeys.ezyplatform.admin.service.AdminAdminService.newAdminAccessToken(AdminAdminService.java:508) | |
| at org.youngmonkeys.ezyplatform.admin.service.AdminAdminService.getOrCreateAccessTokenByAdminId(AdminAdminService.java:198) | |
| at org.youngmonkeys.ezyplatform.admin.controller.view.AdminAuthenticationController.doPost(AdminAuthenticationController.java:158) | |
| at AdminAuthenticationController$doPost$Handler$AutoImpl$71.handleRequest(AdminAuthenticationController$doPost$Handler$AutoImpl$71.java) | |
| at com.tvd12.ezyhttp.server.core.handler.AbstractRequestHandler.handle(AbstractRequestHandler. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CCTexture2D *Kgetinidata::findinidata_one(char *nFileName,int nFrameIndex,int *mCurwidth, int *mCurheight,int *mFrams,SPRFRAMSINFO *nSprInfo,int m_converType) | |
| { | |
| if (!nFileName || !nFileName[0]) | |
| return NULL; | |
| if (!strstr(nFileName,".spr")) | |
| return NULL; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import qrcode | |
| def generate_check_sum(text): | |
| crc = 0xFFFF # initial value | |
| polynomial = 0x1021 # 0001 0000 0010 0001 (0, 5, 12) | |
| bytes_ = text.encode("utf-8") | |
| for b in bytes_: | |
| for i in range(8): | |
| bit = ((b >> (7 - i) & 1) == 1) | |
| c15 = ((crc >> 15 & 1) == 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:mirrors'; | |
| class A { | |
| late String a; | |
| A clone() { | |
| var instance = reflect(this); | |
| var newInstance = reflect(this).type.newInstance( | |
| Symbol.empty, | |
| [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.tvd12.example; | |
| import java.util.Arrays; | |
| import lombok.AllArgsConstructor; | |
| public final class OcTreeExample { | |
| public static class OcTree { | |
| public final OcTreeNode root; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2022 youngmonkeys.org | |
| * | |
| * Licensed under the ezyplatform, Version 1.0.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * https://youngmonkeys.org/licenses/ezyplatform-1.0.0.txt | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Threading; | |
| using com.tvd12.ezyfoxserver.client.io; | |
| using com.tvd12.ezyfoxserver.client.evt; | |
| using com.tvd12.ezyfoxserver.client.request; | |
| using com.tvd12.ezyfoxserver.client.config; | |
| using com.tvd12.ezyfoxserver.client.setup; | |
| using com.tvd12.ezyfoxserver.client.handler; | |
| using com.tvd12.ezyfoxserver.client.constant; | |
| using com.tvd12.ezyfoxserver.client.entity; |
NewerOlder