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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style type="text/css"> | |
.item-photo { | |
position: relative; | |
overflow: hidden; | |
margin: 0px; |
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
Show hidden characters
[ | |
{ "keys": ["ctrl+shift+s"], "command": "auto_save" }, | |
{ "keys": ["ctrl+alt+t"], "command": "delete_trailing_spaces" }, | |
{ "keys": ["ctrl+b"], "command": "move_to", "args": {"to": "bol", "extend": false} }, | |
{ "keys": ["ctrl+space"], "command": "move_to", "args": {"to": "eol", "extend": false} } | |
] |
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 google = require('googleapis'); | |
const KEY = require('./mykey.json'); | |
getAllUsers(); | |
/* CREATE CONNECTION, get instance of jwtClient */ | |
function connect() { | |
return new Promise((yep, nope) => { | |
const jwtClient = new google.auth.JWT( |
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
идентификатор {bootmgr} | |
device partition=\Device\HarddiskVolume8 | |
path \EFI\Microsoft\Boot\bootmgfw.efi | |
description Windows Boot Manager | |
locale ru-RU | |
inherit {globalsettings} | |
default {current} | |
resumeobject {123123421} | |
displayorder {current} | |
{214214421} |
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
param([switch]$Elevated) | |
function Check-Admin { | |
$currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent()) | |
$currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator) | |
} | |
if ((Check-Admin) -eq $false) { | |
if ($elevated) | |
{ | |
# could not elevate, quit | |
} |
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
Param( | |
[Parameter( | |
Mandatory = $true, | |
ParameterSetName = '', | |
ValueFromPipeline = $true)] | |
[string]$Query | |
) | |
$MySQLAdminUserName = 'USER' | |
$MySQLAdminPassword = 'PASSWORD' | |
$MySQLDatabase = 'MYDBNAME' |
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
docker-compose up -d |
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
var | |
gulp = require("gulp"), | |
browserSync = require('browser-sync').create(), | |
childProcess = require('child_process'); | |
gulp.task('docker-start', function (callback) { | |
console.log("---------Start--------------------------"); | |
return childProcess.exec('Powershell.exe -executionpolicy remotesigned -File docker.ps1', function (err, stdout, stderr) { | |
console.log(stdout); | |
console.log(stderr); |
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 | |
require('/etc/phpmyadmin/config.secret.inc.php'); | |
/* Ensure we got the environment */ | |
$vars = array( | |
'PMA_ARBITRARY', | |
'PMA_HOST', | |
'PMA_HOSTS', | |
'PMA_VERBOSE', |
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 php | |
<?php | |
if (defined('STDIN')) { | |
$hostdb = $argv[1]; | |
$dbname = $argv[2]; | |
$userdb = $argv[3]; | |
$passdb = $argv[4]; | |
} | |
$servername = $hostdb; | |
$username = $userdb; |