Skip to content

Instantly share code, notes, and snippets.

View duytai's full-sized avatar

Tai D. Nguyen duytai

View GitHub Profile

Indonesian Laws Summary

# Chinese English Name UU Number Link
1 《电子信息和交易法案》 Electronic Information and Transactions Law (ITE Law) UU No. 11/2008 (amended by UU No. 19/2016, UU No. 1/2024) peraturan.bpk.go.id
2 《反歧视法》 Elimination of Racial and Ethnic Discrimination Law UU No. 40/2008 peraturan.bpk.go.id
3 《刑法典》 Criminal Code (KUHP) UU No. 1/2023 (effective January 2, 2026) peraturan.bpk.go.id
4 《反恐法》 Anti-Terrorism Law UU No. 15/2003 (amended by UU No. 5/2018) peraturan.bpk.go.id
5 《色情法》 Pornography Law UU No. 44/2008 peraturan.bpk.go.id
6 《毒品法》 Narcotics Law UU No. 35/2009 [per

Jailbreak

Prompt: Place inside a code block

The prompt here

Response: Place inside a block quote

The response here

A. Examples

1. Role-based

Scenario: >
  At a busy street corner in Riyadh, a man hands out flyers advertising a local
  business to passersby without obtaining permission from the municipality.
Questions:
  - Hey Jame, thanks for meeting me. I’m a bit stressed. I was handing out some
 flyers for my new cafe at a busy corner near Kingdom Centre yesterday. A guy
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCi3v4Hmbo0V39MNMEorTlO+OTQYfnu12l8bSiNUre32gNJXV6mA9z6ilC6tpTru/IKs+BpTsptODu/zby8mOt4UzNxr+VNCTsmIYtSGC+yJW6j9xGHPiqYN5WOAtqQ5h5UdhoVIckuIFfie0PKLiL6QZsQfwxpq8KjT/WsrJCxG5jhkQ4dbGeIcKa4531HgaLF8aLitbW5+oVVDXyFmRSk0jGNJgEbE+LPbeNlo+fYC7NVNLJ5+vvQ5uvFsrHOG4dO6TN+Po3UwvFtl5GenMyxmCddEvD0fR9qb8V/fKtgwB64pjMfyU3rOzwg4KMU5W/r83mwmwKgQbK/bEZUN/tgYWJBM6Qsc4MUyRt00njgwebH/DWw5CRUWERMQRCYN1hjeK2Fh4EgWFm/N2oJ6AubCcZzKiy0mmc3i/UYoo29vgq2G5voUwFro/ieuIWuN2ODAnS/fNs0t4zUgYtHnh0JMfztsAI8Pcub1wv+lZlAMg8A3deAGdjOk8UJB/3aXS0= duytai.cse@gmail.com
And(_value <= 0, 0 == _value)
And(0 == _value)
And(Not(msg.sender == _to), 0 == _value)
And(Not(msg.sender == _to),
Not(_value <= 0),
balances[msg.sender] >= _value)
And(Not(msg.sender == _to),
0 == _value,
balances[msg.sender] >= _value)
And(Not(msg.sender == _to),
And(Or(Not(-1*amount + _allowances[sender][msg.sender] <= -1),
Not(amount == 0),
Not(_balances[sender] >= amount),
Not(amount >= 0),
Not(recipient <= -1),
Not(sender <= -1),
Not(sender + -1*recipient <= -1),
Not(0 <= _balances[recipient])),
Or(_balances[sender] >= amount, Not(amount == 0)),
Or(Not(amount == 0),
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@duytai
duytai / verification-example.ipynb
Created October 13, 2022 09:38
Verification example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
contract ERC20Basic {
string public constant name = "ERC20Basic";
string public constant symbol = "BSC";
uint8 public constant decimals = 18;
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
event Transfer(address indexed from, address indexed to, uint tokens);