Shoes.app do
timer = every(1) do
end
end
This file contains 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
response = [ | |
{ | |
"id"=> 1, | |
"url"=> "https://api.github.com/repos/octocat/Hello-World/issues/1347", | |
"repository_url"=>"https://api.github.com/repos/octocat/Hello-World", | |
"labels_url"=>"https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", | |
"comments_url"=>"https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", | |
"events_url"=>"https://api.github.com/repos/octocat/Hello-World/issues/1347/events", | |
"html_url"=>"https://github.com/octocat/Hello-World/issues/1347", | |
"number"=>1347, |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.hostname = "test" |
This file contains 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] % vagrant plugin install vagrant-vmware-fusion --plugin-version 3.2.5 | |
Installing the 'vagrant-vmware-fusion --version '3.2.5'' plugin. This can take a few minutes... | |
Bundler, the underlying system Vagrant uses to install plugins, | |
reported an error. The error is shown below. These errors are usually | |
caused by misconfigured plugin installations or transient network | |
issues. The error from Bundler is: | |
Could not find gem 'vagrant-vmware-fusion (= 3.2.5) ruby' in any of the gem sources listed in your Gemfile or available on this machine. | |
Warning: this Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config disable_multisource true`. |
This file contains 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
export default class Assembler { | |
constructor(assemblyDef) { | |
this.assemblyDef = assemblyDef; | |
if (!this.assemblyDef.DESCENDANTS) { | |
this.assemblyDef.DESCENDANTS = []; | |
} | |
} | |
} |
This file contains 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
# map funktioniert genau wie each, mit dem unterschied, dass each den rueckgabewert des blocks ignoriert | |
# map gibt dir eine liste mit den rueckgabewerten des blocks zurueck | |
list_of_issues = Octokit.list_issues(identifier).map do |issue| | |
model = Apiclient::Issue.new(issue) | |
end | |
file.write(YAML.dump(list_of_issues)) |
This file contains 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
eingabe ="" | |
while eingabe != "stop" do | |
eingabe = gets.chomp | |
end |
This file contains 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
vagrant@packer-vmware-iso:/vagrant$ virtualenv -p /usr/bin/python3 env | |
Running virtualenv with interpreter /usr/bin/python3 | |
Using base prefix '/usr' | |
Traceback (most recent call last): | |
File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2339, in <module> | |
main() | |
File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 825, in main | |
symlink=options.symlink) | |
File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 985, in create_environment | |
site_packages=site_packages, clear=clear, symlink=symlink)) |
This file contains 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
vagrant@packer-vmware-iso:~/test$ virtualenv -p /usr/bin/python3 env | |
Running virtualenv with interpreter /usr/bin/python3 | |
Using base prefix '/usr' | |
New python executable in env/bin/python3 | |
Also creating executable in env/bin/python | |
Installing setuptools, pip...done. |
NewerOlder