Skip to content

Instantly share code, notes, and snippets.

View jetobe95's full-sized avatar

Jeffrey Torres jetobe95

View GitHub Profile
@jetobe95
jetobe95 / main.dart
Created April 5, 2022 18:22
Test multiple change into a stateProvider
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(ProviderScope(child: MyApp()));
}
@jetobe95
jetobe95 / main.dart
Last active March 28, 2022 01:47
CupertinoSegmentedControl
// main.dart
import 'package:flutter/cupertino.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@jetobe95
jetobe95 / graphs.dart
Created March 10, 2022 07:02
Getting started with graphs
void main() {
final oVertice1 = Vertice(1);
final oVertice2 = Vertice(2);
final oVertice3 = Vertice(3);
final oVertice4 = Vertice(4);
final oVertice5 = Vertice(5);
final oVertice6 = Vertice(6);
oVertice6.add(oVertice4);
{"lastUpload":"2020-06-11T04:23:38.279Z","extensionVersion":"v3.4.3"}
@jetobe95
jetobe95 / React Native Clear Cache
Created January 17, 2019 18:00 — forked from jarretmoses/React Native Clear Cache
Clearing the Cache of your React Native Project
RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache
npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache
Windows - del %appdata%\Temp\react-native-* & cd android & gradlew clean & cd .. & del node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache
@jetobe95
jetobe95 / README.md
Created November 2, 2017 22:13 — forked from john-guerra/README.md
GeoJson map of Colombia

Geo Json map of Colombia

Based on the Map of Thailand by Master Krist Wongsuphasawat, a simple map of Colombia using GeoJSON and D3.js

As in Krist example:

  • Each province is color-coded by the length of its name in English.
  • Hover each province to see text effects.
  • New font is chosen randomly every time you change the province.