Skip to content

Instantly share code, notes, and snippets.

aneury perez aneury1

Block or report user

Report or block aneury1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MF.cs
public static double S(double R, double i, int n)
return (R * (Math.Pow(1 + i, n) - 1) / i);
public static double P(double R, double i, int n)
return (R *( (Math.Pow(1 + i, n) - 1)/ (i*Math.Pow(1 + i, n))));
public static double R(double S, double i, int n)
View iframe.html
<div class="rich_text_area">
<iframe class="cl" id="editor" name="editor" frameborder="2" ></iframe>
<script src="script.js"></script>
const editor = document.getElementById('editor');
View BunglonReactApp.js
///single app of react-native
/// using this mockup as inspiration.
/// please enjoy, maybe I Will update this
import React, { Component } from 'react';
import {View, TouchableHighlight,ScrollView, Text, Dimensions, Image, FlatList,ImageBackground, Platform, Modal} from 'react-native';
class Logger extends Component{
View rounderButton.cs
class RoundedButton : Button
GraphicsPath GetRoundPath(RectangleF Rect, int radius)
float r2 = radius / 2f;
GraphicsPath GraphPath = new GraphicsPath();
GraphPath.AddArc(Rect.X, Rect.Y, radius, radius, 180, 90);
GraphPath.AddLine(Rect.X + r2, Rect.Y, Rect.Width - r2, Rect.Y);
View ssltcp.cpp
/// another dummy tcpclient
///g++ client.cpp -oclient -lwsock32 -lws2_32 -lssl -lcrypto
///g++ client.cpp -oclient -lssl -lcrypto
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
View custom_tcp_client.cpp
/// another dummy tcpclient
///g++ client.cpp -oclient -lwsock32 -lws2_32
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdlib.h>
View react.basic.package.json
"name": "app",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"rebuild":"react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/ --assets-dest android/app/src/main/res",
"android":"react-native run-android",
"ios": "react-native run-ios"
View run-react-native-windows.bat
:delete file inside android/app/src/main/assets
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/ --assets-dest android/app/src/main/res
react-native run-android
View TextEdit.dart
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
Widget build(BuildContext context) {
return new MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Animation Demo',
theme: new ThemeData(
View counter.dart
import 'package:flutter/material.dart';
void main() => runApp(RealApp());
class RealApp extends StatelessWidget{
Widget build(BuildContext context) {
return MyApp();
You can’t perform that action at this time.