Skip to content

Instantly share code, notes, and snippets.

Shuangnan freelsn

  • The Hong Kong Polytechnic University
Block or report user

Report or block freelsn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pandoc.css
body {
margin: auto;
padding-right: 1em;
padding-left: 1em;
max-width: 44em;
border-left: 1px solid black;
border-right: 1px solid black;
/* font-family: Arial, Verdana, "Microsoft YaHei", "微软雅黑", sans-serif; */
font-family: "Lato", Helvetica, Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
font-size: 18px;
@freelsn
freelsn / report-virtex4
Created May 24, 2018
The reports for Virtex-4 FPGA after executing from HLS to Place & Route.
View report-virtex4
{
'CSV': {
'AREA': '2269',
'state': '12',
'FU': '0',
'REG': '750',
'MUX': '1439',
'DEC': '12',
'pin_pair': '6262',
'net': '1850',
@freelsn
freelsn / report-virtex7
Created May 24, 2018
The reports for Virtex-7 FPGA after executing from HLS to Place & Route.
View report-virtex7
{
'CSV': {
'AREA': '1671',
'state': '11',
'FU': '0',
'REG': '720',
'MUX': '840',
'DEC': '4',
'pin_pair': '6097',
'net': '1791',
@freelsn
freelsn / ports
Last active May 24, 2018
The information of IO ports by CWB.
View ports
{
'io_info': {
'in': {
'indata_a00': {
'Type': 'in',
'BitWidth': '8',
'order': '17'
},
'indata_a01': {
'Type': 'in',
@freelsn
freelsn / Preferences.sublime-settings
Last active May 14, 2018
Sublime Text Version 3.0 Build 3170 Settings
View Preferences.sublime-settings
{
"caret_style": "solid",
"color_scheme": "Monokai.sublime-color-scheme",
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
View homebred-commands.md
brew install [app_name]
brew search [app_name]
brew outdated
brew upgrade  # update formula
brew upgrade [app_name]
brew update  # update brew and cask
brew cleanup
brew cleanup -n  # check only
brew cleanup [app_name]
@freelsn
freelsn / fancy.bashrc
Last active Feb 17, 2018
Fancy and functional ".bashrc" configuration
View fancy.bashrc
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
@freelsn
freelsn / Preferences.sublime-settings
Created Jan 26, 2018
Sublime Text 3 settings WindowsOS
View Preferences.sublime-settings
{
"font_size": 12,
"rulers": [80],
"tab_size": 4,
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"word_wrap": true,
"trim_trailing_white_space_on_save": true,
"ensure_newline_at_eof_on_save": true,
"default_line_ending": "unix",
@freelsn
freelsn / darclab.sh
Last active Jan 26, 2018
DARCLAB machines config file
View darclab.sh
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
@freelsn
freelsn / Makefile
Created Oct 3, 2017
Universal Makefile for C/C++
View Makefile
# - inc/
# - *.h
# - src/
# - *.c
# - *.cpp
# - obj/
# - *.o
# - main
TARGET := main
You can’t perform that action at this time.