This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # use ImageMagick convert | |
| # the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf | |
| convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf |
As of January 2018, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it. There is also an ansible role attached that automates it all for you.
- Install the required build-tools (some might already be installed on your system).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%# views/layouts/external_pages.html.erb %> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>GentelellaOnRails</title> | |
| <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> | |
| <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #![feature(lang_items, asm)] | |
| #![crate_type = "staticlib"] | |
| #![no_std] | |
| const GPIO_BASE: u32 = 0x3F000000; | |
| const GPIO_SET: u32 = 0x3F200020; | |
| const GPIO_CLR: u32 = 0x3F20002C; | |
| const GPIO47: u32 = 0x8000; | |
| fn sleep(value: u32){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //initially crawled from https://de.wikipedia.org/wiki/ISO-3166-1-Kodierliste | |
| //2020-03-23, reviewed by @luwe1204 | |
| isoCountries = { | |
| "AD": "Andorra", | |
| "AE": "Vereinigte Arabische Emirate", | |
| "AF": "Afghanistan", | |
| "AG": "Antigua und Barbuda", | |
| "AI": "Anguilla", | |
| "AL": "Albanien", | |
| "AM": "Armenien", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Macro title: UML Sequence Diagram | |
| ## Macro has a body: Y | |
| ## Body processing: Unrendered | |
| ## | |
| ## This macro allows use of js-sequence-diagrams from http://bramp.github.io/js-sequence-diagrams/ | |
| ## | |
| ## Developed by: Greg MacLellan | |
| ## Date created: 2015-09-15 | |
| ## 2015-09-21: Added suppor for displaying parse errors while rendering | |
| ## Installed by: Greg MacLellan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "An etcd cluster based off an auto scaling group", | |
| "Mappings" : { | |
| "RegionMap" : { | |
| "eu-central-1" : { | |
| "AMI" : "ami-840a0899" | |
| }, | |
| "ap-northeast-1" : { | |
| "AMI" : "ami-6c5ac56c" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Reference: http://stackoverflow.com/questions/4822471/count-number-of-lines-in-a-git-repository | |
| $ git ls-files | xargs wc -l |
SSH into Root
$ ssh [email protected]
Change Root Password