GithubHelp home page GithubHelp logo

cocothink / miscellaneous Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yunhailuo/miscellaneous

0.0 0.0 0.0 14 MB

A collection of personal learning materials and projects

License: MIT License

JavaScript 25.54% C 17.46% CSS 2.28% Cuda 22.01% HTML 4.08% Jupyter Notebook 28.64%

miscellaneous's Introduction

Random Study Notes

This repository has a bunch of problems which I've been (weirdly) obsessed about. Upon digging into and solving (at least partially) them, I've also learned things (useful or not). Here it is, a collection of my study notes!

Contents

Toggle Format JSON: This is a chrome extension for getting JSON object of a ENCODE portal page.

  • This extension can be activated by clicking the icon in toolbar or by keyboard shortcut "Ctrl+Shift+Y".
  • This extension only works on ENCODE website (*.encodeproject.org or *.encodedcc.org).
  • If the page is a plain (rendered) page, this extension will try to open the corresponding JSON page by appending one parameter "format=json" to the url.
  • If the page is a JSON page, this extension will try to open the corresponding rendered page by removing "format=json" in the url.
  • The new page will be opened in the same tab.

关于破解《伊岚翠》的字体乱码加密: Solve the Mojibake problem in a chm file.

  • Unpack encrypted font file from chm;
  • Perl decompress eot file to ttf font;
  • Checkout cmap in ttf file (open source format);
  • 1 encrypted code -> 1 character in word with encrypted font (Alt+X) -> 1 character in pdf -> 1 OCR Unicode character -> 1 Unicode
  • VBA decrypt in MS Word

浅谈pdf乱码: Solve the Mojibake problem in a pdf file.

  • pdf digital structure
  • pdf logical structure (with pdftk)
  • pdf decode process, from CID to GID
  • ToUnicode map

swf-pdf-doc88

  • Handle binary file in python
  • zlib decompression in python
  • swf header structure

Windows-10-wifi-auto-logon

  • NCSI and its log in Windows Vista and above
  • Windows event filter in XML format
  • Task scheduler in Windows 10
  • NetworkProfile log
  • Connect wifi in Windows cmd

Human-Resource-Machine

  • Implementing basic algorithms with assembly language
  • Optimization of assembly language

Fix for using juicer HiCCUPS tool with glibc 2.12

  • Come to this problem when trying to use juicer HiCCUPS tool on school's cluster, which has GNU libc at version 2.12. The following error

    java.lang.UnsatisfiedLinkError: /tmp/libJCudaRuntime-0.8.0-linux-x86_64.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/libJCudaRuntime-0.8.0-linux-x86_64.so)
    

    pops up, similar to the this closed issue. The problem is solved with the following steps:

    1. Extract jcuda native libraries build with glib 2.12 from this zip file and put it under desired path (for example, /path/to/jcuda)
    2. Use the HiCCUPS with jcuda native libraries above specified by -D option. Pre-load module and library if needed. For example,
      ml cuda/8.0
      export LD_PRELOAD=/usr/lib64/nvidia/libcuda.so.1
      java -Djava.library.path=/path/to/jcuda/lib64/ -jar /path/to/juicer_tools.1.7.6_jcuda.0.8.jar hiccups local/folder/HIC006.hic local/folder/hiccups_results

tinc VPN

  • Setup on tinc VPN node on cloud (Ubuntu 18.04 as server) and another node locally (Ubuntu 18.04 as client)
  • Change firewall as needed with VPN start up and tear down
  • Redirect all network traffic on client to server

miscellaneous's People

Contributors

yunhailuo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.