This file contains 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
// Add this section as your color section in tailwind.config.js so that you can use the ionic defined colors, ex: 'bg-primary-default': | |
colors: { | |
primary: { | |
default: 'var(--ion-color-primary)', | |
shade: 'var(--ion-color-primary-shade)', | |
tint: 'var(--ion-color-primary-tint)', | |
}, | |
secondary: { | |
default: 'var(--ion-color-secondary)', | |
shade: 'var(--ion-color-secondary-shade)', |
This file contains 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
from pwn import * | |
import operator | |
r = remote('172.16.123.208', 1337) | |
a = r.readline_startswith('(').decode("utf-8") | |
first = int(a[1]) | |
oper = a[5] | |
second = int(a[9]) | |
ops = {"+": operator.add, "-": operator.sub, | |
'*': operator.mul, '/': operator.truediv} |