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
| cd ~/.emacs.d/elpa | |
| /Applications/Emacs.app/Contents/MacOS/Emacs *(/P:-L:) -q -batch --eval '(progn (load "package") (setq byte-compile-verbose t) (batch-byte-recompile-directory 0))' |
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
| mingw-w64-i686-binutils mingw-w64-i686-crt-git mingw-w64-i686-gcc mingw-w64-i686-gcc-libs mingw-w64-i686-gdb mingw-w64-i686-headers-git mingw-w64-i686-libmangle-git mingw-w64-i686-libwinpthread-git mingw-w64-i686-make mingw-w64-i686-pkg-config mingw-w64-i686-tools-git mingw-w64-i686-winpthreads-git mingw-w64-i686-winstorecompat-git \ | |
| mingw-w64-x86_64-binutils mingw-w64-x86_64-crt-git mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-gdb mingw-w64-x86_64-headers-git mingw-w64-x86_64-libmangle-git mingw-w64-x86_64-libwinpthread-git mingw-w64-x86_64-make mingw-w64-x86_64-pkg-config mingw-w64-x86_64-tools-git mingw-w64-x86_64-winpthreads-git mingw-w64-x86_64-winstorecompat-git | |
| http://text.baldanders.info/remark/2016/03/gcc-msys2-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
| FROM continuumio/miniconda3 | |
| RUN conda upgrade -y pip && conda install -y opencv && pip install chainer opencv-python pillow |
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
| #![crate_type = "dylib"] | |
| // rustc hello.rs -C prefer-dynamic | |
| #[no_mangle] | |
| pub extern fn repeat_hello(s:i32) { | |
| for _ in 0..s { | |
| println!("Hello"); | |
| } | |
| } |
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
| javascript:void(document.getElementsByTagName("body")[0].innerHTML=document.getElementsByTagName("body")[0].innerHTML.replace(/\\(u[0-9a-fA-F]{4})/g,function(w,r){return unescape("%"+r)})); |
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
| http://j.mp/2dbIrHS | |
| git push origin refs/remotes/upstream/*:refs/heads/* |
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
| sudo dnsmasq -i en3 --server 8.8.8.8 --no-ping --dhcp-range=172.16.10.30,172.16.10.60,255.255.255.0,1800 -l dnsmasq.leases -d |
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 jess/chrome | |
| RUN apt-get update && apt-get install -y fonts-noto && rm -rf /var/lib/apt/lists/* && rm -rf /src/*.deb | |
| # Autorun chrome | |
| ENTRYPOINT [ "google-chrome" ] | |
| CMD [ "--user-data-dir=/data" ] |
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
| use std::io::BufRead; | |
| use std::io; | |
| pub fn count_entry<R: BufRead>(input: R) -> usize { | |
| input.lines() | |
| .flat_map(|r| r.ok()) | |
| .filter(|l| !l.starts_with(";;")) | |
| .flat_map(|l| l.split("/[").next()) | |
| .map(|l| l.trim_right_matches("/").split("/").count() - 1 ) | |
| .fold(0, |a, i| a + i) |
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
| (setf (flycheck-checker-get 'rust-cargo 'command) | |
| '("cargo" "rustc" | |
| (eval | |
| (let* ((root (flycheck-rust-project-root)) | |
| (rel-name (file-relative-name (buffer-file-name) root)) | |
| (name (file-name-base rel-name))) | |
| (cond | |
| ((flycheck-rust-executable-p rel-name) | |
| (list "--bin" name)) | |
| ((flycheck-rust-test-p rel-name) |