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
#!/usr/bin/python3 | |
hrs = input("Enter Hours:") | |
rate = input("Enter Rate:") | |
#Computing Overtime | |
if float(hrs) > 40: | |
hrs_difference = float(hrs) - 40 | |
#print(hrs_difference) | |
overtime_pay = float(hrs_difference *(rate * 1.5)) | |
print(overtime_pay) |
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
origin https://github.com/harushimo/items-catalog.git (fetch) | |
origin https://github.com/harushimo/items-catalog.git (push) | |
preprod https://github.com/harushimo/fullstack-nanodegree-vm.git (fetch) | |
preprod https://github.com/harushimo/fullstack-nanodegree-vm.git (push) |
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
{ | |
"name": "polymer", | |
"version": "1.2.4", | |
"main": [ | |
"polymer.html", | |
"polymer-mini.html", | |
"polymer-micro.html" | |
], | |
"license": "http://polymer.github.io/LICENSE.txt", | |
"ignore": [ |
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
=> "-lffi \n" | |
"gcc -o conftest -I/home/hari/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/x86_64-linux -I/home/hari/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/ruby/backward -I/home/hari/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -fPIC conftest.c -L. -L/home/hari/.rvm/rubies/ruby-2.3.0/lib -Wl,-R/home/hari/.rvm/rubies/ruby-2.3.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,'/../lib' -Wl,-R'/../lib' -lruby -lpthread -lgmp -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: cannot find -lgmp | |
collect2: error: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main(int argc, char **argv) | |
4: { |
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
Skipping module _numericsurfarray for Python 3.2.3 (default, Oct 19 2012, 20:10:41) | |
[GCC 4.6.3] build. | |
Skipping module _numericsndarray for Python 3.2.3 (default, Oct 19 2012, 20:10:41) | |
[GCC 4.6.3] build. | |
running build | |
running build_py | |
running build_ext | |
building 'pygame.imageext' extension | |
gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -fPIC -D_REENTRANT -I/usr/X11R6/include -I/usr/include/SDL -I/usr/include/SDL -I/usr/include -I/usr/include -I/usr/include/python3.2mu -c src/imageext.c -o build/temp.linux-x86_64-3.2/src/imageext.o | |
In file included from src/imageext.c:47:0: |
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
#This is using a regular expression to for small letter | |
while playAgain == '[Yy]es' or playAgain == '[Yy]' | |
displayIntro() | |
caveNumber = chooseCave() | |
checkCave(caveNumber) | |
print('Do you want to play again? (yes or no)') | |
playAgain = input() |
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
#!/usr/local/bin/node | |
//Writing a configuration file | |
var config = { | |
"secrets" : { | |
"clientId" : "GOZ5E3WU0KPGHAU4NDRBDNT2F2BVAP0SGCMZJAQAI4EOOGMT", | |
"clientSecret": "HLZJO1OEXMPKXVDO23Z4EE3WBHS2ZSBUBU4UWALW2ZSFEFNR", | |
"redirectUrl": "https://localhost:3000/callback" | |
} | |
,"foursquare" : { |
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
require 'spec_helper' | |
describe "StaticPages" do | |
describe "Home page" do | |
it "should have the content 'Sample App'" do | |
# Run the generator again with the --webrat flag if you want to use webrat methods/matchers | |
visit '/static_pages/home' | |
page.should have_content('Sample App') |
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
F | |
Failures: | |
1) StaticPages Home page should have the content 'Sample App' | |
Failure/Error: visit '/static_pages/home' | |
NoMethodError: | |
undefined method `visit' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:0x007f84d4d6bef0> | |
# ./spec/requests/static_pages_spec.rb:9:in `block (3 levels) in <top (required)>' |
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
#!/bin/bash | |
#Source and Target | |
source="$HOME/Downloads" | |
current_date=`date"+%m_%d_%y"` | |
target="$HOME/backup/${current_date}_back.tar.gz" | |
#Creating backup.tgz file to back up directory | |
tar -cvzf "$target" --exclude="$target" "$source" | |
Error Message |
NewerOlder