This small Ruby script uses pandoc to convert The Rust Programming Language (compilation of the Rust guides) to epub.
- Install pandoc
- Copy
trpl-epub.rb
file torust/src/doc/trpl
(assuming your clone of the Rust repository is inrust/
)
import java.util.Scanner; | |
public class Program | |
{ | |
public static void Menu(String[] args) | |
{ | |
Scanner in = new Scanner(System.in); | |
System.out.println("Welcome"); | |
while(true) { | |
System.out.print("Please enter you ZIP(quit for exit):"); |
import java.util.regex.Matcher; | |
import java.util.regex.Pattern; | |
public class Program | |
{ | |
public String test(String postalCode) | |
{ | |
Pattern nan = Pattern.compile("\\d[A-Z]\\d"); | |
Pattern ana = Pattern.compile("[A-Z]\\d[A-Z]"); | |
Matcher mNan = nan.matcher(postalCode); |
package me.filippov.netty_demo; | |
import io.netty.bootstrap.Bootstrap; | |
import io.netty.bootstrap.ChannelFactory; | |
import io.netty.channel.*; | |
import io.netty.channel.nio.NioEventLoopGroup; | |
import io.netty.channel.socket.DatagramPacket; | |
import io.netty.channel.socket.InternetProtocolFamily; | |
import io.netty.channel.socket.nio.NioDatagramChannel; |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
cinst 1password | |
cinst 7zip | |
cinst 7zip.install | |
cinst AdobeAIR | |
cinst adobereader | |
cinst Atom | |
cinst markdownpad2 |
This small Ruby script uses pandoc to convert The Rust Programming Language (compilation of the Rust guides) to epub.
trpl-epub.rb
file to rust/src/doc/trpl
(assuming your clone of the Rust repository is in rust/
)#!/bin/bash | |
echo 'update brew' | |
brew update | |
echo 'upgrade brew' | |
brew upgrade |