Skip to content

Instantly share code, notes, and snippets.

@MarsMSJ
MarsMSJ / JetsonTK1_nvcc_fatal_computer_60.md
Last active August 14, 2018 13:30
Jetson TK1 - caffe compilation issue: nvcc fatal : Unsupported gpu architecture 'compute_60'

Jetson TK1 - caffe compilation issue: nvcc fatal : Unsupported gpu architecture 'compute_60'

Summary

I'm posting here a detailed summary of the problem and the situation with the Jetson TK1 board and compiling the final caffe release. The final caffe release requires cudnn v.5. If you attempt to compile on the Jetson TK1 board you will give an error from nvcc saying "Unsupported gpu architecture". I describe the

Problem

On the Jetson TK1 if you clone the final caffe release and compile:
make all -j 4

The nvcc compiler will show the following error:

@mitcdh
mitcdh / Pinboard (archive).applescript
Last active April 26, 2019 14:26
Pinboard archive script for Devonthink Pro that archives bookmarks as web documents rather than just links
-- Import Pinboard bookmarks
-- Created by Christian Grunenberg on Mon Jan 23 2006.
-- Modified by Rafael Bugajewski to support Pinboard instead of Delicious on Sun Dec 19 2010.
-- Modified by Andreas Zeitler on Sun Mar 03 2011 to display user feedback when finished
-- Modified by Mitchell Hewes on 2017-04-03 to archive bookmarks as PDF documents
-- Copyright (c) 2006-2014. All rights reserved.
-- If the properties pUser and pPassword are undefined then a dialog pops up asking for these properties
property pUser : ""
property pPassword : ""
@simecek
simecek / rmagic_example.ipynb
Last active January 16, 2021 13:29
How to add R code to your (IPython) Jupyter Notebook
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// A clipping object is a JavaScript object that contains the following properties. Properties values may be null.
// title - String
// text - String
// url - String
// saveDate - Date
// Merge function receives an array of clipping objects and returns the merged string
function merge(clippings) {
var merged = clippings.reduce(function(string, clipping) {
@BioSciEconomist
BioSciEconomist / python basic.py
Last active May 18, 2018 20:53
Basic data manipulation in python
#------------------------------------------------------------------
# PROGRAM NAME: Python Examples.py
# DATE: 6/1/16
# CREATED BY: MATT BOGARD
# PROJECT FILE:
#----------------------------------------------------------------
# PURPOSE: BASIC DATA MANAGEMENT AND STATS IN PYTHON
# ---------------------------------------------------------------
#---------------------------------
@wihoho
wihoho / addWord.js
Created January 9, 2017 07:22
Import words into youdao
function addWord(word){
console.log(word);
$.ajax({
type: 'GET',
url: 'http://dict.youdao.com/wordbook/ajax',
dataType: 'json',
data:{action:'addword',q:word,date:new Date(),le:'eng'},
// beforeSend: ajaxBeforeFn,
success: function(data){
@fpcMotif
fpcMotif / com.tjluoma.IgnitionAtWork.plist
Created December 21, 2016 08:51 — forked from tjluoma/com.tjluoma.IgnitionAtWork.plist
Save this to ~/Library/LaunchAgents/com.tjluoma.ignitiononoroffatwork.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.tjluoma.IgnitionAtWork</string>
<key>Program</key>
<string>/usr/local/bin/IgnitionAtWork.sh</string>
<key>QueueDirectories</key>
<array>
# Install R + RStudio on Ubuntu 16.04
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E084DAB9
# Ubuntu 12.04: precise
# Ubuntu 14.04: trusty
# Ubuntu 16.04: xenial
# Basic format of next line deb https://<my.favorite.cran.mirror>/bin/linux/ubuntu <enter your ubuntu version>/
sudo add-apt-repository 'deb https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/'
sudo apt-get update
@davebrny
davebrny / my gists - autohotkey.md
Last active September 5, 2021 05:29
my autohotkey gists
> binom.test(2, 12)
Exact binomial test
data: 2 and 12
number of successes = 2, number of trials = 12, p-value = 0.03857
alternative hypothesis: true probability of success is not equal to 0.5
95 percent confidence interval:
0.02086253 0.48413775
sample estimates: