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
| # ssh-copy-id analog for Windows systems | |
| # Script to install your public key on a remote machine | |
| # The remote machine must accept password authentication, | |
| # or one of the other keys in your Putty Agent, for this to work. | |
| # | |
| # (c) soar - http://soar.name | |
| # Dialog for public key selection | |
| Function Select-File() | |
| { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| // ==UserScript== | |
| // @name Disable Jira Edit-On-Click | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Disable click edit in Jira issue descriptions | |
| // @match https://*.atlassian.net/browse/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=atlassian.net | |
| // @grant none | |
| // ==/UserScript== |
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
| { | |
| "basics": { | |
| "name": "Aleksey Smyrnov", | |
| "email": "i@soar.name", | |
| "phone": "+19477777742", | |
| "photo": { | |
| "url": "https://cdn.rxresu.me/uploads/291066/352420/1680096889008.jpg", | |
| "filters": { | |
| "size": 88, | |
| "shape": "rounded-square", |
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
| schtasks /create /F /RL HIGHEST /TN "Маршруты для VPN" /TR "C:\vpnroutes.bat /connect" /SC ONEVENT /EC System /MO "*[System[Provider[@Name='Rasman'] and (Level=4 or Level=0) and (EventID=20267)]] and *[EventData[Data='My VPN Connection']]" |
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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Assuming you have a working gopass installation. I personally use multiple mounts and I store all the passwords under a | |
| # single directory. | |
| # | |
| # Add the following section to your `ansible.cfg` | |
| # | |
| # [vault] | |
| # mount='store-X' # replace `store-x` with your actual store, if using the root set to an empty string |
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
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(clock_timestamp(), query_start), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
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
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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
| 68.171.224.0/19 | |
| 74.82.64.0/19 | |
| 103.246.200.0/22 | |
| 178.239.88.0/21 | |
| 203.104.152.0/22 | |
| 203.104.144.0/21 | |
| 203.104.128.0/20 | |
| 91.108.4.0/22 | |
| 91.108.8.0/22 | |
| 91.108.12.0/22 |
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
| # django | |
| from django import forms | |
| from django.contrib.staticfiles.templatetags.staticfiles import static | |
| from django.forms import Media, widgets | |
| from django.utils.functional import cached_property | |
| # wagtail | |
| from wagtail.utils.widgets import WidgetWithScript | |
| from wagtail.wagtailcore import blocks |
NewerOlder