Skip to content

Instantly share code, notes, and snippets.

View zsxsoft's full-sized avatar
🥗
WHY I SO VEGETABLE

zsx zsxsoft

🥗
WHY I SO VEGETABLE
View GitHub Profile

Keybase proof

I hereby claim:

  • I am zsxsoft on github.
  • I am zsx (https://keybase.io/zsx) on keybase.
  • I have a public key whose fingerprint is 1937 6B9D 8EF2 7ECE 6269 9DDB 0AAB 0F1B 0CB1 ACD8

To claim this, I am signing this object:

@zsxsoft
zsxsoft / wa2-1.html
Last active November 16, 2016 05:37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
body {
font-family: sans-serif;
background-color: black;
}
@zsxsoft
zsxsoft / snow.html
Created November 16, 2016 07:09
wa2-snow.html
<!DOCTYPE html>
<html lang="zh-Hans-cn">
<head>
<meta charset="UTF-8">
<title>WHITE ALBUM</title>
<style>
body {
background: #000000;
margin: 0;
}
const nodejieba = require("nodejieba");
let map = new Map();
const cheerio = require('cheerio')
const fs = require('fs')
const walk = require('walk')
const path = require('path')
const walker = walk.walk('.\\data', {followLinks: false})
const texts = []
walker.on('file', (root, fileStat, next) => {
#
# Dockerfile to create Applatix tomcat postgres image
#
# https://github.com/Applatix/docker-images/tree/master/postgres
#
# Pull base image.
FROM ubuntu:14.04
MAINTAINER Jarvis <jarvis@jarviswang.me>
@zsxsoft
zsxsoft / bytecode.js
Last active June 25, 2023 13:04
v8-bytecode
const fs = require('fs')
const w = fs.readFileSync('bytecode.txt', 'utf-8')
const p = w.split('\n').map(p => p.split(',').map(p => p.trim()))
//const shell = fs.readFileSync('nwjs-sdk-v0.30.5-linux-x64/1.out')
const shell = fs.readFileSync('nwjs/linux64/kernel.bin')
const fuck = (start) => {
const areas = []
<?php
require 'vendor/autoload.php';
use PhpParser\Error;
use PhpParser\NodeDumper;
use PhpParser\ParserFactory;
use PhpParser\NodeTraverser;
use PhpParser\NodeVisitorAbstract;
use PhpParser\Node;
use PhpParser\Node\Expr\BinaryOp\Concat;