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
ForegroundColour=248,248,242 | |
BackgroundColour=39,40,34 | |
CursorColour=248,248,242 | |
Black=39,40,34 | |
BoldBlack=117,113,94 | |
Red=249,38,114 | |
BoldRed=253,151,31 | |
Green=166,226,46 | |
BoldGreen=56,56,48 | |
Yellow=244,191,117 |
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]$Stash, | |
[Switch]$Restore | |
) | |
Function Restore-Repositories{ | |
param( |
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
#include <string> | |
#include <climits> | |
#include <cstring> | |
#include <unistd.h> | |
#include <vector> | |
#include <fcntl.h> | |
//// Support Restart | |
class ProcessArgv { | |
public: |
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
0: CMD ADMIN | |
1: takeown /F c:\Windows.old\* /R /A /D S | |
2: cacls C:\Windows.old\*.* /T /grant administrators:F | |
3: rmdir /S /Q c:\Windows.old |
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 powershell | |
# ----------- | |
param( | |
[String]$ProjectDir | |
) | |
Function Get-FileLines { | |
param( | |
[string]$Path |
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 powershell | |
### bind hook | |
$Repositories = "/home/git/repositories" | |
$Global:Installroot = "/home/git/gitlab-shell" | |
Function SymlinkNative { | |
param( | |
[string]$Path, | |
[string[]]$Hooks |
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
"use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}var codeStr='"use strict";var _typeof=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(obj){return typeof obj}:function(obj){return obj&&typeof Symbol==="function"&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj};var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(v |
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
// begin_consoleapi_h | |
/******************************************************************************** | |
* * | |
* consoleapi.h -- ApiSet Contract for api-ms-win-core-console-l1 * | |
* * | |
* Copyright (c) Microsoft Corporation. All rights reserved. * | |
* * | |
********************************************************************************/ | |
#ifdef _MSC_VER |
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
//// | |
#define WIN32_LEAN_AND_MEAN | |
#include <Windows.h> | |
#include <winsock2.h> | |
#include <ws2tcpip.h> | |
/// | |
#include <functional> | |
#include <string> | |
#include <string_view> | |
#include <vector> |
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
#include <asio.hpp> | |
#include <asio/ssl.hpp> | |
#include <algorithm> | |
#include <atomic> | |
#include <cstdlib> | |
#include <ctime> | |
#include <iostream> | |
#include <memory> | |
#include <thread> |
OlderNewer