This file contains hidden or 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 `database`; | |
CREATE TABLE `country` ( | |
`id` INT NOT NULL AUTO_INCREMENT, | |
`name` VARCHAR(45) NOT NULL, | |
`code` VARCHAR(45) NOT NULL, | |
PRIMARY KEY (`id`) | |
) | |
INSERT INTO `country` (`id`, `name`, `code`) VALUES (null, 'Afghanistan','AF'); |
This file contains hidden or 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 `database`; | |
CREATE TABLE `timezone` ( | |
`id` INT NOT NULL AUTO_INCREMENT, | |
`name` VARCHAR(45) NOT NULL, | |
`offset` VARCHAR(10) NOT NULL, | |
`raw_offset` INT NOT NULL, | |
PRIMARY KEY (`id`) | |
) |
This file contains hidden or 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
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Postman | |
Exec=postman | |
Icon=/opt/Postman/resources/app/assets/icon.png | |
Terminal=false | |
Type=Application | |
Categories=Development; |
This file contains hidden or 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
FROM ubuntu:16.04 | |
# VARS | |
ENV KEY_COUNTRY CO | |
ENV KEY_PROVINCE VALLE | |
ENV KEY_CITY CALI | |
ENV KEY_ORG MyOrganization | |
ENV KEY_EMAIL [email protected] | |
ENV KEY_OU Community |
This file contains hidden or 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 { Injectable } from "@angular/core"; | |
import { ScriptStore } from "./script.store"; | |
declare var document: any; | |
@Injectable() | |
export class ScriptService { | |
private scripts: any = {}; |
This file contains hidden or 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
#!/bin/sh | |
script=`basename "$0"` | |
if [ $# -gt 0 ] && [ "$1" = "-e" ]; then | |
e="-e" | |
fi | |
echo "Removing old Postman tarballs" | |
rm -f $(ls Postman*.tar.gz) |
This file contains hidden or 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
# CockroachDB cluster with two datacenters simulation using docker compose | |
version: '2' | |
networks: | |
shared-roachnet: | |
driver: bridge | |
dc0-roachnet: | |
driver: bridge | |
dc1-roachnet: |
This file contains hidden or 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
#!/bin/bash | |
declare -A arr | |
shopt -s globstar | |
for file in **; do | |
[[ -f "$file" ]] || continue | |
read cksm _ < <(md5sum "$file") | |
if ((arr[$cksm]++)); then | |
echo "rm $file" |
This file contains hidden or 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
#!/bin/sh | |
(set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix | |
basedir=`dirname "$0"` | |
case `uname` in | |
*CYGWIN*) basedir=`cygpath -w "$basedir"`;; | |
esac | |
if grep -iq 'Microsoft\|WSL' /proc/version; then |
This file contains hidden or 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
[EditionID] | |
Professional | |
[Channel] | |
Retail |
OlderNewer