I hereby claim:
- I am marcdufresne on github.
- I am madx23 (https://keybase.io/madx23) on keybase.
- I have a public key whose fingerprint is CE5C EC33 05B3 764E 71EF 0D8A 7FD1 3DFD 4B20 B057
To claim this, I am signing this object:
def get_fieldname(field, lang): | |
return "{}_{}".format(field, lang) | |
def safe_get_value(field): | |
def get_value(self): | |
field_name = lambda x: get_fieldname(field, x) |
I hereby claim:
To claim this, I am signing this object:
[b]About m0rkcoin[/b] | |
m0rkcoin is a fork of ByteCoin and has a strong focus on privacy and anonymity, with features like: | |
[list] | |
[li]Untraceable payments[/li] | |
[li]Unlinkable transactions[/li] | |
[li]Double-spending proof[/li] | |
[/list] | |
m0rkcoin focuses on open-source, community, quality and ease of use. We will release all software we create as open-source with permissive license, pull requests, suggestions and feedback is welcome. We aim to create quality apps built on top of modern technology stacks. |
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit } | |
New-NetFirewallRule -DisplayName "Destiny2-Solo-1" -Direction Outbound -LocalPort 1935,3097,3478-3480 -Protocol TCP -Action Block | |
New-NetFirewallRule -DisplayName "Destiny2-Solo-2" -Direction Outbound -LocalPort 1935,3097,3478-3480 -Protocol UDP -Action Block | |
New-NetFirewallRule -DisplayName "Destiny2-Solo-3" -Direction Inbound -LocalPort 1935,3097,3478-3480 -Protocol TCP -Action Block | |
New-NetFirewallRule -DisplayName "Destiny2-Solo-4" -Direction Inbound -LocalPort 1935,3097,3478-3480 -Protocol UDP -Action Block | |
Write-Host "Destiny 2 Solo mode activated. Press any key to deactivate solo mode." | |
Read-Host |
Param( | |
[alias('n')] | |
[string]$taskName, | |
[alias('s')] | |
[string]$scriptLocation, | |
[alias('d')] | |
[switch]$deleteTask, | |
[alias('h')] | |
[switch]$help | |
) |
# -*- coding: utf-8 -*- | |
""" | |
Custom Django Feed | |
""" | |
from django.contrib.syndication.views import Feed | |
from django.utils.feedgenerator import SyndicationFeed | |
from django.utils.xmlutils import SimplerXMLGenerator | |
class CustomSyndicationFeed(SyndicationFeed): |
version: "3" | |
services: | |
teslamate: | |
image: teslamate/teslamate:latest | |
restart: always | |
depends_on: | |
- database | |
environment: | |
- DATABASE_USER=${TM_DB_USER} |
FROM kong:2.2 | |
USER root | |
RUN luarocks install kong-auth-request | |
USER kong |
def profile(message: str = "Snapshot"): | |
padding_len = max(99 - len(message), 0) | |
print(f"{message} {'*' * padding_len}") | |
import pandas | |
from pympler import muppy, summary | |
all_objects = muppy.get_objects() | |
sum1 = summary.summarize(all_objects) | |
# Prints out a summary of the large objects | |
summary.print_(sum1) |