Skip to content

Instantly share code, notes, and snippets.

Avatar

João Gabriel Lima jgabriellima

View GitHub Profile
@jgabriellima
jgabriellima / Git remove folder
Created Jul 27, 2018 — forked from sabarasaba/gist:3080590
Remove directory from remote repository after adding them to .gitignore
View Git remove folder
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
@jgabriellima
jgabriellima / persist.js
Created Jun 14, 2019 — forked from benjick/persist.js
mobx-state-tree persist PoC
View persist.js
/* globals localStorage */
import { onSnapshot, applySnapshot } from 'mobx-state-tree';
import Storage from './storage';
export const persist = (name, store, options, schema = {}) => {
let hydrated = false;
let storage = options.storage;
if (typeof localStorage !== 'undefined' && localStorage === storage) {
View base_5_min_EUR_JPY
This file has been truncated, but you can view the full file.
type,datetime,open,high,low,close,ema,sma,rsi,bollow,bolhigh,macd,previous
USDJPY,2017-10-27 01:35:00,114.2020,114.2040,114.2000,114.2000,114.0367,114.0413,58.83,114.0094,114.2857,0.0323,114.1900
USDJPY,2017-10-27 01:30:00,114.1820,114.1820,114.1760,114.1810,114.0334,114.0377,56.72,114.0000,114.2780,0.0318,114.1890
USDJPY,2017-10-27 01:25:00,114.2140,114.2200,114.2110,114.2200,114.0304,114.0339,62.87,113.9907,114.2720,0.0327,114.2220
USDJPY,2017-10-27 01:20:00,114.1820,114.1960,114.1820,114.1900,114.0266,114.0297,59.75,113.9848,114.2556,0.0294,114.2550
USDJPY,2017-10-27 01:15:00,114.1880,114.2010,114.1880,114.1890,114.0233,114.0253,59.65,113.9779,114.2438,0.0278,114.1300
USDJPY,2017-10-27 01:10:00,114.2180,114.2240,114.2090,114.2220,114.0199,114.0212,64.82,113.9768,114.2294,0.0255,114.1580
USDJPY,2017-10-27 01:05:00,114.2400,114.2550,114.2320,114.2550,114.0158,114.0165,70.50,113.9873,114.2050,0.0188,114.0940
@jgabriellima
jgabriellima / media-query-template.css
Created Sep 14, 2021 — forked from mavieth/media-query-template.css
Media Query Template for Basic CSS
View media-query-template.css
/**
* Basic CSS Media Query Template
* TODO: I should probably use Sass...
* Author: Michael Vieth
* ------------------------------------------
* Responsive Grid Media Queries - 1280, 1024, 768, 480
* 1280-1024 - desktop (default grid)
* 1024-768 - tablet landscape
* 768-480 - tablet
* 480-less - phone landscape & smaller
@jgabriellima
jgabriellima / encrypt.html
Created Oct 1, 2021 — forked from LucaLanziani/encrypt.html
AES encryption, equivalent implementation in python (PyCrypto) and Javascript (CryptoJS)
View encrypt.html
<html>
<head>
<script src="/javascripts/CryptoJS/rollups/aes.js"></script>
<script src="/javascripts/CryptoJS/components/mode-cfb-min.js"></script>
<script src="/javascripts/encrypt.js"></script>
</head>
<body>
</body>
</html>