Skip to content

Instantly share code, notes, and snippets.


Fyodor lgg

Block or report user

Report or block lgg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lgg / index.html
Last active Jun 11, 2016
caesar cipher in js
View index.html
Исходное сообщение:
<br /><input type='text' id='message'>
<br /><br />
Сдвиг (число):<input type='text' id='shift' value='3'>
<br /><br />
<button onclick='encrypt()'>Зашифровать</button>
<br /><br />
<button onclick='decrypt()'>Расшифровать</button>
<br /><br />
Зашифрованное сообщение: <br />
lgg / Make WordPress to use protocol relative urls
Created Jun 7, 2016
Make WordPress to use protocol relative urls
View Make WordPress to use protocol relative urls
//make other links relative
add_filter ('site_url', 'wp_make_theme_links_protocols_relative');
add_filter ('get_option_siteurl', 'wp_make_theme_links_protocols_relative');
add_filter ('stylesheet_directory_uri', 'wp_make_theme_links_protocols_relative');
add_filter ('template_directory_uri', 'wp_make_theme_links_protocols_relative');
add_filter ('wp_get_attachment_url', 'wp_make_theme_links_protocols_relative');
add_filter ('wp_get_attachment_thumb_url', 'wp_make_theme_links_protocols_relative');
add_filter ('the_permalink', 'wp_make_theme_links_protocols_relative');
function wp_make_theme_links_protocols_relative( $link ){
$link = str_replace("http://", "//", $link);
View gitlab-api-issues-swagger.json
"swagger": "2.0",
"info": {
"version": "3.0.0",
"title": "Gitlab issues api"
"host": "",
"basePath": "/api/v3",
"schemes": [
lgg / Google account
Last active Feb 11, 2019
Ссылки для настройки google аккаунта
View Google account
  1. Возраст, пол, интересы. Эти данные используются для показа релевантных объявлений. Вы можете просмотреть эту информацию здесь:

  1. История ваших перемещений:

  1. Ваша история поиска в Google:
lgg / remove_MS_telemetry.cmd
Created Mar 7, 2016 — forked from tarampampam/remove_MS_telemetry.cmd
Remove Windows 7/8/8.1 telemetry
View remove_MS_telemetry.cmd
@echo off
title "Disable Windows 7/8/8.1 Telemetry"
endlocal & setlocal EnableDelayedExpansion
rem Script created by <> # 2015
rem Github: <>
rem OS: Windows 7/8/8.1
rem Version 0.2.14
lgg / run_letsencrypt
Created Jan 10, 2016
Let's encrypt auto authenticator runner for multiply domains
View run_letsencrypt
function check_ssl {
You can’t perform that action at this time.