Skip to content

Instantly share code, notes, and snippets.

View moppymopperson's full-sized avatar

Erik Hornberger moppymopperson

  • Yokohama, Japan
View GitHub Profile
@moppymopperson
moppymopperson / file0.txt
Created February 12, 2018 03:41
初めてのドメイン名をラズパイに割り当てて、外部ネットワークから接続できるようにしてみた ref: https://qiita.com/moppymopperson/items/e97882b28ef543cd9a5e
sudo apt install ddclient
// <-- スラッシュを二つ打てば、そのあとのテキストはコードとして解釈されないから、メモやコメントが書ける
// この一行は必須
import React, { Component } from 'react'
// ここで利用するパーツをリストアップする
import { StyleSheet, Text, View, Image } from 'react-native'
// 新しいパーツを作って、Appという名前をつける
export default class App extends Component {
@moppymopperson
moppymopperson / BasicSettings.md
Last active September 16, 2017 21:10
RaspberryPi Helpful Software Installations

Upgrading to the latest OS

  1. sudo apt-get update
  2. sudo apt-get full-upgrade

Setting host name on local network

  1. sudo raspi-config
  2. Choose 2. Hostname and enter new hostname
  3. sudo reboot

Setting up SSH

@moppymopperson
moppymopperson / UITableView.swift
Created May 13, 2017 00:25 — forked from watert/UITableView.swift
UITableView example in iOS Playground with XCode 6 beta
// Playground - noun: a place where people can play
import UIKit
import PlaygroundSupport
struct Pokemon {
let id: UInt
let name: String
}
class PokedexViewController: UITableViewController {