Time | Activity |
---|---|
8:00 AM | Arrive at Vancouver International Airport. |
9:00 AM | Pick up rental car or take a taxi to your accommodation. |
10:00 AM | Check into your accommodation. |
11:00 AM | Food Block for brunch. |
12:30 PM | Visit Stanley Park - explore the Seawall and totem poles. |
3:00 PM | Walk around Granville Island, visit the Public Market. |
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
import matplotlib.pyplot as plt | |
predicted_y = [] | |
actual_y = [] | |
plt.scatter(x, predicted_y, color="green") | |
plt.scatter(x, actual_y, color="blue") | |
plt.show() |
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
# sets the time up | |
sudo timedatectl set-ntp true |
I hereby claim:
- I am nisargap on github.
- I am nisarga (https://keybase.io/nisarga) on keybase.
- I have a public key ASA1PFiDlGtRE45F0C_cWsGd9Ku5fyBSoRGpGTOs50QlHgo
To claim this, I am signing this object:
I hereby claim:
- I am nisargap on github.
- I am nisarga (https://keybase.io/nisarga) on keybase.
- I have a public key ASDGefZjCn-ZzvwC4HUjhuKpulaCk-L4-sqWBSBNB3a70Qo
To claim this, I am signing this object:
I hereby claim:
- I am nisargap on github.
- I am nisarga (https://keybase.io/nisarga) on keybase.
- I have a public key ASBT85DDO_LgzHMY1OmROdvxq4XHrLM8OXWu93at6aBSbQo
To claim this, I am signing this object:
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
# Find the library that's messing things up | |
sudo find /usr -iname "*libGL.so*" -exec ls -l {} \; | |
# Remove that library | |
rm ... | |
# In my case it was the mesa libraries | |
# Create the symlink for the proper Nvidia Library in this case its nvidia-378 but it could be something else | |
sudo ln -s /usr/lib/nvidia-378/libGL.so.1 /usr/local/lib/libGL.so.1.2.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
// Nasty line to refactor: | |
// app.use(require('express-session')({ secret: 'keyboard cat', resave: false, saveUninitialized: false })); | |
// No one can read that | |
// expressSession library | |
var expressSession = require('express-session'); | |
// sessionOptions object | |
var sessionOptions = { | |
secret: "keyboard cat", |
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
function oneFunction() { | |
console.log("hello fam"); | |
} | |
function twoFunction() { | |
console.log("hello fam again"); | |
} | |
var objectToExport = { | |
one: oneFunction, |
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
// import in express | |
var express = require('express'); | |
// get the express router | |
var router = express.Router(); | |
// can also get this from another file | |
// var IndexRouteController = require('PATH TO INDEX ROUTE CONTROLLER" | |
var IndexRouteController = function(req, res) { | |
res.render('index', { |
NewerOlder