From | To | Expression |
---|
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
// ==UserScript== | |
// @name UOB PIB Anti Scam Modal Auto Clicking | |
// @namespace https://timonpeng.com/ | |
// @version 1.0 | |
// @description UOB Personal Internet Banking Anti Scam Modal Auto Clicking. | |
// @author Timon | |
// @match https://pib.uob.com.sg/PIBCust/1FA/processSubmit.do* | |
// @icon https://pib.uob.com.sg/favicon.ico | |
// @require none | |
// @grant none |
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
// ==UserScript== | |
// @name Solana Associated Token Account Flag | |
// @namespace http://tampermonkey.net/ | |
// @version 1.1 | |
// @description Show associated token account flag. | |
// @author Timon | |
// @match https://solscan.io/account/* | |
// @grant none | |
// @require https://cdn.bootcdn.net/ajax/libs/jquery/3.5.0/jquery.min.js | |
// @require https://unpkg.com/@solana/web3.js@latest/lib/index.iife.min.js |
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
function btoa(str) { | |
return Buffer.from(str).toString('base64'); | |
} | |
function atob(b64Encoded) { | |
return Buffer.from(b64Encoded, 'base64').toString(); | |
} | |
function decode(rawData) { | |
let t = rawData, |
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 main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"os" | |
"strings" | |
"github.com/NebulousLabs/Sia/modules" |
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
# coding: utf-8 | |
import json | |
from django import template | |
from django.utils.dateparse import parse_datetime | |
from django.utils.html import mark_safe | |
register = template.Library() |
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
/** | |
* 调用微信内置浏览器查看图片功能 | |
* current - 查看图片的 url | |
* urls - 查看图片 url 集合 | |
*/ | |
function imagePreview(current, urls) { | |
// 解析相对路径 | |
var anchor = document.createElement('a'); | |
function parseUrl(url) { |
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 hashlib as hasher | |
import datetime as date | |
# Define what a Snakecoin block is | |
class Block: | |
def __init__(self, index, timestamp, data, previous_hash): | |
self.index = index | |
self.timestamp = timestamp | |
self.data = data | |
self.previous_hash = previous_hash |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>STL File Viewer</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r68/three.min.js" | |
></script> | |
<script src="https://rawgit.com/mrdoob/three.js/master/examples/js/controls/TrackballControls.js" | |
></script> | |
<script src="loader.js"></script> |
NewerOlder