I hereby claim:
- I am tvc97 on github.
- I am tvc97 (https://keybase.io/tvc97) on keybase.
- I have a public key ASBk-acvdqD4twwBloE1sC0LUspbLAhFNVtCl4mSCDmfZAo
To claim this, I am signing this object:
var from = '2345-01-01'; | |
var to = '0'; | |
function getPageTotal(offset = 0) { | |
const req = new XMLHttpRequest(); | |
req.open( | |
'GET', | |
`https://food.grab.com/proxy/foodweb/v2/order/history?input.limit=100&input.offset=${offset}`, | |
false | |
); | |
req.send(); |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home | |
export ANDROID_HOME=/Users/cw/Library/Android/sdk | |
export PIP_HOME=/opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/bin | |
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$ANDROID_HOME/cmdline-tools/latest/bin | |
export PATH=$PATH:$PIP_HOME | |
export PATH="$PATH:$(yarn global bin)" | |
alias ios='yarn ios' |
function getPageTotal(offset = 0) { | |
req = new XMLHttpRequest(); | |
req.open( | |
'GET', | |
`https://shopee.vn/api/v4/order/get_all_order_and_checkout_list?limit=20&offset=${offset}`, | |
false | |
); | |
req.send(); | |
a = JSON.parse(req.responseText); | |
if (a.data.next_offset === -1) return 0; |
#!/usr/bin/env python3 | |
import os | |
import sys | |
from PIL import Image | |
from resizeimage import resizeimage | |
imagePath = '' | |
fileName = '' |
function SudokuSolver(){var r=[];function n(n,t,o){for(var u=0;u<9;u++){var i=9*(3*Math.floor(t/3)+Math.floor(u/3))+3*Math.floor(o/3)+u%3;if(n==r[9*t+u]||n==r[o+9*u]||n==r[i])return!1}return!0}this.solve=function(t,o){var u=(o=o||{}).result||"string";return r=t.split("").map(function(r){return isNaN(r)?0:+r}),81!==t.length?"Puzzle is not valid.":function t(o){if(o>=r.length)return!0;if(0!=r[o])return t(o+1);for(var u=1;u<=9;u++)if(n(u,Math.floor(o/9),o%9)&&(r[o]=u,t(o+1)))return!0;return r[o]=0,!1}(0)?"chunks"===u?function(r){for(var n=[],t=0;t<r.length;t+=9)n.push(r.slice(t,t+9));return n}(r):"array"===u?r:r.join(""):"No solution found."}} | |
async function solve() { | |
const numbers = [ | |
'M8.954 30V3.545h-.267c-.738.41-6.706 4.655-7.71 5.311V5.883c.635-.41 6.767-4.758 7.977-5.476h2.789V30h-2.79z', | |
'M.12 9.57C.16 4.462 4.057.791 9.41.791c5.209 0 9.187 3.568 9.187 8.224 0 3.076-1.415 5.475-6.275 10.664l-7.998 8.53v.247h15.012V31H.284v-1.969L10.62 17.854c4.122-4.43 5.168-6.193 5.168-8.736 0-3.302-2.81-5.865-6.4 |
n1 = Math.floor(Math.random() * 1000) | |
n2 = (n1 + 0xbfac) % 0xffff | |
n3 = n1 * n2 % 0xffff | |
n4 = (n1 + n3 + 0xeaba) % 0xffff | |
[n1, n2, n3, n4].map(t => ('0000' + (t.toString(16))).slice(-4)).join(' ') |
req = new XMLHttpRequest() | |
req.open('GET', 'https://tiki.vn/api/v2/me/orders?page=1&limit=5000', false) | |
req.send() | |
a = JSON.parse(req.responseText) | |
total = a.data.reduce((prev, next) => next.grand_total + prev, 0) | |
Intl.NumberFormat('vi-VN').format(total) |
I hereby claim:
To claim this, I am signing this object:
{ | |
"color_scheme": "Packages/Theme - One Dark/One Dark.tmTheme", | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"theme": "One Dark.sublime-theme", | |
"font_face": "Office Code Pro", | |
"line_padding_bottom": 1, | |
"line_padding_top": 1 |
{ | |
"editor.fontFamily": "Office Code Pro, Monaco, 'Courier New', monospace", | |
"editor.formatOnSave": true, | |
"editor.tabSize": 2, | |
"editor.fontWeight": "500", | |
"editor.fontSize": 12, | |
"editor.lineHeight": 22, | |
"workbench.colorTheme": "GitHub Light", | |
"git.autofetch": true, | |
"prettier.singleQuote": true, |