This one is a simple and handy trick when you want to copy your directories without node_modules folder.
Enter this command in your terminal.
robocopy SOURCE DEST /mir /xd node_modules| import { buildData } from "./build-data"; | |
| <let/data = []/> | |
| <let/selected = null/> | |
| <div class="jumbotron"> | |
| <div class="row"> | |
| <div class="col-md-6"> | |
| <h1>Marko 6 (keyed)</h1> |
| <?php | |
| $key = 'your-secret-key-here'; | |
| $header = [ | |
| 'typ' => 'JWT', | |
| 'alg' => 'HS256' | |
| ]; | |
| $header = json_encode($header); | |
| $header = base64_encode($header); |
| const domino = require('domino'); | |
| const html = ` | |
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <ul data-bind="foreach: list"> | |
| <li data-bind="text: $data"></> | |
| </ul> |
| { | |
| "content_scripts": [ | |
| { | |
| "matches": ["http://*/*", "https://*/*"], | |
| "js": ["inject.js"], | |
| "all_frames": true | |
| } | |
| ], | |
| "web_accessible_resources": [ | |
| "content.js" |
| FROM gcr.io/google_containers/fluentd-elasticsearch:1.22 | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends make gcc g++ libc6-dev ruby-dev && \ | |
| td-agent-gem install fluent-plugin-concat --version '~>1.0.0' --no-ri --no-rdoc && \ | |
| apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false make gcc g++ libc6-dev ruby-dev | |
| # Copy the Fluentd configuration file for concatenating lines in docker logs. | |
| COPY td-agent.conf /etc/td-agent/td-agent.conf |
| const { | |
| makeRemoteExecutableSchema, | |
| introspectSchema, | |
| mergeSchemas | |
| } = require('graphql-tools'); | |
| const { createHttpLink } = require('apollo-link-http'); | |
| const { setContext } = require('apollo-link-context'); | |
| const { ApolloServer } = require('apollo-server-express'); | |
| const fetch = require('node-fetch'); | |
| const log4js = require('log4js'); |
| /** | |
| * Get YouTube ID from various YouTube URL | |
| * @author: takien | |
| * @url: http://takien.com | |
| * For PHP YouTube parser, go here http://takien.com/864 | |
| */ | |
| function YouTubeGetID(url){ | |
| var ID = ''; | |
| url = url.replace(/(>|<)/gi,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/); |