Skip to content

Instantly share code, notes, and snippets.

View dytra's full-sized avatar
🎯
Focusing

dytra dytra

🎯
Focusing
View GitHub Profile
@dytra
dytra / TouchableImageMapper.tsx
Last active February 5, 2024 08:46
TouchableImageMapper
import React from "react";
import { calculateAspectRatio } from "./forms/Upload";
import { Dimensions } from "react-native";
import ImageMapper from 'react-native-image-mapper';
/**
* TouchableImageMapper Component Props.
* @interface
*/
interface TouchableImageMapper {
@dytra
dytra / udemy-plus-emailer.php
Created November 7, 2023 09:02
wordpress plugin extension that injects to recipe_rated hook
<?php
/*
Plugin Name: Udemy Plus Emailer
*/
add_action('recipe_rated',function($data) {
$post = get_post($data['postID']);
$authorEmail = get_the_author_meta('user_email', $post->post_author);
$subject= "Your recipe has received a new rating";
@dytra
dytra / install.sh
Last active September 20, 2023 02:25
Simple Parrot Security (Docker version) Installer
sudo docker pull parrotsec/security
sudo docker run --rm -ti --network host -v $PWD/work:/work parrotsec/security
@dytra
dytra / 404-cv-not-found.markdown
Created December 22, 2019 12:26
404 CV Not Found

404 CV Not Found

The goal of this pen is to attract recruiters to let them know that you really love coding in the web and hopefully this can make you get your first interview.

This landing page talk to the readers that your CV isn't just a PDF file, it's an interactive cv! That's what the Get CV buton is for. Link the Get CV button to your interactive CV.

So what are you waiting for? Fork this pen, make it suite for you and then convert this pen to a pdf file. Use a free service like Sejda's HTML to PDF and attach it in your LinkedIn profile or anything. Good luck!

@dytra
dytra / index.html
Created July 2, 2019 15:20
JS Bin find the greatest factor // source https://jsbin.com/bikopog
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="find the greatest factor">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
Running backdoor-apk at Mon Dec 12 18:06:10 WIB 2016
/usr/bin/msfvenom
/usr/bin/d2j-dex2jar
/usr/bin/unzip
/usr/bin/keytool
/usr/bin/jarsigner
/usr/bin/apktool
third-party/proguard5.2.1/lib/proguard
third-party/android-sdk-linux/build-tools/23.0.3/dx
third-party/android-sdk-linux/build-tools/23.0.3/zipalign
@dytra
dytra / volumetabung.php
Created May 21, 2014 03:23
Volume Tabung
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Menghitung Volume Tabung</title>
</head>
<body>
<form action="outputvolumetabung.php" method="post">
Jari-jari <input type="text" name="jari"> <br>
Tinggi <input type="text" name="tinggi"> <br>