- Create your application
package main
import (
"os"
"net/http"
| class Client | |
| import "java.net.InetAddress" | |
| def create_host(nameserver) | |
| addrs = [] | |
| addrs << InetAddress.getByName(nameserver.addr_v4) if nameserver.addr_v4 | |
| addrs << InetAddress.getByName(nameserver.addr_v6) if nameserver.addr_v6 | |
| command = JavaImport::Se::HostCreateCommand.new( | |
| nameserver.name.to_java, |
| """ | |
| test code for motor class | |
| [email protected] | |
| solenerotech.wordpress.com | |
| this test is done using: | |
| ESC: turnigy plush30 | |
| Motor: turnigy D2830 1000kv |
| sudo apt-get purge xserver* x11-common x11-utils x11-xkb-utils x11-xserver-utils xarchiver xauth xkb-data console-setup xinit lightdm libx{composite,cb,cursor,damage,dmcp,ext,font,ft,i,inerama,kbfile,klavier,mu,pm,randr,render,res,t,xf86}* lxde* lx{input,menu-data,panel,polkit,randr,session,session-edit,shortcut,task,terminal} obconf openbox gtk* libgtk* alsa* nano python-pygame python-tk python3-tk scratch tsconf xdg-tools desktop-file-utils |
| { | |
| "auto_complete_commit_on_tab": true, | |
| "caret_style": "wide", | |
| "color_scheme": "Packages/Tubsted Color Schemes/Tubsted.tmTheme", | |
| "default_line_ending": "unix", | |
| "draw_white_space": "selection", | |
| "ensure_newline_at_eof_on_save": false, | |
| "font_face": "Hermit", | |
| "font_size": 9, | |
| "highlight_line": true, |
| [0x7f82b8006c78] stream_filter_httplive stream: Reloading HLS live meta playlist | |
| [h264 @ 0x7f82b8dc89c0] Missing reference picture | |
| [h264 @ 0x7f82b8dc89c0] decode_slice_header error | |
| [h264 @ 0x7f82b8dc89c0] concealing 1728 DC, 1728 AC, 1728 MV errors | |
| [h264 @ 0x7f82b8dc8ea0] mmco: unref short failure | |
| [h264 @ 0x7f82b8dc8ea0] Missing reference picture | |
| [h264 @ 0x7f82b8dc8ea0] Missing reference picture | |
| [h264 @ 0x7f82b8dc8ea0] Missing reference picture | |
| [h264 @ 0x7f82b8dc9500] reference picture missing during reorder | |
| [h264 @ 0x7f82b8dc9500] Missing reference picture |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/garyburd/redigo/redis" | |
| ) | |
| func main() { | |
| c, err := redis.Dial("tcp", ":6379") | |
| if err != nil { |
| package main | |
| import ( | |
| "crypto/rsa" | |
| "crypto/rand" | |
| "crypto/x509" | |
| "encoding/pem" | |
| "os" | |
| "fmt" | |
| ) |
| // My solution to http://reddit.com/r/dailyprogrammer challenge #130 | |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "math/rand" | |
| "time" | |
| ) |
| (setq tmux-session-name 0) | |
| (setq tmux-window-name 1) | |
| (setq tmux-pane-name 1) | |
| (defun tmux-exec (command) | |
| "Execute command in tmux pane" | |
| (interactive) | |
| (shell-command | |
| (format "tmux send-keys -t %s:%s.%s '%s' Enter" tmux-session-name tmux-window-name tmux-pane-name command))) |