State as of 2017-07-31.
You can also check a guide to upgrade CUDA on a [PC with with GTX 980 Ti and Ubuntu 16.04](https://gist.github.com/bzamecnik/61b293a3891e166797491f38d579d060.
- NVIDIA driver 375.66
State as of 2017-07-31.
You can also check a guide to upgrade CUDA on a [PC with with GTX 980 Ti and Ubuntu 16.04](https://gist.github.com/bzamecnik/61b293a3891e166797491f38d579d060.
| import SimpleHTTPServer | |
| import SocketServer | |
| PORT = 8000 | |
| class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| pass | |
| Handler.extensions_map['.shtml'] = 'text/html' |
| import gzip | |
| import json | |
| import requests | |
| try: | |
| from cStringIO import StringIO | |
| except: | |
| from StringIO import StringIO | |
| # Let's fetch the Common Crawl FAQ using the CC index | |
| resp = requests.get('http://index.commoncrawl.org/CC-MAIN-2015-27-index?url=http%3A%2F%2Fcommoncrawl.org%2Ffaqs%2F&output=json') |
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
By @foldleft.bsky.social, see also Unfollow everyone on bsky.app.
https://twitter.com/YOUR_USER_NAME/following// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)| var neverGonna = ["give you up", "let you down", "run around and desert you", "make you cry", "say goodbye", "tell a lie and hurt you"]; | |
| for (var i=0; i<neverGonna.length; i++){ | |
| console.log("Never gonna " + neverGonna[i]); | |
| } |
| # see http://stackoverflow.com/questions/5880962/how-to-destroy-jobs-enqueued-by-resque-workers - old version | |
| # see https://github.com/defunkt/resque/issues/49 | |
| # see http://redis.io/commands - new commands | |
| namespace :resque do | |
| desc "Clear pending tasks" | |
| task :clear => :environment do | |
| queues = Resque.queues | |
| queues.each do |queue_name| | |
| puts "Clearing #{queue_name}..." |
| #!/bin/bash | |
| # Scripts for creating/deleting/viewing pow symlinks | |
| # Created by Tyler J. (first ever bash!!!) | |
| a=`pwd` | |
| b=`basename -a $a` | |
| create() | |
| { | |
| # Create a pow symlink |