start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/bash | |
| ########################################################################################### | |
| # bootstrap.sh | |
| # | |
| # To run directly from web: | |
| # wget -O - https://gist.githubusercontent.com/whoshuu/11159710/raw/bootstrap.sh | bash | |
| # Else: | |
| # ./bootstrap.sh | |
| # |
| import os | |
| import subprocess | |
| def get_google_news_homepage(): | |
| print("this will fetch the current google news home page as text.") | |
| print("it will use the requests and lxml libaries") | |
| print("press enter to continue") | |
| input() | |
| import requests |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| ) | |
| type Foo struct { | |
| FirstName string `tag_name:"tag 1"` | |
| LastName string `tag_name:"tag 2"` |