View index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>SSN Website Landing Page</title> | |
<link rel="icon" href="images/favicon.svg"> | |
<link href="style.css" rel="stylesheet"> |
View a.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@keyframes fadeOut{from{opacity:1}to{opacity:0}}.v-toast--fade-out{animation-name:fadeOut}@keyframes fadeInDown{from{opacity:0;transform:translate3d(0, -100%, 0)}to{opacity:1;transform:none}}.v-toast--fade-in-down{animation-name:fadeInDown}@keyframes fadeInUp{from{opacity:0;transform:translate3d(0, 100%, 0)}to{opacity:1;transform:none}}.v-toast--fade-in-up{animation-name:fadeInUp}.fade-enter-active,.fade-leave-active{transition:opacity 150ms ease-out}.fade-enter,.fade-leave-to{opacity:0}.v-toast{position:fixed;display:flex;top:0;bottom:0;left:0;right:0;padding:2em;overflow:hidden;z-index:1052;pointer-events:none}.v-toast__item{display:inline-flex;align-items:center;animation-duration:150ms;margin:.5em 0;box-shadow:0 1px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);border-radius:.25em;pointer-events:auto;opacity:.92;color:#fff;min-height:3em;cursor:pointer}.v-toast__item--success{background-color:#28a745}.v-toast__item--info{background-color:#17a2b8}.v-toast__item--warning{background-color:#ffc107}.v-toast__ite |
View scan.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
) |
View App.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<!-- button buat bukak modal, pakek props default biar warna nya biru --> | |
<!-- props lainya cek dokumentasi :) --> | |
<Button @click="openModal" color="default">Buka Modal</Button> | |
<!-- buat modal nya bisa copy di https://flowbite-vue.com/components/modal --> | |
<!-- | |
ada props size buat ngatur ukuranya, docs nya disini https://flowbite-vue.com/components/modal#sizes | |
pakek event @close buat nutup dan bukak, fungsinya kalau pencet tombol X di modal bakal najalanin method closeModal | |
--> |
View dfd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <PubSubClient.h> | |
// WiFi | |
const char *ssid = ""; // Enter your WiFi name | |
const char *password = ""; // Enter WiFi password | |
// MQTT Broker | |
const char *mqtt_broker = ""; // Enter your WiFi or Ethernet IP | |
const char *topic = "test/topic"; | |
const int mqtt_port = 1883; | |
WiFiClient espClient; |
View motor_esp32.ino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <WiFi.h> | |
#include <WebServer.h> | |
#define ENA 13 | |
#define ENB 12 | |
#define IN_1 32 | |
#define IN_2 33 | |
#define IN_3 34 | |
#define IN_4 35 |
View chart.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"ketua": [ | |
{ | |
"id": 1, | |
"name": "Joko", | |
"category": "Ketua", | |
"summary": 1341 | |
}, |
View fdfdf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<style> | |
iframe { | |
width:1000px; | |
height:500px; | |
position:absolute; | |
top:0; left:0; | |
filter:alpha(opacity=10); /* in a real attack this would be opacity=0 */ | |
opacity:0.1; | |
} |
View mkdir.asm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;compile and running using command below | |
;nasm -f elf64 -g -F dwarf -o a.o a.asm | |
;ld -o a a.o | |
global _start | |
section .data | |
pathDir db "dirTest",0 |
View rtctolcd.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Wire.h> | |
#include <LiquidCrystal_I2C.h> | |
#include <RTClib.h> | |
RTC_DS1307 rtc; | |
LiquidCrystal_I2C lcd(0x27,20,4); | |
void setup() | |
{ |
NewerOlder