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/env pythonw | |
import os | |
import sys | |
import numpy as np | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
from PyQt5.QtWidgets import QApplication, QWidget, QFileDialog | |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>local.jupyter.notebook</string> | |
<key>ProgramArguments</key> | |
<array> |
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
var express = require('express'); | |
var router = express.Router(); | |
var fs = require('fs'); | |
var pdfjs = require("pdfjs-dist") | |
var filepath = "/home/user/scalable-inference-for-gaussian-process-models-with-black-box-likelihoods.pdf"; | |
var data = new Uint8Array(fs.readFileSync(filepath)); | |
var extract_title = data => pdfjs.getDocument(data).then(doc => | |
doc.getMetadata().then(meta => meta.info.Title)); |
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
from requests_oauthlib import OAuth1Session | |
from time import time | |
class Notification: | |
""" | |
Notification class to specific user in twitter | |
""" | |
log_file = "notify.log" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>GLSL test</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"> | |
</script> | |
<script type="text/javascript"> | |
var gl; | |
var canvas; |
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
# coding=utf-8 | |
import sys | |
from requests_oauthlib import OAuth1Session | |
from time import sleep | |
from random import randint, seed | |
from json import loads | |
oauth_key = { | |
"consumer_key" : "xxxxxxxxxxxxxxxxxxxxxxxxx", | |
"consumer_secret" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", |
NewerOlder