Skip to content

Instantly share code, notes, and snippets.

@shixudongleo
shixudongleo / index.html
Created March 13, 2020 03:03
Solution 1 - Intro to Vue
<div id="app">
<div class="product-image">
<img src="" />
</div>
<div class="product-info">
<h1>{{ product }}</h1>
<p>{{ description }}</p>
</div>
@shixudongleo
shixudongleo / challenge-1-intro-to-vue.markdown
Created March 13, 2020 03:03
Challenge 1 - Intro to Vue
@shixudongleo
shixudongleo / challenge-6-intro-to-vue.markdown
Created March 13, 2020 03:02
Challenge 6 - Intro to Vue
@shixudongleo
shixudongleo / index.html
Created March 13, 2020 03:00
Solution 6 - Intro to Vue
<div class="nav-bar"></div>
<div id="app">
<div class="product">
<div class="product-image">
<img :src="image" />
</div>
@shixudongleo
shixudongleo / python.py
Created September 3, 2018 01:51
python
# this is a python 2 core snippets
This file has been truncated, but you can view the full file.
[INFO]: Will compile for the following archs: armeabi
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r9c
[INFO]: Found virtualenv at /home/shixudongleo/.pyenv/shims/virtualenv
[INFO]: Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]: Picking the latest gcc toolchain, here 4.8
This file has been truncated, but you can view the full file.
[INFO]: Will compile for the following archs: armeabi
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r9c
[INFO]: Found virtualenv at /home/shixudongleo/.pyenv/shims/virtualenv
[INFO]: Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]: Picking the latest gcc toolchain, here 4.8
This file has been truncated, but you can view the full file.
[INFO]: Will compile for the following archs: armeabi
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r9c
[INFO]: Found virtualenv at /home/shixudongleo/.pyenv/shims/virtualenv
[INFO]: Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]: Picking the latest gcc toolchain, here 4.8
This file has been truncated, but you can view the full file.
[INFO]: Will compile for the following archs: armeabi
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are (19)
[INFO]: Requested API target 19 is available, continuing.
[INFO]: Found NDK dir in $ANDROIDNDK
[INFO]: Got NDK version from $ANDROIDNDKVER
[INFO]: Using Google NDK r9c
[INFO]: Found virtualenv at /home/shixudongleo/.pyenv/shims/virtualenv
[INFO]: Found the following toolchain versions: ['4.6', '4.8', 'clang3.3']
[INFO]: Picking the latest gcc toolchain, here 4.8
@shixudongleo
shixudongleo / hyperref.tex
Last active August 29, 2015 14:27
LaTeX hyperref
% hyperref package should be loaded at last
\usepackage{hyperref}
\hypersetup{colorlinks=ture}
% link a text to url
% \href{url}{text}
\href{http://www.google.com}{Goolge}
% link a text to internal label
% \hyperref{label}{text}