Skip to content

Instantly share code, notes, and snippets.

View tioover's full-sized avatar

ACCOUNT MOVED tioover

View GitHub Profile
git config --global http.proxy 'socks5://127.0.0.1:1080'
git config --global https.proxy 'socks5://127.0.0.1:1080'
@tioover
tioover / yibasuo.sh
Created November 13, 2017 05:07
Telegram GIF Script
#!/bin/bash
ffmpeg -i $1 -c:v libx264 -crf 23 -pix_fmt yuv420p -preset veryslow -an output.mp4
13日下午,作为文物学家的安德经人介绍找到了侦探初耳,调查关于自己身上的一个奇怪的怀表的事情,尽管暂时没有什么结果,两人却越聊越投机。
安德, [31.07.17 19:07]
侦探你好,我叫安徳,是个文物学家
初耳, [31.07.17 19:08]
你好安德,我叫初耳,如你所见是个新手侦探,我能帮你做些什么?
@tioover
tioover / .stignore
Created September 26, 2017 17:54
Syncthing ignore pattern
.localized
desktop.ini
.DS_Store
Thumbs.db
*.photoslibrary

Keybase proof

I hereby claim:

  • I am tioover on github.
  • I am quanbrew (https://keybase.io/quanbrew) on keybase.
  • I have a public key ASC6Tp5ByN-VrMD-zYMdf9ckVVRVUrTWJXO7wT30C3LAlAo

To claim this, I am signing this object:

#!/usr/bin/env python3
'''
Simple Jekyll site manage script.
'''
import os
import sys
import datetime
# Settings
{-# OPTIONS_GHC -fno-warn-deprecated-flags #-}
{-# OPTIONS_GHC -fno-warn-tabs #-}
{-# LANGUAGE TypeOperators, DeriveFunctor, MultiParamTypeClasses, FlexibleInstances, FlexibleContexts, OverlappingInstances #-}
module ALaCarte where
-- Definitions
newtype Expr f = In (f (Expr f))
-- We define a separate data type for each constructor we want to use
-- then we can combine them together using the (:+:) operator to make
-- our data types à la carte.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFmhcHcBEADCA6Wau53LPkwS4GAu8XG7a80m0lzQDepld6bthDX2qTAJ9Vxj
q+rOsU/u0fY3nHQwwVOFgqQLeupybp7izSn3BMxBeIBb8uFy2a6H/mbvDXictmHH
Kganlov7RDcMjkObhVLyLKy5TdQGqSS21k9oT5WBI6ciJyYq+iC41DRIEOWD/Y8U
ZvmwpxqXz6gMf35qMZC7ZyG6c4sHX2jfzBSctFHxUklSOQ0m470N2wd9mbUyeP0W
wF5mUuvpx/uw/K0maszIxosGSe2PbsNcpgN5anB3sg++0kVfzK6bxGcqqhbFwO0D
Ecoz7IVUaJygQGJUI89bLeKlwsO/Fykik+GiXgtaP3NDvT6Fp4/dQo1U8tspe1V1
2XSuL186zin6otFV54EOJ5Bu+2dn2vbjurVI6OKDItKujVSGwe2sdIPnsZYPhqA3
z47XB+uk1zhYi3ByG6A2JaugOVfu3l1TzD18qcAJ1vn85KP6LhzQOl9pKlrth7ap
type StateFn = Fn(&mut Sprite, &mut Timer) -> Option<State>;
enum State {
...,
Func (Rc<Box<StateFn>>, Timer),
}