Skip to content

Instantly share code, notes, and snippets.

View gaboelnuevo's full-sized avatar

Gabriel S. L gaboelnuevo

View GitHub Profile
@wilburforce83
wilburforce83 / Different-Digit-YT-clone.xml
Created October 25, 2018 15:50
Saw someone selling a bot on Youtube, and could see it was likely a Fruitfella ripoff with a some interesting money management.
<xml xmlns="http://www.w3.org/1999/xhtml" collection="false">
<variables>
<variable type="" id="2BJEgWrETy.wQT(ma`Bd">Stop_Loss</variable>
<variable type="" id="(F(n|~C.|brNq^cKJYSJ">Take_Profit</variable>
<variable type="" id="lf)sWOEvD,|IP.w_OG+)">Num_Recovery_Trades</variable>
<variable type="" id="^Pqa(7av*MV.n%kJI-/Y">Initial_Stake</variable>
<variable type="" id="~}kO.0!4,AqZzxSd?7@v">Tick_Period</variable>
<variable type="" id="Bd}9;/DyJBx6}M_XOfAO">[fld2] Last Digit List</variable>
<variable type="" id="FRYtr;rHM*-$Wn1HE67b">[fld2] How many ticks?</variable>
<variable type="" id="$,]sPp#Skd7DOHe/S`bw">[fld2] Number (0-9)</variable>
@andigu
andigu / TabParallax.js
Last active October 23, 2023 07:34
A react native component featuring parallax scrolling with tabs
import React, {Component} from "react";
import {Animated, Dimensions, Platform, Text, TouchableOpacity, View} from "react-native";
import {Body, Header, List, ListItem as Item, ScrollableTab, Tab, TabHeading, Tabs, Title} from "native-base";
import LinearGradient from "react-native-linear-gradient";
const {width: SCREEN_WIDTH} = Dimensions.get("window");
const IMAGE_HEIGHT = 250;
const HEADER_HEIGHT = Platform.OS === "ios" ? 64 : 50;
const SCROLL_HEIGHT = IMAGE_HEIGHT - HEADER_HEIGHT;
const THEME_COLOR = "rgba(85,186,255, 1)";
@Fruitfella
Fruitfella / !README.md
Last active November 4, 2018 05:59
BOT requested by nobleb2007

RSI BOT with Martingale

Right click here the Save link content as.. to download the xml file

@schmich
schmich / npm-prerelease.md
Last active June 26, 2024 13:20
Publish a prerelease package to NPM
  • Update package.json, set version to a prerelease version, e.g. 2.0.0-rc1, 3.1.5-rc4, ...
  • Run npm pack to create package
  • Run npm publish <package>.tgz --tag next to publish the package under the next tag
  • Run npm install --save package@next to install prerelease package
@oc2pcoj
oc2pcoj / Good IOS RTSP Player.md
Last active June 26, 2024 09:08
iOS RTSP player for IP video cameras
@njcaruso
njcaruso / controller.snippet.js
Last active October 27, 2021 04:17
Custom loopback change-stream to only show stream updates from the logged in user. The intent is to have a `Message` model that contains private messages for users. The current implementation of change-stream while it accepts an options.where clause, it does not use it. See https://github.com/strongloop/angular-live-set/issues/11.
var url = '/api/messages/stream-updates' +
'?access_token=' + LoopBackAuth.accessTokenId;
var src = new EventSource(url);
var changes = createChangeStream(src);
var set;
Message.find({
filter: {
where: {
@ryanpeterson
ryanpeterson / tesseract_build.sh
Created May 19, 2015 14:37
Standalone tesseract build script
#!/bin/bash
#
# Build Script for making standalone version of Tesseract
# Wes Fowlks
# 10/01/2014
# Originally posted at:https://code.google.com/p/tesseract-ocr/issues/detail?id=1326
# Original pastebin source: http://pastebin.com/VnGLHfbr
# use env variables for these instead
@sogko
sogko / app.js
Last active November 8, 2022 12:31
gulp + expressjs + nodemon + browser-sync
'use strict';
// simple express server
var express = require('express');
var app = express();
var router = express.Router();
app.use(express.static('public'));
app.get('/', function(req, res) {
res.sendfile('./public/index.html');
@aheckmann
aheckmann / emit.js
Created June 7, 2012 15:25
mongoose update,new,remove events
var mongoose = require('mongoose');
mongoose.connect('localhost', 'testing_emitUpdate');
var Schema = mongoose.Schema;
var schema = new Schema({
name: String
});
// plumbing
schema.pre('save', function (next) {
@westphahl
westphahl / optimal_tsp.py
Created June 10, 2010 11:46
TSP brute-force solution
"""
Author: Simon Westphahl <westphahl@gmail.com>
Description: Brute-force implementation for solving the TSP.
http://en.wikipedia.org/wiki/Travelling_salesman_problem
"""
routes = []
def find_paths(node, cities, path, distance):