sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
| // This code is is an adaptation of | |
| // https://github.com/freedomtan/sensors/blob/master/sensors/sensors.m that | |
| // prints the temperatures for Apple M1 MacBooks to the standard output. | |
| // WARNING: ONLY USE WITH APPLE M1 MACBOOKS | |
| // To compile run: | |
| // `clang -Wall -O3 -v sensors.m -framework IOKit -framework Foundation -o sensors` | |
| // Example ouput: | |
| // > ./sensors |
For ease of maintainability this project has moved from this gist to its own repository. You can go and visit it there.
| # Created with Pyto | |
| import widgets as wd | |
| import sf_symbols as sf | |
| import sys | |
| from datetime import time | |
| from UIKit import UIDevice | |
| from background import BackgroundTask | |
| from threading import Thread |
I am assuming you are here because like me, you installed a bazillion different python interpreters on mac and the whole thing is a spagetti. Today, I finally fixed my python installation. Whatever I install for python2 or python3 using pip JUST.WORKS.. My god! finally.
Here is what I had messed up, which you also probably did:
| # Before running this script, go to Quiver and export all notebooks into json/quiver format | |
| # Place them in a folder called `exports` in the same directory as this script. | |
| # In terminal, run `ruby quiver-to-evernote.rb` | |
| # Check for presence of required gems. | |
| # If not present, install the gems | |
| ["rubygems", "sanitize"].each do |gem| | |
| begin | |
| gem "#{gem}" | |
| rescue Gem::LoadError | |
| `gem install #{gem}` |
| from lxml import html | |
| import requests | |
| import unicodecsv as csv | |
| import argparse | |
| import json | |
| def clean(text): | |
| if text: | |
| return ' '.join(' '.join(text).split()) |
| #! /usr/bin/env bash | |
| nbWorkers=10 | |
| wallabag_path='/var/www/app.wallabag.it' | |
| workers[0]='pocket' | |
| workers[1]='instapaper' | |
| workers[2]='readability' | |
| workers[3]='wallabag_v1' | |
| workers[4]='wallabag_v2' |
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.