Skip to content

Instantly share code, notes, and snippets.

* Downloaded or downloading
=============================
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html
# setup time on the rpi for first time
sudo /etc/init.d/ntp stop
sudo ntpd -q -g
sudo /etc/init.d/ntp start
sudo timedatectl set-ntp true
sudo timedatectl set-local-rtc 0
# setup sleepypi
wget https://raw.githubusercontent.com/SpellFoundry/Sleepy-Pi-Setup/master/Sleepy-Pi-Setup.sh
chmod +x Sleepy-Pi-Setup.sh
# install packages for gps
sudo apt-get -y install gpsd gpsd-clients python-gps
# set device name and socket name and path
sudo sed -i -e "s#^\(DEVICES=\).*#\1"\""$(find /dev/serial/by-id -type l -name \*Silicon\*)"\""#" -e 's#^\(GPSD_OPTIONS=\).*#\1"-F /var/run/gpsd.socket"#' /etc/default/gpsd
# reconfigure gpsd svc
sudo dpkg-reconfigure gpsd
# start gpsd svc
#!/bin/bash
echo -e "
# \e[33mPrerequisites:\e[39m
# ~/.aws/config and ~/.aws/credentials setup for cwdev and cw accounts.
# KUBECONFIG is setup and stored in ~/.kube directory.
#
# \e[32mUsage:\e[39m
# Update PROFILE_DEV & PROD w/respective names from ~/.aws/credentials file.
# Replace the path at end of script with your literal KUBECONFIG path, no variables.

src: https://fdossena.com/?p=w10debotnet/index_1809.frag

MUSIC, TV, ...

Get-AppxPackage -AllUsers *zune* | Remove-AppxPackage
Get-WindowsPackage -Online | Where PackageName -like *MediaPlayer* | Remove-WindowsPackage -Online -NoRestart
# Additionally, you should remove Windows Media Player: go to Start > Settings > Apps > Manage optional features, and remove Windows Media Player

XBOX AND GAME DVR

## setting time
# src: http://www.danmandle.com/blog/getting-gpsd-to-work-with-python/
# src: https://os.mbed.com/questions/4552/Get-timestamp-via-GPS/
# src: https://www.raspberrypi.org/forums/viewtopic.php?t=194711
###### pps
# src: https://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html
# src: https://www.satsignal.eu/ntp/Raspberry-Pi-quickstart.html
# src: https://www.ntpsec.org/white-papers/stratum-1-microserver-howto/
# src: http://www.intellamech.com/RaspberryPi-projects/rpi3_gps.html
#!/bin/bash
# setup wifi
#
# BACKUP: sudo cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.bak
# DEBUG: `sudo iwlist wlan0 scan`
echo "country=US" >> sudo /etc/wpa_supplicant/wpa_supplicant.conf
echo "" >> sudo /etc/wpa_supplicant/wpa_supplicant.conf
echo "$WIFI_PASSWORD" | wpa_passphrase "$ESSID" >> sudo /etc/wpa_supplicant/wpa_supplicant.conf
wpa_cli -i wlan0 reconfigure
# DEBUG: `ifconfig wlan0`
# get [vim] + [airlinetheme] monokai_tasty https://github.com/patstockwell/vim-monokai-tasty
### ~/.vimrc
# " vim-plug
# if empty(glob('~/.vim/autoload/plug.vim'))
# silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
# \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
# endif
#
#!/usr/bin/env python
import sys, subprocess
def get_gps_datetime():
timestamp = ''
date = ''
datastream = open('/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0','r')
for line in datastream :
if line.startswith( '$GPZDA' ) :
https://www.youtube.com/watch?v=CeceqWuZ0Cg
Shared resp b/w AWS and customers
- customers are resp for security IN the cloud
- aws resp for sec OF the cloud
AWS trusted Advisor
- cost opt, sec, fault tol, perf domains
- real time guidance to achieve these
- config advisor to adjust rules to follow or ignore