Skip to content

Instantly share code, notes, and snippets.

@bob1113
bob1113 / private_fork.md
Created October 17, 2024 12:10 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@bob1113
bob1113 / CONSOLAS.md
Created November 29, 2023 03:24 — forked from nmcc/CONSOLAS.md
Install Consolas font on Mac

Download and install the font

  1. Download the Consolas font from http://www.fontpalace.com/font-details/Consolas/
  2. Open Finder and navigate to Downloads directory
  3. Double click the Consolas.ttf file
  4. A dialog box appears displaying the details about the font
  5. Click Install font button

Using Consolas font on IntelliJ IDEA:

  1. Open IDEA Preferences Window (Press Command + ,)
  2. Editor > Colors & Fonts > Font
@bob1113
bob1113 / Delegate_test.sol
Created November 3, 2023 08:21
DeFi HW3 Problem 3
pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
contract Interaction {
address public sw = 0x5008C5a0167462D2DBE3c90A5f65309aBdCE9EAb;
bytes32 public _s = 0x0000000000000000000000015008c5a0167462d2dbe3c90a5f65309abdce9eab;
function doResolve(address _delegationAddr) public {
@bob1113
bob1113 / kms
Created May 9, 2023 06:20 — forked from Twolk/kms
KMS server Windows
Online kms host address:
--------
kms.digiboy.ir
54.223.212.31
kms.cnlic.com
kms.chinancce.com
kms.ddns.net
franklv.ddns.net
k.zpale.com
m.zpale.com
@bob1113
bob1113 / KMS Server
Created April 17, 2023 05:26 — forked from anxgang/KMS Server
建 KMS Server 及 啟用方式
[Server端] 使用 Docker 建立 kms 驗證服務
$ docker run -itd -p 1688:1688 --name kms luodaoyi/kms-server
# 開機啟動 可補上
$ docker update --restart unless-stopped kms
[Client端] 建立 bat 執行檔驗證
xxx.bat
------------------------------
@bob1113
bob1113 / index.js
Created December 22, 2022 02:48 — forked from edokeh/index.js
佛祖保佑,永无 BUG
//
// _oo0oo_
// o8888888o
// 88" . "88
// (| -_- |)
// 0\ = /0
// ___/`---'\___
// .' \\| |// '.
// / \\||| : |||// \
// / _||||| -:- |||||- \