Hi company,
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
<span>test</span> |
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
#!/usr/bin/env node | |
const fs = require('fs') | |
const spotify = require('spotify-node-applescript') | |
const message = fs.readFileSync(process.argv[2], { encoding: 'utf8' }) | |
spotify.getTrack((err, track) => { | |
const trackData = formatTrackData(track) |
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
@mixin breakpoint($point) | |
@if $point == lg | |
@media (min-width: 1200px) | |
@content | |
@else if $point == md | |
@media (min-width: 992px) and (max-width: 1199px) | |
@content | |
@else if $point == sm |
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: | |
web: | |
build: . | |
ports: | |
- 80:80 | |
- 3306:3306 | |
volumes: | |
- ./directory:/directory | |
redis: |
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
console.pollo = function(arg) { | |
console.countPollo = (console.countPollo || 0) + 1; | |
console.debug(console.countPollo, 'POLLO', arg); | |
} |
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
// Method to save a json object schema | |
function saveJsonDescription(client, service) { | |
const fileDestination = './'; | |
const description = client.describe(); | |
const serviceJobListDescription = description.RTIServiceOrderService.RTIServiceOrderPort[service].input.body; | |
jsonfile.writeFile(`${fileDestination}${service}.schema.json`, serviceJobListDescription, function (err) { | |
if(err) throw new Error(err); | |
}); | |
} |
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 { AsyncStorage } from 'react-native'; | |
import EventEmmiter from 'EventEmitter'; | |
import { apiRouter } from './services'; | |
import { headers, access } from '../constants'; | |
export class Auth extends EventEmmiter{ | |
key = '@gos3s1on'; | |
constructor() { |
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
_uid() { | |
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { | |
var r = Math.random()*16|0, v = c === 'x' ? r : (r&0x3|0x8); | |
return v.toString(16); | |
}); | |
} |
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
// Write a function that receives an integer and returns its string representation | |
// 1 -> Uno | |
// 12 -> Doce | |
// 17 -> Diecisiete // Diez y siete | |
// 23 -> Veintitres | |
// 57 -> Cincuenta y siete | |
// 158 -> Ciento cincuenta y ocho | |
// 2347 -> Dos mil trescientos cuarenta y siete | |
// 0 < n < 10,000 (1-9999) |
NewerOlder