# set http proxy
export http_proxy=http://PROXYHOST:PROXYPORT
# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@PROXYHOST:PROXYPORT
# set http proxy with user and password (with special characters)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Xorg Config for an Integrated AMD / ATI Radeon HD 4200 on a MSI 785GTM-E45 | |
# | |
# | |
# Use special reduced timings for 1080p HDMI output as it gets rid of screen | |
# corruption on the Radeon 4200 HD (Win7 never had problems with same cabling). | |
# | |
# Other symptoms included skipping audio and periodic screen corruption in XBMC | |
# as well as general use. | |
# |
- 格式:名次 - 年份 - 综合评分 - 动画名
- 001 - 2008 - 8.9089 - CLANNAD ~AFTER STORY~
- 002 - 2011 - 8.8047 - 命运石之门
- 003 - 2004 - 8.7473 - 攻壳机动队 S.A.C. 2nd GIG
- 004 - 1988 - 8.7403 - 银河英雄传说
- 005 - 2009 - 8.7248 - 钢之炼金术师 FULLMETAL ALCHEMIST
- 006 - 1998 - 8.7043 - 星际牛仔
- 007 - 2002 - 8.6977 - 攻壳机动队 STAND ALONE COMPLEX
- 008 - 2010 - 8.6306 - 凉宫春日的消失
- 009 - 2011 - 8.6093 - 银魂'
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Script to Initialize my custom powershell setup. | |
.DESCRIPTION | |
Script uses scoop | |
.NOTES | |
**NOTE** Will configure the Execution Policy for the "CurrentUser" to Unrestricted. | |
Author: Mike Pruett | |
Date: October 18th, 2018 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://levelup.gitconnected.com/how-to-load-external-javascript-files-from-the-browser-console-8eb97f7db778 | |
const sleep = (ms) => new Promise((r) => setTimeout(r, ms)) | |
const randint = (max) => Math.floor(Math.random() * max) | |
async function getDiscoveryData() { | |
const resp = await fetch( | |
'https://www.pixiv.net/ajax/discovery/artworks?mode=all&limit=100&lang=zh', | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#先读我! | |
#$HdiffFilePath 为 升级包 完整路径 | |
#$GamePath 为 游戏完整路径(非启动器路径) | |
#$ToolPath 为 hpatchz.exe 完整路径(如果有官方启动器就填写启动器完整路径,如果没有去该地址下载:https://github.com/sisong/HDiffPatch/releases) | |
param($HdiffFilePath="H:\GameSetup\setup\Genshine Impact\game_2.8.52_2.8.53_hdiff_tODgBJm8uenIGUX5.zip",$GamePath="H:\Games\Genshin Impact\Genshin Impact game") | |
$ToolPath = 'G:\ProgramFiles\hdiffpatch_v4.1.3' | |
$github = "https://gist.github.com/LiuQixuan/1a3810046c1152808fc9d65c699f8d8d" | |
$host.ui.RawUI.WindowTitle = "Install game_hdiff.zip for GenshinImpact" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package emu.grasscutter.net.packet; | |
import java.util.HashSet; | |
public class PacketOpcodes { | |
// Empty | |
public static final int NONE = 0; | |
// Opcodes | |
public static final int AbilityChangeNotify = 1155; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Text; | |
using System.Threading.Tasks; | |
/// <summary> | |
/// Process helper with asynchronous interface | |
/// - Based on https://gist.github.com/georg-jung/3a8703946075d56423e418ea76212745 | |
/// - And on https://stackoverflow.com/questions/470256/process-waitforexit-asynchronously | |
/// </summary> |