This file contains hidden or 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
if ! has nix_direnv_version || ! nix_direnv_version 2.2.1; then | |
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.2.1/direnvrc" "sha256-zelF0vLbEl5uaqrfIzbgNzJWGmLzCmYAkInj/LNxvKs=" | |
fi | |
watch_file flake.nix | |
watch_file flake.lock | |
watch_file python.nix | |
watch_file rust.nix | |
This file contains hidden or 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
*.img | |
*.qcow2 | |
result | |
.vscode | |
uboot | |
image |
This file contains hidden or 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
{ | |
description = "A devShell for rCore"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
# nixpkgs-qemu7.url = "https://github.com/NixOS/nixpkgs/archive/7cf5ccf1cdb2ba5f08f0ac29fc3d04b0b59a07e4.tar.gz"; | |
rust-overlay.url = "github:oxalica/rust-overlay"; | |
flake-utils.url = "github:numtide/flake-utils"; | |
}; |
This file contains hidden or 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
// ==UserScript== | |
// @name 知乎防火星 | |
// @version 1 | |
// @grant none | |
// @include /^https?://www\.zhihu\.com/.*$/ | |
// ==/UserScript== | |
const WARNING_HTML = (x)=>`<div class="QuestionStatus"><div class="QuestionStatus-bar"><div class="QuestionStatus-bar-inner" style="background-color:red;"><strong>这个问题是${x}前提问的!</strong><em>提问内容可能已过时或不适用于当下</em><div class="ztext" style="color:white;">转发时请注意自己别火星了</div></div></div><div><span style="position: absolute; top: -10000px; left: -10000px;" role="log" aria-live="assertive"></span></div><div><span style="position: absolute; top: -10000px; left: -10000px;" role="log" aria-live="assertive"></span></div></div>` | |
function createWarningTag(tag){ |
This file contains hidden or 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
FROM ubuntu:16.04 | |
RUN dpkg --add-architecture i386 | |
RUN apt-get update | |
RUN apt-get -y install openjdk-8-jdk git-core gnupg flex bison gperf \ | |
build-essential zip curl zlib1g-dev libc6-dev-i386 lib32ncurses5-dev \ | |
x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils \ | |
xsltproc unzip lib32z1-dev qemu g++-multilib gcc-multilib python3-paramiko \ | |
python-paramiko python-jenkins python-requests python-xlwt libglib2.0-dev \ | |
libpixman-1-dev linux-libc-dev:i386 | |
RUN apt-get -y install gcc-5-aarch64-linux-gnu g++-5-aarch64-linux-gnu |
This file contains hidden or 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
#!/usr/bin/env node | |
var net=require('net'); | |
var HOST='127.0.0.1'; | |
var PORT=18089; | |
var WEBSOCKET_ADDR='https://spigotwsbridge-gjz010no1.rhcloud.com/'; | |
var localserver=net.createServer(function(sock){ | |
console.log('CONNECTED: ' + | |
sock.remoteAddress + ':' + sock.remotePort); | |
var ws=require('socket.io-client')(WEBSOCKET_ADDR); | |
ws.on('connect', function(){}); |
This file contains hidden or 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
var NOTES=[]; //留空 | |
/** | |
曲谱格式 | |
绝对时间|类型 | |
b r bg rg l(长鼓,不予实现)f(拨浪鼓,不予实现)bl(气球,不予实现) | |
*/ | |
/** | |
BiliTaiko v0.1 | |
弹幕太鼓 通用代码 | |
by gjz010 |
This file contains hidden or 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
from Tkinter import * | |
root=Tk() | |
root.title("QQ GroupRobo") | |
root.mainloop() |
This file contains hidden or 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
puts "GRGSS Script!" |
This file contains hidden or 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
Minecraft has crashed! | |
---------------------- | |
Minecraft has stopped running because it encountered a problem; Unexpected error | |
A full error report has been saved to /home/gjz010/.minecraft/crash-reports/crash-2013-05-04_16.00.47-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash :( | |
NewerOlder