choco install ffmpeg
choco install inkscape
choco install cpu-z
choco install speccy
choco install mpc-hc
choco install googleearth
choco install winmerge
choco install vim
choco install procexp
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
\-[0000:00]-+-00.0 Intel Corporation Xeon E5/Core i7 DMI2 | |
+-01.0-[03]-- | |
+-02.0-[05]--+-00.0 NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] | |
| \-00.1 NVIDIA Corporation Device 10f1 | |
+-03.0-[04]-- | |
+-05.0 Intel Corporation Xeon E5/Core i7 Address Map, VTd_Misc, System Management | |
+-05.2 Intel Corporation Xeon E5/Core i7 Control Status and Global Errors | |
+-05.4 Intel Corporation Xeon E5/Core i7 I/O APIC | |
+-11.0-[02]----00.0 Intel Corporation C602 chipset 4-Port SATA Storage Control Unit | |
+-16.0 Intel Corporation C600/X79 series chipset MEI Controller #1 |
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
$ repo init -u git://github.com/CyanogenMod/android.git -b cm-14.1 | |
$ time repo sync | |
Checking out files: 100% (11758/11758), done. files: 36% (4277/11758) | |
Checking out files: 100% (11670/11670), done.t files: 10% (1201/11670) | |
Checking out files: 100% (8423/8423), done.out files: 33% (2848/8423) | |
Checking out files: 100% (1411/1411), done.out files: 6% (87/1411) | |
Checking out files: 100% (19766/19766), done.ut files: 35% (6940/19766) | |
Checking out files: 100% (4953/4953), done. out files: 46% (2324/4953) |
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
import serial, time | |
import sys | |
import threading | |
# initialization and open the port | |
# possible timeout values: | |
# 1. None: wait forever, block call | |
# 2. 0: non-blocking mode, return immediately | |
# 3. x, x is bigger than 0, float allowed, timeout block call |
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
#!/bin/bash -f | |
# full_url=$1 | |
# echo $full_url | |
# t="https://github.com/facebook/stetho/tree/master/stetho-sample" | |
IFS='/' read -ra url <<< $1 | |
full_url=($url) | |
repo_name=${full_url[3]} | |
repo_base=${full_url[2]}"/"${full_url[3]} | |
branch=${full_url[5]} |
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
#!/bin/bash -f | |
prepocesse() { | |
pdfinfo newbook.pdf | |
pdflatex pageNumbers.tex | |
pdftk newbook.pdf burst output tmps/file_%04d.pdf | |
pdftk pageNumbers.pdf burst output tmps/number_%04d.pdf | |
} | |
format() { |
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 python3 | |
from collections import defaultdict | |
import copy | |
def read(fd,t=int): | |
return t(fd.readline()) | |
def readlist(fd, t=int): |
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
/** | |
* Convert iframes to divs via ajax iframe_to_div jQuery Plugin | |
* | |
* Uses javascript to replace iframes with divs containing their source content | |
* by loading via ajax. If you use this to load vanilla html snippets, this has the | |
* effect of applying the page's css to your vanilla html snippet. | |
* | |
* This will not work if the iframe src is not a relative link due to ajax restrictions across domains. | |
* | |
* As an example: |