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
import { | |
Input, | |
GridItem, | |
SimpleGrid, | |
Box, | |
Button, | |
Stack, | |
} from "@chakra-ui/react"; | |
import { useReducer, useRef } from "react"; |
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 { readdirSync, statSync, existsSync } = require('fs'); | |
const { join } = require('path'); | |
// npm init -y && npm install rimraf | |
const rimraf = require('rimraf'); | |
if (process.argv.length == 2) throw Error('Required project folder'); | |
const folder = process.argv[2]; | |
const dirs = p => readdirSync(p).filter(f => statSync(join(p, f)).isDirectory()); | |
const myDirs = dirs(folder); | |
myDirs.filter(proj => existsSync(`./${folder}/${proj}/node_modules`)).map((proj, index) => { |
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
<?php | |
namespace App\Providers; | |
use App\Models\User; | |
use Firebase\JWT\JWT; | |
use Illuminate\Support\ServiceProvider; | |
class AuthServiceProvider extends ServiceProvider { |
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<socialnerds.h> | |
main() | |
{ | |
printf("Hello Nerds!!1"); | |
} |
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
{ | |
"name": "Extension name", | |
"description": "Chrome extensions are awesome.", | |
"version": "1.0.0", | |
"manifest_version": 2, | |
"content_scripts": [ | |
{ | |
"matches": [ | |
"https://www.google.com/*", | |
"*://*/*" |
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
'use strict'; | |
const gulp = require('gulp'); | |
const sass = require('gulp-sass'); | |
const sourcemaps = require('gulp-sourcemaps'); | |
// Compile sass to css for dev. | |
gulp.task('sass:dev', function() { | |
return gulp.src('./sass/*.scss') | |
// Initializes sourcemaps. | |
.pipe(sourcemaps.init()) |
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
/** | |
* @description Multi markdown files to pdf. | |
* @author Thanos Korakas <[email protected]> | |
*/ | |
var gulp = require('gulp'); | |
var markdownpdf = require('gulp-markdown-pdf'); | |
var concat = require('gulp-concat'); | |
gulp.task('default', function () { | |
return gulp.src('path/*.md') |