Skip to content

Instantly share code, notes, and snippets.

View pierreneter's full-sized avatar

Pierre Neter pierreneter

View GitHub Profile
div {
height: 100px;
}
.red-bg {
background-color: #FF0000;
}
.green-bg {
background-color: #00FF00;
}
.blue-bg {
@pierreneter
pierreneter / check.py
Last active July 24, 2017 23:36 — forked from mrry/tensorflow_self_check.py
TensorFlow on Windows self-check
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
{
"name": "Túy Âm",
"assets": {
"spotify": "https://open.spotify.com/track/4u6Ib5oyD7dlz3xo0Ht7Gh",
"itunes": "https://itunes.apple.com/vn/album/tuy-am-feat-xesi-nhat-nguyen/id1289763464?i=1289763471&app=itunes&ign-mpt=uo%3D4",
"applemusic": "https://itunes.apple.com/vn/album/tuy-am-feat-xesi-nhat-nguyen/id1289763464?i=1289763471&app=music&ign-mpt=uo%3D4",
"deezer": "http://www.deezer.com/us/track/411463512?app_id=140685",
"youtube": "https://www.youtube.com/watch?v=EV-91JV4Fws"
}
}
@pierreneter
pierreneter / images
Created December 8, 2017 19:55
images
https://www.google.com.vn/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
{
"pointStart": 1230764400000,
"pointInterval": 3600000,
"dataLength": 56909,
"data": [-0.7, -0.9, -1.7, -2.5, -3, -3.3, -3.8, -4, -4.5, -4.7, -4.8, -4.5, -4.5, -4.7, -4.8, -5.2, -5.2, -5, -5.4, -5.8, -5.8, -5.5, -4.7, -4.1, -3.5, -3.2, -2.4, -2.8, -1.7, -1.2, -0.9, -0.7, -0.4, -0.4, -0.3, 0.2, 0.2, 0.3, 0.3, 0.5, 0.9, 0.7, 1.1, 1.3, 1.1, 1.4, 1, 0.3, 0.1, 0.1, 0.3, 0.7, 1.2, 2.1, 3.7, 4, 4.1, 3.9, 3.7, 3.3, 3.7, 4.1, 4.1, 3.6, 3.1, 2.7, 2.1, 2, 0.9, 0, -0.5, -1.2, -1.1, -1, -0.7, -1.4, -1.4, -2, -1.8, -2, -3.4, -4.6, -5.3, -5.7, -6, -6.1, -6.5, -7.2, -7.8, -7.9, -8.1, -8.4, -8.5, -8.7, -8.9, -9.1, -9.3, -9.2, -9.4, -9.5, -9.7, -9.7, -9.7, -9.6, -8.1, -7.5, -6.1, -5, -4.3, -4, -4, -4.1, -4.2, -4.4, 2.8, -4.5, -4.6, -4.5, -4.1, -3.7, -3.4, -3.1, -1.8, 2.5, 1.4, 3, 3.2, 3.2, 2.9, 3.1, 3.1, 2.2, 2.3, 3, 3, 2.9, 2.6, 2, 1.1, 0.2, -0.2, -0.3, -0.2, -0.2, -0.3, -0.4, -0.7, -1, -1.1, -1.1, -1.2, -1.2, -1.1, -1.2, -1.2, -0.8, -1.5, -1.2, -1.7, -2.9, -3.9, -3.1, -2.7, -3, -2.7, -2.4, -2.2, -2.1, -2.3, -2.3, -2.3,
@pierreneter
pierreneter / sketchtool sketch cli setup
Last active August 9, 2021 05:23
sketchtool sketch cli install, sketchtool sketch cli path, sketchtool sketch cli setup
#!/bin/sh
rm -rf /usr/local/bin/sketchtool
ln -s /Applications/Sketch.app/Contents/MacOS/sketchtool /usr/local/bin/sketchtool
@pierreneter
pierreneter / docker
Last active July 8, 2022 05:19
Fast curl to run install docker snippet
#!/bin/sh
# https://docs.docker.com/engine/install/ubuntu/
sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get install \
ca-certificates \
@pierreneter
pierreneter / .editorconfig add *.proto
Last active October 4, 2020 08:49
.editorconfig for .proto (protocol buffers)
# https://developers.google.com/protocol-buffers/docs/style
[*.proto]
indent_stlye = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
@pierreneter
pierreneter / docker-alpine.bash
Last active February 4, 2023 18:56
Docker apline
apk add docker openrc --no-cache
addgroup root docker
rc-update add docker boot
service docker start