jq is useful to slice, filter, map and transform structured json data.
brew install jq
| CULTURE SPEC.CULTURE ENGLISH NAME | |
| -------------------------------------------------------------- | |
| Invariant Language (Invariant Country) | |
| af af-ZA Afrikaans | |
| af-ZA af-ZA Afrikaans (South Africa) | |
| ar ar-SA Arabic | |
| ar-AE ar-AE Arabic (U.A.E.) | |
| ar-BH ar-BH Arabic (Bahrain) | |
| ar-DZ ar-DZ Arabic (Algeria) | |
| ar-EG ar-EG Arabic (Egypt) |
| code --install-extension 4ops.packer | |
| code --install-extension albert.TabOut | |
| code --install-extension bierner.markdown-emoji | |
| code --install-extension CoenraadS.bracket-pair-colorizer-2 | |
| code --install-extension coolbear.systemd-unit-file | |
| code --install-extension DavidAnson.vscode-markdownlint | |
| code --install-extension EditorConfig.EditorConfig | |
| code --install-extension eprincev-egor.toggle-upper-case | |
| code --install-extension freakypie.code-python-isort | |
| code --install-extension golang.go |
Published May-13-2020
| Software for the Project: | |
| Raspbian Wheezy Debian Linux | |
| Win32Disk Imager | |
| The CanaKit comes with a pre-loaded SD card that includes the same version of Debian Wheezy that I used for this project. However, in an effort to get a little more speed out of the system, I used the 95MB/s Sandisk extreme listed above. It seemed to help, but I did not bench mark it beyond observation. | |
| Anyway, lets get down to building a Raspberry Pi Web Kiosk. | |
| Step 0: Get all of the hardware. | |
| Step 1: Get all of the software. |
I just had to set up Jenkins to use GitHub. My notes (to myself, mostly):
For setting up Jenkins to build GitHub projects. This assumes some ability to manage Jenkins, use the command line, set up a utility LDAP account, etc. Please share or improve this Gist as needed.
Simple collection of Groovy scripts to help me maintain some Jenkins systems.
See also https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console
| Jenkins Best Practices | |
| https://en.wikipedia.org/wiki/Continuous_integration<- Read this! | |
| https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Best+Practices | |
| http://www.slideshare.net/andrewbayer/7-habits-of-highly-effective-jenkins-users | |
| Set up version control of job configurations | |
| Keep jobs simple! Don't put a ton of bash in each job. If a job needs to do something complex, put it in a script in GitHub and check it out as needed. | |
| Use templated builders to simplify common tasks | |
| Keep all scripts in version control - avoid running scripts that live on the Jenkins server filesystem | |
| Don't install unnecessary plugins - plugins are often written by third parties and can interact with each other in strange ways | |
| Use LDAP authentication if possible for traceability - avoid anonymous access |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| #Model | |
| @user.should have(1).error_on(:username) # Checks whether there is an error in username | |
| @user.errors[:username].should include("can't be blank") # check for the error message | |
| #Rendering | |
| response.should render_template(:index) | |
| #Redirecting | |
| response.should redirect_to(movies_path) |