Skip to content

Instantly share code, notes, and snippets.

@DamianSuess
DamianSuess / SpecialFolderLocations.md
Last active May 6, 2024 07:53
C# Environment.SpecialFolder
@leafney
leafney / staticproxy.go
Last active May 6, 2024 07:53
golang下实现http代理请求
package main
/*
http代理测试
* [Mocking a HTTP access with http.Transport in Golang - oinume journal](http://oinume.hatenablog.com/entry/mocking-http-access-in-golang)
* [Go http访问使用代理](http://www.cnblogs.com/damir/archive/2012/05/06/2486663.html)
* [GO HTTP client客户端使用 - 海运的博客](https://www.haiyun.me/archives/1051.html)
* [Making Tor HTTP Requests with Go | DevDungeon](http://www.devdungeon.com/content/making-tor-http-requests-go)
@ZeroQI
ZeroQI / Synology recover.txt
Last active May 6, 2024 07:53
Synology Raid repair
Backup raid config
------------------
DiskStation> cd /etc/space
DiskStation> ls -lh
DiskStation> cat space_history_20130806_135258.xml
Corrupted system partition
--------------------------
DiskStation> cat /proc/mdstat
md0 : active raid1 sda1[0]
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 6, 2024 07:52
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active May 6, 2024 07:51
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized

Docker Hub 镜像加速器

国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。

Dockerized 实践 https://github.com/y0ngb1n/dockerized

配置加速地址

Ubuntu 16.04+、Debian 8+、CentOS 7+

@DomPizzie
DomPizzie / README-Template.md
Last active May 6, 2024 07:50
A simple README.md template

Project Title

Simple overview of use/purpose.

Description

An in-depth paragraph about your project and overview of use.

Getting Started

@Maryzlxyc0hkLor77vpenzo
Maryzlxyc0hkLor77vpenzo / free recharge colour prediction game👉color438.com
Created May 4, 2024 13:38
free recharge colour prediction game👉color438.com
free recharge colour prediction game👉color438.com
@monkeyphysics
monkeyphysics / App\Casts\Point.php
Last active May 6, 2024 07:47
Laravel MySQL Point Cast class
<?php
namespace App\Casts;
use Illuminate\Support\Facades\DB;
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
// todo: make it even better by implementing a Point class and working with that
class Point implements CastsAttributes
@lopspower
lopspower / README.md
Last active May 6, 2024 07:47
Material Animations

Material Animations

Android Arsenal

[Android Transition Framework][transition-framework] can be used for three main things:

  1. Animate activity layout content when transitioning from one activity to another.
  2. Animate shared elements (Hero views) in transitions between activities.
  3. Animate view changes within same activity.