Skip to content

Instantly share code, notes, and snippets.

View hxgdzyuyi's full-sized avatar
😀
Happy

hxgdzyuyi

😀
Happy
View GitHub Profile
[
'version' => '0',
"id" => "65d68028-7fb5-2af4-1c07-1d08637c0be3",
"detail-type" => "Transcribe Job State Change",
"source" => "aws.transcribe",
"account" => "693032669800",
"time" => "2019-12-03T07:27:09Z",
"region" => "us-east-1",
"resources" => [],
"detail" => [
#!/bin/bash
LAST_MERGE_COMMIT=`git log --grep="Merge branch" -1 --pretty=format:"%h"`
HEAD_COMMIT=`git show HEAD --summary --pretty=format:"%h"`
git reset --hard ${LAST_MERGE_COMMIT}
git pull upstream master
git cherry-pick ${LAST_MERGE_COMMIT}...${HEAD_COMMIT}
@hxgdzyuyi
hxgdzyuyi / YoukuExtractor.php
Created October 10, 2017 01:23
app/Sns/VideoExtractor/YoukuExtractor.php
<?php
namespace App\Sns\VideoExtractor;
use GuzzleHttp\Cookie\CookieJar;
use Exception;
/**
* Example:
* url: http://v.youku.com/v_show/id_XMTc1ODE5Njcy.html
@hxgdzyuyi
hxgdzyuyi / BiliBiliExtractor.php
Created October 9, 2017 06:12
app/Sns/VideoExtractor/BiliBiliExtractor.php
<?php
namespace App\Sns\VideoExtractor;
use Exception;
use GuzzleHttp\Cookie\CookieJar;
/**
* Example:
* url: https://www.bilibili.com/video/av3643130/?from=search&seid=12348617167729948450
@hxgdzyuyi
hxgdzyuyi / steam-calculator.js
Last active April 13, 2017 15:53
steam-calculator , 获取 steam 消费总金额
/**
* 获取 steam 消费总金额
* 打开 https://store.steampowered.com/account/history/ 贴入 console 运行
* XXX: 不支持卡片交易之类生成的金额,且当前显示金额为人民币
* 截止 2017/4/13 日,消费约 3526.44 元
*/
var total = 0
, USD_EXCHANGE_RATE = 6
<!DOCTYPE html>
<!--[if lt IE 7]><html class="ie6 lt-ie11 lt-ie10 lt-ie9 lt-ie8 lt-ie7 is-ie" lang="en"> <![endif]-->
<!--[if IE 7]><html class="ie7 lt-ie11 lt-ie10 lt-ie9 lt-ie8 is-ie" lang="en"> <![endif]-->
<!--[if IE 8]><html class="ie8 lt-ie11 lt-ie10 lt-ie9 is-ie" lang="en"> <![endif]-->
<!--[if IE 9]><html class="ie9 lt-ie11 lt-ie10 is-ie" lang="en"> <![endif]-->
<!--[if IE 10]><html class="ie10 lt-ie11 is-ie" lang="en"> <![endif]-->
<!--[if gt IE 10]><!--> <html lang="en"> <!--<![endif]-->
</html>
@hxgdzyuyi
hxgdzyuyi / gist:ecc4e30ca09f3fa8ea49
Created December 14, 2015 08:05
奇妙人生单词表
abilities
n.能力,才干
abort
vi.异常中断,中途失败,夭折,流产,发育不全 n.中止计划[任务]
abs
anti-skid brake system,防滑煞车系统;Auto Balance System,自动平衡系统
abstinence
n.节制,节欲,戒酒
academy
n.(高等)专科院校,研究院,学会,学术团体,学院
define(function() {
if (Date.prototype.toISOString) {
return function() {
return (new Date()).toISOString()
}
}
// modify from http://stackoverflow.com/a/8563517
function pad(number) {
var r = String(number)
ag "_\.\w+" -o --nofilename --nobreak | sort | uniq -c | sort -r | pbcopy

一般5厘米的 145克左右制作一个


一组胶是2个不同成分的液体 他们使用前 按正确比例搅拌均匀在一起就反应,才能慢慢凝固的 d-3滴胶。如果有电子秤就用重量比30克+10克, 如果是按体积比混合是体积比A25毫升:B10毫升配好,比例要准确误差不能大于10%,搅拌均匀,搅拌的时候一定注意搅拌均匀了,容器四周,底部都要搅拌到,搅拌到树脂全部彻底变清澈就可以了。搅拌好倒入模具容器内,用保鲜膜或者盒子把容器盖好,与外界空气隔绝,这样可以防止灰尘和湿气对胶水表面的影响。然后等待固化就可以了。

确保搅拌均匀最好这样使用 --如果在一个杯子里面搅拌,容易出现这样的问题 杯子底部的 不好搅拌到的。浇注到后期浇注在产品表面就不好的了。