I hereby claim:
- I am nonlogos on github.
- I am nonlogos1 (https://keybase.io/nonlogos1) on keybase.
- I have a public key ASBjxAjihFGVwG8TfEbOTE5Imilz0trmnnb6-Z5mWNzc3wo
To claim this, I am signing this object:
| class HelloWorld: | |
| def __init__(self, name): | |
| self.name = name.capitalize() | |
| def sayHi(self): | |
| print "Hello " + self.name + "!" | |
| hello = HelloWorld("world") | |
| hello.sayHi() |
| openssl genrsa -des3 -passout pass:x -out server.pass.key 2048 | |
| openssl rsa -passin pass:x -in server.pass.key -out server.key | |
| [observe] | |
| writing RSA key | |
| rm server.pass.key | |
| openssl req -new -key server.key -out server.csr |
| git fetch --all | |
| git reset --hard origin/master |
I hereby claim:
To claim this, I am signing this object:
brew services start redis to run redisbrew services restart redis to restart redisredis-cli ping to check if redis is on, if it is it should return 'pong'| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> |
| import { Component } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-root', | |
| templateUrl: './app.component.html', | |
| styleUrls: ['./app.component.css'] | |
| }) | |
| export class AppComponent { |
| // only spies on the function but does not change its behavior | |
| // SPY: basic anonymous spy example | |
| function testMe(callback) { | |
| callback(); | |
| } | |
| // testing function | |
| describe('testMe funciton', () => { |
| function increment(input) {return input + 1} | |
| function decrement(input) {return input - 1} | |
| function double(input) {return input * 2} | |
| var initial_value = 1; | |
| // put a chain of functions in a pipeline array | |
| var pipeline = [ | |
| increment, | |
| double, |