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
| $ pip install --user passpie | |
| Downloading/unpacking passpie | |
| Could not find a version that satisfies the requirement passpie (from versions: 0.1rc1, 0.1rc2, 0.1rc3, 0.1rc4, 0.1rc5, 0.1rc6) | |
| Cleaning up... | |
| No distributions matching the version for passpie | |
| Storing complete log in /home/bascht/.pip/pip.log |
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
| generic::variable: 'value' | |
| some_class::myvar: '%{generic::variable}' | |
| other_class::myvar: '%{generic::variable}' |
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
| struct Record { | |
| company: String, | |
| address: String, | |
| email: String, | |
| } | |
| impl ToString for Record { | |
| fn to_string(&self) -> String { | |
| let mut slice = self.company.clone().truncate(3); | |
| return slice; |
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
| glasses = Exception | |
| def your(what); what end | |
| begin | |
| raise your glasses | |
| rescue glasses => e | |
| puts "You could have recycled this #{e}!" | |
| end |
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
| begin | |
| puts "All is well" | |
| class DiesenErrorGibtEsHierNicht < Exception; end | |
| throw DiesenErrorGibtEsHierNicht | |
| rescue DiesenErrorGibtEsHierNicht => e | |
| puts "Well." | |
| end |
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
| :eins: | |
| :hostname: eins.blub.local | |
| :box: my/customer/box-eins | |
| :memory: 1536 | |
| :box_version: ' ~> 1.1.146' | |
| :sync: | |
| 'first': | |
| target: /var/www/some/files | |
| 'second': | |
| target: /var/build |
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
| def mount(folders) | |
| folders.map do |name, options| | |
| check_compatibility! | |
| folder(name, options) | |
| end | |
| end |
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
| [1] pry(main)> def name(first, last, &blub) | |
| [1] pry(main)* def return; end | |
| [1] pry(main)* "#{first} #{last}" | |
| [1] pry(main)* end | |
| => :name |
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
| [24] pry(main)> first = "First" | |
| => "First" | |
| [25] pry(main)> last = "Last" | |
| => "Last" | |
| [26] pry(main)> name(first, last) { | |
| [26] pry(main)* return `${first} ${last}` | |
| [26] pry(main)* } | |
| => "First Last" |
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
| dings: | |
| eins: &eins | |
| some: property | |
| zwei: &zwei | |
| some: otherproperty | |
| bums: | |
| eins: *eins | |
| zwei: *zwei |