Skip to content

Instantly share code, notes, and snippets.

View gogl92's full-sized avatar
🎣
Florida

Luis Gonzalez gogl92

🎣
Florida
View GitHub Profile
@gogl92
gogl92 / App.tsx
Created May 3, 2023 04:33
Typescript React draggable video widget
import VideoComponent from './VideoComponent';
function App() {
return (
<div className="App">
<VideoComponent isVisible={false} videoUrl="https://path-to-your-video/video.mp4" />
</div>
);
}
@gogl92
gogl92 / creative-game-login-ui.markdown
Created February 22, 2023 23:28
Creative Game Login UI
@gogl92
gogl92 / index.html
Created November 24, 2022 03:36
Neural Drum Machine
<div class="progress pink">
<div class="indeterminate white"></div>
</div>
<div class="app" style="display: none;">
<div class="sequencer">
<div class="steps"></div>
</div>
<a class="regenerate btn-floating btn-large waves-effect waves-light pink darken-2 pulse">
<i class="material-icons">refresh</i>
@gogl92
gogl92 / bootstrap-tab-panel-example.markdown
Created September 25, 2021 20:30
Bootstrap tab panel example
@gogl92
gogl92 / index.html
Created August 7, 2021 21:09
Vue Hello World!
<script src="https://unpkg.com/vue"></script>
<div id="app">
{{ hello }}
</div>
<script>
const app = new Vue({
el: '#app',
@gogl92
gogl92 / bootstrap-vue-modal.markdown
Created October 11, 2020 19:13
Bootstrap vue modal
@gogl92
gogl92 / align_scan.py
Created July 27, 2019 00:08 — forked from smeschke/align_scan.py
Aligns a scanned document to find optimal rotation
import cv2
import numpy as np
src = 255 - cv2.imread('/home/stephen/Desktop/I7Ykpbs.jpg',0)
scores = []
h,w = src.shape
small_dimention = min(h,w)
src = src[:small_dimention, :small_dimention]
@gogl92
gogl92 / main.js
Created June 23, 2019 22:17 — forked from ahmedengu/main.js
Using simple-parse-smtp-adapter with cloud code, Parse Server, https://github.com/lcortess/simple-parse-smtp-adapter
var sendSmtpMail = require('simple-parse-smtp-adapter')({
fromAddress: 'your@sender.address',
user: 'email@email.com',
password: 'AwesomePassword',
host: 'your.smtp.host',
isSSL: true,
port: 465,
emailField: 'email'
}).sendMail;
@gogl92
gogl92 / InquidML.php
Created December 19, 2018 23:04
Inquid Machine Learning
<?php
namespace app\components;
use yii\base\Component;
use Phpml\Classification\KNearestNeighbors;
class InquidML extends Component
{
public function example(){
@gogl92
gogl92 / mi_telcel.php
Created November 17, 2018 17:59
Yii2 Mitelcel client TEST
<?php
/* NOT READY FOR PRODUCTION, TEST ONLY */
use yii\helpers\Html;
use yii\httpclient\Client;
use yii\web\Cookie;
$phone = '';
$password='';
$cookie = '';