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
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Linq; | |
using DocumentFormat.OpenXml.Packaging; | |
using DocumentFormat.OpenXml.Spreadsheet; | |
namespace ExcelToCsv |
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": "node-server", | |
"version": "1.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"dependencies": { | |
"@types/express": "^4.16.0", | |
"@types/node": "^10.3.4", | |
"body-parser": "^1.18.3", | |
"express": "^4.16.3", |
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
nombre | { "hello":"world1" } | |
---|---|---|
DAVID | {} | |
JOSE | {} |
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 kotlinx.coroutines.experimental.guava.future | |
import kotlin.system.measureTimeMillis | |
fun main(arr: Array<String>): Unit { | |
var metadata = "vavlue" | |
val t = measureTimeMillis { | |
val f = future { | |
val v = 1 | |
Thread.sleep(1500) |
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
<h1 *appAuthorization="{resource:'app',operation:'read'}">You now have access to read the resource app</h1> |
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 vm = require("vm") | |
const Module = require("module") | |
const array = [1, 2, 3, 4, 5, 6] | |
const exp = "n => n === 5" | |
const script = new vm.Script(` | |
module.exports = (array, exp) => { | |
return array.filter(eval(\`\${exp}\`)) | |
} | |
`) | |
const sandbox = Object.assign( |
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
cat <<EOF | kubectl create -f - | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: kubernetes-dashboard | |
labels: | |
k8s-app: kubernetes-dashboard | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io |
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 fs = require('fs'); | |
const readline = require('readline'); | |
const { google } = require('googleapis'); | |
// codigo de acceso 4/SQBCzOPQn-xHeDBJ3j1LmaSNxP7Hlk62BvrZoPBUk3KgVCqSqvP2ezQ | |
// If modifying these scopes, delete token.json. | |
const SCOPES = ['https://www.googleapis.com/auth/drive.metadata.readonly']; | |
const TOKEN_PATH = 'token.json'; | |
// Load client secrets from a local file. | |
fs.readFile('credentials.json', (err, content) => { |
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
version: '3' | |
services: | |
pg-master: | |
restart: always | |
image: sameersbn/postgresql:10 | |
volumes: | |
- pg-master:/var/lib/postgresql | |
ports: | |
- "5434:5432" |
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
package build | |
import ( | |
"context" | |
"github.com/docker/docker/api/types" | |
"github.com/docker/docker/builder/dockerignore" | |
"github.com/docker/docker/builder/remotecontext/git" | |
"github.com/docker/docker/client" | |
"github.com/docker/docker/pkg/archive" | |
"github.com/docker/docker/pkg/idtools" |