Skip to content

Instantly share code, notes, and snippets.

View jones139's full-sized avatar

Graham Jones jones139

View GitHub Profile

Ubuntu 22.04 for Deep Learning

In the name of God

This gist contains steps to setup Ubuntu 22.04 for deep learning.


Install Ubuntu 22.04

@alexanderbazo
alexanderbazo / build.yml
Created December 6, 2019 16:07
Github Actions: Build and Release Android-APK
name: Minimal Android CI Workflow
on:
push:
branches:
- master
tags:
- 'v*'
jobs:
@jones139
jones139 / Ubuntu_setup_notes.txt
Last active August 31, 2019 19:00
Ubuntu Linux Setup Notes
Graham's Ubuntu Setup Notes
===========================
These notes are a record of how I set up a fresh install of Ununtu 18.04 LTS (well actually xUbuntu for me) and get it to do what I want....
Starting from a fresh install.....
Install the INDI server
-----------------------
sudo add-apt-repository ppa:mutlaqja/ppa
@shunkino
shunkino / user_main.c
Created January 26, 2016 09:08
ADXL345 and ESP8266
#include "esp_common.h"
#include "i2c.h"
#include "freertos/FreeRTOS.h"
#include "lwip/sockets.h"
#include "lwip/dns.h"
#include "lwip/netdb.h"
#define SSID ""
#define PASS ""
#define TCP_PORT 3080
@mogproject
mogproject / PythonUnitTestCheatSheet.md
Created July 24, 2015 11:17
Python unittest Cheat Sheet

Python unittest Cheat Sheet

Skeleton

@nschwermann
nschwermann / mobile-AndroidManifest.xml
Created June 30, 2014 02:58
Android Wearable Message API example
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="schwiz.net.weartest" >
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
@veganben
veganben / Periodic Table of the Elements in JSON format
Last active August 15, 2019 18:37
I couldn't find a periodic table of the elements in JSON format, so I made one. For unknown atomic weights, a value of NaN has been assigned.
elements = {
HYDROGEN: {
atomic_number: 1,
abbreviation: "H",
atomic_weight: 1.008
},
HELIUM: {
atomic_number: 2,
abbreviation: "He",
atomic_weight: 4.003
@jukworks
jukworks / gist:4037243
Created November 8, 2012 06:34
A Sample Code: Getting a Real FFT of 1D array using jTransform library.
import edu.emory.mathcs.jtransforms.fft.DoubleFFT_1D;
public class FftTest {
public static void main(String[] args) {
double[] input = new double[]{
0.0176,
-0.0620,
0.2467,
0.4599,
-0.0582,
@iandees
iandees / gist:1215596
Created September 14, 2011 00:53
A script to keep an osm2pgsql database running with minutely diffs and osmosis.
#!/bin/bash
set -e
# Initialize timestamp with day of latest planet dump
# Setting to midnight ensures we get conistent data after first run
# osmosis --read-replication-interval-init
OSMOSIS_PATH=/home/iandees/osmosis-SNAPSHOT-r25995
OSMOSIS_WORKDIR=/home/iandees/.osmosis
OSM2PGSQL_PATH=/home/iandees/osm2pgsql