Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts
file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
Most of programs will not accept an email using just @localhost as domain.
So, edit /etc/hosts
file to make the domain localhost.com point to your machine, including this content to the file:
127.0.0.1 localhost.com
Friend: I tried looking at static linking in Mac OS X and it seems nearly impossible. Take a look at this http://stackoverflow.com/a/3801032
Me: I have no idea what that
-static
flag does, but I'm pretty sure that's not how you link to a library. Let me RTFM a bit.
Minutes later...
These notes were taken during learning Python programming language.
Learning resources:
To avoid having to enter your username and password EVERY-SINGLE-TIME you push, follow these step-by-step instructions.
Go to https://c9.io/account/ssh and copy the key below "Connect to your private git repository". It's a very long string that starts with ssh-rsa and ends with your email.
Go to https://github.com/settings/keys and click New SSH key
.
#!/user/bin/env ruby | |
require 'bundler/inline' | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'sinatra', '~> 1.4' | |
gem 'bcrypt', '~> 3.1' | |
end | |
require 'sinatra/base' |
require 'sinatra' | |
# Listen on all interfaces in the development environment | |
# This is needed when we run from Cloud 9 environment | |
# source: https://gist.github.com/jhabdas/5945768 | |
set :bind, '0.0.0.0' | |
set :port, 8080 | |
get '/' do | |
'hello world!' |
'Microsoft Excel Automation Basics | |
':: Create and edit an Excel File. | |
'--------------------------------- | |
'create the excel object | |
Set objExcel = CreateObject("Excel.Application") | |
'view the excel program and file, set to false to hide the whole process | |
objExcel.Visible = True |
const { interval } = require('rxjs') | |
const { throttleTime } = require('rxjs/operators'); | |
// emit value every 500 millisecond (0.5 second) | |
const myObserver = interval(500); | |
const myThrottledObserver = myObserver.pipe(throttleTime(1000)); | |
const myDisposable = myThrottledObserver.subscribe(val => console.log(val)); |
const { interval } = require('rxjs') | |
const { throttleTime } = require('rxjs/operators'); | |
// emit value every 500 millisecond (0.5 second) | |
const myObserver = interval(500); | |
const myThrottledObserver = myObserver.pipe(throttleTime(1000)); | |
myThrottledObserver.subscribe(val => console.log(val)); |