Skip to content

Instantly share code, notes, and snippets.

View vkhansen's full-sized avatar
💥
Boom

vkhansen

💥
Boom
  • undisclosed
View GitHub Profile
@vkhansen
vkhansen / HOWTO-LINE-CREDENTIALS-FOR-DAILY-BLAST.md
Created April 30, 2026 15:24
How to grab LINE Messaging API credentials (Channel Secret, Access Token, Group ID) for the daily top-10 blast — non-technical walkthrough

How to grab LINE credentials for the daily top-10 blast

Audience: a non-technical person (e.g. Shon) who owns the LINE Official Account and just needs to copy three values out of the LINE Developers Console and send them to the dev team.

You will collect 3 things:

  1. Channel Secret — short string, looks like a1b2c3d4...
  2. Channel Access Token (long-lived) — long string, ~170 chars
asyncio-0.15.1
collected 16 items
tests\cmds\test_cdv.py ... [ 18%]
tests\cmds\test_clsp.py ..... [ 50%]
tests\cmds\test_inspect.py F..FF... [100%]
=========================================================================================================== FAILURES ===========================================================================================================
_______________________________________________________________________________________
@vkhansen
vkhansen / gist:e1474c1110c2c27c974139057163f57a
Created June 24, 2021 07:56
Console log output windows 10 mark
app-d50d0de9107b0a1eb7f3.js:2 Object
d @ app-d50d0de9107b0a1eb7f3.js:2
/cdn/cdn.mybrikl.com/73ba065c-eef5-431a-9aa9-2eaaaa8d3306/product/70552fc0-534e-434e-9a32-220362bde6c0/8/PrintPattern_Design-template.jpg:1 Failed to load resource: the server responded with a status of 403 ()
app-d50d0de9107b0a1eb7f3.js:2 mtl-loading-manager: https://custom.str8sports.com/cdn/cdn.mybrikl.com/73ba065c-eef5-431a-9aa9-2eaaaa8d3306/product/70552fc0-534e-434e-9a32-220362bde6c0/8/PrintPattern_Design-template.jpg
s.onError @ app-d50d0de9107b0a1eb7f3.js:2
app-d50d0de9107b0a1eb7f3.js:2 mtl-loading-manager: https://custom.str8sports.com/cdn/cdn.mybrikl.com/73ba065c-eef5-431a-9aa9-2eaaaa8d3306/product/70552fc0-534e-434e-9a32-220362bde6c0/8/PrintPattern_Design-template.jpg
s.onError @ app-d50d0de9107b0a1eb7f3.js:2
app-d50d0de9107b0a1eb7f3.js:2 mtl-loading-manager: https://custom.str8sports.com/cdn/cdn.mybrikl.com/73ba065c-eef5-431a-9aa9-2eaaaa8d3306/product/70552fc0-534e-434e-9a32-220362bde6c0/8/PrintPattern_Design-template.jpg
s.
@vkhansen
vkhansen / gist:695a4c83355cb1f82b1f660cf34eb872
Created June 14, 2021 06:29
Error message BRIKLSTUDI-216
1 of 1 unhandled error
Unhandled Runtime Error
Error: Response not successful: Received status code 400
Call Stack
new ApolloError
../../node_modules/@apollo/client/errors/index.js (26:0)
Object.error
{
"errors": [
{
"message": "Variable \"$input\" got invalid value { text: [[Object]] } at \"input.zones[3].title\"; Field id of required type ID! was not provided.",
"locations": [
{
"line": 1,
"column": 65
}
],
{
"id": "752fecb3-ce27-4847-b0d7-0a4182338c2c",
"productId": "83e5a9ad-5888-4dec-8502-958248d0a614",
"input": {
"sizeTemplateFilesSrc": [],
"colors": null,
"type": "COLORZONE",
"zones": [
{
"sortOrder": null,
@vkhansen
vkhansen / gist:ceac0b449e8bf5122f376932089d81d8
Created June 7, 2021 15:50
Console log from chromebook on Hexa
d @ app-a7c11bada6a4ce633473.js:2
api.mybrikl.com/graphql?lang=en_US&cur=USD&country=US:1 Failed to load resource: the server responded with a status of 400 ()
app-a7c11bada6a4ce633473.js:2 [GraphQL error]: Message: Variable "$id" of required type "ID!" was not provided., Location: [object Object], Path: undefined
(anonymous) @ app-a7c11bada6a4ce633473.js:2
app-a7c11bada6a4ce633473.js:2 [Network error]: ServerError: Response not successful: Received status code 400
(anonymous) @ app-a7c11bada6a4ce633473.js:2
2app-a7c11bada6a4ce633473.js:2 Uncaught (in promise) Error: Response not successful: Received status code 400
at new t (app-a7c11bada6a4ce633473.js:2)
at app-a7c11bada6a4ce633473.js:2
at app-a7c11bada6a4ce633473.js:2
@vkhansen
vkhansen / gist:5daf032e2befc56af07827bd3dc8ec55
Created April 19, 2021 10:22
query getProductDesign($shopId: ID!, $id: ID!, $ownedByOrganisationId: ID!) {
query getProductDesign($shopId: ID!, $id: ID!, $ownedByOrganisationId: ID!) {
user {
...designQueryUser
__typename
}
shopConfiguration(id: $shopId) {
...designQueryShop
__typename
}
getProductDesign(id: $id, ownedByOrganisationId: $ownedByOrganisationId) {
@vkhansen
vkhansen / gist:089157f13f64f10850937eb721ea2875
Created April 19, 2021 10:20
GraphQLError: Variable "$input" got invalid value {} at "input.designPlaceholderGroups[2].productCustomizationO...
{
"data": {
"user": {
"id": "Gzffw_rrX",
"email": "N/A",
"firstName": null,
"lastName": null,
"numberOfSessions": null,
"__typename": "User"
},
@vkhansen
vkhansen / gist:cc8129ed8380dcac015079214f20eb39
Created April 2, 2021 10:52
query GetProductPersonalization
query GetProductPersonalization($productId: ID!) {
product(id: $productId) {
...ProductPersonalizationFields
__typename
}
}
fragment ProductPersonalizationFields on Product {
id
no