maps://?q=LAT,LNG
geo:LAT,LNG
import re | |
from notion.client import NotionClient | |
def enumerate_notion_items( | |
view_url, id_col, created_at_col="created_time", token=None, client=None | |
): | |
""" | |
Given that a property with name e.g. "Item ID" exists for a notion dataset, | |
and that at least one item has a value for that property, this function |
function MyResponsiveComponent() { | |
const width = useWindowWidth(); // Our custom Hook | |
return ( | |
<p>Window width is {width}</p> | |
); | |
} |
#!/usr/bin/env node | |
console.log('yay gist') |
alias fuck="sudo" | |
alias gitf="git fetch" | |
alias gimme="brew install" | |
alias vhosts="fuck nano /etc/apache2/extra/httpd-vhosts.conf" | |
alias jspf="jspm i --unlink --force" | |
alias rserv="brew services restart | |
alias a2r="sudo apachectl -k restart" | |
alias dm="docker-machine" | |
denv(){ |
sudo apt-get update -y | |
sudo apt-get install -y git | |
sudo gem install sass | |
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list | |
sudo apt-get update | |
sudo apt-get install -y mongodb-org | |
sudo apt-get install -y build-essential tcl8.5 | |
wget http://download.redis.io/releases/redis-stable.tar.gz |
xcodebuild -exportArchive -exportFormat ipa -archivePath {PATH}/MyApp.xcarchive -exportPath ~/Desktop/MyApp.ipa |
import { Component } from "React"; | |
export var Enhance = ComposedComponent => class extends Component { | |
constructor() { | |
this.state = { data: null }; | |
} | |
componentDidMount() { | |
this.setState({ data: 'Hello' }); | |
} | |
render() { |
/* ******************************************************************************************* | |
* THE UPDATED VERSION IS AVAILABLE AT | |
* https://github.com/LeCoupa/awesome-cheatsheets | |
* ******************************************************************************************* */ | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html | |