Skip to content

Instantly share code, notes, and snippets.

View sooraj771989's full-sized avatar
🌄
RISE ABOVE THE STORM THEN YOU WILL FIND THE SUNSHINE

T Sooraj sooraj771989

🌄
RISE ABOVE THE STORM THEN YOU WILL FIND THE SUNSHINE
View GitHub Profile
https://www.npmjs.com/package/angular-font-awesome
https://reactcheatsheet.com/
https://devhints.io/
https://www.logicmojo.com/
https://www.codechef.com/certification/data-structures-and-algorithms/prepare
https://hackernoon.com/top-20-searching-and-sorting-algorithms-interview-questions-5a476121fd0f
https://hackernoon.com/50-data-structure-and-algorithms-interview-questions-for-programmers-b4b1ac61f5b0
https://hackernoon.com/10-data-structure-algorithms-and-programming-courses-to-crack-any-coding-interview-e1c50b30b927
#React Course Download Free9Paid Udemy by maxmillan):
@sooraj771989
sooraj771989 / gist:a76904bde528ce08bcfafb9a47070f96
Created September 11, 2019 10:57
Nginx configuration for SSH tunnel
upstream tunnel {
server 127.0.0.1:3000;
}
server {
listen 80;
server_name dev.codeplane.com br.dev.codeplane.com;
location / {
proxy_set_header X-Real-IP $remote_addr;
const fs = require('fs')
const bodyParser = require('body-parser')
const jsonServer = require('json-server')
const jwt = require('jsonwebtoken')
const bcrypt = require("bcryptjs");
const server = jsonServer.create()
const router = jsonServer.router('./fakedatabase/db.json')
const userdb = JSON.parse(fs.readFileSync('./fakedatabase/users.json', 'UTF-8'))
const postdb = JSON.parse(fs.readFileSync('./fakedatabase/db.json', 'UTF-8'))
const passport = require("passport");
<div class="max-w-xl px-5 py-12 mx-auto">
<div class="text-center w-full">
<h1 class="uppercase font-black text-3xl md:text-5xl py-4 md:py-8">Latest Posts</h1>
</div>
<?php global $query_string; query_posts($query_string . '&posts_per_page=3'); ?>
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$data= new WP_Query(array(
'post_type'=>'post',