This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Enable prtinf/scanf/etc over uart | |
#include <stdio.h> | |
static FILE uart_stream = FDEV_SETUP_STREAM(uart_tx, uart_rx, _FDEV_SETUP_RW); | |
stdout = stdin = &uart_stream |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c.InteractiveShellApp.exec_lines = [] | |
c.InteractiveShellApp.exec_lines.append('%load_ext autoreload') | |
c.InteractiveShellApp.exec_lines.append('%autoreload 2') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/chap-installation-server-setup.html | |
# 1. Install the tftp package. To do this, run the following command as root: | |
yum install tftp-server | |
# 2. In the /etc/xinetd.d/tftp configuration file, change the disabled parameter from yes to no. | |
# untested - inline find and replace | |
#sed -i.bak s/disable = yes/disable = no/g /etc/xinet.d/tftp | |
# 3. Allow incoming connections to the tftp service in the firewall: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Address Allocation for Private Internets | |
https://www.ietf.org/rfc/rfc1918.txt | |
Choosing a Name for Your Computer | |
http://tools.ietf.org/html/rfc1178 | |
http://namingschemes.com/ | |
Lightweight Directory Access Protocol (LDAP): Technical Specification Road Map | |
https://tools.ietf.org/html/rfc4510 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# A boilerplate script template | |
# | |
# https://google-styleguide.googlecode.com/svn/trunk/shell.xml | |
# http://shelldorado.com/goodcoding/ | |
####################################### | |
# Cleanup files from the backup dir | |
# Globals: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @ngdoc directive | |
* @name ioBridgeDial | |
* @restrict E | |
* | |
* @description | |
* | |
* @element io-bridge-dial | |
* @param {expression} label The name of the device being monitored will be displayed on the dial. | |
* @param {expression} value Current dial value. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {bootstrap, Component, Decorator, View, If, For, EventEmitter} from 'angular2/angular2'; | |
import {FormBuilder, Validators, FormDirectives, ControlGroup} from 'angular2/forms'; | |
@Component({ | |
selector: 'app', | |
injectables: [FormBuilder] | |
}) | |
@View({ | |
template: ` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Remove file from history | |
git filter-branch \ | |
--index-filter 'git rm --cached --ignore-unmatch filename.orig' merge-point..HEAD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The script does automatic checking on a Go package and its sub-packages, including: | |
# 1. gofmt (http://golang.org/cmd/gofmt/) | |
# 2. goimports (https://github.com/bradfitz/goimports) | |
# 3. golint (https://github.com/golang/lint) | |
# 4. go vet (http://golang.org/cmd/vet) | |
# 5. race detector (http://blog.golang.org/race-detector) | |
# 6. test coverage (http://blog.golang.org/cover) | |
set -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tools | |
===== | |
- [Intel XDK](https://software.intel.com/en-us/html5/tools) | |
HTML5 Cross platform dev tool. | |
- [Vagrant](https://www.vagrantup.com/) | |
Lightweight portable deve environments. | |
- [Docker](https://www.docker.com/) | |
An open platform for distributed applications for developers and sysadmins. |