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
pg_dump --column-inserts -U <username> --table=<table> <database> -P |
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
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
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
const http = require("http"); | |
const host = process.argv.slice(2)[0]; | |
const port = process.argv.slice(2)[1]; | |
const requestListener = function (req, res) { | |
res.writeHead(200); | |
res.end("Success!!"); | |
}; |
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
wget https://nodejs.org/download/release/v16.19.0/node-v16.19.0-linux-x64.tar.gz | |
tar xvf node-v16.19.0-linux-x64.tar.gz | |
mv node-v16.19.0-linux-x64 nodejs | |
mkdir ~/bin | |
cp nodejs/bin/node ~/bin | |
cd ~/bin | |
ln -s ../nodejs/lib/node_modules/npm/bin/npm-cli.js npm | |
node --version |
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
# Install PCRE | |
unzip pcre-8.45.zip | |
./configure | |
make | |
sudo make install | |
# Extract zlib, no need to install | |
tar -xvzf zlib-1.2.12.tar.gz | |
./configure | |
make |
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
# | |
# Based on https://hub.docker.com/_/sonarqube | |
# | |
version: "3.7" | |
services: | |
sonarqube: | |
container_name: sonarqube |
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
@extends('product.layout.template') | |
@section('body') | |
<div class="col-md-8 order-md-1"> | |
<h4 class="mb-3">OTP Validation</h4> | |
@if($validate['code'] == 200) | |
{{$resp[$validate['code']]}} | |
@elseif($validate['code'] == 203 || $validate['code'] == 404) | |
{{$resp[$validate['code']]}} | |
@if(isset($validate['resendId'])) |
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
//require('./bootstrap'); | |
let timerOn = true; | |
function timer(remaining) { | |
var m = Math.floor(remaining / 60); | |
var s = remaining % 60; | |
m = m < 10 ? '0' + m : m; | |
s = s < 10 ? '0' + s : s; |
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
@extends('product.layout.template') | |
@section('body') | |
<div class="col-md-8 order-md-1"> | |
<h4 class="mb-3">OTP Validation</h4> | |
<form class="card p-2" action="{{route('validateOtp')}}" method="post"> | |
<div class="input-group"> | |
<input type="text" class="form-control" name="otp" id="otp" placeholder="" value="" required> | |
<div class="input-group-append"> |
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
@extends('product.layout.template') | |
@section('body') | |
<div class="col-md-4 order-md-2 mb-4"> | |
<h4 class="d-flex justify-content-between align-items-center mb-3"> | |
<span class="text-muted">Your cart</span> | |
<span class="badge badge-secondary badge-pill">2</span> | |
</h4> | |
<ul class="list-group mb-3"> | |
<li class="list-group-item d-flex justify-content-between lh-condensed"> |
NewerOlder