Skip to content

Instantly share code, notes, and snippets.

View piggybank_test.json
[
{
"id":1,
"amount":10,
"date":"2022-01-01"
},
{
"id":2,
"amount":-2,
"date":"2022-01-02"
View suburb-4000.json
[{"name": "Spring Hill", "postcode": 4000, "state": {"name": "Queensland", "abbreviation": "QLD"}, "locality": "BRIS CITY CNTRY", "latitude": -27.465, "longitude": 153.02340000000001}, {"name": "Brisbane Adelaide Street", "postcode": 4000, "state": {"name": "Queensland", "abbreviation": "QLD"}, "locality": "BRIS CITY CNTRY", "latitude": -27.465, "longitude": 153.02340000000001}, {"name": "Brisbane", "postcode": 4000, "state": {"name": "Queensland", "abbreviation": "QLD"}, "locality": "BRIS CITY CNTRY", "latitude": -27.4846, "longitude": 153.02010000000001}]
View featured-suburbs.json
View youcompleteme.sh
# For ubuntu 14.x, the g++ may be too old to make the cmake, we need to update that
sudo apt-get install g++-4.7
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 20
# Install the cmake.
cd ~
wget https://cmake.org/files/v3.8/cmake-3.8.1.tar.gz
tar -xf cmake-3.8.1.tar.gz
cd cmake-3.8.1
View destination-2.json
{
"OriginLocation": "AU",
"Destinations": [{
"Rank": 1,
"Destination": {
"DestinationLocation": "SEL",
"CountryCode": "KR",
"CountryName": "Korea - Republic Of",
"RegionName": "Asia Pacific",
"MetropolitanAreaName": "Bali",
View trending-app.html
View destination.json
{
"OriginLocation": "AU",
"Destinations": [{
"Rank": 1,
"Destination": {
"DestinationLocation": "SEL",
"CountryCode": "KR",
"CountryName": "Korea - Republic Of",
"RegionName": "Asia Pacific",
"MetropolitanAreaName": "Seoul",
@ericatsydney
ericatsydney / .eslintrc
Last active Jun 19, 2017
Some config files
View .eslintrc
ecmaFeatures:
arrowFunctions: true
blockBindings: true
defaultParams: true
forOf: true
jsx: true
modules: true
objectLiteralShorthandMethods: true
objectLiteralShorthandProperties: true
templateStrings: true