✔ (U+2714) Heavy Check Mark
✘ (U+2718) Heavy Ballot X
[ | |
{ | |
"word": "Asshole", | |
"kana": "アスホール", | |
"meaning": "いやな奴(Ass=お尻、Hole=穴)", | |
"notice": "「うざい野郎」「ろくでなし」" | |
}, | |
{ | |
"word": "あばずれ", | |
"kana": "あばずれ", |
using UnityEngine; | |
using UnityEngine.SceneManagement; | |
public class GameManager : MonoBehaviour | |
{ | |
bool gameHasEnded = false; | |
public float restartDelay = 2f; | |
public void EndGame() | |
{ |
private void OnTriggerEnter(Collider other) | |
{ | |
if (other.gameObject.CompareTag("Player")) | |
{ | |
FindObjectOfType<GameManager>().EndGame(); | |
} | |
} |
void Clicked() | |
{ | |
var ray = Camera.main.ScreenPointToRay(Input.mousePosition); | |
if (Physics.Raycast(ray, out RaycastHit hit)) | |
{ | |
destination = hit.point; | |
} | |
} |
if (move.x > 0.01f) | |
//spriteRenderer.flipX = false; | |
transform.localScale = new Vector2(1, 1); | |
else if (move.x < -0.01f) | |
//spriteRenderer.flipX = true; | |
transform.localScale = new Vector2(-1, 1); |
from pathlib import Path | |
from hashlib import sha256 | |
datadir = Path('data') | |
def get_df_from_bq(sql: str, **opt): | |
hashed = sha256(sql.encode("utf-8")).hexdigest() | |
cache = datadir / "cache" | |
cache.mkdir(exist_ok=True) | |
fname = cache / f"{hashed}.csv" |
const axios = require('axios') | |
const decode = require('decode-html') | |
const CHANNEL = '#dev' | |
const ISSUE_REPO = 'foo/bar' | |
exports.otochan = (req, res) => { | |
console.log('Received request:', req.body) | |
// slack challenge | |
if (req.body.challenge) { |
✔ (U+2714) Heavy Check Mark
✘ (U+2718) Heavy Ballot X
import os | |
os.path.dirname(os.path.abspath(__file__)) |
realpath file.txt | |
#=> /data/real/path/to/file.txt |