https://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Print_Version
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 requests | |
from datetime import date | |
from datetime import timedelta | |
day = date.today()-timedelta(days=0) | |
dayStr = day.strftime("%Y-%m-%d") | |
rPsi = requests.get("https://api.data.gov.sg/v1/environment/psi?date=" + dayStr) |
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
package main | |
import ( | |
"fmt" | |
"github.com/schollz/closestmatch" | |
) | |
func main() { | |
wordsToTest := []string{"MERCEDES (ID000001)", |
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
# Compiled Object files | |
*.slo | |
*.lo | |
*.o | |
*.obj | |
# Precompiled Headers | |
*.gch | |
*.pch |
Following is the instruction on how to cross compile a program for openwrt:
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 ubuntu:xenial | |
MAINTAINER alex | |
# update and install dependencies | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
software-properties-common \ | |
wget \ | |
&& add-apt-repository -y ppa:ubuntu-toolchain-r/test \ | |
&& apt-get update \ |
I hereby claim:
- I am alext234 on github.
- I am alext234 (https://keybase.io/alext234) on keybase.
- I have a public key ASAQSHCKjdab_jgIMuJ8TPCqfg68S4b9AytJPd0QhkiEmAo
To claim this, I am signing this object: