I hereby claim:
- I am qingfeng on github.
- I am qingfeng (https://keybase.io/qingfeng) on keybase.
- I have a public key ASDbcOmSluiK1N-gXx5iyf6gzz0wF_zXT-XhiDyDLsKVTgo
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
""" | |
This script converts a given time (with optional date and timezone) into the equivalent time across multiple timezones. | |
Usage: | |
./wt "2024-02-23 12:00" "UTC" # Converts the specified UTC time to different timezones. | |
./wt "12:00" "Asia/Tokyo" # Converts the specified Tokyo time to different timezones. | |
./wt "2024-02-23" # Converts the start of the specified day in local timezone to different timezones. | |
./wt "12:00" # Converts the specified local time (no date) to different timezones. | |
./wt # Converts the current local time to different timezones. |
import processing.serial.*; | |
import ddf.minim.*; | |
import ddf.minim.analysis.*; | |
import cc.arduino.*; | |
class BeatListener implements AudioListener | |
{ | |
private BeatDetect beat; | |
private AudioPlayer source; | |
I hereby claim:
To claim this, I am signing this object:
import random | |
print('''Welcome to the Slot Machine Simulator | |
You'll start with $50. You'll be asked if you want to play. | |
Answer with yes/no. you can also use y/n | |
No case sensitivity in your answer. | |
For example you can answer with YEs, yEs, Y, nO, N. | |
To win you must get one of the following combinations: | |
BAR\tBAR\tBAR\t\tpays\t$250 | |
BELL\tBELL\tBELL/BAR\tpays\t$20 | |
PLUM\tPLUM\tPLUM/BAR\tpays\t$14 |
// | |
// H264VideoCompressor.m | |
// liveshare | |
// | |
// Created by Cleiton A Souza on 9/11/12. | |
// Copyright (c) 2012 __MyCompanyName__. All rights reserved. | |
// | |
#import "H264VideoCompressor.h" |
#!/usr/bin/env python | |
# | |
# Hi There! | |
# You may be wondering what this giant blob of binary data here is, you might | |
# even be worried that we're up to something nefarious (good for you for being | |
# paranoid!). This is a base64 encoding of a zip file, this zip file contains | |
# an entire copy of pip. | |
# | |
# Pip is a thing that installs packages, pip itself is a package that someone | |
# might want to install, especially if they're looking to run this get-pip.py |
hi
<script>alert('hi')</script> 1#!/usr/bin/python | |
import argparse | |
import cgi | |
import math | |
import os | |
import sys | |
from PIL import Image | |
import pybloomfilter # https://github.com/axiak/pybloomfiltermmap |
number = 42 | |
sqr = (x) -> x*x | |
x = sqr number | |
alert x |
class d(object): | |
def __init__(self,x,y): | |
self.x = x | |
self.y = y | |
def __call__(self, func): | |
def _(*args): | |
self.x *= 2 | |
self.y *= 2 | |
v = self.x+self.y+args[0] | |
return func(v) |