New unfinshed posts

James Peret 8 years ago
parent
commit
48c0abd2f1

+ 1 - 1
_posts/2015-06-07-whois-json-api.markdown

@@ -1,7 +1,7 @@
1 1
 ---
2 2
 layout: post
3 3
 title:  "Whois JSON API"
4
-date:   2015-05-07 20:34:46
4
+date:   2015-06-07 20:34:46
5 5
 categories: jekyll update
6 6
 ---
7 7
 

+ 1 - 1
_posts/2015-06-15-atom-editor-setup.markdown

@@ -1,7 +1,7 @@
1 1
 ---
2 2
 layout: post
3 3
 title:  "Atom Editor Awesome Setup"
4
-date:   2015-05-15 22:30:00
4
+date:   2015-06-15 22:30:00
5 5
 categories: jekyll update
6 6
 ---
7 7
 

+ 96 - 0
_unpublished/2015-06-27-raspberry-pi-getting-started.markdown

@@ -0,0 +1,96 @@
1
+---
2
+layout: post
3
+title:  "Raspberry Pi Getting Started Guide"
4
+date:   2015-06-27 22:31:00
5
+categories: jekyll update
6
+---
7
+
8
+### Creating the Raspbian boot disk
9
+
10
+To create a disk image of the Raspbian OS on a micro SD card from a mac, follow instructions [here](https://www.raspberrypi.org/documentation/installation/installing-images/mac.md).
11
+
12
+### First Boot
13
+
14
+The username and password for Raspbian “squeeze” are:
15
+
16
+    $ Username: Pi
17
+
18
+    $ Password: raspberry
19
+
20
+To start the Raspbian GUI, run the command:
21
+
22
+    $ startx
23
+
24
+### Setting up Wi-Fi
25
+
26
+http://www.howtogeek.com/167425/how-to-setup-wi-fi-on-your-raspberry-pi-via-the-command-line/
27
+
28
+### Installing Apps
29
+
30
+```sudo apt-get update```
31
+
32
+This will update the repository on the raspberry pi with locations of software and general software updates.
33
+
34
+To search for software by name type the following command
35
+
36
+```sudo apt-cache search```
37
+
38
+*Example: ```sudo apt-cache search chromium```*
39
+
40
+To install software by name
41
+
42
+```sudo apt-get install```
43
+
44
+*Example: ```sudo apt-get install chromium```*
45
+
46
+To uninstall software
47
+
48
+```sudo apt-get remove```
49
+
50
+*Example: ```sudo apt-get remove chromium```*
51
+
52
+### Setting up SSH
53
+
54
+To find out the ip address of the raspberry pi, run ```hostname -I```.
55
+
56
+http://www.howtogeek.com/141157/how-to-configure-your-raspberry-pi-for-remote-shell-desktop-and-file-transfer/all/
57
+
58
+### Setting up VNC
59
+
60
+http://www.howtogeek.com/141157/how-to-configure-your-raspberry-pi-for-remote-shell-desktop-and-file-transfer/all/
61
+
62
+#### x11vnc
63
+
64
+```apt-get install x11vnc```
65
+
66
+```x11vnc -display :0 -noxdamage -ncache 10 -ncache_cr```
67
+
68
+* [x11vnc](http://www.karlrunge.com/x11vnc/) ([command list](http://www.karlrunge.com/x11vnc/x11vnc_opts.html))
69
+* [Stack Overflow](http://raspberrypi.stackexchange.com/questions/9590/tightvncserver-show-the-same-screen-on-hdmi-and-vncclient)
70
+
71
+### Playing Videos with VLC media Player
72
+
73
+To start a video, use the command the following command. The ```vvv``` is for *verbose mode*.
74
+
75
+More information on  **VLC** command line interface [here](https://www.videolan.org/doc/vlc-user-guide/en/ch04.html) and more advanced commands [here](https://www.videolan.org/doc/play-howto/en/ch04.html).
76
+
77
+```vlc -vvv my_file.mpg```
78
+
79
+To [play a video with VLC thru a ssh session](http://stackoverflow.com/questions/9636268/play-a-video-with-vlc-in-x11-from-remote-terminal), use the command:
80
+
81
+```cvlc --quiet --fullscreen --no-osd --loop  playlist.xspf --x11-display :0```
82
+
83
+* [How to use VLC with hardware acceleration on a Raspberrypi](http://www.oblivion-software.de/index.php?id=56&type=98)
84
+
85
+### Useful commands
86
+
87
+* **Shutdown** - ```sudo shutdown -h now``` or ```sudo halt``` ([more info](http://raspi.tv/2012/how-to-safely-shutdown-or-reboot-your-raspberry-pi))
88
+* **Reboot** - ```sudo shutdown -r now``` or ```sudo reboot``` ([more info](http://raspi.tv/2012/how-to-safely-shutdown-or-reboot-your-raspberry-pi))
89
+* **Copy files using ssh** - ([more info ](http://unix.stackexchange.com/questions/106480/how-to-copy-files-from-one-machine-to-another-using-ssh))
90
+  * To copy a file from B to A while logged into B:
91
+  ```scp /path/to/file username@a:/path/to/destination```.
92
+  * To copy a file from B to A while logged into A: ```scp username@b:/path/to/file /path/to/destination```
93
+
94
+### Other Tools
95
+
96
+* [termflix](https://github.com/asarode/termflix) - Stream torrent movies to vlc thru the command line

+ 14 - 0
_unpublished/2015-06-27-yosemite-bootcamp-windows-8.markdown

@@ -0,0 +1,14 @@
1
+---
2
+layout: post
3
+title:  "Yosemite and Windows 8 Bootcamp install"
4
+date:   2015-06-27 22:31:00
5
+categories: jekyll update
6
+---
7
+
8
+Every time I upgrade the Mac OSX software, my windows bootcamp installation breaks. This is very annoying and makes me loose a lot of time having to figure out how to install bootcamp with the new OSX version. And it looks like each version has its own quirks to install.
9
+
10
+This time i'm going to try something different. Instead of just installing windows thru bootcamp and next time the EFI Firmware changes, windows just breaks, this time i'm going to install a different EFI firmware.
11
+
12
+## Creating the Windows USB installer
13
+
14
+