Skip to content

Instantly share code, notes, and snippets.

View neomatrixcode's full-sized avatar
🏠
Working from home

Josué Acevedo (Neomatrix) neomatrixcode

🏠
Working from home
View GitHub Profile
en el centro de software de unbuntu agregar el suguiente origen de software:
sudo add-apt-repository ppa:ppa.launchpad.net/staticfloat/julia-deps/ubuntu
sudo apt-get update
sudo apt-get -y install libopencv-dev build-essential cmake git libgtk2.0-dev pkg-config python-dev python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose libdc1394-22 libdc1394-22-dev libjpeg-dev libpng12-dev libtiff4-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libxine-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev libtbb-dev libqt4-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 v4l-utils unzip libedit-dev libncurses5-dev qt5-default gfortran m4 libssl-dev libedit-dev libncurses5-dev libopenblas-dev liblapack-dev
git clone https://github.com/JuliaLang/julia.git
cd julia
make -j 2
@neomatrixcode
neomatrixcode / greedy_banner.jl
Last active January 19, 2016 03:22 — forked from Ismael-VC/greedy_banner.jl
Greedy Julia banner. add `alias julia='julia -q'` to your shell config file and https://git.io/vzlHo to your .juliarc.jl!
function banner(io::IO = STDOUT)
GIT_VERSION_INFO = Base.GIT_VERSION_INFO
TAGGED_RELEASE_BANNER = Base.TAGGED_RELEASE_BANNER
have_color = Base.have_color
if GIT_VERSION_INFO.tagged_commit
commit_string = TAGGED_RELEASE_BANNER
elseif GIT_VERSION_INFO.commit == ""
commit_string = ""
else
days = Int(floor((ccall(:jl_clock_now, Float64, ()) - GIT_VERSION_INFO.fork_master_timestamp) / (60 * 60 * 24)))
sudo apt-add-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg gstreamer0.10-ffmpeg
function fish_prompt --description 'Write out the prompt'
set -l last_status $status
# Just calculate this once, to save a few cycles when displaying the prompt
if not set -q __fish_prompt_hostname
set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
end
set -l normal (set_color normal)
[user]
name = neomatrix
email = josuecevedo@gmail.com
[color]
ui = true
[color "branch"]
current = yellow black
local = yellow
remote = magenta
[color "diff"]
*clang --help
*clang file.c -fsyntax-only (check for correctness)
*clang file.c -S -emit-llvm -o - (print out unoptimized llvm code)
*clang file.c -S -emit-llvm -o - -O3
*clang file.c -S -O3 -o - (output native machine code)
# USO:
- Descargas directas:
- Descargar un archivo:
aria2c [URL_del_archivo]
- Descargar una URL que lleve espacios y/o caracteres especiales:
aria2c '[URL_del_archivo]'
sudo pip install watchdog Pygments docutils jedi gitpython six kivy-garden cython kivy
garden install filebrowser
wget https://github.com/kivy/kivy-designer/archive/master.zip
cd kivy-designer-master
python main.py
[@eval ($🔣)() = run($🔡) for (🔣, 🔡) ∈ (:🐍 => `python`, :🐙 => `hy`, :λ => `clojure`, :💎 => `irb`, :💻 => `cling`, :🎮 => `nethack`)]
🐍()
@neomatrixcode
neomatrixcode / julia.en.po
Last active April 30, 2016 04:33 — forked from Ismael-VC/julia.en.po
Julia i18n.
msgid ""
msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid "true"
msgstr ""