First find packages.
dpkg -l linux-image*
Identify the kernal version in use.
uname -r
| sudo apt-get update | |
| sudo apt-get -y upgrade | |
| sudo apt-get install build-essential checkinstall libffi-dev python-dev | |
| sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev | |
| // https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py | |
| // https://pip.pypa.io/en/stable/installing/#using-linux-package-managers |
First find packages.
dpkg -l linux-image*
Identify the kernal version in use.
uname -r
| uname -a | |
| lsb_release -a |
| package cmd | |
| import ( | |
| "fmt" | |
| "github.com/spf13/cobra" | |
| "github.com/spf13/viper" | |
| ) | |
| // configCmd represents the config command | |
| var configCmd = &cobra.Command{ |
| var parseCmd = &cobra.Command{ | |
| Use: "parse", | |
| Short: "This command will extract the Twitter Accounts form a text file.", | |
| Long: `This command will extract the Twitter Accounts and clean up or disregard other characters | |
| or text around the twitter accounts to create a simple, clean, Twitter Accounts only list.`, | |
| Run: func(cmd *cobra.Command, args []string) { | |
| completedTwittererList := buildTwitterList() | |
| fmt.Println(completedTwittererList) | |
| if viper.Get("fileExport") != nil { | |
| exportParsedTwitterList(viper.GetString("fileExport"), viper.GetString("fileFormat"), completedTwittererList) |
| Run: func(cmd *cobra.Command, args []string) { | |
| fmt.Println("Starting Twitter Information Retrieval.") | |
| completedTwitterList := buildTwitterList() | |
| fmt.Printf("Getting Twitter details for: \n%s", completedTwitterList) | |
| accessToken, err := getBearerToken(viper.GetString("consumer_api_key"), viper.GetString("consumer_api_secret")) | |
| check(err) |
| <datatable> | |
| <datatable-column id="datatable-column-1" label="Column 1"></datatable-column> | |
| <datatable-column id="datatable-column-2" label="Column 2"></datatable-column> | |
| <datatable-column id="datatable-column-3" label="Column 3"></datatable-column> | |
| </datatable> |
| new Vue({ | |
| el: "#app", | |
| data: function() { | |
| return { | |
| columns: [ | |
| { id: "datatable-column-1", label: "Column 1" }, | |
| { id: "datatable-column-2", label: "Column 2" }, | |
| { id: "datatable-column-3", label: "Column 3" } |
| <datatable> | |
| <datatable-column v-for="column in columns" :id="column.id" :label="column.label"></datatable-column> | |
| </datatable> |
| <script src="https://unpkg.com/vue"></script> | |
| <div id="app"> | |
| <p id="hello">{{ message }} hi!</p> | |
| </div> | |
| <script> | |
| new Vue({ | |
| el: '#app', | |
| data: { |