Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Finding the Dart Zone B|

Luis Cardoza Bird Crdzbird

🎯
Finding the Dart Zone B|
View GitHub Profile
View ColoredShadow.kt
import androidx.compose.ui.Modifier
import androidx.compose.ui.composed
import androidx.compose.ui.draw.drawBehind
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.Paint
import androidx.compose.ui.graphics.drawscope.drawIntoCanvas
import androidx.compose.ui.graphics.toArgb
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
View tap_recorder.dart
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter/widgets.dart';
/// This is code that I (https://twitter.com/creativemaybeno) wrote for a
/// StackOverflow answer.
/// You can find it here: https://stackoverflow.com/a/65067655/6509751.
@Crdzbird
Crdzbird / @mattupham Omegle IP Location Finder
Created Feb 12, 2021 — forked from mattupham/@mattupham Omegle IP Location Finder
@mattupham Omegle IP Location Finder - Ask Questions in our Discord, links below
View @mattupham Omegle IP Location Finder
// Subscribe on YouTube, and follow on TikTok (@mattupham)! Socials found below:
// https://mattupham.com/links
// @ me on Discord with any questions!
https://link.mattupham.com/discord
// --------------------------------------------
// PLEASE REPLACE "your-api-key-here" WITH AN
// API KEY FROM https://ipgeolocation.io/
let apiKey = "your-api-key-here";
@Crdzbird
Crdzbird / ValidacionCedula.java
Last active Apr 29, 2020
Validacion Cedula Nicaraguense
View ValidacionCedula.java
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.JOptionPane;
public class ValidacionCedula {
View urls_tv_nica
[Nombre Canal]
HQ Link
Mobile Link
Canal 2
http://138.117.4.70:8079/streams/d/CH-2/playlist.m3u8
http://138.117.4.70:8079/streams/d/Canal-2M/playlist.m3u8
Canal 4
http://138.117.4.70:8079/streams/d/CH-4/playlist.m3u8
View structureTaxi.sql
SET FOREIGN_KEY_CHECKS=0;
DROP TABLE IF EXISTS Cliente;
create table Cliente
(
idCliente int auto_increment
primary key,
nombreCliente varchar(128) not null,
apellidoCliente varchar(128) not null,
email varchar(20) null,
telefono varchar(13) null
View nyc-taxi.sql
SELECT
CASE WHEN TipPercentage < 0 THEN 'No Tip'
WHEN TipPercentage BETWEEN 0 AND 5 THEN 'Less but still a Tip'
WHEN TipPercentage BETWEEN 5 AND 10 THEN 'Decent Tip'
WHEN TipPercentage > 10 THEN 'Good Tip'
ELSE 'Something different'
END AS TipRange,
Hr,
Wk,
TripMonth,
@Crdzbird
Crdzbird / dash_emoji_snippets.sql
Created Jan 30, 2020 — forked from supermarin/dash_emoji_snippets.sql
Emoji in realtime with Dash.app Thanks @orta for putting this up. Read below for importing instructions
View dash_emoji_snippets.sql
INSERT INTO 'snippets' ('title', 'body') VALUES
(':+1:', '👍'),
(':-1:', '👎'),
(':100:', '💯'),
(':1234:', '🔢'),
(':8ball:', '🎱'),
(':a:', '🅰'),
(':ab:', '🆎'),
(':abc:', '🔤'),
(':abcd:', '🔡'),
@Crdzbird
Crdzbird / postgres_array.go
Created Aug 2, 2018 — forked from adharris/postgres_array.go
PostgreSQL demo of Array types using Golang
View postgres_array.go
package main
import (
"database/sql"
"errors"
"fmt"
_ "github.com/bmizerany/pq"
"os"
"regexp"
"strings"